LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-22-2004, 04:32 PM   #1
Pi Man
LQ Newbie
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
fstab help, maybe?


I have 2 external USB hard drives: /dev/sda and /dev/sdb, both of which have only one partition.

I'm on SuSE 9.2 and want read and write access for one specific user (the only one other than root). I added this to fstab:

Code:
/dev/sda1            /media/sda1          auto       rw,user,exec,noauto,suid,dev,uid=1000,gid=100 0 0
/dev/sdb1            /media/sdb1          auto       rw,user,exec,noauto,suid,dev,uid=1000,gid=100 0 0
Here's the line from passwd that describes that user:

Code:
owner:x:1000:100:Name Here:/home/Owner:/bin/bash
The partitions are formatted with ext2, I think. Maybe reisers. I don't know for sure. Unfortunately, when I try to mount either one of them, I get:

Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems
Auto should cover the wrong fs type, and I know there's no bad superblock, and I have very few file systems mounted, so I must have a bad option. Any ideas dudes and dudettes?

Thanks for your help.
 
Old 12-22-2004, 07:02 PM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Are the uid and guid options supported? In the mount manual I don't see support for those options under ext2 or ext3 or reiserfs, only other filesystems. Have you tried mounting the drives as root, without those options?
 
Old 12-22-2004, 07:09 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Did you modprobe usb-storage (or whatever the module is called) before you tried to mount them?
 
Old 12-23-2004, 12:15 AM   #4
Pi Man
LQ Newbie
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks so much! I had no idea uid and gid weren't supported for some fs types. I could have sworn they were in my old fstab when I was still on 8.2 and working just fine. Oh well. Glad I got it working now. Thanks JunctaJuvant.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 07:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration