fsck fsck fsck say I

fsck fsck fsck say I

Post by Pat LaVar » Sun, 25 Apr 2004 08:40:35



[[[Ouch.  Sorry.  Ouch.  The first edition of this text lost the first
word of its Subject.  Fixed now]]]

I remember I first learned of `fsck -f -y /` after `umount /` in the
thread:

Newsgroups: comp.unix.shell
Subject: fsck fsck fsck say I
http://groups.google.com/groups?threadm=2695edf1.0312021221.72f242a3%...

Speaking again now of fsck'ing on demand, eventually I also noticed,
...

My `man -k fsck` does not yet, but could/ should, point to:

--- http://www.google.com/search?q=linux+man+shutdown
--- http://www.die.net/doc/linux/man/man8/shutdown.8.html
...
-f
Skip fsck on reboot.
-F
Force fsck on reboot.
...
---

Pat LaVarre

 
 
 

1. fsck fsck fsck say I

How do I persuade fsck to run again?

From my second fsck, I falsely get told "/: clean" almost instantly
without much happening unless I resort to the kluges I see Google
suggests e.g.

/sbin/tune2fs -c 5 -C 5 /dev/hd$v$n

That works, but I see tune2fs -c -C have side effects (that as yet I'm
too ignorant to understand or confidently undo) in:

/sbin/tune2fs -l /dev/hd$v$n

Is there actually no more direct way to tell fsck that I typed the
verb fsck because I actually do mean for fsck to run again, not just
echo the stale cached results of its last run?

I care because often when I force fsck to run again I find and fix
more trouble.  Running again on demand saves me the time - and more
importantly the interaction - of rebooting.

Via Google I hear there is a tradition of fsck -y means yes I said
fsck because I meant fsck.  But fsck -y doesn't work here.

Anybody know?  How do I persuade fsck to run again?  Here in
comp.unix.shell do I find people interested in this question, besides
me?  Or is there a better place nearby?

Thanks in advance, Pat LaVarre

P.S. The exercise of writing this post suggest to me I could try
mounting and unmounting after fsck.  While that writes who knows what
to my disk, it might often write nothing very harmful and yet still
persuade fsck to run again.  Even so, I'd like to learn how to tell
fsck to run when I want it to run, for example so I can observe,
without actually asking to write anything, whether or not I do get the
same results twice in a row.

2. Copy/paste bug on Solaris 8?

3. fsck fsck say I

4. Apache 1.2.6--error opening logs

5. help pls - fsck fail on boot; fixed, fsck still fails on boot

6. kazaa for linux ?

7. Problem: On bootup always says to run fsck

8. passerelle prologue -> linux

9. Disk clean on bootup, fsck says it's not clean

10. fsck exit with signal 11. 60 GB maxtor disk. fsck hangs

11. Help, FSCK: Redhat 5.0: FSCK runs on first bootup EACH DAY? Can't find the configuration file

12. Have to run fsck on /home every reboot

13. Elite 9 v fsck