So when I built my new workstation last year, I partitioned the one and only disk in half, 50% for Windows, 50% for 2009.06. Now, I''m not using Windows, so I''d like to use the other half for another ZFS pool, but I can''t figure out how to access it. I have used fdisk to create a second Solaris2 partition, did a re-con reboot, but format still only shows the 1 available partition. How do I used the second partition? selecting c7t0d0 Total disk size is 30401 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== == 1 Other OS 0 4 5 0 2 IFS: NTFS 5 1917 1913 6 3 Active Solaris2 1917 14971 13055 43 4 Solaris2 14971 30170 15200 50 format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c7t0d0 <DEFAULT cyl 13052 alt 2 hd 255 sec 63> /pci at 0,0/pci1028,233 at 1f,2/disk at 0,0 Thanks for any idea. -- This message posted from opensolaris.org
Change the new partition type to something than none of the OS''s on the system will know anything about, so they don''t make any invalid assumptions about what might be in it. Then use the appropriate partition device node, /dev/dsk/c7t0d0p4 (assuming it''s the 4th primary FDISK partition). Multiple zpools on one disk is not going to be good for performance if you use both together. There may be some way to grow the existing Solaris partition into the spare space without destroying the contents and then growing the zpool into the new space, but I haven''t tried this with FDISK partitions, so I don''t know if it works without damaging the existing contents. (I have done it with slices, and it does work in that case.) Bill Werner wrote:> So when I built my new workstation last year, I partitioned the one and only disk in half, 50% for Windows, 50% for 2009.06. Now, I''m not using Windows, so I''d like to use the other half for another ZFS pool, but I can''t figure out how to access it. > > I have used fdisk to create a second Solaris2 partition, did a re-con reboot, but format still only shows the 1 available partition. How do I used the second partition? > > selecting c7t0d0 > Total disk size is 30401 cylinders > Cylinder size is 16065 (512 byte) blocks > > Cylinders > Partition Status Type Start End Length % > ========= ====== ============ ===== === ====== ==> 1 Other OS 0 4 5 0 > 2 IFS: NTFS 5 1917 1913 6 > 3 Active Solaris2 1917 14971 13055 43 > 4 Solaris2 14971 30170 15200 50 > > format > Searching for disks...done > > > AVAILABLE DISK SELECTIONS: > 0. c7t0d0 <DEFAULT cyl 13052 alt 2 hd 255 sec 63> > /pci at 0,0/pci1028,233 at 1f,2/disk at 0,0 > > > Thanks for any idea. >-- Andrew Gabriel
In message <1026474698.131288014974214.JavaMail.Twebapp at sf-app1>, Bill Werner w rites:>So when I built my new workstation last year, I partitioned the one and only d >isk in half, 50% for Windows, 50% for 2009.06. Now, I''m not using Windows, s >o I''d like to use the other half for another ZFS pool, but I can''t figure out >how to access it.Use beadm(1M) to duplicate your BE to a USB disk, then boot it, then format/fdisk your workstation disk, then use beadm(1M) to duplicate your BE back to your workstation disk. John groenveld at acm.org
Hi Bill, Do you have another equivalent sized disk available? If so, and assuming this is the root pool, create one large slice 0 (s0) with an SMI label on the replacement disk. Attach that disk to create a mirrored root pool. After the replacement disk has resilvered, install the bootblocks, and test that you can boot from the replacement disk. When you''re booted from the replacement disk, detach the original c7t0d0 disk. If this is a current release, repartition c7t0d0s0 to use the entire disk in slice 0 and reattach to create a mirrored root pool. Thanks, Cindy On 10/25/10 07:55, Bill Werner wrote:> So when I built my new workstation last year, I partitioned the one and only disk in half, 50% for Windows, 50% for 2009.06. Now, I''m not using Windows, so I''d like to use the other half for another ZFS pool, but I can''t figure out how to access it. > > I have used fdisk to create a second Solaris2 partition, did a re-con reboot, but format still only shows the 1 available partition. How do I used the second partition? > > selecting c7t0d0 > Total disk size is 30401 cylinders > Cylinder size is 16065 (512 byte) blocks > > Cylinders > Partition Status Type Start End Length % > ========= ====== ============ ===== === ====== ==> 1 Other OS 0 4 5 0 > 2 IFS: NTFS 5 1917 1913 6 > 3 Active Solaris2 1917 14971 13055 43 > 4 Solaris2 14971 30170 15200 50 > > format > Searching for disks...done > > > AVAILABLE DISK SELECTIONS: > 0. c7t0d0 <DEFAULT cyl 13052 alt 2 hd 255 sec 63> > /pci at 0,0/pci1028,233 at 1f,2/disk at 0,0 > > > Thanks for any idea.