ZFS corrupted data

Lars Hartmann lars at chaotika.org
Tue Jul 27 19:26:27 UTC 2010


Hi,
> What zdb -l gpt/zfs[0-3] shows?
# zdb -l /dev/gpt/zfs[0-3]
--------------------------------------------
LABEL 0
--------------------------------------------
    version=14
    name='tank'
    state=0
    txg=62061
    pool_guid=8874208433256738661
    hostid=3185466327
    hostname='zeus.pollux.chaotika.org'
    top_guid=12274326928255625197
    guid=8026348608815327737
    vdev_tree
        type='raidz'
        id=0
        guid=12274326928255625197
        nparity=1
        metaslab_array=23
        metaslab_shift=34
        ashift=9
        asize=2992005709824
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=8026348608815327737
                path='/dev/gpt/zfs0'
                whole_disk=0
        children[1]
                type='disk'
                id=1
                guid=11319360820807953066
                path='/dev/gpt/zfs1'
                whole_disk=0
        children[2]
                type='disk'
                id=2
                guid=1718611096280984776
                path='/dev/gpt/zfs2'
                whole_disk=0
        children[3]
                type='disk'
                id=3
                guid=10609328046882331362
                path='/dev/gpt/zfs3'
                whole_disk=0
--------------------------------------------
LABEL 1
--------------------------------------------
    version=14
    name='tank'
    state=0
    txg=62061
    pool_guid=8874208433256738661
    hostid=3185466327
    hostname='zeus.pollux.chaotika.org'
    top_guid=12274326928255625197
    guid=8026348608815327737
    vdev_tree
        type='raidz'
        id=0
        guid=12274326928255625197
        nparity=1
        metaslab_array=23
        metaslab_shift=34
        ashift=9
        asize=2992005709824
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=8026348608815327737
                path='/dev/gpt/zfs0'
                whole_disk=0
        children[1]
                type='disk'
                id=1
                guid=11319360820807953066
                path='/dev/gpt/zfs1'
                whole_disk=0
        children[2]
                type='disk'
                id=2
                guid=1718611096280984776
                path='/dev/gpt/zfs2'
                whole_disk=0
        children[3]
                type='disk'
                id=3
                guid=10609328046882331362
                path='/dev/gpt/zfs3'
                whole_disk=0
--------------------------------------------
LABEL 2
--------------------------------------------
    version=14
    name='tank'
    state=0
    txg=62061
    pool_guid=8874208433256738661
    hostid=3185466327
    hostname='zeus.pollux.chaotika.org'
    top_guid=12274326928255625197
    guid=8026348608815327737
    vdev_tree
        type='raidz'
        id=0
        guid=12274326928255625197
        nparity=1
        metaslab_array=23
        metaslab_shift=34
        ashift=9
        asize=2992005709824
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=8026348608815327737
                path='/dev/gpt/zfs0'
                whole_disk=0
        children[1]
                type='disk'
                id=1
                guid=11319360820807953066
                path='/dev/gpt/zfs1'
                whole_disk=0
        children[2]
                type='disk'
                id=2
                guid=1718611096280984776
                path='/dev/gpt/zfs2'
                whole_disk=0
        children[3]
                type='disk'
                id=3
                guid=10609328046882331362
                path='/dev/gpt/zfs3'
                whole_disk=0
--------------------------------------------
LABEL 3
--------------------------------------------
    version=14
    name='tank'
    state=0
    txg=62061
    pool_guid=8874208433256738661
    hostid=3185466327
    hostname='zeus.pollux.chaotika.org'
    top_guid=12274326928255625197
    guid=8026348608815327737
    vdev_tree
        type='raidz'
        id=0
        guid=12274326928255625197
        nparity=1
        metaslab_array=23
        metaslab_shift=34
        ashift=9
        asize=2992005709824
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=8026348608815327737
                path='/dev/gpt/zfs0'
                whole_disk=0
        children[1]
                type='disk'
                id=1
                guid=11319360820807953066
                path='/dev/gpt/zfs1'
                whole_disk=0
        children[2]
                type='disk'
                id=2
                guid=1718611096280984776
                path='/dev/gpt/zfs2'
                whole_disk=0
        children[3]
                type='disk'
                id=3
                guid=10609328046882331362
                path='/dev/gpt/zfs3'
                whole_disk=0
> How much time has passed from the time you resumed you machine up to the 
> time you rebooted the machine?
about 2minutes.

I hope these informations helped you.

-- 
Lars Hartmann <lars at chaotika.org>



More information about the freebsd-fs mailing list