I am using a fresh install of Ubuntu 10.04 LTS Server and have used virt-manager to set up an NFS storage repository (located on another machine).
On boot the storage fails to mount.
First it was failing with "statd not running" and I fixed that by editing /etc/init/statd.conf making this change:
-start on (started portmap or mounting TYPE=nfs)
+start on ((started portmap and local-filesystems) or mounting TYPE=nfs)
Statd is now started but the NFS mount still does not happen at boot!
When I then launch virt-manager, and click on the "Play/Start" button in the Storage tab after selecting the NFS storage, it then mounts it. But I want it to be mounted automatically at boot rather than having to do it by hand each time the machine boots...
Note the server has a static (non-dhcp) IP address as all servers should have! I don't want booting to fail because the dhcp server has gone away...
I am using a fresh install of Ubuntu 10.04 LTS Server and have used virt-manager to set up an NFS storage repository (located on another machine).
On boot the storage fails to mount.
First it was failing with "statd not running" and I fixed that by editing /etc/init/ statd.conf making this change:
-start on (started portmap or mounting TYPE=nfs)
+start on ((started portmap and local-filesystems) or mounting TYPE=nfs)
Statd is now started but the NFS mount still does not happen at boot!
When I then launch virt-manager, and click on the "Play/Start" button in the Storage tab after selecting the NFS storage, it then mounts it. But I want it to be mounted automatically at boot rather than having to do it by hand each time the machine boots...
Note the server has a static (non-dhcp) IP address as all servers should have! I don't want booting to fail because the dhcp server has gone away...
Best regards,
Anton
See full activity log