Maintaining Mirrored Systems | CentreVu CMS Release 3 Version 8 |
Repairing or rebuilding the /cms file system | 45 |
|
|
Repairing or rebuilding the /cms file system
Repairing /cms
This section contains procedures for reinitializing the /cms file system. You may need to perform this procedure in case of disk corruption or some other catastrophic system problem. The point of the procedure is to repair /cms or, failing that, to rebuild it and restore the latest available CMS data. Try to repair the file system first: if you can repair it, you will save considerable time and trouble.
This procedure attempts to repair /cms.
1.Turn off CMS.
a.Enter a cmsadm or cmssvc command.
b.Select the run_cms option.
c.Select the Turn off CMS option.
2.Unmount /cms:
#umount /cms
The system prompt should return without messages, as shown.
3.Do this step only if the umount command returned the response /cms: device busy.
a.Load the /etc/vfstab file into your editor.
b.Find the /cms and /cms/swap lines. Comment out both lines. (To comment out a line, insert a pound sign at the beginning.)
c.Save the file and exit the editor.
d.Reboot by entering the following command:
# /usr/sbin/shutdown
4.Attempt to repair /cms:
#fsck
** Last mounted on /cms
** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts ** Phase 5 Check Cyl groups
2060 files, 564453 used, 6468748 free (1900 frags, 808356 blocks, 0.0%