[NTLUG:Discuss] re: Linux box crash...revisited...ACHHH
Alton R. Pouncey, II
alton at trainers-r-us.com
Fri Dec 27 13:56:05 CST 2002
On Fri, 2002-12-27 at 13:26, Wayne Dahl wrote:
> At 12:48 PM 12/27/2002 -0600, you wrote:
> >Thanks for the help guys.
> >
> >I thought I had tried this, but obviously, I hadn't. What worked was
> >
> >fsck -t ext /usr
> >
> >That got fsck running and enabled me to fix the filesystem...however,
> >after it finished and I exited the bash shell, when the system rebooted,
> >I did get a failure error...I don't remember the exact words, but it was
> >something like...
> >
> >mount error /usr/local /mnt /usr/local is not a directory. /usr/local is
> >its own partition on /dev/hdc3 and when I try to mount it as root, I get
> >this error....
> >
> >mount: mount point /usr/local is not a directory.
> >
> >So it appears something has happened to /usr/local now. Would running
> >fsck on it help?
> I ran fsck on it...didn't help...came up clean...BUT...
>
> I think I've found the answer to this question. When I do ls -l local from
> /usr, I get no file attributes...no permissions and it's NOT a directory
> any more. It's just a file with no permissions owned by root. Somehow,
> it's been changed. So I should just have to do a chmod to add permissions
> to it. After that, since it's a file and not a directory, should I remove
> it and mkdir local to fix this? Can it be that simple?
>
> Thanks for all the help guys...you've been a lifesaver.
>
> Wayne
>
Wayne,
If the local file is empty then I don't a problem doing this. As the
file is empty, no data should be lost. Just remove it, mkdir /usr/local
and mount /dev/hdc3 /usr/local. That should fix it. If, once mounted,
you can't write to any files in /usr/local that you could once write to,
try umounting it and remounting it with the -rw option. man mount for
more information on that.
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
--
Alton R. Pouncey, II
SCSA, SCNA, CCNA, CIW Professional
http://www.trainers-r-us.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://ntlug.org/pipermail/discuss/attachments/20021227/56fc7190/attachment.bin
More information about the Discuss
mailing list