[Gllug] I/O error

Mike Brodbelt mike at coruscant.demon.co.uk
Fri Jul 25 22:09:04 UTC 2003


On Fri, 2003-07-25 at 20:06, Henrik Morsing wrote:
> Hi,
> I have a corrupted file in my / file system. I get
> 
> debian:/etc# ls lvmtab.d
> ls: lvmtab.d: Input/output error
> 
> I can't even 'ls'it to get an inode number. I've tried fsck but it can't
> fix it. This problem is preventing me from importing the VG I have my
> system on.
> 
> Does anyone know any tricks or do I have to move the root file system?

As it looks from your mail as though it's in /etc, how about creating a
/newetc, hard-linking everything except that file into the new
directory, then rm -rf /etc; mv newetc etc, then reboot and fsck the
file system.

Mike.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list