e2fsck for only one volume on reboot
I know if I do a shutdown -rF now, it will perform an e2fsck on all my volumes with the -y switch.
But if I just want to check one of the volumes rather than all of them, and have it use the -y switch so it will automatically answer yes to everything, how can I do that? I'm using RHEL, and have a huge volume I need to run a check on, and I dont want to sit there for the next 24 hours hitting the Y key every time it finds a problem ;-) |
Hi,
If you have physical access to the server. Boot the server into single-mode : http://www.centos.org/docs/5/html/In...ng-single.html An then run e2fsck with -y switch on the partition you want. |
All times are GMT -5. The time now is 04:30 PM. |