On May 7, 2007, at 7:11 AM, Frank Batschulat wrote:
> running a recent patched s10 system, zfs version 3, attempting to
> dump the label information using zdb when the pool is online  
> doesn''t seem to give
> a reasonable information, any particular reason for this ?
>
>  # zpool status
>     pool: blade-mirror-pool
>    state: ONLINE
>    scrub: none requested
>  config:
>
>           NAME         STATE     READ WRITE CKSUM
>           blade-mirror-pool  ONLINE       0     0     0
>             mirror     ONLINE       0     0     0
>               c2t12d0  ONLINE       0     0     0
>               c2t13d0  ONLINE       0     0     0
>
>  errors: No known data errors
>
>     pool: blade-single-pool
>    state: ONLINE
>    scrub: none requested
>  config:
>
>           NAME        STATE     READ WRITE CKSUM
>           blade-single-pool  ONLINE       0     0     0
>             c2t14d0   ONLINE       0     0     0
>
>  errors: No known data errors
>  # zdb -l /dev/dsk/c2t12d0
Try giving it:
# zdb -l /dev/dsk/c2t12d0s0
eric
>  --------------------------------------------
>  LABEL 0
>  --------------------------------------------
>  --------------------------------------------
>  LABEL 1
>  --------------------------------------------
>  failed to unpack label 1
>  --------------------------------------------
>  LABEL 2
>  --------------------------------------------
>  --------------------------------------------
>  LABEL 3
>  --------------------------------------------
>  # zdb -l /dev/rdsk/c2t12d0
>  --------------------------------------------
>  LABEL 0
>  --------------------------------------------
>  --------------------------------------------
>  LABEL 1
>  --------------------------------------------
>  failed to unpack label 1
>  --------------------------------------------
>  LABEL 2
>  --------------------------------------------
>  --------------------------------------------
>  LABEL 3
>  --------------------------------------------
>  # zdb -l /dev/dsk/c2t14d0
>  --------------------------------------------
>  LABEL 0
>  --------------------------------------------
>  --------------------------------------------
>  LABEL 1
>  --------------------------------------------
>  failed to unpack label 1
>  --------------------------------------------
>  LABEL 2
>  --------------------------------------------
>  failed to unpack label 2
>  --------------------------------------------
>  LABEL 3
>  --------------------------------------------
>  failed to unpack label 3
>  #
>
>
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss