On 2011-Jan-30 13:39:22 +0800, Richard Elling <richard.ell...@gmail.com> wrote:
>I'm not sure of the way BSD enumerates devices.  Some clever person thought
>that hiding the partition or slice would be useful.

No, there's no hiding.  /dev/ada0 always refers to the entire physical disk.
If it had PC-style fdisk slices, there would be a sN suffix.
If it had GPT partitions, there would be a pN suffix.
If it had BSD partitions, there would be an alpha suffix [a-h].

>On a Solaris
>system, ZFS can show a disk something like c0t1d0, but that doesn't exist.

If we're discussing brokenness in OS device names, I've always thought
that reporting device names that don't exist and not having any way to
access the complete physical disk in Solaris was silly.  Having a fake
's2' meaning the whole disk if there's no label is a bad kludge.

Mike might like to try "gpart list" - which will display FreeBSD's view
of the physical disks.  It might also be worthwhile looking at a hexdump
of the first and last few MB of the "faulty" disks - it's possible that
the controller has decided to just shift things by a few sectors so the
labels aren't where ZFS expects to find them.

-- 
Peter Jeremy

Attachment: pgpNc13adVY1q.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to