Examples of reporting file extents

Article:HOWTO59509  |  Created: 2011-10-12  |  Updated: 2011-10-12  |  Article URL http://www.symantec.com/docs/HOWTO59509
Article Type
How To

Product(s)

Environment

Subject


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

Using the fsvmap command

  1. Report the extents of files on multiple volumes:

      # fsvmap /dev/vx/rdsk/fstest/testvset vol1 vol2
      vol1  /.
      vol1  /ns2
      vol1  /ns3
      vol1  /file1
      vol2  /file1
      vol2  /file2
  2. Report the extents of files that have either data or metadata on a single volume in all Storage Checkpoints, and indicate if the volume has file system metadata:

      # fsvmap -mvC /dev/vx/rdsk/fstest/testvset vol1
      Meta  Structural   vol1  //volume has filesystem metadata//
      Data  UNNAMED      vol1  /.
      Data  UNNAMED      vol1  /ns2
      Data  UNNAMED      vol1  /ns3
      Data  UNNAMED      vol1  /file1
      Meta  UNNAMED      vol1  /file1

See Reporting file extents


Legacy ID



uxrt-51sp1_v40221897_v63475671


Article URL http://www.symantec.com/docs/HOWTO59509


Terms of use for this information are found in Legal Notices