Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Weird thing about fstab

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
george_mercury
n00b
n00b
Posts: 31
Joined: Sun Jul 04, 2004 11:27 am
Location: Slovenia

Weird thing about fstab

  • Quote

Post by george_mercury » Thu Jul 15, 2004 1:42 pm

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
Top
huw
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon May 13, 2002 10:18 am
Location: UK

Re: Weird thing about fstab

  • Quote

Post by huw » Thu Jul 15, 2004 2:15 pm

george_mercury wrote: does anyone have an idea what is wrong?
EDIT: Yes:

Code: Select all

umask=000
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.
Top
hollywoodb
Apprentice
Apprentice
User avatar
Posts: 259
Joined: Wed Nov 05, 2003 10:54 pm
Location: MN, U.S.A.
Contact:
Contact hollywoodb
Website

  • Quote

Post by hollywoodb » Thu Jul 15, 2004 2:47 pm

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.
Top
huw
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon May 13, 2002 10:18 am
Location: UK

  • Quote

Post by huw » Thu Jul 15, 2004 2:51 pm

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.
Top
huw
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon May 13, 2002 10:18 am
Location: UK

  • Quote

Post by huw » Thu Jul 15, 2004 3:00 pm

That's not supposed to be a personal attack. BTW. Just clarifying my 1st post which obviously wasn't clear enough :wink:

Huw
Top
george_mercury
n00b
n00b
Posts: 31
Joined: Sun Jul 04, 2004 11:27 am
Location: Slovenia

  • Quote

Post by george_mercury » Thu Jul 15, 2004 3:02 pm

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
Top
huw
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon May 13, 2002 10:18 am
Location: UK

  • Quote

Post by huw » Thu Jul 15, 2004 3:07 pm

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
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic