hi, i trying to install a fai installation server in a DomU for DomUs, but i have some problems with nfs. The DomUs says, that they can''t reach the NFS Server ========== Begin: Retrying nfs mount ... IP-Config: eth0 hardware address 00:16:3e:7a:25:7c mtu 1500 DHCP IP-Config: eth0 guessed broadcast address 172.16.0.255 IP-Config: eth0 complete (from 172.16.0.151): address: 172.16.0.169 broadcast: 172.16.0.255 netmask: 255.255.255.0 gateway: 172.16.0.250 dns0 : 172.16.0.254 dns1 : 0.0.0.0 domain : labor.net rootserver: 172.16.0.151 rootpath: /srv/fai/nfsroot rsize=8192,wsize=8192, filename : Begin: Running /scripts/nfs-premount ... Done. mount: Device or resource busy short read: 0 < 28 Done. Begin: Retrying nfs mount ... IP-Config: eth0 hardware address 00:16:3e:7a:25:7c mtu 1500 DHCP IP-Config: eth0 guessed broadcast address 172.16.0.255 IP-Config: eth0 complete (from 172.16.0.151): address: 172.16.0.169 broadcast: 172.16.0.255 netmask: 255.255.255.0 gateway: 172.16.0.250 dns0 : 172.16.0.254 dns1 : 0.0.0.0 domain : labor.net rootserver: 172.16.0.151 rootpath: /srv/fai/nfsroot rsize=8192,wsize=8192, filename : Begin: Running /scripts/nfs-premount ... Done. mount: Device or resource busy short read: 0 < 28 ==== loop ====== i can mount the NFS from Dom0 without any problems, so ... i asking for some hints. cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think I fixed part of the problem.... If you add to your PXE default config file the option : NFSOPTS="-o nolock,udp,retrans=10,wsize=8192,rsize=8192" it removes the short read < 28 error message... although the mount: Device or ressource busy is still present... Here is my PXW default file: ----------------------------- default fai_pxe_install label fai_pxe_install kernel vmlinuz-2.6.18-5-486 append initrd=initrd.img-2.6.18-5-486 ip=dhcp devfs=nomount root=/dev/nfs FAI_ACTION=install NFSOPTS="-o nolock,udp,retrans=10,wsize=8192,rsize=8192" FAI_FLAGS=verbose,sshd,createvt,syslogd noapic acpi=ht ---------------------------- And now I get theses errors in my /var/log/syslog (on my fai server): Oct 16 12:46:13 turbulence mountd[3154]: authenticated mount request from etch.test.wul.qc.ec.gc.ca:964 for /data/fai/nfsroot (/data/fai/nfsroot) Oct 16 12:46:13 turbulence mountd[3154]: refused unmount request from etch.test.wul.qc.ec.gc.ca for /root (/): not exported Oct 16 12:46:15 turbulence mountd[3154]: authenticated mount request from etch.test.wul.qc.ec.gc.ca:1005 for /data/fai/nfsroot (/data/fai/nfsroot) Oct 16 12:46:15 turbulence mountd[3154]: refused unmount request from etch.test.wul.qc.ec.gc.ca for /root (/): not exported ------- LOOP -------- Getting close to resolving the issue but not there quite yet! - vin -- View this message in context: http://www.nabble.com/Fai-Install-Server-in-DomU-tf4543184.html#a13237675 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Note that changing the option root-path in the DHCP: option root-path "/data/fai/nfsroot/live/filesystem.dir"; #option root-path "/data/fai/nfsroot"; and adding /data/fai/nfsroot/live/filesystem.dir as in the /etc/exports solved the looping... but got me with another error msg: /usr/lib/fai/prcopyleft: line 16: cannot create temp file for here document: Read-only file system tee: /var/log/fai/current/fai.log: No such file or directory Getting closer.... -- View this message in context: http://www.nabble.com/Fai-Install-Server-in-DomU-tf4543184.html#a13237799 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users