ZFS forensics

Moderators: jhartley, MSR734, nola

ZFS forensics

Post by si-ghan-bi » Thu Dec 06, 2012 6:51 pm

I found this link about how to recover old files deleted and it may be of interest:

http://www.solarisinternals.com/wiki/in ... ack_script
si-ghan-bi Offline


 
Posts: 145
Joined: Sat Sep 15, 2012 5:55 am

links and undocumented features

Post by grahamperrin » Fri Dec 07, 2012 11:07 pm

Thanks :)

ZFS forensics scrollback script (sic)

The page refers to two others that are no longer found, so here are Internet Archive Wayback Machine copies:


Undocumented (not in man pages)

In addition to ZFS-related force options that are documented, there's an undocumented option for the zpool import subcommand:

    -X

Leal's blog » Blog Archive » ZFS Internals (part #11) (2011-08-29)

So: to determine whether xtreme_rewind might make importable a pool that is non-importable – without actually performing the rewind – a command with option -X might be something like:

Code: Select all
sudo zpool import -FnX poolname


As with any undocumented feature: do not rush to use -X without understanding the implications, without considering alternatives. In one case, for example:

dbrady wrote:… I would try "-o readonly=on" first or in tandem. …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Dynamic import with readonly=on

Post by grahamperrin » Mon Mar 25, 2013 8:33 pm

At viewtopic.php?p=4372#p4372

raattgift wrote:… a way to have the pool readonly=on property to be set for the first import (upon critical mass of attaching devices) …


+1 to that wish.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 0 guests

cron