You are not logged in.
Pages: 1
I have 2 arch boxes, one server one desktop, and I have one part on each that I have mounted to the other. I have it working, however:
1. When I reboot I always have to redo the mount --bind command to bind the /media/stuff to /srv/nfs4/stuff. How to stop having to do this each reboot?
2. When I reboot I have to manually do "mount /media/myth" each time, it doesn't seem to do it automatically. Here is from fstab:
# NFS4
nfsd /proc/fs/nfsd nfsd rw,nodev,noexec,nosuid 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
192.168.1.100:/myth /media/myth nfs4 rw,user,noauto,exec 0 0
TIA for any help
Offline
1. When I reboot I always have to redo the mount --bind command to bind the /media/stuff to /srv/nfs4/stuff. How to stop having to do this each reboot?
add an entry to your /etc/fstab
2. When I reboot I have to manually do "mount /media/myth" each time, it doesn't seem to do it automatically. Here is from fstab:
192.168.1.100:/myth /media/myth nfs4 rw,user,noauto,exec 0 0
raku
Offline
Ah, nuts, I can't believe I missed the noauto in there! Took it out, thanks raku
However, the mount --bind is still an issue, I must redo it each time at reboot, why?
Offline
Hello Colbert!
Last case, you must put it to the /etc/rc.local
Offline
Thanks djszapi, didn't think of that! (Never used rc.local so far). Thanks
Offline
It's the last automatization joker file But you can write a daemon/script for it too, and set it to the boot runlevel in rc.conf , but this is easier.
Offline
heeeelooooo !!!!!
add an entry to your /etc/fstab
Last edited by raku (2009-07-25 19:57:13)
raku
Offline
Oops, I didn't realize you had meant to put the bind command in fstab, my bad raku.. thanks
Offline
you're welcome :-D
raku
Offline
Pages: 1