Here is what I found out. AVAILABLE DISK SELECTIONS: 0. c5t0d0 <DEFAULT cyl 4424 alt 2 hd 255 sec 63> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 1. c5t1d0 <SEAGATE-ST336754LW-0005-34.18GB> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 2. c6t0d0 <SEAGATE-ST336753LW-0005-34.18GB> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED],1/[EMAIL PROTECTED],0 3. c6t1d0 <SEAGATE-ST336753LW-HPS2-33.92GB> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED],1/[EMAIL PROTECTED],0 4. c7t0d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci9005,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 5. c7t1d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63> /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci9005,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
Created a little script #!/bin/bash for i in $( ls /dev/rdsk ); do echo $i zdb -l /dev/rdsk/$i done Here is some output of this command: (1) #zdb -l /dev/rdsk/c5t1d0s0 -------------------------------------------- LABEL 0 -------------------------------------------- version=4 name='zfs' state=0 txg=7855332 pool_guid=3801622416844369872 hostid=345240675 hostname='sun' top_guid=4004063599069763239 guid=4086156223654637831 vdev_tree type='raidz' id=0 guid=4004063599069763239 nparity=1 metaslab_array=13 metaslab_shift=30 ashift=9 asize=109220462592 is_log=0 children[0] type='disk' id=0 guid=4086156223654637831 path='/dev/dsk/c6t1d0s0' devid='id1,[EMAIL PROTECTED]/a' phys_path='/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a' whole_disk=1 DTL=69 children[1] type='disk' id=1 guid=13320021127057678234 path='/dev/dsk/c7t0d0s0' devid='id1,[EMAIL PROTECTED]/a' phys_path='/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED],1/[EMAIL PROTECTED],0:a' whole_disk=1 DTL=68 children[2] type='disk' id=2 guid=52666612524563381 path='/dev/dsk/c7t1d0s0' devid='id1,[EMAIL PROTECTED]/a' phys_path='/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci10f1,[EMAIL PROTECTED],1/[EMAIL PROTECTED],0:a' whole_disk=1 DTL=22 ... LABEL 1 & LABEL 2 & LABEL 3 are omitted for clarity (2) #zdb -l /dev/rdsk/c6t1d0s0 (3) #zdb -l /dev/rdsk/c7t0d0s0 (4) #zdb -l /dev/rdsk/c7t1d0s0 all three commands give this: -------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3 (5) #zdb -l /dev/rdsk/c7t0d0p0 -------------------------------------------- LABEL 0 -------------------------------------------- version=4 name='data' state=0 txg=2333244 pool_guid=18349152765965118757 hostid=409943152 hostname='opensolaris' top_guid=4131806235391152254 guid=13715042150527401204 vdev_tree type='mirror' id=0 guid=4131806235391152254 metaslab_array=14 metaslab_shift=29 ashift=9 asize=73402941440 is_log=0 children[0] type='disk' id=0 guid=4088711380714589637 path='/dev/dsk/c7t1d0p0' devid='id1,[EMAIL PROTECTED]/q' phys_path='/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci9005,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:q' whole_disk=0 children[1] type='disk' id=1 guid=13715042150527401204 path='/dev/dsk/c7t0d0p0' devid='id1,[EMAIL PROTECTED]/q' phys_path='/[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci9005,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:q' whole_disk=0 LABEL 1 & LABEL 2 & LABEL 3 are omitted for clarity Now here's my question. when executing command (1), isn't children[0]'s path supposed to be /dev/rdsk/c5t1d0s0 ? and not /dev/dsk/c6t1d0s0. children[1] & children[1] are also not in synch. They refer to disks that are used by another zpool which is mirrored. If I look at this, it seems that the label is screwed and in the same time I'm screwed too. Right ? This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss