FSCK Options and Maintenance

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.)

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
 
Newer threads
Recommended threads
Replies
0
Views
2,541
Replies
3
Views
2,111

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top