On 11/3/2009 3:49 PM, Marion Hakanson wrote:
If the disk is going to be part of whole-disk zpool, I like to make
sure there is not an old VTOC-style partition table on there.  That
can be done either via some "format -e" commands, or with "fdisk -E",
to put an EFI label on there.


unfortunately, fdisk won't help me at all:
# fdisk -E /dev/rdsk/c12t1d0p0
# zpool create -f testp c12t1d0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c3t11d0s0 is part of active ZFS pool dbzpool. Please see zpool(1M).

and i can't find anything in format that lets me do anything:
# format -e c12t1d0
selecting c12t1d0
[disk formatted]
/dev/dsk/c3t11d0s0 is part of active ZFS pool dbzpool. Please see zpool(1M).
[...]
format> label
Cannot label disk when partitions are in use as described.


I wonder if getting my hands on a pre-sol10 x86 format binary would help...

--

Jeremy Kister
http://jeremy.kister.net./
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to