LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with file system (https://www.linuxquestions.org/questions/linux-software-2/problems-with-file-system-604073/)

hraposo 12-03-2007 02:52 AM

Problems with file system
 
I'v problems with my file system in one partitin. I run 2efsck -y during a nigth but when I boot, the system stops, a said that are probles with the file system. And the only way of continuing is to do CRT+D.
How I can solve this problem?
Is the command 2efsck -y correct to repair the file system? If not, what command?
There are any program to check and repais the file system?

shahz 12-03-2007 03:14 AM

Dear

I think the command will be

e2fsck -y partition

hraposo 12-03-2007 03:43 AM

Yes, it's true. Is just a type error in the post

tredegar 12-03-2007 08:34 AM

Quote:

There are any program to check and repair the file system?
Yes, it is called fsck
fsck needs to be run on an umounted partition, so unless you want to boot to another copy of linux (that is not on the partition you need to check) the easiest way to run it is at a reboot. The command (as root):
shutdown -rF now
will shutdown your computer, reboot it, and run fsck on all the partitions referenced in your /etc/fstab whilst those partitions are unmounted.
See man shutdown ;)


All times are GMT -5. The time now is 06:44 AM.