LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   How to do fsck Please help (https://www.linuxquestions.org/questions/linux-distributions-5/how-to-do-fsck-please-help-180853/)

Zi5 05-12-2004 06:45 PM

How to do fsck Please help
 
Hello all ,
I wanna to know how to use FSCK but i need to know first what the improtant harddrives to unmont them and do fsck ... and how ?
Please don't tell me use shutdown -rF now .. because i wanna to know the way from my linux
Regards

bureado 05-12-2004 08:00 PM

Well, to know what filesystems (not specifically hard drives) are mounted, just type 'mount'. There you will see what is the mount point (usually /) and so on. If you tipe umount -a, you will unmount all the filesystems, except those who are being used (if you are in a directory of a mounted filesystem or running an application or looking a file from there you cannot unmount it).

Once unmounted, you can do a fsck /dev/hdx, where x is the number of the hard drive partition you want to check. Also, 'man fsck' is useful.

Zi5 05-13-2004 06:47 PM

Thanks you ...


All times are GMT -5. The time now is 11:50 AM.