Victor Pajor wrote:
> When I mean about the error is:
>
> Where a system crashes, zfs just loses its references and thinks that disks 
> are not available.
> When in fact the same disk worked perfectly just before the motherboard crash.
>
> Not just asking. Isn't ZFS supposed to cope with this kind of crash ?
>
> There must be a way of diagnosing what is going on.
>   

I believe this is working as designed.  A cache is kept in
/etc/zfs/zpool.cache which contains a list of the devices and
pools which should be imported automatically at boot time.
The alternative is to scan every device, which does not scale
well to large systems and can cause consternation for shared
storage clusters.  When you changed the motherboard, you
also changed the device list, which is why the pools were
not imported automatically at boot.  This is an unusual case,
but the solution is to export (thus removing the entries from
zpool.cache) and import (adding new entries to zpool.cache)
 -- richard

> Here is the description of the label when I change configuration of the hdd.
> What I did is just add another SCSI controller and added 2 disks.
>
>
> bash-3.00# zdb -l /dev/rdsk/c4t1d0s0
> --------------------------------------------
> 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
> --------------------------------------------
>    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 2
> --------------------------------------------
>    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 3
> --------------------------------------------
>    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
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   

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

Reply via email to