View previous topic :: View next topic |
Author |
Message |
SchnottRocket n00b
Joined: 17 Mar 2003 Posts: 1
|
Posted: Wed Apr 16, 2003 5:44 pm Post subject: must run e2fsck on _every_ reboot |
|
|
Howday,
Been using Gentoo since july or august of 2002, and recently i've made the switch on my home server from w2k to Gentoo. I've managed to install 1.4rc4 on it - install went wonderfully.
My server is a P4 2.2, 512rdram, nvidia gf2mx, abit th7ii-raid motherboard. The raid controller on this board is a high point 370. I've got support for this device compiled into my kernel, and it detects the drives fine (had a simply _marvelous_ time moving all my data from ntfs to ext3, btw).
Problem is - every time i reboot, i am unable to mount the drives (have not added them to fstab - still shuffling data and drives around). I'm not simply hitting the power switch when i reboot - i do 'shutdown -r 0'. When i first attempt to mount (ext3 partition only - ntfs is supported as read-only... only):
Code: | mount /dev/hdx /root/drivex |
Quote: | mount: you must specify the filesystem type |
then:
Code: | mount /dev/hdx /root/drivex -t ext3 |
Quote: | mount: wrong fs type, bad option, bad superblock on /dev/hdx, or too many mounted filesystems |
i must then run e2fsck:
Quote: | e2fsck 1.32 (09-Nov-2002)
Group descriptors look bad... trying backup blocks...
/dev/hdx was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0 (24039, counted=0)
Fix<y>? |
I must then press 'y' and hold it down as the freeblocks count message is repeated several hundred times.
This happens every time i reboot. Any suggestions? _________________ two peanuts were walking down the street, and one of them was assaulted, being beaten into peanut butter, making it assault and buttery. The police were called, and everything was nuts - but they caught the criminal and aroasted him on the spot. |
|
Back to top |
|
|
dice Guru
Joined: 21 Apr 2002 Posts: 577
|
Posted: Wed Apr 16, 2003 5:56 pm Post subject: |
|
|
I don't know how to fix it, but in the meantime you might be interested in the -y switch to fsck which tells it to answer yes to all questions |
|
Back to top |
|
|
-=Blade=- n00b
Joined: 18 Nov 2002 Posts: 20 Location: Brisbane - Australia
|
Posted: Thu Apr 17, 2003 7:06 am Post subject: |
|
|
Hmm, when you first created the file system did you change the max mount times before a fsck?
Anyway, I'd have a look at the ext2/3 tools if I were you.
Run a dumpe2fs on your partitions and find out what exactlty the settings for your harddisks are.
Then I'd change them by using tune2fs, have a look at it's manpage. (I'd be using -c and -i)
Let us know if this fixes it, and if it does change your post to [FIXED!] somethign or other... |
|
Back to top |
|
|
ormi Apprentice
Joined: 13 Oct 2002 Posts: 234 Location: lappeen Ranta, Finland
|
Posted: Thu Apr 17, 2003 7:35 am Post subject: |
|
|
I had the same problem: https://forums.gentoo.org/viewtopic.php?t=42424
I answered "yes" to every question and after that a _lot_ of libraries were missing. They were in lost+found, but it was impossible to recover them (300Mb, weird names). I think you should answer yes to every question and see what happens.
Edit: See Slougi's tip if you have to reinstall your system.
Edit2: Try to boot from gentoo cd and then run e2fsck a couple(!) of times. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|