[NTLUG:Discuss] File system problem, on a RH 7.3 machine
Burton M. Strauss III
Burton_Strauss at comcast.net
Thu Sep 16 08:59:59 CDT 2004
Go into single user mode via init 1, unmount the drive, fsck it, remount it
and return to init 3 (normal run) or 5 (normal graphic mode)
However if this is a backup server you can take down, it's easier to boot
into single user mode directly (and the fsck should be done during boot
anyway), via
linux single
on the boot prompt (LILO). With grub, you need to edit the kernel line to
add the single option.
-----Burton
> -----Original Message-----
> From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
> Behalf Of Douglas King
> Sent: Wednesday, September 15, 2004 10:57 PM
> To: discuss at ntlug.org
> Subject: [NTLUG:Discuss] File system problem, on a RH 7.3 machine
>
>
> I have a server that needs to have a "check disk" run on the
> drive. I have
> found out that it is the backup machine that craters the web server every
> night. I forced a backup this morning on the a few of the
> directories, and
> it locked the system up. I am using the scp backup method. My question
> is....HOW do I run the following commands:
>
> On the command line while the server is running, I enter:
>
> e2fsck -b 8193 /dev/hda1
>
> After I try this, I get:
>
> WARNING!!! Running e2fsck on a mounted filesystem may cause
> SEVERE filesystem damage.
>
> Do you really want to continue (y/n)? no
>
> How do I need to do this safely, hopefully without loosing an data?
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list