Hi everybody, while trying to figure out what on earth has been going on in my u20m2 due to 6636511 u20m2 bios version 1.45.1 still can''t distinguish disks on sata channel #1, I engaged in a lot of cable swapping operations for the internal sata drive cables. Somehow I''ve managed to end up with an allegedly corrupted zpool, which I was unable to do a zpool replace on, and now I can''t import it either. Its config is 2 slices on disks c3t0d0 and c3t1d0, but the zpool config data reckons it''s really using c2t1d0 instead of c3t0d0. Looking at the output from "zdb -l /dev/dsk/c3t0d0s0" I can clearly see that there is a path field which is incorrect. How do I change this field to reflect reality? Is there some way I can force-import the pool and get that mapping changed? (zpool import -f soundandvision fails with "invalid vdev configuration"). -------------------------------------------- LABEL 0 -------------------------------------------- version=9 name=''soundandvision'' state=1 txg=2247550 pool_guid=7968359165854648625 hostid=226162178 hostname=''farnarkle'' top_guid=4672721547114476840 guid=9244482965678353940 vdev_tree type=''mirror'' id=0 guid=4672721547114476840 metaslab_array=14 metaslab_shift=30 ashift=9 asize=199968161792 is_log=0 children[0] type=''disk'' id=0 guid=15422701819531588989 path=''/dev/dsk/c2t1d0s0'' devid=''id1,sd at AMaxtor_6V300F0=V6038ZGH/a'' phys_path=''/pci at 0,0/pci108e,534d at 5/disk at 1,0:a'' whole_disk=0 DTL=85 children[1] type=''disk'' id=1 guid=9244482965678353940 path=''/dev/dsk/c3t0d0s0'' devid=''id1,sd at AST3200822AS=____________4LJ138BN/a'' phys_path=''/pci at 0,0/pci108e,534d at 5,1/disk at 0,0:a'' whole_disk=0 DTL=84 -------------------------------------------- Thankyou in advance, James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
> > Hi everybody, > while trying to figure out what on earth has been > going on > in my u20m2 due to > > 6636511 u20m2 bios version 1.45.1 still can''t > distinguish disks on sata > channel #1, > > I engaged in a lot of cable swapping operations for > the internal > sata drive cables. > > Somehow I''ve managed to end up with an allegedly > corrupted zpool, > which I was unable to do a zpool replace on, and now > I can''t import > it either. > > > Its config is 2 slices on disks c3t0d0 and c3t1d0, > but the zpool > config data reckons it''s really using c2t1d0 instead > of c3t0d0. > > Looking at the output from "zdb -l /dev/dsk/c3t0d0s0" > I can clearly > see that there is a path field which is incorrect. > How do I change > this field to reflect reality? Is there some way I > can force-import > the pool and get that mapping changed? (zpool import > -f soundandvision > fails with "invalid vdev configuration"). > > > > -------------------------------------------- > LABEL 0 > -------------------------------------------- > version=9 > name=''soundandvision'' > state=1 > txg=2247550 > pool_guid=7968359165854648625 > hostid=226162178 > hostname=''farnarkle'' > top_guid=4672721547114476840 > guid=9244482965678353940 > vdev_tree > type=''mirror'' > id=0 > guid=4672721547114476840 > metaslab_array=14 > metaslab_shift=30 > ashift=9 > asize=199968161792 > is_log=0 > children[0] > type=''disk'' > id=0 > guid=15422701819531588989 > path=''/dev/dsk/c2t1d0s0'' > devid=''id1,sd at AMaxtor_6V300F0=V6038ZGH/a'' > > hys_path=''/pci at 0,0/pci108e,534d at 5/disk at 1,0:a'' > whole_disk=0 > DTL=85 > children[1] > type=''disk'' > id=1 > guid=9244482965678353940 > path=''/dev/dsk/c3t0d0s0'' > > evid=''id1,sd at AST3200822AS=____________4LJ138BN/a'' > > hys_path=''/pci at 0,0/pci108e,534d at 5,1/disk at 0,0:a'' > whole_disk=0 > DTL=84 > -------------------------------------------- > > > > > Thankyou in advance, > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com > /blog > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discu > ssHi James, Out of curiosity, did you get an answer on this? thanks, max This message posted from opensolaris.org
Max Bruning wrote:>> Hi everybody, >> while trying to figure out what on earth has been >> going on in my u20m2 due to >> >> 6636511 u20m2 bios version 1.45.1 still can''t >> distinguish disks on sata channel #1, >> >> I engaged in a lot of cable swapping operations for >> the internal sata drive cables....> Hi James, > Out of curiosity, did you get an answer on this?Hi Max, nope, didn''t get an answer from the list. I ended up moving the cables back to how they were previously, then re-importing the zpool. cheers, James -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog