Article View: aus.computers.linux
Article #1161Re: "lost+found" files?
From: Felix Karpfen
Date: Tue, 24 Jun 2008 20:50
Date: Tue, 24 Jun 2008 20:50
67 lines
3589 bytes
3589 bytes
On 2008-06-23, Will Kemp <will@xxxx.swaggie.net> wrote: > Felix Karpfen wrote: >> On 2008-06-21, "Robert Swan" swan.r.l@gmail.com <"Robert Swan"> wrote: >> >>> Can be a challenge finding where these things are documented, but >>> "file" is often helpful when trying to work out what a file is. >>> >>> And it's not good to be finding things in lost+found. That indicates >>> some level of file system corruption >> >> Alas - that was indeed the case. >> I would have been history, if I had not had a backup >> fully-operational (Linux) system on my box from which to repair the >> corrupted disk partition. > > Was it an ext3 file system? I use the XFS file system. And discovered "/sbin/xfs_repair" which appears to have repaired most of the damage. A few socket files ended up in "lost+found"; and there was about 2 minutes of cleanup activity that flashed across the screen [and was not saved for inspection :-(]. The XFS-log was also corrupted; I had to overwrite it with zeros (as instructed by an xfs_repair message) before xfs_repair did its things. The text files in "lost+found" are a total mystery. They have accumulated over a period of 2 years and appear to be either emails or downloaded web-pages. I never knew that any of the entries had been lost :-(. One other mystery remains. My HD has 6 partitions and some unformatted space. My current OS is on one partition and my backup OS on a second partition. The other partitions are a swap partition and two small XFS partitions that I had created in the distant past and filled with (backup?) contents that I can no longer recall (I now use a separate HD for my backups!). "cfdisk" displays the starts and ends of these partitions and "xfs_repair says that the file-systems are perfectly healthy. But I can no longer "mount" them and inspect their content. The "mount" command claims that the mount points do no exist. Since I cannot even remember any more what data is in these partitions, it is a non-issue that I can no longer mount them. But I worry about such mysteries and therefore thought them worth a mention. > > If you can't open them with a text editor they're probably not going to > be any use anyway. But it might not do any harm to hang onto them for a > while, as sometimes you don't realise something missing for ages. I propose to move them to "/opt", leave "/lost+found" empty and watch for anything else that ends up there in future. Thank you for the advice. Felix > > -- Felix Karpfen Public Key 72FDF9DF (DH/DSA)
Technical Details
Message-ID:
<slrng60ae8.63e.felixk@carrot.cabbage.patch>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<slrng5k08e.4ah.felixk@carrot.cabbage.patch> <hmbui5-8qh.ln1@rswan.netspace.net.au> <slrng5r5kl.5uv.felixk@carrot.cabbage.patch> <kJH7k.69671$312.69354@newsfe12.ams2>Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,abf261a6654f7811 X-Google-Attributes: gid102983,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: aus.computers.linux From: Felix Karpfen <felixk@webone.com.au> Subject: Re: "lost+found" files? References: <slrng5k08e.4ah.felixk@carrot.cabbage.patch> <hmbui5-8qh.ln1@rswan.netspace.net.au> <slrng5r5kl.5uv.felixk@carrot.cabbage.patch> <kJH7k.69671$312.69354@newsfe12.ams2> Reply-To: felix@spodzone.org.uk Message-ID: <slrng60ae8.63e.felixk@carrot.cabbage.patch> User-Agent: slrn/0.9.8.1pl1 (Debian) Date: 24 Jun 2008 20:50:35 GMT Lines: 68 NNTP-Posting-Host: 202.161.0.245 X-Trace: 1214340635 per-qv1-newsreader-01.iinet.net.au 19013 202.161.0.245