Hi, Having my 700Gb one disk ZFS crashing on me created ample need for a recovery tool. So I spent the weekend creating a tool that lets you list directories and copy files from any pool on a one disk ZFS filesystem, where for example the Solaris kernel keeps panicing. Is there any interest in it being release to the public? Regards, /Samuel This message posted from opensolaris.org
Yeah, that would have saved me several weeks ago. Samuel Borgman wrote:> Hi, > > Having my 700Gb one disk ZFS crashing on me created ample need for a recovery tool. > > So I spent the weekend creating a tool that lets you list directories and copy files from any pool on a one disk ZFS filesystem, where for example the Solaris kernel keeps panicing. > > Is there any interest in it being release to the public? > > Regards, > > /Samuel > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Samuel,> Having my 700Gb one disk ZFS crashing on me created ample need for a recovery tool. > > So I spent the weekend creating a tool that lets you list directories and copy files from any pool on a one disk ZFS filesystem, where for example the Solaris kernel keeps panicing. > > Is there any interest in it being release to the public?Yes indeed. Please put the source up here - I am sure that you will receive interesting feedback. Thanks and regards... Sean.
> Having my 700Gb one disk ZFS crashing on me created ample need for a recovery tool. > > So I spent the weekend creating a tool that lets you list directories and copy files from any pool on a one disk ZFS filesystem, where for example the Solaris kernel keeps panicing. > > Is there any interest in it being release to the public?Would be nice to have. Still, it calls for a recovery mode in ZFS, where all available disks of the pool are mounted, unrecoverable errors will not cause panics and missing data is filled with zeroes. Bonus would be a special cp command, that works with ZFS and tells me whether a file copied correctly or not. -mg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20071015/c8dfc330/attachment.bin>
FYI - - The "unrecoverable errors = panic" problem is being fixed as part of PSARC 2007/567. - We should be able to recover *some* data when some (but not all) toplevel vdevs are faulted. See 6406289. - Reading corrupted blocks is a little trickier, but 6186106 is filed to cover this. That being said, such a tool seems interesting until the above bugs/rfes are fixed. Given that PSARC 2007/567 is undergoing final testing, fixing 6406289 would be a good project for anyone who''s interested, as there are some ramifications that make this non-trivial. Fixing 6186106 is much harder, and requires some careful design decisions. - Eric On Mon, Oct 15, 2007 at 12:07:36PM +0200, Mario Goebbels wrote:> > Having my 700Gb one disk ZFS crashing on me created ample need for a recovery tool. > > > > So I spent the weekend creating a tool that lets you list directories and copy files from any pool on a one disk ZFS filesystem, where for example the Solaris kernel keeps panicing. > > > > Is there any interest in it being release to the public? > > Would be nice to have. > > Still, it calls for a recovery mode in ZFS, where all available disks of > the pool are mounted, unrecoverable errors will not cause panics and > missing data is filled with zeroes. Bonus would be a special cp command, > that works with ZFS and tells me whether a file copied correctly or not. > > -mg >> _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock
Thanks for your replies, I''ll try to make the time to make it available as soon as possible. Though I am still busy with the aftermath of the crash that prompted its creation. However if anyone want to try it out, in emergency i can send it over as-is. /Samuel This message posted from opensolaris.org