The snfsdefrag Tool
The snfsdefrag tool is very useful to identify and correct file extent fragmentation. Reducing extent fragmentation can be very beneficial for performance. You can use this utility to determine whether files are fragmented, and if so, fix them.
Note: Beginning with StorNext 6, use the sgoffload
command instead of the snfsdefrag
command. The sgoffload
command moves extents belonging to files that are currently in use (open). The sgoffload
command also informs the client to suspend I/O for a time, moves the data, then informs the client to refresh the location of the data and resume I/O.