![]() |
Suse 9.1: Not all entries in fstab are mounted at boot. why?
I don't know if this is distro-specific (there's no Suse distro forum anyway) so it goes here. ;)
I've got this line in my fstab: uranium:/job /job nfs bg,noac,rw,hard,rsize=16384,wsize=16384 0 0 but it doesn't get mounted when I boot up unless I su & mount -a. Why is that? |
man fstab
Just add auto to the rw, bit Cheers, Tink |
Quote:
auto should be on by default, the way I understand it, but just to make sure, I gave it a try & still have to do mount -a. If auto wasn't on, I wouldn't be able to mount it with mount -a. |
Re: Suse 9.1: Not all entries in fstab are mounted at boot. why?
Quote:
|
Re: Re: Suse 9.1: Not all entries in fstab are mounted at boot. why?
Quote:
btw: having this line in my Redhat boxes mounts everything at boot time. Maybe this has soemthing to do with automount or autofs? |
Sorry, missed the NFS bit. On both my Suse and Slack boxes, my fstab looks like this
Code:
/dev/hda9 /tmp ext3 defaults 1 2 |
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 |
Quote:
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.
|
| All times are GMT -5. The time now is 07:01 AM. |