[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help! Fsck problem
On Thu, Nov 16, 2000 at 01:12:30AM -0600, Mark Beihoffer wrote:
> Hi,
>
> My server, Marley, is sick. We had a power outage, my UPS had died, I was
> out of town, that's the Reader's Digest version.
>
> I noticed it was serving up some pages slower than usual so I rebooted.
>
> When I fsck, it is fine until I get this message.
>
> marley# fsck /dev/rwd0e -y
> ** /dev/rwd0e (NO WRITE)
> ** Last Mounted on /var
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=15149 OWNER=root MODE=100444
> SIZE=2638 MTIME=Nov 13 06:01 2000
> CLEAR? no
>
> What should I do? I've read the fsck man pages and searched the mailing
> lists, but I can't seem to figure out how to fix it. Any help is much
> appreciated.
Well.
Either remove the -y and press y when it asks you or put -y first.
If fsck is using getopt() it will stop looking for - switches when it finds
an argument which isn't a switch (or a switch's argument).
Oh. And notice the 'NO WRITE'? fsck can't fix anything that is mounted
read/write coz that's bad, m'kay.
Best thing to do would be to boot into single user mode or use the boot
floppy then fsck from there. If you need to mount /var then mount it
read-only.