Hello all,
I have a critical ZFS problem, quick history
I have a production machine which backplane has burnt (litteraly) that
had 2 pools : "applis" & "storage". Those pools are
RAIDz1 + 1 spare.
Then we switched to the backup one, all right.
Backup machine is the exact replica of production one, files are rsynced
every night. I needed to reboot it to rename it, so I did. But reboot
failed : zfs panic at boot. following sun''s doc, I
moved /etc/zfs/zpool.cache away, and reboot. All fine. Mounted pool
"storage" without problem, but unable to mount pool
"applis".
Someone suggested disks were re-labelled, I''m open to all advices, If I
can''t get those datas back, all we be lost...
Thanks for reading, and maybe helping.
diagnostic outputs : (made from opensolaris liveCD, to have a recent
ZFS)
--------------------------
# zpool import
pool: applis
id: 5524311410139446438
state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
applis UNAVAIL insufficient replicas
raidz1 FAULTED corrupted data
c7t0d0 FAULTED corrupted data
c7t1d0 FAULTED corrupted data
c8t2d0 FAULTED corrupted data
c8t3d0 FAULTED corrupted data
spares
c5t4d0
--------------------------
# prtvtoc /dev/rdsk/c7t0d0
* /dev/rdsk/c7t0d0 partition map
*
* Dimensions:
* 512 bytes/sector
* 976773168 sectors
* 976773101 accessible sectors
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 34 222 255
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 4 00 256 976756495 976756750
8 11 00 976756751 16384 976773134
--------------------------
# fstyp /dev/rdsk/c7t0d0
unknown_fstyp (no match)
--------------------------
# zpool import -f applis
cannot import ''applis'': one or more device is currently
unavailable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090930/fb3c5cf1/attachment.bin>
Le mercredi 30 septembre 2009 ? 11:43 +0200, Nicolas Szalay a ?crit :> Hello all, > > I have a critical ZFS problem, quick history[snip] little addition : zdb -l /dev/rdsk/c7t0d0 sees the metadatas Isn''t it "just" the phys_path that is wrong ? -------------------------------------------- LABEL 0 -------------------------------------------- version=10 name=''applis'' state=0 txg=3183748 pool_guid=5524311410139446438 hostid=566707831 hostname=''solarisfiler2'' top_guid=254793396820920770 guid=5339011664685738178 vdev_tree type=''raidz'' id=0 guid=254793396820920770 nparity=1 metaslab_array=15 metaslab_shift=34 ashift=9 asize=2000377872384 is_log=0 children[0] type=''disk'' id=0 guid=6486634062425618987 path=''/dev/dsk/c4t0d0s0'' devid=''id1,sd at x0004d927fffff800/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' whole_disk=1 DTL=80 children[1] type=''disk'' id=1 guid=5339011664685738178 path=''/dev/dsk/c4t1d0s0'' devid=''id1,sd at x0004d927fffff810/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' whole_disk=1 DTL=79 children[2] type=''disk'' id=2 guid=2839810383588280229 path=''/dev/dsk/c5t2d0s0'' devid=''id1,sd at x0004d927fffff820/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' whole_disk=1 DTL=78 children[3] type=''disk'' id=3 guid=2925754536128244731 path=''/dev/dsk/c5t3d0s0'' devid=''id1,sd at x0004d927fffff830/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' whole_disk=1 DTL=77 -------------------------------------------- LABEL 1 -------------------------------------------- version=10 name=''applis'' state=0 txg=3183748 pool_guid=5524311410139446438 hostid=566707831 hostname=''solarisfiler2'' top_guid=254793396820920770 guid=5339011664685738178 vdev_tree type=''raidz'' id=0 guid=254793396820920770 nparity=1 metaslab_array=15 metaslab_shift=34 ashift=9 asize=2000377872384 is_log=0 children[0] type=''disk'' id=0 guid=6486634062425618987 path=''/dev/dsk/c4t0d0s0'' devid=''id1,sd at x0004d927fffff800/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' whole_disk=1 DTL=80 children[1] type=''disk'' id=1 guid=5339011664685738178 path=''/dev/dsk/c4t1d0s0'' devid=''id1,sd at x0004d927fffff810/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' whole_disk=1 DTL=79 children[2] type=''disk'' id=2 guid=2839810383588280229 path=''/dev/dsk/c5t2d0s0'' devid=''id1,sd at x0004d927fffff820/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' whole_disk=1 DTL=78 children[3] type=''disk'' id=3 guid=2925754536128244731 path=''/dev/dsk/c5t3d0s0'' devid=''id1,sd at x0004d927fffff830/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' whole_disk=1 DTL=77 -------------------------------------------- LABEL 2 -------------------------------------------- version=10 name=''applis'' state=0 txg=3183748 pool_guid=5524311410139446438 hostid=566707831 hostname=''solarisfiler2'' top_guid=254793396820920770 guid=5339011664685738178 vdev_tree type=''raidz'' id=0 guid=254793396820920770 nparity=1 metaslab_array=15 metaslab_shift=34 ashift=9 asize=2000377872384 is_log=0 children[0] type=''disk'' id=0 guid=6486634062425618987 path=''/dev/dsk/c4t0d0s0'' devid=''id1,sd at x0004d927fffff800/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' whole_disk=1 DTL=80 children[1] type=''disk'' id=1 guid=5339011664685738178 path=''/dev/dsk/c4t1d0s0'' devid=''id1,sd at x0004d927fffff810/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' whole_disk=1 DTL=79 children[2] type=''disk'' id=2 guid=2839810383588280229 path=''/dev/dsk/c5t2d0s0'' devid=''id1,sd at x0004d927fffff820/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' whole_disk=1 DTL=78 children[3] type=''disk'' id=3 guid=2925754536128244731 path=''/dev/dsk/c5t3d0s0'' devid=''id1,sd at x0004d927fffff830/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' whole_disk=1 DTL=77 -------------------------------------------- LABEL 3 -------------------------------------------- version=10 name=''applis'' state=0 txg=3183748 pool_guid=5524311410139446438 hostid=566707831 hostname=''solarisfiler2'' top_guid=254793396820920770 guid=5339011664685738178 vdev_tree type=''raidz'' id=0 guid=254793396820920770 nparity=1 metaslab_array=15 metaslab_shift=34 ashift=9 asize=2000377872384 is_log=0 children[0] type=''disk'' id=0 guid=6486634062425618987 path=''/dev/dsk/c4t0d0s0'' devid=''id1,sd at x0004d927fffff800/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' whole_disk=1 DTL=80 children[1] type=''disk'' id=1 guid=5339011664685738178 path=''/dev/dsk/c4t1d0s0'' devid=''id1,sd at x0004d927fffff810/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' whole_disk=1 DTL=79 children[2] type=''disk'' id=2 guid=2839810383588280229 path=''/dev/dsk/c5t2d0s0'' devid=''id1,sd at x0004d927fffff820/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' whole_disk=1 DTL=78 children[3] type=''disk'' id=3 guid=2925754536128244731 path=''/dev/dsk/c5t3d0s0'' devid=''id1,sd at x0004d927fffff830/a'' phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' whole_disk=1 DTL=77 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090930/849b3511/attachment.bin>
On 30.09.09 14:30, Nicolas Szalay wrote:> Le mercredi 30 septembre 2009 ? 11:43 +0200, Nicolas Szalay a ?crit : >> Hello all, >> >> I have a critical ZFS problem, quick history > [snip] > > little addition : zdb -l /dev/rdsk/c7t0d0 sees the metadatasWhat does zdb -l /dev/rds/c7t0d0s0 show? Victor> Isn''t it "just" the phys_path that is wrong ? > > -------------------------------------------- > LABEL 0 > -------------------------------------------- > version=10 > name=''applis'' > state=0 > txg=3183748 > pool_guid=5524311410139446438 > hostid=566707831 > hostname=''solarisfiler2'' > top_guid=254793396820920770 > guid=5339011664685738178 > vdev_tree > type=''raidz'' > id=0 > guid=254793396820920770 > nparity=1 > metaslab_array=15 > metaslab_shift=34 > ashift=9 > asize=2000377872384 > is_log=0 > children[0] > type=''disk'' > id=0 > guid=6486634062425618987 > path=''/dev/dsk/c4t0d0s0'' > devid=''id1,sd at x0004d927fffff800/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' > whole_disk=1 > DTL=80 > children[1] > type=''disk'' > id=1 > guid=5339011664685738178 > path=''/dev/dsk/c4t1d0s0'' > devid=''id1,sd at x0004d927fffff810/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' > whole_disk=1 > DTL=79 > children[2] > type=''disk'' > id=2 > guid=2839810383588280229 > path=''/dev/dsk/c5t2d0s0'' > devid=''id1,sd at x0004d927fffff820/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' > whole_disk=1 > DTL=78 > children[3] > type=''disk'' > id=3 > guid=2925754536128244731 > path=''/dev/dsk/c5t3d0s0'' > devid=''id1,sd at x0004d927fffff830/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' > whole_disk=1 > DTL=77 > -------------------------------------------- > LABEL 1 > -------------------------------------------- > version=10 > name=''applis'' > state=0 > txg=3183748 > pool_guid=5524311410139446438 > hostid=566707831 > hostname=''solarisfiler2'' > top_guid=254793396820920770 > guid=5339011664685738178 > vdev_tree > type=''raidz'' > id=0 > guid=254793396820920770 > nparity=1 > metaslab_array=15 > metaslab_shift=34 > ashift=9 > asize=2000377872384 > is_log=0 > children[0] > type=''disk'' > id=0 > guid=6486634062425618987 > path=''/dev/dsk/c4t0d0s0'' > devid=''id1,sd at x0004d927fffff800/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' > whole_disk=1 > DTL=80 > children[1] > type=''disk'' > id=1 > guid=5339011664685738178 > path=''/dev/dsk/c4t1d0s0'' > devid=''id1,sd at x0004d927fffff810/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' > whole_disk=1 > DTL=79 > children[2] > type=''disk'' > id=2 > guid=2839810383588280229 > path=''/dev/dsk/c5t2d0s0'' > devid=''id1,sd at x0004d927fffff820/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' > whole_disk=1 > DTL=78 > children[3] > type=''disk'' > id=3 > guid=2925754536128244731 > path=''/dev/dsk/c5t3d0s0'' > devid=''id1,sd at x0004d927fffff830/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' > whole_disk=1 > DTL=77 > -------------------------------------------- > LABEL 2 > -------------------------------------------- > version=10 > name=''applis'' > state=0 > txg=3183748 > pool_guid=5524311410139446438 > hostid=566707831 > hostname=''solarisfiler2'' > top_guid=254793396820920770 > guid=5339011664685738178 > vdev_tree > type=''raidz'' > id=0 > guid=254793396820920770 > nparity=1 > metaslab_array=15 > metaslab_shift=34 > ashift=9 > asize=2000377872384 > is_log=0 > children[0] > type=''disk'' > id=0 > guid=6486634062425618987 > path=''/dev/dsk/c4t0d0s0'' > devid=''id1,sd at x0004d927fffff800/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' > whole_disk=1 > DTL=80 > children[1] > type=''disk'' > id=1 > guid=5339011664685738178 > path=''/dev/dsk/c4t1d0s0'' > devid=''id1,sd at x0004d927fffff810/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' > whole_disk=1 > DTL=79 > children[2] > type=''disk'' > id=2 > guid=2839810383588280229 > path=''/dev/dsk/c5t2d0s0'' > devid=''id1,sd at x0004d927fffff820/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' > whole_disk=1 > DTL=78 > children[3] > type=''disk'' > id=3 > guid=2925754536128244731 > path=''/dev/dsk/c5t3d0s0'' > devid=''id1,sd at x0004d927fffff830/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' > whole_disk=1 > DTL=77 > -------------------------------------------- > LABEL 3 > -------------------------------------------- > version=10 > name=''applis'' > state=0 > txg=3183748 > pool_guid=5524311410139446438 > hostid=566707831 > hostname=''solarisfiler2'' > top_guid=254793396820920770 > guid=5339011664685738178 > vdev_tree > type=''raidz'' > id=0 > guid=254793396820920770 > nparity=1 > metaslab_array=15 > metaslab_shift=34 > ashift=9 > asize=2000377872384 > is_log=0 > children[0] > type=''disk'' > id=0 > guid=6486634062425618987 > path=''/dev/dsk/c4t0d0s0'' > devid=''id1,sd at x0004d927fffff800/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 0,0:a'' > whole_disk=1 > DTL=80 > children[1] > type=''disk'' > id=1 > guid=5339011664685738178 > path=''/dev/dsk/c4t1d0s0'' > devid=''id1,sd at x0004d927fffff810/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 1/pci17d3,1120 at e/sd at 1,0:a'' > whole_disk=1 > DTL=79 > children[2] > type=''disk'' > id=2 > guid=2839810383588280229 > path=''/dev/dsk/c5t2d0s0'' > devid=''id1,sd at x0004d927fffff820/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 2,0:a'' > whole_disk=1 > DTL=78 > children[3] > type=''disk'' > id=3 > guid=2925754536128244731 > path=''/dev/dsk/c5t3d0s0'' > devid=''id1,sd at x0004d927fffff830/a'' > > phys_path=''/pci at 0,0/pci8086,25f7 at 2/pci8086,350c at 0,3/pci8086,335 at 2/pci17d3,1120 at e/sd at 3,0:a'' > whole_disk=1 > DTL=77 > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss