HP StorageWorks Scalable File Share User Manual
Page 248
Troubleshooting
9–24
•
mdc
•
obdclass
•
lvfs
•
lnet
If only one file system is being served, and one or more of the above modules still exists on
the server (indicating that the Lustre modules have not been unloaded cleanly), reboot the
Object Storage Server.
Repeat these steps on each Object Storage Server that has OST services serving the file system.
6.
Update the database states as follows (where
scratch
is the name of the file system and
south3
and
south4
are Object Storage Servers):
# mysql hplsdb
mysql> update hpls_object_states set current_state=’ConfigCreated’
-> where name=’scratch’;
mysql> update hpls_object_states set current_state=’MdsServiceAdded’
-> where name=’scratch_mds’;
mysql> update hpls_object_states set current_state=’Unconfigured’
-> where name=’scratch_adm’;
mysql> update hpls_object_states set current_state=’OstServiceAdded’
-> where name=’scratch-south3’;
mysql> update hpls_object_states set current_state=’OstServiceAdded’
-> where name=’scratch-south4’;
mysql> update hpls_lov set state=’offline’ where name=’scratch’;
At this point, the file system is stopped and servers will not attempt to run file system services even if the
servers are rebooted. You can start the file system by entering the
start filesystem
command.
9.26.5 Using the MPI Lustre repair utility to repair file systems
The Lustre repair utility uses an MPI program to verify the integrity of a Lustre file system and to repair the
file system where necessary.
The MPI Lustre repair utility can repair the following problems:
•
Orphaned file system objects — these occur when the MDS service contains no reference to an object
held by an Object Storage Server.
•
Missing file system objects — these occur when the MDS service contains references to objects that
are not known on the OST services.
•
Duplicate references to the same objects — these occur when more than one file references the same
object on an OST service.
The existence of such failures can affect the integrity of a file system, and can be displayed in symptoms
such as the following:
•
More storage space is used up in the OST services than can be accounted for through the file system
directory.
•
The file directories suggest that more space should be used on the OST services than is actually used.
•
The contents of a file show data that belongs to a different file—perhaps a file that has been deleted.
The MPI Lustre repair utility also launches the
e2fsck-lfsck
command on each of the MDS and OST
services as part of the repair process. The
e2fsck-lfsck
command repairs on-disk structures related to
the underlying
ext3/ldiskfs
file system.
CAUTION:
Before you run the MPI Lustre repair utility on a file system, you must stop the file system.