You are not logged in.

#1 2012-06-18 08:25:53

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 51
Website

[SOLVED] How to handle a rogue fsck? (file under:"I lost a file woes")

Hey everybody!

So I was studying late into the night yesterday, doing notes on keepnote. Today when I booted up the netbook on which I did the note taking the automatic fs check came up and checked /dev/sda6 (my /home dir). I wasn't aware of the extent of fs check's grasp untill the moment I started keepnote to do some catching up with last night. At that moment keepnote started complaining that the "notebook" I was loading had been corrupted. So I opened nautilus (I was too lazy to start hammering on CLI without any coffee) and checked the state of my notes, only to discover that the directory had been reverted to the state it was in last afternoon approx an hour into my studying session.

So... Who did the job? Was it keepnote? I hope not.  Fsck? I thought the fs checking utilities were supposed to heal a file system, not corrupt it.

Anyway, I downloaded scalpel configured it for html&xml and am scanning the partition now.

Does anybody know:
1) Why such a thing could have happened
2) How I can modify the fsck utility or the init settings that bring it up after every 50 mounts to be a bit more verbose and interactive?
3) I am guessing that I am not the first person to whom this has happened so I'd like to know what others did.

Cheers!

Last edited by justforgetme (2012-06-18 14:46:57)


$> man life
No manual entry for `life'

$> nvm...

Offline

#2 2012-06-18 08:33:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] How to handle a rogue fsck? (file under:"I lost a file woes")

1) dunno
2) I believe that tune2fs allows users to set the number of mounts between checks.  See the man page or google.
3) never had this happen to me.  You should get in the habit of making routine backups.  See backintime in the AUR for a good util.

Offline

#3 2012-06-18 14:41:35

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [SOLVED] How to handle a rogue fsck? (file under:"I lost a file woes")

I would check for bad sectors with badblocks or some other utility. It's possible there may have been a bad sector on your disk that the file got written to. Too many bad sectors is usually an indication of a coming hard drive failure.

As always, make backups of everything.

Offline

#4 2012-06-18 14:44:58

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 51
Website

Re: [SOLVED] How to handle a rogue fsck? (file under:"I lost a file woes")

Hey!

Ok, apparently the only thing that happened was that keepnote (or myself) messed up and put a whole tree of documents into trash. And I assume it was me since keepnote has the tendency to go into lag fits that freeze up the whole UI and hide all your input... So it might actually have been me @4am being to woozy to actually successfully close a program without making a total mess out of it.

Anyway, thankfully everything went went for me :-)


$> man life
No manual entry for `life'

$> nvm...

Offline

Board footer

Powered by FluxBB