How to create a metasave
| This article is a part of a set on troubleshooting file system corruption. Click here to start at the beginning: https://www.veritas.com/content/support/en_US/article.100009174.html |
1. Introduction
2. Estimating time and disk space requirements
3. Creating the metasave
4. Verifying a metasave output file
Use one of the metasave scripts to create a file that contains a copy of the metadata of a volume. The metadata is a data structure that contains attributes about the data within a filesystem, but does not contain the actual data itself.
The metasave process reads through the metadata of a file system, seeking and examining each individual inode entry. The amount of time that is required to create a metasave depends on how quickly the system can perform I/O reads, along with the overall level of system resources available.It is possible to estimate the time and size requrements for a metasave by using the "fsadm -E" command.
Dismount the volume and then create a metasave (Figure 1). The metasave collects the file system metadata, which is the portion of a filesystem that contains the attributes of the data, but does not contain the actual data itself.
Syntax: /opt/VRTSspt/FS/MetaSave/metasave_Note: Replace "
Example, with typical output:
# umount /vol1 |
To verify a metasave output file, use the same metasave script that was used to create the file.
Figure 2 - Verifying a metasave
Syntax: /opt/VRTSspt/FS/MetaSave/metasave_Note: Replace "
#./metasave_10 -i /var/tmp/metasave.out |