Veritas File System 5.0 Administrator's Guide (September 2006)
To deencapsulate a volume
1
List the volumes:
# vxvset list myvset
VOLUME INDEX LENGTH STATE CONTEXT
vol1 0 102400 ACTIVE -
vol2 1 102400 ACTIVE -
dbvol 2 102400 ACTIVE -
The volume set has three volumes.
2
Deencapsulate dbvol:
# fsvoladm deencapsulate /mnt1/dbfile
Reporting file extents
MVS feature provides the capability for file-to-volume mapping and volume-to-file
mapping via the fsmap and fsvmap commands. The fsmap command reports the
volume name, logical offset, and size of data extents, or the volume name and size
of indirect extents associated with a file on a multi-volume file system. The fsvmap
command maps volumes to the files that have extents on those volumes.
See the fsmap(1M) and fsvmap(1M) manual pages.
The fsmap command requires open() permission for each file or directory specified.
Root permission is required to report the list of files with extents on a particular
volume.
Examples of reporting file extents
The following examples show typical uses of the fsmap and fsvmap commands.
Using the fsmap command
◆
Use the find command to descend directories recursively and run fsmap on
the list of files:
# find . | fsmap -
Volume Extent Type File
vol2 Data ./file1
vol1 Data ./file2
129Multi-volume file systems
Reporting file extents