On Feb 16, 2010, at 7:57 PM, Ethan wrote:
> On Tue, Feb 16, 2010 at 22:35, Daniel Carosone <d...@geek.com.au> wrote:
> On Wed, Feb 17, 2010 at 02:30:28PM +1100, Daniel Carosone wrote:
> > >             c9t4d0s8  UNAVAIL  corrupted data
> > >             c9t5d0s2  ONLINE
> > >             c9t2d0s8  UNAVAIL  corrupted data
> > >             c9t1d0s8  UNAVAIL  corrupted data
> > >             c9t0d0s8  UNAVAIL  corrupted data

slice 8 tends to be tiny and slice 2 is the whole disk, which is why
you can't find label 2 or 3, which are at the end of the disk.

Try exporting the pool and then import.
 -- richard

> 
> >  - zdb -l <dev> for each of the devs above, compare and/or post.  this
> >    helps ensure that you copied correctly, with respect to all the various
> >    translations, labelling, partitioning etc differences between the
> >    platforms.  Since you apparenly got at least one right, hopefully this
> >    is less of an issue if you did  the same for all.
> 
> Actually, looking again, is there any signifigance to the fact that s2
> on one disk is ok, and s8 on the others are not?  Perhaps start with
> the zdb -l, and make sure you're pointing at the right data before
> importing.
> 
> --
> Dan.
> 
> 
> I do not know if there is any significance to the okay disk being s2 and the 
> others s8 - in fact I do not know what the numbers mean at all, being out of 
> my element in opensolaris (but trying to learn as much as quickly as I can). 
> As for the copying, all that I did was `dd if=<the truecrypt volume> of=<the 
> new disk>` for each of the five disks. 
> Output of zdb -l looks identical for each of the five volumes, apart from 
> guid. I have pasted one of them below. 
> Thanks for your help.
> 
> -Ethan
> 
> 
> et...@save:/dev# zdb -l dsk/c9t2d0s8
> --------------------------------------------
> LABEL 0
> --------------------------------------------
>     version=13
>     name='q'
>     state=1
>     txg=361805
>     pool_guid=5055543090570728034
>     hostid=8323328
>     hostname='that'
>     top_guid=441634638335554713
>     guid=13840197833631786818
>     vdev_tree
>         type='raidz'
>         id=0
>         guid=441634638335554713
>         nparity=1
>         metaslab_array=23
>         metaslab_shift=32
>         ashift=9
>         asize=7501483868160
>         is_log=0
>         children[0]
>                 type='disk'
>                 id=0
>                 guid=4590162841999933602
>                 path='/dev/mapper/truecrypt3'
>                 whole_disk=0
>         children[1]
>                 type='disk'
>                 id=1
>                 guid=12502103998258102871
>                 path='/dev/mapper/truecrypt2'
>                 whole_disk=0
>         children[2]
>                 type='disk'
>                 id=2
>                 guid=13840197833631786818
>                 path='/dev/mapper/truecrypt1'
>                 whole_disk=0
>         children[3]
>                 type='disk'
>                 id=3
>                 guid=3763020893739678459
>                 path='/dev/mapper/truecrypt5'
>                 whole_disk=0
>         children[4]
>                 type='disk'
>                 id=4
>                 guid=4929061713231157616
>                 path='/dev/mapper/truecrypt4'
>                 whole_disk=0
> --------------------------------------------
> LABEL 1
> --------------------------------------------
>     version=13
>     name='q'
>     state=1
>     txg=361805
>     pool_guid=5055543090570728034
>     hostid=8323328
>     hostname='that'
>     top_guid=441634638335554713
>     guid=13840197833631786818
>     vdev_tree
>         type='raidz'
>         id=0
>         guid=441634638335554713
>         nparity=1
>         metaslab_array=23
>         metaslab_shift=32
>         ashift=9
>         asize=7501483868160
>         is_log=0
>         children[0]
>                 type='disk'
>                 id=0
>                 guid=4590162841999933602
>                 path='/dev/mapper/truecrypt3'
>                 whole_disk=0
>         children[1]
>                 type='disk'
>                 id=1
>                 guid=12502103998258102871
>                 path='/dev/mapper/truecrypt2'
>                 whole_disk=0
>         children[2]
>                 type='disk'
>                 id=2
>                 guid=13840197833631786818
>                 path='/dev/mapper/truecrypt1'
>                 whole_disk=0
>         children[3]
>                 type='disk'
>                 id=3
>                 guid=3763020893739678459
>                 path='/dev/mapper/truecrypt5'
>                 whole_disk=0
>         children[4]
>                 type='disk'
>                 id=4
>                 guid=4929061713231157616
>                 path='/dev/mapper/truecrypt4'
>                 whole_disk=0
> --------------------------------------------
> LABEL 2
> --------------------------------------------
> failed to unpack label 2
> --------------------------------------------
> LABEL 3
> --------------------------------------------
> failed to unpack label 3
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
http://nexenta-atlanta.eventbrite.com (March 15-17, 2010)



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

Reply via email to