public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext3 fsck question
@ 2001-03-01  2:03 Neal Gieselman
  2001-03-01 12:59 ` Richard B. Johnson
  2001-03-01 13:04 ` Stephen C. Tweedie
  0 siblings, 2 replies; 3+ messages in thread
From: Neal Gieselman @ 2001-03-01  2:03 UTC (permalink / raw)
  To: linux-kernel

We are running ext3 1.20 on a 2.2 kernel for about a year now on
a flash disk.  No problems to speak of that we know of yet.
I just discovered that we do not have the fsck.ext3 nor any of
the other efs2progs utilities.  

I applied the libs and other utilites from e2fsprogs by hand.
I ran fsck.ext3 on my secondary partition and it ran fine.  The boot fsck
on / was complaining about something but I could not catch it.
I then went single user and ran fsck.ext3 on / while mounted.
Bad move.  It ran and reported many errors which I chose to repair.
It screwed the partition up to the point where it paniced on boot.
I could still get it into single user but I found that lots of files were
missing which happened to be located in lost+found (inittab, rc.local, etc).

Anyone else have luck with this combination?
Excuse the stupid question, but with ext3, do I really require the
fsck.ext3?  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ext3 fsck question
  2001-03-01  2:03 ext3 fsck question Neal Gieselman
@ 2001-03-01 12:59 ` Richard B. Johnson
  2001-03-01 13:04 ` Stephen C. Tweedie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2001-03-01 12:59 UTC (permalink / raw)
  To: Neal Gieselman; +Cc: linux-kernel

On Wed, 28 Feb 2001, Neal Gieselman wrote:

> I then went single user and ran fsck.ext3 on / while mounted.
> Bad move.  It ran and reported many errors which I chose to repair.
> It screwed the partition up to the point where it paniced on boot.
[SNIPPED....]

You must NEVER fsck a file-system that is mounted read/write. Note,
when you `umount /`. It is still available for read/execute. You
can execute fsck at this time.

> Anyone else have luck with this combination?
> Excuse the stupid question, but with ext3, do I really require the
> fsck.ext3?  

fsck.ext3 goes with ext3 file systems, just like fsck.ext2 goes with
ext2. 

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ext3 fsck question
  2001-03-01  2:03 ext3 fsck question Neal Gieselman
  2001-03-01 12:59 ` Richard B. Johnson
@ 2001-03-01 13:04 ` Stephen C. Tweedie
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen C. Tweedie @ 2001-03-01 13:04 UTC (permalink / raw)
  To: Neal Gieselman; +Cc: linux-kernel

Hi,

On Wed, Feb 28, 2001 at 08:03:21PM -0600, Neal Gieselman wrote:
> 
> I applied the libs and other utilites from e2fsprogs by hand.
> I ran fsck.ext3 on my secondary partition and it ran fine.  The boot fsck
> on / was complaining about something but I could not catch it.
> I then went single user and ran fsck.ext3 on / while mounted.

e2fsck should complain loudly and ask for confirmation if you do that.
Goin ahead with the fsck is a bad move on a mounted, rw filesystem!

> Excuse the stupid question, but with ext3, do I really require the
> fsck.ext3?  

fsck.ext3 is just a link to e2fsck.  Make sure you're running recent
e2fsprogs, though (either the latest snapshot from
downloads.sourceforge.net or a build from
ftp.uk.linux.org:/pub/linux/sct/fs/jfs/).

Cheers,
 Stephen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-01 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-01  2:03 ext3 fsck question Neal Gieselman
2001-03-01 12:59 ` Richard B. Johnson
2001-03-01 13:04 ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox