[OLUG] fsck is deleting my files
Rogers, John C NWD02
John.C.Rogers at nwd02.usace.army.mil
Mon Mar 13 16:00:33 UTC 2000
If fsck is deleting the files have you looked in lost+found to see if the
files are there? UNIX does a really good job of tracking the files contents
and inode locations but if the system was synced then the file system may
have just lost the inode pointer to where the file was supposed be located.
If that is the case the file or any parts of the file end up in lost+found
at the root of the mounted file system. Unlike Windog when a file is placed
in lost+found many times it is still useable unlike the infamous *.chk files
Mickeysoft creates that are actually useless.
Hope you find the files.
John
-----Original Message-----
From: puzzled [mailto:puzzled at home.com]
Sent: Sunday, March 12, 2000 8:53 PM
To: olug at bstc.net
Subject: Re: [OLUG] fsck is deleting my files
Isn't there a sync called during a cron run on a regular basis? Why not
add one if there isn't ...
Adam Lassek wrote:
> Mike McNally wrote:
> >
> > I suffer from occassional momentary voltage outages at my residence, and
> > I have not purchased a ups. I use my pc's thinking, if I save
> > frequently I don't need a ups just yet. But here's the problem: When
> > my winbox and linuxbox reset:
> > 1) the winbox reboots running scandisk and automatically fixing any
> > problem with no data loss;
> > 2) the linuxbox requires root to run fsck, which I do, and I answer yes
> > to the questions regarding do I want this or that fixed, and it deletes
> > pretty much any files created with vim in the last day or so.
> >
> > So what's the deal with this fsck program? I see that you can run
> > e2fsck with a -n flag to tell it no to all questions. How should I run
> > this program to avoid this happening again?
>
> The deal with fsck is that since the ext2 filesystem isn't journaled, it
> doesn't save the filesystem until it's unmounted, and if it's not
> unmounted correctly (power outage, reset, etc.), you'll very likely lose
> anything you did recently. If this is the case, you deffinately need to
> consider a UPS, if nothing more then for the sake of your hardware. Bad
> bad things can happen to a computer on an unpredictable power line.
>
> It also wouldn't hurt to look into upgrading to a journaling filesystem
> on Linux--I believe ext3 is in alpha, and there's ReiserFS as well,
> which is even included with SuSE 6.3 if I'm not mistaken.
> >
> >
> >
> > Mike
> >
> >
-------------------------------------------------------------------------
> > Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
> > To unsubscribe: &pi0;echo unsubsribe | mail
olug-unsubscribe at bstc.net&pi0;
> >
> >
> >
> >
>
> -------------------------------------------------------------------------
> Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
> To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
More information about the OLUG
mailing list