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
Latest threads
Replies
2
Views
100
Replies
9
Views
175
Replies
2
Views
93
Recommended threads
Replies
6
Views
3,590
Replies
5
Views
2,640

Latest postsNew threads

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