Hi all, Can anyone explain or give an clues as to what just happened? I'm running CentOS 5.2 as a desktop with Gnome. Fully up to date, etc. I was dragging a folder of image (.jpg) files to another folder on the same filesystem (LVM ext3) with the mouse and as I dropped the folder into the new folder - poof! - it disappeared like a puff of smoke. I've searched everywhere for the files/and or folder and they are totally gone. I must also point out that the filesystem was an encrypted one using fuse-encfs. In all my years of using Linux, I've never seen this happen before. Sadly I have no backup as I'd just copied them from an SD card to the HDD then formated the card - maybe I was too quick doing that step. Thanks
Stewart Williams wrote: ....> I've searched everywhere for the files/and or folder and they are > totally gone.You could try rebuilding your mlocate database and run locate on a filename of one of the missing files. /etc/cron.daily/mlocate.cron Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk at crc.dk Homepage: http://www.crc.dk
On Sun, 2008-09-28 at 12:20 +0100, Stewart Williams wrote:> Hi all, > > Can anyone explain or give an clues as to what just happened? > > I'm running CentOS 5.2 as a desktop with Gnome. Fully up to date, etc. > > I was dragging a folder of image (.jpg) files to another folder on the > same filesystem (LVM ext3) with the mouse and as I dropped the folder > into the new folder - poof! - it disappeared like a puff of smoke. > > I've searched everywhere for the files/and or folder and they are > totally gone. > > I must also point out that the filesystem was an encrypted one using > fuse-encfs. > > In all my years of using Linux, I've never seen this happen before. > > Sadly I have no backup as I'd just copied them from an SD card to the > HDD then formated the card - maybe I was too quick doing that step.As with your experience, I doubt that it's really gone. More likely you just can't find it. I suggest using find (man find) to look for one of the files that is contained only in that folder. E.g. find /home/<user>/ -iname abc.jpg If you don't know a precise file name, surround it with single quotes and use a meta-character, e.g. find /home/<user>/ -iname 'a*.jpg' Good luck. HTH -- Bill> > Thanks > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
Thanks for both of your responses. Sorry for the non-threaded post, but I'm e-mailing from somewhere else. @ Mogens Kjaer I have tried this already @ William L. Maltby I have looked everywhere on the drive using programs such as 'find'. I have ran: $ find / -iname "*.jpg" -or "*.JPG" and the missing files are now listed. I know enough to be able to find files. This is whats got me because I've never know an ext3 fs to do this; unless it's a bug with fuse-encfs.
Stewart Williams wrote:> Sadly I have no backup as I'd just copied them from an SD card to the > HDD then formated the card - maybe I was too quick doing that step. >not and answer to the disappeared folder but you could possibly try photorec. links below. the original site is not loading. might help you get back the deleted files. I had come across this software but never used it. http://en.wikipedia.org/wiki/PhotoRec http://www.download.com/TestDisk-PhotoRec/3000-2248_4-10511775.html hth Raghavendra Moktali