Arif Khan
2007-May-24 21:39 UTC
[zfs-discuss] how do I revert back from ZFS partitioned disk to original partitions
I accidentally created a zpool on a boot disk, it paniced the system and now I can jumpstart and install the OS on it. This is what it looks like. partition> p Current partition table (original): Total disk sectors available: 17786879 + 16384 (reserved sectors) Part Tag Flag First Sector Size Last Sector 0 usr wm 34 8.48GB 17786879 1 unassigned wm 0 0 0 2 unassigned wm 0 0 0 3 unassigned wm 0 0 0 4 unassigned wm 0 0 0 5 unassigned wm 0 0 0 6 unassigned wm 0 0 0 8 reserved wm 17786880 8.00MB 17803263 partition> ========================I want to go back to this. partition> p Current partition table (original): Total disk cylinders available: 17660 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 1041 - 16597 7.48GB (15557/0/0) 15681456 1 swap wu 0 - 1040 512.37MB (1041/0/0) 1049328 2 backup wm 0 - 17659 8.49GB (17660/0/0) 17801280 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 unassigned wm 16598 - 17638 512.37MB (1041/0/0) 1049328 7 unassigned wm 17639 - 17659 10.34MB (21/0/0) 21168 partition>
Cindy.Swearingen at Sun.COM
2007-May-24 22:02 UTC
[zfs-discuss] how do I revert back from ZFS partitioned disk to original partitions
Arif, You need to boot from {net | DVD} in single-user mode, like this: boot net -s or boot cdrom -s Then, when you get to a shell prompt, relabel the disk like this: # format -e <select disk> format> label [0] SMI Label [1] EFI Label Specify Label type[0]: 0 Then, you should be able to repartition however you want. Cindy Arif Khan wrote:> I accidentally created a zpool on a boot disk, it paniced the system > and now I can jumpstart and install the OS on it. > > This is what it looks like. > > partition> p > Current partition table (original): > Total disk sectors available: 17786879 + 16384 (reserved sectors) > > Part Tag Flag First Sector Size Last Sector > 0 usr wm 34 8.48GB 17786879 > 1 unassigned wm 0 0 0 > 2 unassigned wm 0 0 0 > 3 unassigned wm 0 0 0 > 4 unassigned wm 0 0 0 > 5 unassigned wm 0 0 0 > 6 unassigned wm 0 0 0 > 8 reserved wm 17786880 8.00MB 17803263 > > partition> > > > ========================> I want to go back to this. > > partition> p > Current partition table (original): > Total disk cylinders available: 17660 + 2 (reserved cylinders) > > Part Tag Flag Cylinders Size Blocks > 0 root wm 1041 - 16597 7.48GB (15557/0/0) 15681456 > 1 swap wu 0 - 1040 512.37MB (1041/0/0) 1049328 > 2 backup wm 0 - 17659 8.49GB (17660/0/0) 17801280 > 3 unassigned wm 0 0 (0/0/0) 0 > 4 unassigned wm 0 0 (0/0/0) 0 > 5 unassigned wm 0 0 (0/0/0) 0 > 6 unassigned wm 16598 - 17638 512.37MB (1041/0/0) 1049328 > 7 unassigned wm 17639 - 17659 10.34MB (21/0/0) 21168 > > partition> > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss