Re: Filesystem Error
Keith Auerbach <[email protected]> Thu, 19 Sep 2002 13:49:02 -0600
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Dan, fear not all is not necessarily lost, especially if we are talking about a RedHat LINUX server What you need to do is when the shell drops you into maintenance mode, run the following command. <e2fsck -cfpvy /dev/hdb1> This should fix any bad sectors on this file system. Please note that you never want to perform an fsck command on a mounted file system. In your case, it's not mounted, so it's safe and this has been successful for me many times. If you have another computer with the same o.s., you can look at the man page for fsck to see what these options do. Good luck, Keith Auerbach. DKK Kali wrote: HEllo, I just had a power flactuation that took down my UPS and caused my server to reboot. Unfortunately the server is not coming back up. During reboot, I get the following error: fsck.ext Attempt to read block for filesystem resulted in short read while trying to open /dev/hdb1 An error occured during the file system check. Dropping to root for maintenance. Have I lost all my data? What do I do to fix it and what is the command sequence? Any assitance will be greatly appreciated. Regards, Dan Do you Yahoo!? Yahoo! News - Today's headlines -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Bear Software, LLC, http://bear-software.freeservers.com iQA/AwUBPYoqLTVp/c4H9JRUEQIacgCgs8cwZbqyRPHXx2SVWc3UjGW2XJIAoK6f pz0ueHcAVl3/Wl4oS1GxVNJ9 =9nEo -----END PGP SIGNATURE-----