Re: [opensuse] Problems after 11.4 install
- From: Silviu Marin-Caea <silviumc@xxxxxxxxxxx>
- Date: Sat, 19 Mar 2011 17:24:18 +0200
On 03/17/2011 06:52 PM, John Layt wrote:
The first is if I use Yast to set-up an NFS mount in fstab then on start-up
openSuse tries to connect to the NFS mount _before_ the network is started.
Only after 4-5 minutes does mount.nfs timeout and shortly after NetworkManager
starts up to make the connection. I find it hard to believe this is the
correct behaviour and that no-one else seems to have hit this?
That's weird, it shouldn't happend. AFAIK, NFS volumes are supposed to be mounted later by the system.
Anyway, a surefire workaround would be to use automount. This mounts them when they are accessed and unmounts them automatically after a while.
This is an example configuration:
0. become root
su -
1. Make a directory
mkdir /mnt/automount
2. Add this to /etc/auto.master
/mnt/automount /etc/auto.nfs
3. Create /etc/auto.nfs
nfs -fstype=nfs server:/directory/that/you/export
4. start autofs
/etc/init.d/autofs start
5. enable autofs to start at boot
chkconfig --add autofs
6. see if it works
ls /mnt/automount/nfs
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Problems after 11.4 install
- From: John Layt
- [opensuse] Problems after 11.4 install
- Prev by Date: Re: [opensuse] Problems with 11.4
- Next by Date: Re: [opensuse] Blowing away 11.3
- Previous by thread: [opensuse] Problems after 11.4 install
- Next by thread: [opensuse] 11.4 unbarably slow
- Index(es):
Relevant Pages
|