Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Cindy Swearingen
Hi Peter, The root pool disk labeling/partitioning is not so easy. I don't know which OpenIndiana release this is but in a previous Solaris release we had a bug that caused the error message below and the workaround is exactly what you did, use the -f option. We don't yet have an easy way to

Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Cindy Swearingen
Actually, since I answer the root pool partitioning questions at least 52 times per year, I provided the steps for clearing the existing partitions in step 9, here: http://docs.oracle.com/cd/E23823_01/html/817-5093/disksxadd-2.html#disksxadd-40 How to Create a Disk Slice for a ZFS Root File

Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
hi by default the disk partition s2 cover the whole disk this is fine for ufs for LONG time. Now zfs does not like this overlap so you just need to run format then delete s2 or use s2 and delete all other partitions (by default when you run format/fdisk it create s2 whole disk and s7 for

Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Anh Quach
This might help, too: http://constantin.glez.de/blog/2011/03/how-set-zfs-root-pool-mirror-oracle-solaris-11-express On Apr 12, 2012, at 11:04 AM, Cindy Swearingen wrote: Actually, since I answer the root pool partitioning questions at least 52 times per year, I provided the steps for

Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Roberto Waltman
Cindy Swearingen wrote: We don't yet have an easy way to clear a disk label, ... dd if=/dev/zero of=... on the 1st and last 10% (roughly) of the disk has worked fine for me. -- Roberto Waltman ___ zfs-discuss mailing list

Re: [zfs-discuss] Replacing root pool disk

2012-04-12 Thread Peter Wood
Thank you all for the replies. I'll try the suggested solutions. -- Peter On Thu, Apr 12, 2012 at 2:06 PM, Roberto Waltman li...@rwaltman.com wrote: Cindy Swearingen wrote: We don't yet have an easy way to clear a disk label, ... dd if=/dev/zero of=... on the 1st and last 10% (roughly)