HP Clustered Gateway Device Management Software manual Check, Rebuild-tree

Models: Clustered Gateway Device Management Software

1 95
Download 95 pages 29.82 Kb
Page 41
Image 41

Chapter 1: Matrix Server Commands

36

can also be used to enable or disable Full Zone Bit Maps (FZBM), to enable or disable quotas, and to set the default quota for users and groups.

device is a psd or psv device and is specified as follows:

For a psd device partition, the device is specified as

/dev/psd/psdXXXpYY, where XXX is the drive number and YY is the partition number. For example, /dev/psd/psd6p4 specifies partition 4 on disk psd6.

For a non-partitioned psd device, the device is specified as /dev/psd/psdXXX, where XXX is the drive number. For example, /dev/psd/psd5.

For a psv device, the device is specified as /dev/psv/psvXXX, where XXX is the volume number. For example, /dev/psv/psv1.

You do not need to specify the full path name. A name such as psd6p4 or psv1 will work.

When psfsck is running in check mode (the default action), it will attempt to fix any corruptions that can be repaired without --rebuild-tree. The types of corruption that can be fixed include: bad pointers to data blocks, incorrect st_size and st_blocks in a directory, directory entries pointing to nowhere, incorrect file sizes and modes, and objectid sharing.

NOTE: The psfsck utility requires exclusive access to the device. If it cannot

obtain exclusive access, it will exit with an “ebusy” message.

The options for checking a filesystem are:

--check

Check filesystem consistency. This is the default action.

--rebuild-tree

Rebuild the filesystem tree using leaf nodes found on the device. Normally you only need this option if check mode (without the -no-modifyflag) reports errors that can be fixed only by --rebuild-tree. You are strongly encouraged to make a backup copy of the whole partition before attempting to rebuild.

If --rebuild-treeencounters any files that had been open and unlinked, psfsck will move the files into the lost+found directory.

Copyright © 1999-2006 PolyServe, Inc. All rights reserved.

Page 41
Image 41
HP Clustered Gateway Device Management Software Check filesystem consistency. This is the default action, Rebuild-tree