[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Empty ext3 filesystem after swap starvation



Hi there,

Using Sid, I recently did an aptitude upgrade which went into a crazy dependency resolving process (maybe because of squeeze being released and me not doing a full-upgrade). It ate all of my 1.5go of ram, then started eating my 2go of swap. By the time I had only 50mo of ram left (cached) and no swap left, I finally took a step by ctrl-c-ing aptitude which was still working (around 200 000 packages had been examined).

The day after, a quick cd into my data partition failed... everything was gone. Simply and purely gone. e2fsck says the fs is clean, forcing him to do a scan only resulted in a "lost+found is missing, would you like to create it?" (I must say I answered yes, this was dumb).

Well, has anyone heard of an entire ext3 fs becoming blank?

It seems the fs tree was corrupted at its root somehow, but I know my files are still there. Photorec and Foremost gave some results by the way.

Here is my setup :

 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         261     2096451   82  Linux swap / Solaris
/dev/sda2             262        1044     6289447+  83  Linux
/dev/sda3            1045        6266    41945715   83  Linux
/dev/sda4            6267       30401   193864387+  83  Linux

/dev/sda2 on / type ext3 (rw,errors=remount-ro)
/dev/sda3 on /home type ext3 (rw)
/dev/sda4 empty (no longer mounted, was ext3 on /share)

localhost:~# e2fsck /dev/sda4
e2fsck 1.41.12 (17-May-2010)
/dev/sda4: clean, 11/12124160 files, 808899/48466096 blocks

Cheers,
Ben


(i did not rm -rf while asleep right?)


Reply to: