UWH-David
New member
- Joined
- Jan 18, 2016
- Messages
- 29
- Points
- 0
Provided below are some useful commands pertaining to FSCK. Update commands to your environment / related issue. Use commands at your own risk.
INCONSISTENCY: RUN fsck MANUALLY (i.e., without -a or -p options)
(Replace partition with your associated partition.)
Remove forcefsck file:
Reboot and force an fsck:
If stuck in FSCK loop reboot:
INCONSISTENCY: RUN fsck MANUALLY (i.e., without -a or -p options)
(Replace partition with your associated partition.)
Code:
umount /dev/sda*
fsck /dev/sda1 -f -y
fsck /dev/sda7 -f -y
Remove forcefsck file:
Code:
mount -o remount, -rw /dev/VolGroup00/LogVol00
rm /forcefsck -f
Reboot and force an fsck:
Code:
/sbin/shutdown -rF now
If stuck in FSCK loop reboot:
Code:
# While in FSCK,
ctrl-c
mount -o remount, -rw /dev/sda1 /
rm /forcefsck -f