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
103
Replies
9
Views
177
Replies
2
Views
94
Recommended threads
Replies
0
Views
3,180
Replies
4
Views
2,611
Replies
3
Views
4,301
Replies
1
Views
2,805

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