* Lost+Found
@ 2002-05-05 18:57 Anders Widman
0 siblings, 0 replies; 8+ messages in thread
From: Anders Widman @ 2002-05-05 18:57 UTC (permalink / raw)
To: reiserfs-list
Hello again =)
With the release of Kernel 2.4.19-8 I hoped that my damaged
filesystem, that was repaired with the reiserfs tools a while ago
could be used.
The problem was that it wasn't possible to change anything in the
lost+found folder. If I tried to move or rename a file/folder the
kernel would crash and a dump was printed.
Now, with kernel 2.4.19-8 It seems as at least some folders are
movable. However, some aren't and some strange errors occur. I do
not get any crashes, or not even a error in /var/log/messages. The
errors are that all files suddenly vanish from lost+found and I
have to reboot to be able to even fsck. If I do not reboot I can
still access and read all other folders, except lost+found.
What can be wrong?
//Anders
^ permalink raw reply [flat|nested] 8+ messages in thread
* Lost+found
@ 2008-04-08 5:20 Jeffrey Sandel
2008-04-09 2:12 ` Lost+found Barry Naujok
0 siblings, 1 reply; 8+ messages in thread
From: Jeffrey Sandel @ 2008-04-08 5:20 UTC (permalink / raw)
To: xfs
Recently I ran xfs_repair due to a firmware upgrade on an unmounted
disk. The repair recovered the data but moved it to the lost+found
directory.
How do I recover file names and ownership?
Thanks!
Jeffrey Sandel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-08 5:20 Lost+found Jeffrey Sandel
@ 2008-04-09 2:12 ` Barry Naujok
2008-04-09 10:28 ` Lost+found Justin Piszcz
0 siblings, 1 reply; 8+ messages in thread
From: Barry Naujok @ 2008-04-09 2:12 UTC (permalink / raw)
To: Jeffrey Sandel, xfs
On Tue, 08 Apr 2008 15:20:33 +1000, Jeffrey Sandel
<webmaster@javainbaja.com> wrote:
> Recently I ran xfs_repair due to a firmware upgrade on an unmounted
> disk. The repair recovered the data but moved it to the lost+found
> directory.
>
> How do I recover file names and ownership?
The only real options you have AFAIK is the file command to try and
identify
what type of file it is and just manually inspecting the files.
Then, you might be able to derive its filename and where it came from.
Regards,
Barry.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-09 2:12 ` Lost+found Barry Naujok
@ 2008-04-09 10:28 ` Justin Piszcz
2008-04-09 13:11 ` Lost+found Eric Sandeen
0 siblings, 1 reply; 8+ messages in thread
From: Justin Piszcz @ 2008-04-09 10:28 UTC (permalink / raw)
To: Barry Naujok; +Cc: Jeffrey Sandel, xfs
On Wed, 9 Apr 2008, Barry Naujok wrote:
> On Tue, 08 Apr 2008 15:20:33 +1000, Jeffrey Sandel <webmaster@javainbaja.com>
> wrote:
>
>> Recently I ran xfs_repair due to a firmware upgrade on an unmounted
>> disk. The repair recovered the data but moved it to the lost+found
>> directory.
>>
>> How do I recover file names and ownership?
>
> The only real options you have AFAIK is the file command to try and identify
> what type of file it is and just manually inspecting the files.
>
> Then, you might be able to derive its filename and where it came from.
>
> Regards,
> Barry.
>
Is there any chance this process could ever be improved so that the files
are restored back to their original locations or there is something that
keeps track of where they were located?
Justin.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-09 10:28 ` Lost+found Justin Piszcz
@ 2008-04-09 13:11 ` Eric Sandeen
2008-04-09 13:29 ` Lost+found Christoph Hellwig
2008-04-10 8:51 ` Lost+found Emmanuel Florac
0 siblings, 2 replies; 8+ messages in thread
From: Eric Sandeen @ 2008-04-09 13:11 UTC (permalink / raw)
To: Justin Piszcz; +Cc: Barry Naujok, Jeffrey Sandel, xfs
Justin Piszcz wrote:
>
> On Wed, 9 Apr 2008, Barry Naujok wrote:
>
>> On Tue, 08 Apr 2008 15:20:33 +1000, Jeffrey Sandel <webmaster@javainbaja.com>
>> wrote:
>>
>>> Recently I ran xfs_repair due to a firmware upgrade on an unmounted
>>> disk. The repair recovered the data but moved it to the lost+found
>>> directory.
>>>
>>> How do I recover file names and ownership?
>> The only real options you have AFAIK is the file command to try and identify
>> what type of file it is and just manually inspecting the files.
>>
>> Then, you might be able to derive its filename and where it came from.
>>
>> Regards,
>> Barry.
>>
>
> Is there any chance this process could ever be improved so that the files
> are restored back to their original locations or there is something that
> keeps track of where they were located?
The whole reason they're in lost+found is because they are "orphaned" -
allocated & in use but not referenced by any directory... so the best
xfs_repair can do is rename to lost+found with the inode number.
Crosses my mind that one could probably write a generic tool which could
work with a package manager db to check file md5sums in /lost+found, if
the files happen to be system files installed via a package.... but if
they're files from your homedir or whatnot, it's tougher.
-Eric
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-09 13:11 ` Lost+found Eric Sandeen
@ 2008-04-09 13:29 ` Christoph Hellwig
2008-04-11 2:07 ` Lost+found Niv Sardi
2008-04-10 8:51 ` Lost+found Emmanuel Florac
1 sibling, 1 reply; 8+ messages in thread
From: Christoph Hellwig @ 2008-04-09 13:29 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Justin Piszcz, Barry Naujok, Jeffrey Sandel, xfs
On Wed, Apr 09, 2008 at 08:11:13AM -0500, Eric Sandeen wrote:
> The whole reason they're in lost+found is because they are "orphaned" -
> allocated & in use but not referenced by any directory... so the best
> xfs_repair can do is rename to lost+found with the inode number.
At least until we get parent pointers. Niv, any updates?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-09 13:11 ` Lost+found Eric Sandeen
2008-04-09 13:29 ` Lost+found Christoph Hellwig
@ 2008-04-10 8:51 ` Emmanuel Florac
1 sibling, 0 replies; 8+ messages in thread
From: Emmanuel Florac @ 2008-04-10 8:51 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Justin Piszcz, Barry Naujok, Jeffrey Sandel, xfs
Le Wed, 09 Apr 2008 08:11:13 -0500
Eric Sandeen <sandeen@sandeen.net> écrivait:
> Crosses my mind that one could probably write a generic tool which
> could work with a package manager db to check file md5sums
> in /lost+found, if the files happen to be system files installed via
> a package....
Yup, I've done something similar when I used a PC with a bugged via
chipset which regularly broke apart filesystems under heavy load... I
used a tool named afick to index the whole disks (it stores md5 of
everything in a small db) and with some tinkering I was able to restore
everything from lost+found each time some filesystem went belly up
(once a month...)
--
----------------------------------------
Emmanuel Florac | Intellique
----------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Lost+found
2008-04-09 13:29 ` Lost+found Christoph Hellwig
@ 2008-04-11 2:07 ` Niv Sardi
0 siblings, 0 replies; 8+ messages in thread
From: Niv Sardi @ 2008-04-11 2:07 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Eric Sandeen, Justin Piszcz, Barry Naujok, Jeffrey Sandel, xfs
Christoph Hellwig <hch@infradead.org> writes:
> On Wed, Apr 09, 2008 at 08:11:13AM -0500, Eric Sandeen wrote:
>> The whole reason they're in lost+found is because they are "orphaned" -
>> allocated & in use but not referenced by any directory... so the best
>> xfs_repair can do is rename to lost+found with the inode number.
>
> At least until we get parent pointers. Niv, any updates?
I was lost in DMAPI land for a while, I'll resume work on PP next week,
patches up for review soonish after I fix some issues.
Cheers,
--
Niv Sardi
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-04-11 2:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 5:20 Lost+found Jeffrey Sandel
2008-04-09 2:12 ` Lost+found Barry Naujok
2008-04-09 10:28 ` Lost+found Justin Piszcz
2008-04-09 13:11 ` Lost+found Eric Sandeen
2008-04-09 13:29 ` Lost+found Christoph Hellwig
2008-04-11 2:07 ` Lost+found Niv Sardi
2008-04-10 8:51 ` Lost+found Emmanuel Florac
-- strict thread matches above, loose matches on Subject: below --
2002-05-05 18:57 Lost+Found Anders Widman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.