SuperBlock & VFSTAB error

SuperBlock & VFSTAB error

Post by Jim Dav » Sat, 06 Mar 1999 04:00:00



:Hi there: I always have the SuperBlock problem. Every time I run fsck and
:returns FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? I choose yes. Next time
:the error message come up again. It seems nothing effect me, but always bother
:me.

Are you running fsck on a mounted file system?  If so, you probably don't
want to do that.

: I even tried to change the size of the superblock and no effect at all.

Oh my.

:The other problem is that I got a statement: line in vfstab has too few
:entries. I checked the vfstab file for couple of times and can not find
:anything wrong. I had manually added 4 lines there. I deleted them one by
:one, and even deleted all of them, still get the same message. Any ideas?

I've found that suprisingly easy to mess up.  I usually resort to
checking my edits with a litte nawk command, something like

nawk '{NF != 7}' < /etc/vfstab

That should print lines that don't have seven fields.
--
Jim Davis              | "Professor!  You turned it down again!!"

 
 
 

SuperBlock & VFSTAB error

Post by Chris Thomps » Sat, 06 Mar 1999 04:00:00



>Hi there: I always have the SuperBlock problem. Every time I run fsck and
>returns FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? I choose yes. Next time
>the error message come up again. It seems nothing effect me, but always bother
>me.  I even tried to change the size of the superblock and no effect at all.

I imagine you are applying fsck to a mounted (and not read-only) filing system.
Be extremely cautious about allowing fsck to make changes in such situations
(although the above change is probably harmless).

Quote:>The other problem is that I got a statement: line in vfstab has too few
>entries. I checked the vfstab file for couple of times and can not find
>anything wrong. I had manually added 4 lines there. I deleted them one by
>one, and even deleted all of them, still get the same message. Any ideas?

Without a copy of your /etc/vfstab it's not easy to diagnose. Look for white
space that isn't :-) Every non-comment non-empty line should have exactly
7 white-space-seperated fields. If you are still at a loss, knock up a
program to call getvfsent(3c) yourself and see just when it is returning
VFS_TOOFEW.

Chris Thompson
Email: cet1 [at] cam.ac.uk

 
 
 

SuperBlock & VFSTAB error

Post by Iead Reze » Fri, 12 Mar 1999 04:00:00




> :Hi there: I always have the SuperBlock problem. Every time I run fsck and
> :returns FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? I choose yes. Next time
> :the error message come up again. It seems nothing effect me, but always bother
> :me.

> Are you running fsck on a mounted file system?  If so, you probably don't
> want to do that.

I have a similar problem, but the superblock error occurs already during booting
on /usr, i.e. when it is not mounted.  As a result of this block error is that I
end up
having occasional writing-to-disk problems. Using the alternative block I seems
to be better. And here is my question. Where can I instruct fsck to use the
alternative
superblock (32) *during* boot. I checked the boot scripts but I couldn't quite
find my
way through.

Thanks

Iead

 
 
 

SuperBlock & VFSTAB error

Post by Jim Dav » Fri, 12 Mar 1999 04:00:00



:And here is my question. Where can I instruct fsck to use the
:alternative
:superblock (32) *during* boot.

I'd look at the /sbin/mountall shell script.

Well actually I'd look at identifying the real problem with that disk
or filesystem and fixing it properly, instead of trying some boot time
kludge around.
--
Jim Davis              | "Professor!  You turned it down again!!"

 
 
 

1. about superblock && fsck

hi,
i've one big problem.. i cant run fsck on some partitions of ad6s1
because
fsck cant find the superblock. I'tryed to set the -b 32 or 8193 block
option but
this again doesnt work.. before i tryed to install a debian linux on the
same disk
and probably the debian fdisk has overwritten the partition table. I
hope no.
So i *must* find any duplicate of the superblock for run fsck and then
repair
the fs... anyone could help me ? there are any utility to scan the slice
and find the
superblock ?
Thanx a lot to all.
Guido.

2. SCO Support makes a come back!

3. Vfstab error

4. Configuration of Apache - Jserv with DSO option

5. root in vfstab & useradd

6. SIGSEGV in pthread_mutex_lock in RedHat 7.2 gcc 2.95.3

7. Errors during upgrade of 2.6 to 8 - vfstab / fsck - Help!

8. optimize fixed size kmalloc calls

9. vfstab errors

10. ! Segmentation error encountered when reading /etc/vfstab

11. &&&&----Looking for a unix shell------&&&&&

12. ppp && PPPoE && ADSL && net && buffer(s)

13. &#27809;&#26377;&#20154;&#29992;&#20013;&#25991;&#21527;&#65311;