LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2003, 11:42 PM   #1
anilnatha
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26

Rep: Reputation: 15
External Firewire Drive Mount on Red Hat 9 Problem


Ok, i've done a search on the forums and haven't found the same problem i'm coming across.

I've got a Maxtor 250GB External HD and I'm trying to get it mounted on Red Hat 9.

I've got two problems:

1. I've updated the /etc/fstab and when i make the mount at the command line it does mount it properly.

However when I reboot the machine the HD is no longer mounted and I need it to be mounted at boot.

2. After mounting the drive, it's ownership is set to belong to root. However i've set up shares on the External Hard Drive Using samba and as we all know the permissions for the share in linux signify who can read/write from their window's machine. And since the drive is owned by root, I cannot write to it from my window's machine since the username/password combo don't match.

Anyone have any ideas of how to solve these issues?

If i get it figured out i'll update this thread.

Thanx to anyone who reads this.

~Anil
 
Old 12-16-2003, 11:57 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Can you post the relevant /etc/fstab line?
 
Old 12-17-2003, 01:09 AM   #3
sudhir
Member
 
Registered: Feb 2003
Distribution: redhat
Posts: 58

Rep: Reputation: 15
change the "noauto" to "auto" in the relevant fstab line and also the "owner" to "user" ....

the "auto" specifies to be mounted on reboot and the "user" specifies the user permission...

Is this what u r looking for ???
 
Old 12-17-2003, 01:48 AM   #4
anilnatha
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Skyline
Can you post the relevant /etc/fstab line?

The computer i'm working on is a computer at work, so i'm gonna have to go off memory on this....

/dev/sda1 /mnt/somename auto noauto,owner,user 0,0


i believe that is the relavent line that is in the fstab file
 
Old 12-17-2003, 01:49 AM   #5
anilnatha
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sudhir
change the "noauto" to "auto" in the relevant fstab line and also the "owner" to "user" ....

the "auto" specifies to be mounted on reboot and the "user" specifies the user permission...

Is this what u r looking for ???
I think i tried this and it didn't work, but i'll give it another try in the morning, thanx for the input! I'll let you know if it works.
 
Old 12-17-2003, 01:02 PM   #6
anilnatha
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
In speaking with one of the Linux guys on lab he helped me solve the problem

here is the solution that fixed everything:

1 - to fix the mounting issue on boot we simply added a mount call to the /etc/rc.local file. I had to do this because whenever i set the fstab file to be auto for mounting on boot, it threw a flag and said "/dev/sda1 not a valid block device" so our solution fixed everything because we could mount the drive just fine from the command line.

2 - to fix the permissions problem where other users couldn't write to the drive through samba because the drive was set to be owned by the root on boot. I setup a group for all the people that needed access to the drive, and we set the gid in the fstab file to that group. In addition we had to set the umask as well so that the chmod settings would allow write priviledge to the group as well.

Hopefully this info can help someone in the future in case they run into the same issue.

Last edited by anilnatha; 12-17-2003 at 01:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mount external firewire drive udf formatted tgreen Linux - Hardware 3 02-03-2005 10:02 AM
External Firewire hard disk drive - mount glitches shultzc Linux - Hardware 0 10-09-2004 06:31 PM
Problem mounting external firewire drive in Mandrake 10.0 Official stealthdave Linux - Hardware 3 09-07-2004 03:52 PM
Is it possible to mount an external mac formatted firewire drive? BrianK Linux - General 1 06-03-2004 07:08 PM
USB drive mount disappears randomly, cannot remount (Red Hat 9) Bigglesworth Linux - General 11 01-02-2004 11:50 AM

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

All times are GMT -5. The time now is 07:46 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