xfsinvutil - xfsdump inventory database checking and pruning utility
xfsinvutil [ -M mountpoint mm/dd/yyyy (prune all entries older than
specified date for the specified mount point) ]
[ -C (check and fix xfsdump inventory database inconsistencies)]
xfsdump maintains an online dump inventory in /var/xfsdump/inventory. The -I option of xfsdump displays the inventory contents hierarchically. The levels of the hierarchy are: filesystem, dump session, stream, and media file.
Over time, this database may grow too large as xfsdump and xfsrestore do not remove entries from the inventory. The database may also develop inconsistencies due to various reasons such as operator errors etc., causing xfs- dump or xfsrestore to print error or warning messages.
xfsinvutil is an utility to check this inventory database for consistency and to remove entries of dump sessions which may no longer be of relevance.
The following command line options are available:
-M mountpoint mm/dd/yyyy
|
Specifies the mount point and cut-off date of inventory entries to be selected for pruning. xfsinvutil prompts the operator when a dump session in the inventory is identified by the mount point and was created prior to the specified date. The operator can then select specific dump sessions for removal from the inventory database. xfsinvutil also performs consistency checks on other inventory database entries when invoked with this option. |
-C With this option, xfsinvutil performs consistency checks for all entries in the inventory database. It fixes any
problems found. If no consistent entries are found , the corresponding inventory database file is removed.
Inventory
|
Each dump session updates an inventory database in /var/xfsdump/inventory. xfsdump |
This database can be displayed by invoking xfsdump with the -I option. The display uses tabbed indentation to present the inventory hierarchically. The first level is filesystem. The second level is session. The third level is media stream (currently only one stream is supported). The fourth level lists the media files sequentially compos- ing the stream.
/var/xfsdump/inventory dump inventory database
xfsdump(1M), xfsrestore(1M).