Re: e2fsck problem/interpretation



Tam wrote:
Hi group,

I have three problems relating to using e2fsck (which I haven't used
before).

The first is an easy one. How do I run e2fsck on the drive with the OS
on? Ive been told not to do it to a mounted file system (thank you
Jerry) so how do I scan the drive (which is sda, see later in this
post) whilst its running/mounted (which it obviously must be in order
to boot).

This may depend on the distribution that you're using. For at least
some systems, 'touch /forcefsck && reboot' will do it.


The second and third problems are related to the results of running
e2fsck (with the -n switch) on two other drives. I am getting
differing results from both so was wondering if I could get some
assistance interpreting what is going on.
<snip>

e2fcsk -y /dev/sdb1 will fix your your first problem. For the
second one you'll need to confirm that /dev/sdc2 actually has an
efs file system on it. Are you sure that it isn't a container
for an LVM volume?

Doug
.



Relevant Pages

  • Re: e2fsck problems :o
    ... a flash card. ... embedded device, booted up, ran 'e2fsck -n /dev/hda2' but this time i'm ... The ext2 file system suffered from some serious bugs. ... Someone years ago suggested a sync mount option for use with ext2, ...
    (alt.os.linux)
  • Re: [SLE] e2fsck on a ext3 fs?
    ... > Tnx Darryl, ... > I briefly read the page and didn't concentrate enough on the fact that ... > e2fsck will run the journal. ... The -j option is only needed if the file system was ...
    (SuSE)
  • Re: Lost desktop
    ... /dev/hdc5 contains a file system with errors, ... If I type e2fsck, I get the help for the that command. ... At this point I tried typing: sax2 -l, but it says command not found. ... Perhaps I am not in as root. ...
    (alt.os.linux.suse)
  • Block bitmap differences
    ... After cleaning up some other file system errors, ... problem: e2fsck finished successfully. ... the file system was mounted read-only at that moment. ... I umounted the filesystem, and mounted it again read-only (I do not want ...
    (Linux-Kernel)
  • Re: This is an emergency!
    ... as a link to e2fsck I suppose... ... the traditional linux name for this tool, fsck was the sysv/sco name. ... File System ChecK. ... reiserfsck or whatever is the appropriate checker for the file system ...
    (comp.databases.pick)