View previous topic :: View next topic |
Author |
Message |
george_mercury n00b

Joined: 04 Jul 2004 Posts: 31 Location: Slovenia
|
Posted: Thu Jul 15, 2004 1:42 pm Post subject: Weird thing about fstab |
|
|
i!
I've just bought a new harddrive, Western Digital 160GByte ATA100. I've made a single 160GByte partition on it; primary with ext3 filesystem; I've booted with gentoo LiveCD, ran fdisk /dev/hdc and made the partition. That I wrote mke2fs -j /dev/hdc1
That worked as usually. Then I modified the fstab by adding the following line:
/dev/hdc1 /mnt/hdc1 ext3 defaults,umask=000 0 0
Then I booted to gentoo and got an error at boot:
mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted filesystems.
The same error occurs if I write mount -a. However, If I write mount -t ext3 /dev/hdc1 /mnt/hdc1 it mounts without a problem. The partition is ext3, so it cannot be wrong fs type. Bad option - I don't see one. Bad superblock - I don't know what that is. And it can't be too many mounted filesystems, because I've tried removing other partitions, and I would still get the same error. So does anyone have an idea what is wrong?
George Mercury |
|
Back to top |
|
 |
huw Apprentice


Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Jul 15, 2004 2:15 pm Post subject: Re: Weird thing about fstab |
|
|
george_mercury wrote: |
does anyone have an idea what is wrong?
|
EDIT: Yes:
This is not a valid mount option for Ext2/3 file systems.
HTH
Huw
Last edited by huw on Thu Jul 15, 2004 3:01 pm; edited 1 time in total |
|
Back to top |
|
 |
hollywoodb Apprentice


Joined: 05 Nov 2003 Posts: 259 Location: MN, U.S.A.
|
Posted: Thu Jul 15, 2004 2:47 pm Post subject: |
|
|
does "mount /mnt/hdc1" work?
try messing with fstab options, go slim at first (ditch the umask for now) and see if it works... _________________ Those who would trade freedom for security deserve neither. |
|
Back to top |
|
 |
huw Apprentice


Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Jul 15, 2004 2:51 pm Post subject: |
|
|
hollywoodb wrote: | does "mount /mnt/hdc1" work? |
It won't. This command uses the mount options in /etc/fstab. So it will try and use the umask option which IS NOT A VALID OPTION for Ext3 file systems.
hollywoodb wrote: |
try messing with fstab options, go slim at first (ditch the umask for now) and see if it works... |
alternatively just remove the incorrect option as I pointed out above. |
|
Back to top |
|
 |
huw Apprentice


Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Jul 15, 2004 3:00 pm Post subject: |
|
|
That's not supposed to be a personal attack. BTW. Just clarifying my 1st post which obviously wasn't clear enough
Huw |
|
Back to top |
|
 |
george_mercury n00b

Joined: 04 Jul 2004 Posts: 31 Location: Slovenia
|
Posted: Thu Jul 15, 2004 3:02 pm Post subject: |
|
|
I love you huw! You were right, it was the umask=000 parameter that was causing problems. I've noticed just one more thing. When I mounted ( with mount command ) annother partition, type reiserfs, it generated a couple of warnings. Now, one caught my attention:
warning: - it is in slow mode for debuging
Does reiserfs have some debuging mode that I am unaware of? ( is this causing my PC to run slower as it should? ).
Anyway, thanks for the help, as I was just about to give up ( spent the whole night trying to figure out what the matter was ).
George |
|
Back to top |
|
 |
huw Apprentice


Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Jul 15, 2004 3:07 pm Post subject: |
|
|
that will be due to the missing notail option.
Apparantly adding this increases the performance of reiserfs. However there's no mention of this here: http://www.namesys.com/mount-options.html
Huw |
|
Back to top |
|
 |
|