Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can we restart the Linux server with fsck option via command line?

user-image
Question added by Sajjad Haider Abbasi , Manager – IP Core Networks , Satcomm (Pvt) Ltd.
Date Posted: 2014/01/14
Mahmoud Mamdouh
by Mahmoud Mamdouh , Linux System Administrator (Remote position) , 2X4.ru

#touch /forcefsck

#reboot

Mohamed Zohny
by Mohamed Zohny , Red hat Architect/Trainer , ValueSYS for Information Technology

Just edit the /etc/fstab and make sure the last column for a specific file system is "2" like the below line:

/dev/sda20 /data ext3 defaults02Then reboot with the command:# reboot

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.