[lug] Directory problem
Gary Hodges
Gary.Hodges at noaa.gov
Tue Sep 1 07:51:56 MDT 2009
Zan Lynx wrote:
> Gary Hodges wrote:
>> I was moving a lot of files (many 1000s) to a directory when my machine
>> spontaneously rebooted. First time that has ever happened (maybe an ECC
>> error???), and maybe a subject for a future post, but in the meantime...
>>
>> I was moving these files to a directory I named 2007. This directory
>> currently looks like:
>> /data1/ARM/Mentor/SGP>ls -l
>> total 5856
>> drwxr-xr-x 2 hodges hodges 1137544 2009-08-31 14:56 2005/
>> drwxr-xr-x 2 hodges hodges 1127624 2009-08-31 14:55 2006/
>> ?--------- ? ? ? ? ? 2007
>> drwxr-xr-x 2 hodges hodges 872456 2009-08-31 16:07 2007a/
>> drwxr-xr-x 2 hodges hodges 915720 2009-08-31 14:46 2008/
>> drwxr-xr-x 2 hodges hodges 715616 2009-08-31 14:44 2009/
>>
>> I can't do anything with 2007 now (cd, ls, chmod, chown, sudo or
>> otherwise). I know some files were put in 2007 before the reboot. I
>> tucked the remaining ones in 2007a for now. Is there anything I can do
>> to resurrect directory 2007?
>
> You are going to need to run a full fsck on that filesystem. After that,
> your directory may be fixed, or it or pieces of it may end up in
> lost+found at the filesystem root.
That got things going again. Thank you.
More information about the LUG
mailing list