I have/had Intel M25-E 32GB SSD drive as ZIL/cache device (2 GB ZIL
slice0 and the rest is cache slice1)
The SSD drive has failed and zpool is unavailable anymore.
Is there any way to import the pool/recover data, even with some latest
transactions lost?
I''ve tried zdb -e -bcsvL <pool name> but it didn''t work.
Below are the details:
[root at storage ~]# uname -a
SunOS storage 5.11 snv_129 i86pc i386 i86pc
[root at storage ~]# zpool import
pool: neosys
id: 1346464136813319526
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:
neosys UNAVAIL missing device
raidz2-0 ONLINE
c4t0d0 ONLINE
c4t1d0 ONLINE
c4t2d0 ONLINE
c4t3d0 ONLINE
c4t4d0 ONLINE
c4t5d0 ONLINE
c4t6d0 ONLINE
c4t7d0 ONLINE
[root at storage ~]# zdb -e neosys
Configuration for import:
vdev_children: 2
version: 22
pool_guid: 1346464136813319526
name: ''neosys''
state: 0
hostid: 577477
hostname: ''storage''
vdev_tree:
type: ''root''
id: 0
guid: 1346464136813319526
children[0]:
type: ''raidz''
id: 0
guid: 12671265726510370964
nparity: 2
metaslab_array: 25
metaslab_shift: 35
ashift: 9
asize: 4000755744768
is_log: 0
children[0]:
type: ''disk''
id: 0
guid: 10831801542309994254
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 0,0:a''
whole_disk: 1
DTL: 3489
path: ''/dev/dsk/c4t0d0s0''
devid: ''id1,sd at n5000cca32cc21642/a''
children[1]:
type: ''disk''
id: 1
guid: 39402223705908332
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 1,0:a''
whole_disk: 1
DTL: 3488
path: ''/dev/dsk/c4t1d0s0''
devid: ''id1,sd at n5000cca32cc1f061/a''
children[2]:
type: ''disk''
id: 2
guid: 5642566785254158202
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 2,0:a''
whole_disk: 1
DTL: 3487
path: ''/dev/dsk/c4t2d0s0''
devid: ''id1,sd at n5000cca32cc20121/a''
children[3]:
type: ''disk''
id: 3
guid: 5006664765902732873
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 3,0:a''
whole_disk: 1
DTL: 3486
path: ''/dev/dsk/c4t3d0s0''
devid: ''id1,sd at n5000cca32cf43053/a''
children[4]:
type: ''disk''
id: 4
guid: 106648579627377843
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 4,0:a''
whole_disk: 1
DTL: 3485
path: ''/dev/dsk/c4t4d0s0''
devid: ''id1,sd at n5000cca34ddf64e4/a''
children[5]:
type: ''disk''
id: 5
guid: 16829737373647293224
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 5,0:a''
whole_disk: 1
DTL: 3484
path: ''/dev/dsk/c4t5d0s0''
devid: ''id1,sd at n5000cca34ddf6489/a''
children[6]:
type: ''disk''
id: 6
guid: 8848352534289847923
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 6,0:a''
whole_disk: 1
DTL: 3503
path: ''/dev/dsk/c4t6d0s0''
devid: ''id1,sd at n5000cca357ec765c/a''
children[7]:
type: ''disk''
id: 7
guid: 6940643930453962294
phys_path:
''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 7,0:a''
whole_disk: 1
DTL: 3469
path: ''/dev/dsk/c4t7d0s0''
devid: ''id1,sd at n5000cca357ec9b07/a''
children[1]:
type: ''missing''
id: 1
guid: 0
zdb: can''t open ''neosys'': No such device or address
[root at storage ~]# zdb -e -bcsvL neosys
zdb: can''t open ''neosys'': No such device or address
Any help would be greatly appreciated.
Thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100712/90ee431b/attachment.html>
>>>>> "ds" == Dmitry Sorokin <dmitry.sorokin at bmcorp.ca> writes:ds> The SSD drive has failed and zpool is unavailable anymore. AIUI, 6733267 Allow a pool to be imported with a missing slog is only fixed for the case where the pool is still imported. If you export it without removing the slog first, the pool is lost. Instructions here: http://opensolaris.org/jive/thread.jspa?messageID=377018 http://github.com/pjjw/logfix/tree/master how how to ``fake out'''' the lazy assertions, but you have to prepare to use the workaround before your slog fails by noting its GUID. If you don''t know the GUID, then it is as Richard Elling says, ``a rather long trial-and-error process.'''' Decoded from Fanboi-ese into English, the ``rather long'''' process is ``finding a sha1 hash collision.'''' so either UTFS or ``restore from backup.'''' :( -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 304 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100713/57dd877f/attachment.bin>
Hi Richard, What happened is this SSD gave some IO errors and the pool become degraded, so after the machine got rebooted, I found that the pool became unavailable. The SSD drive itself is toasted, as bios now reports it as 8 GB in size and name is "Inuem SS E Cootmoader!", so all the partitions are gone and it is completely unusable at the moment. I was able to find GUID of the slog from zpool.cache file that I backed up in January this year. However I was unable to compile logfix binary and the one provided by the author (compiled on snv_111) dumps core on snv_129 and snv_134. Does anyone have logfix binary compiled for snv_129? Thanks, Dmitry -----Original Message----- From: Richard Elling [mailto:richard.elling at gmail.com] Sent: Tuesday, July 13, 2010 5:12 PM To: Dmitry Sorokin Subject: Re: [zfs-discuss] ZIL SSD failed Is the drive still there? If so, then try removing it or temporarily zeroing out the s0 label. If that allows zpool import -F to work, then please let me know and I''ll add your post to a new bug report. I have seen something like this recently and have been trying to reproduce. -- richard On Jul 12, 2010, at 6:22 PM, "Dmitry Sorokin" <dmitry.sorokin at bmcorp.ca> wrote:> I have/had Intel M25-E 32GB SSD drive as ZIL/cache device (2 GB ZIL > slice0 and the rest is cache slice1) > > The SSD drive has failed and zpool is unavailable anymore. > > Is there any way to import the pool/recover data, even with some latest transactions lost? > > I?ve tried zdb ?e -bcsvL <pool name> but it didn?t work. > > > > Below are the details: > > > > [root at storage ~]# uname -a > > SunOS storage 5.11 snv_129 i86pc i386 i86pc > > > > [root at storage ~]# zpool import > > pool: neosys > > id: 1346464136813319526 > > 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: > > > > neosys UNAVAIL missing device > > raidz2-0 ONLINE > > c4t0d0 ONLINE > > c4t1d0 ONLINE > > c4t2d0 ONLINE > > c4t3d0 ONLINE > > c4t4d0 ONLINE > > c4t5d0 ONLINE > > c4t6d0 ONLINE > > c4t7d0 ONLINE > > > > [root at storage ~]# zdb -e neosys > > > > Configuration for import: > > vdev_children: 2 > > version: 22 > > pool_guid: 1346464136813319526 > > name: ''neosys'' > > state: 0 > > hostid: 577477 > > hostname: ''storage'' > > vdev_tree: > > type: ''root'' > > id: 0 > > guid: 1346464136813319526 > > children[0]: > > type: ''raidz'' > > id: 0 > > guid: 12671265726510370964 > > nparity: 2 > > metaslab_array: 25 > > metaslab_shift: 35 > > ashift: 9 > > asize: 4000755744768 > > is_log: 0 > > children[0]: > > type: ''disk'' > > id: 0 > > guid: 10831801542309994254 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 0,0:a'' > > whole_disk: 1 > > DTL: 3489 > > path: ''/dev/dsk/c4t0d0s0'' > > devid: ''id1,sd at n5000cca32cc21642/a'' > > children[1]: > > type: ''disk'' > > id: 1 > > guid: 39402223705908332 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 1,0:a'' > > whole_disk: 1 > > DTL: 3488 > > path: ''/dev/dsk/c4t1d0s0'' > > devid: ''id1,sd at n5000cca32cc1f061/a'' > > children[2]: > > type: ''disk'' > > id: 2 > > guid: 5642566785254158202 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 2,0:a'' > > whole_disk: 1 > > DTL: 3487 > > path: ''/dev/dsk/c4t2d0s0'' > > devid: ''id1,sd at n5000cca32cc20121/a'' > > children[3]: > > type: ''disk'' > > id: 3 > > guid: 5006664765902732873 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 3,0:a'' > > whole_disk: 1 > > DTL: 3486 > > path: ''/dev/dsk/c4t3d0s0'' > > devid: ''id1,sd at n5000cca32cf43053/a'' > > children[4]: > > type: ''disk'' > > id: 4 > > guid: 106648579627377843 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 4,0:a'' > > whole_disk: 1 > > DTL: 3485 > > path: ''/dev/dsk/c4t4d0s0'' > > devid: ''id1,sd at n5000cca34ddf64e4/a'' > > children[5]: > > type: ''disk'' > > id: 5 > > guid: 16829737373647293224 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 5,0:a'' > > whole_disk: 1 > > DTL: 3484 > > path: ''/dev/dsk/c4t5d0s0'' > > devid: ''id1,sd at n5000cca34ddf6489/a'' > > children[6]: > > type: ''disk'' > > id: 6 > > guid: 8848352534289847923 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 6,0:a'' > > whole_disk: 1 > > DTL: 3503 > > path: ''/dev/dsk/c4t6d0s0'' > > devid: ''id1,sd at n5000cca357ec765c/a'' > > children[7]: > > type: ''disk'' > > id: 7 > > guid: 6940643930453962294 > > phys_path: ''/pci at 0,0/pci10de,377 at f/pci1000,3150 at 0/sd at 7,0:a'' > > whole_disk: 1 > > DTL: 3469 > > path: ''/dev/dsk/c4t7d0s0'' > > devid: ''id1,sd at n5000cca357ec9b07/a'' > > children[1]: > > type: ''missing'' > > id: 1 > > guid: 0 > > zdb: can''t open ''neosys'': No such device or address > > > > [root at storage ~]# zdb -e -bcsvL neosys > > zdb: can''t open ''neosys'': No such device or address > > > > Any help would be greatly appreciated. > > > > Thanks, > > Dmitry > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss