On Thu, 2007-11-15 at 05:25 -0800, Boris Derzhavets wrote: > Thank you very much Mike for your feedback. > Just one more question. > I noticed five device under /dev/rdsk:- > c1t0d0p0 > c1t0d0p1 > c1t0d0p2 > c1t0d0p3 > c1t0d0p4 > been created by system immediately after installation completed. > I believe it's x86 limitation (no more then 4 primary partitions) > If I've got your point right, in case when "Other OS" partition gets number 3. > I am supposed to run:- > # zpool create pool c1t0d0p3
Yes. Just make sure it's the correct partition, ie. partition 3 is actually where you want the zpool otherwise you'll corrupt/loose what ever data is on that partition. You also need to make sure that partition 3 is defined and you can see it in fdisk as Solaris creates these p? devices whether they exist or not. So if I read your previous email correctly, you'll need to run format, select your first disk then run fdisk again. Empty/unused space doesn't mean a partition has been created. >From there, you'll want to create a new partition and if you're not familiar with Solaris fdisk, it's a PITA until you get really used to it. You'll want to start one (1) cylinder past the end of your last partition so there's no overlap, then calculate the size of the partition. I usually use cylinders for this. So on one of my systems: Total disk size is 17849 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active Solaris2 1 5224 5224 29 SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Change between Solaris and Solaris2 Partition IDs 5. Exit (update disk configuration and exit) 6. Cancel (exit without updating disk configuration) Enter Selection: So the last cylinder is 5224 so we'll start on 5225 and to use the rest of the disk, you'll want to take the max cylinders (17849 from top line) and subtract 5225 which gives you 12624. Select 1 to create a new partition: Select the partition type to create: 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit? Select 4 for Other OS Specify the percentage of disk to use for this partition (or type "c" to specify the size in cylinders). Now select c for cylinders (I've never been much one for trusting percentages;) Enter starting cylinder number: 5225 Enter partition size in cylinders: 12624 (It'll ask you about making it the active partition - say no here) Total disk size is 17849 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active Solaris2 1 5224 5224 29 2 Other OS 5225 17848 12624 71 SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Change between Solaris and Solaris2 Partition IDs 5. Exit (update disk configuration and exit) 6. Cancel (exit without updating disk configuration) Double check you're not overlapping any of the partitions and select 5 to save the partition. In this case, the pool would be c1t0d0p2. Not the most technically accurate but think of p0 as the entire disk and your first partition starts with p1 and so forth. Hope that helps. If you want, post your fdisk partition table if you want a second set of eyes. > Boris. > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Mike Dotson _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss