cant mount mirror, rpc.statd not running

Thomas Fischer tfischer at dc.uba.ar
Wed Feb 29 20:40:37 CET 2012


On Wed, Feb 29, 2012 at 3:11 PM, Thomas Fischer <tfischer at dc.uba.ar> wrote:
> Hi all,
>
> I am setting up my first FAI server (debian) for a beowulf cluster
> (also debian), and i am experiencing the following issue:
>
> The fai client fails to mount the debian mirror from the FAI server.
> The installation fails trying to apt-update, then i ssh into the
> client. Config space and nfs are correctly mounted, but the mirror
> isnt. Trying to manually mount the mirror shows:
>
> # mount 192.168.0.1:/srv/debmirror /media/mirror
> mount.nfs: rpc.statd is not running but is required for remote
> locking. Either use '-o nolock' to keep locks local, or start statd.
>
> If i start rpc.statd or append the option '-o nolock', the mirror
> mounts fine. I find it strange given that the mirror already correctly
> mounted the config space and the nfs. The client tried because
> daemon.log on server shows:
>
> ... authenticated mount request from 192.168.0.95:641 for
> /srv/debmirror (/srv/debmirror)
>
> my fai.conf:
> ----------
> LOGUSER=fai
> LOGSERVER=192.168.0.1
> FAI_LOGPROTO=ssh
> FAI_DEBMIRROR=192.168.0.1:/srv/debmirror
> MNTPOINT=/media/mirror
> FAI=/var/lib/fai/config
> ----------
>
> and my default PXE config
> ----------
> # generated by fai-chboot for host default with IP no IP
> default fai-generated
>
> label fai-generated
> kernel vmlinuz-2.6.26-2-amd64
> append initrd=initrd.img-2.6.26-2-amd64 ip=dhcp  root=/dev/nfs
> nfsroot=/srv/fai/nfsroot boot=live  FAI_FLAGS=verbose,sshd,reboot
> FAI_ACTION=install SERVER=192.168.0.1
> ----------
>
> I am running out of ideas, has anyone experienced something similar?
> I found the following thread
> http://thread.gmane.org/gmane.linux.debian.fai/7366/focus=7370 but it
> didnt helped me out.
>

After looking closer, i realized that the client actually achieves
mounting, it just mounts the debian mirror to another location. The
relevant lines of the mount output are:

rootfs on / type rootfs (rw)
/dev/sda1 on /target type ext3 (rw,noatime,errors=remount-ro,data=ordered)
192.168.0.1:/srv/debmirror on /target/media/mirror type nfs
(ro,noatime,vers=3,rsize=262144,wsize=262144,namlen=255,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800,hard,nointr,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=udp,addr=192.168.0.1)

Why is the mirror beeing mounted on the installation disk
(/target/media/mirror) ? I expected it to be mounted on /media/mirror
of the nfsroot. Did i miss something in the configuration? Or is this
the expected behaviour?

Best regards,
Thomas

-- 
restate my assumptions:
1. Mathematics is the language of nature.
2. Everything around us can be represented and understood through numbers.
3. If you graph these numbers, patterns emerge. Therefore: There are
patterns everywhere in nature.

Max Cohen, PI


More information about the linux-fai mailing list