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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-16-2003, 11:42 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26
Rep:
|
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
|
|
|
12-16-2003, 11:57 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Can you post the relevant /etc/fstab line?
|
|
|
12-17-2003, 01:09 AM
|
#3
|
Member
Registered: Feb 2003
Distribution: redhat
Posts: 58
Rep:
|
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 ???
|
|
|
12-17-2003, 01:48 AM
|
#4
|
LQ Newbie
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26
Original Poster
Rep:
|
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
|
|
|
12-17-2003, 01:49 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
12-17-2003, 01:02 PM
|
#6
|
LQ Newbie
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|