Dave Kleikamp | 9 Jan 2006 01:13
Picon
Favicon

Re: fsck.jfs problem

On Sun, 2006-01-08 at 21:37 +0000, Tim Blechmann wrote:
> thanks for your quick response ...
> 
> > What version of jfsutils are you running?   Older versions have a
> > problem creating an invalid lost+found directory (1.1.4 or older).  If
> > this is the case, running "fsck -f" with a jfsutils-1.1.8 or newer
> > (1.1.10 is the latest) may fix it.
> 
> the live-cd, i used to check the file system uses jfsutils 1.1.8 ...
> any other idea? 

Well, if for some reason fsck is still creating the lost+found directory
wrong for some reason, this is a tool I wrote back before fsck was able
to fix it itself.  It should be run from the root of the problem
filesystem (as root).

It reads the directory one entry at a time and moves that file to a new
directory.  This avoids problems of readdir getting "lost" and returning
entries infinitely.

> thanks .... tim
> 
--

-- 
David Kleikamp
IBM Linux Technology Center
Attachment (save_l+f.c): text/x-csrc, 1422 bytes

Gmane