Suse 9.1: Not all entries in fstab are mounted at boot. why?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Re: Suse 9.1: Not all entries in fstab are mounted at boot. why?
Quote:
Originally posted by BrianK /job /job nfs bg,noac,rw,hard,rsize=16384,wsize=16384 0 0
I think the problem is that you are specifying the mountpoint twice, rather than to specify the partition and the mount point. In other words, the first "/job" reference needs to be replaced with /dev/hdxy where x is the device and y is the partition, eg, /dev/hdd2 or whatever. -- J.W.
Re: Re: Suse 9.1: Not all entries in fstab are mounted at boot. why?
Quote:
Originally posted by J.W. I think the problem is that you are specifying the mountpoint twice, rather than to specify the partition and the mount point. In other words, the first "/job" reference needs to be replaced with /dev/hdxy where x is the device and y is the partition, eg, /dev/hdd2 or whatever. -- J.W.
well, the first "/job" is actually part of "uranium:/job" which is the way you tell nfs what it's mounting to - the /job directory on uranium.. The second job is the local mount point. Specifying the device path in either place would be incorrect becuase you're not mounting a device, you're mounting a directory.
btw: having this line in my Redhat boxes mounts everything at boot time. Maybe this has soemthing to do with automount or autofs?
it looks like it's been awhile since this thread started but i think that i might have an answer for you. i ran into a similar problem and it ended up that the fstab file was being read before the rpc services were started. so the nfs mouts in the fstab would fail but once everything got started i could manually mount things fine. i had to write a little script with the mount commands in it had it run after the rpc stuff started.
Originally posted by ggreen it looks like it's been awhile since this thread started but i think that i might have an answer for you. i ran into a similar problem and it ended up that the fstab file was being read before the rpc services were started. so the nfs mouts in the fstab would fail but once everything got started i could manually mount things fine. i had to write a little script with the mount commands in it had it run after the rpc stuff started.
hope this helps
g
Hmm.. does that sound like a bug to you? It does to me.
I prefer to not have to write work-arounds when things don't work the way they should.
Thanks for the tip though, sounds like I'll go the script route as well unless someone knows of a better solution.
I have the same problem. I can mount the server manually or with mount -a, however it will not mount correctly on boot. I was just wondering if this problem was ever solved or if I should just write a script fix. It just seems to me that this would be a pretty common problem (affecting everyone running nfs) and that suse would make the proper corrections.
I never managed to get it working & didn't look into scripting anything. My uber-lazy fix was to allow all users to mount that nfs share so if they rebooted the machine, they would be able to remount without root priviledges.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.