GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
xfs_irecover(8) hxtools xfs_irecover(8)

xfs_irecover — recover deleted inodes from XFS filesystems

xfs_irecover [-n] [-N max_inodes] [-r start_inode] [-s size_cutoff] [-t size_threshold] -D device -o output_dir

xfs_irecover scans the given block device for XFS inodes and extracts them. Since most filesystems do not zero the actual data, but merely mark it unused after it has been deleted, recovery is usually possible while the data has not been overwritten. A set of heuristics, controllable via options, determines which inodes are to be considered containing nonsensical data and ignore those.

-D device
The block device or other plain file to scan. Pipes and sockets are not supported, as xfs_irecover makes use of seeking.
-N max_inodes
Sets the maximum number of inodes to scan. This is generally used for debug. The default is the amount of inodes that xfs_db reports for the filesystem.
-n
Dry run. Do not write any extracted inodes to the target directory.
-r start_inode
Specifies at which inode xfs_recover shall start. This is generally used for debug, or to restart a previously aborted xfs_irecover. The default is 0 (start of device).
-s size_cutoff
Inodes that have a recorded file size above this limit are considered to have been overwritten in some way already, and will be ignored during extraction. The default is 1 GB.
-t size_threshold
It can occur that an inode has a recorded file size that is smaller than the size of the extent blocks. If the recorded size is smaller than size_threshold, all extents will be extracted and the file not be truncated to the recorded size. (This heuristic is for when the recorded file size is believed to have been trashed.) Good values are in the range of 4096-65536. The default is 0, meaning files will always be truncated to the recorded size.

xfs_irecover currently extracts inodes only, so filenames will not be extracted. In-use bitmaps are ignored (they most likely are trashed or already cleaned), as this tool searches for the real lost or cleared inodes (even the intentionally deleted ones way before a recovery was needed).

hxtools(7)
2008-12-29 hxtools

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.