External Firewire Drive Mount on Red Hat 9 Problem
Linux - HardwareThis 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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.