Symantec logo

Reorganizing a file system

You can reorganize (or compact) a fragmented file system using fsadm, even while the file system is mounted. This may help shrink a file system that could not previously be decreased.


  Note   If a file system is full or busy,  the reorg operation may fail.


 To reorganize a VxFS file system

fsadm [-e] [-d] [-E] [-D] [-r rawdev] mount_point

Example of reorganizing a file system

The following example reorganizes the file system mounted at /ext.

 To reorganize a VxFS file system

# fsadm -EeDd /ext

  1. Extend the volume so that the volume can contain the larger file system: