[lug] Directory problem

George Sexton georges at mhsoftware.com
Mon Aug 31 18:18:11 MDT 2009


Here's a link to a message I posted a while ago about a machine that had
disk corruption or rebooted during heavy IO.

http://lists.lug.boulder.co.us/pipermail/lug/Week-of-Mon-20071210/035903.htm
l

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
 

> -----Original Message-----
> From: lug-bounces at lug.boulder.co.us [mailto:lug-
> bounces at lug.boulder.co.us] On Behalf Of Zan Lynx
> Sent: Monday, August 31, 2009 4:21 PM
> To: Boulder (Colorado) Linux Users Group -- General Mailing List
> Subject: Re: [lug] Directory problem
> 
> 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.
> --
> Zan Lynx
> zlynx at acm.org
> 
> "Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#hackingsociety





More information about the LUG mailing list