Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 5.3.12 How do I defragment my filesystems?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Counties ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3.11 How can I determine whether a disk is bootable?
Next Document: 5.4 Display
See reader questions & answers on this topic! - Help others by sharing your knowledge

VxFS filesystems can be defragmented using the fsadm command. However,
the online reorganization and online resize features of fsadm are
enabled only with the HP OnLineJFS optional product.

Here are the relevant options:

  -D          Report on directory fragmentation.  If specified in
              conjunction with the -d option, the fragmentation
              report is produced both before and after the
              directory reorganization.

  -d          Reorganize directories.  Directory entries are
              reordered to place subdirectory entries first, then
              all other entries in decreasing order of time of last
              access.  The directory is also compacted to remove
              free space.

  -E          Report on extent fragmentation.  If specified in
              conjunction with the -e option, the fragmentation
              report is produced both before and after the extent
              reorganization.

  -e          Reorganize extents.  Minimize file system
              fragmentation.  Files are reorganized to have the
              minimum number of extents.

An example:

  # fsadm -dDeE /var

See fsadm_vxfs(1M) for further details.

No commands are available for defragmenting HFS filesystems.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3.11 How can I determine whether a disk is bootable?
Next Document: 5.4 Display

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM