Bug#754342: nfsroots: mount: Device or ressource busy

2014-07-10 Thread Gilles MOREL
Package: base
Severity: important

  When I boot my diskless client, I got a message on console:
Begin: Running /scripts/nfs-premount ... done.
mount: Device or ressource busy
done.
Begin: Retrying nfs mount

  This message is repeated about every second for about three minutes before 
the mount actually works and the services start.

  I got messages in the server (debian) syslog:
Jul  9 08:36:03 Magnet rpc.mountd[31825]: authenticated mount request from 
192.168.20.50:962 for /mnt/rootfs/stardust (/mnt/rootfs/stardust)   
  │
Jul  9 08:36:03 Magnet rpc.mountd[31825]: authenticated unmount request from 
192.168.20.50:962 for /mnt/rootfs/stardust (/mnt/rootfs/stardust)

  Here's the client's package version (debian jessie):
linux-image-amd64: 3.14+57
linux-image-3.14-1-amd64
initramfs-tools: 0.115

  Here's the server's package version (debian wheezy):
linux-image-amd64: 3.2+46
linux-image-3.2.0-4-amd64
nfs-common: 1:1.2.6-4
nfs-kernel-server: 1:1.2.6-4

  The problem I saw is that the rootfs is allready mounted and the initramfs 
tries to mount it another time, but fails about 200 times before stopping it 
and continue the boot.
  From my point of view, these information are enought for you, but if you need 
more, contact to ask me.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#754342: nfsroots: mount: Device or ressource busy

2014-07-10 Thread Holger Levsen
control: tags -1 + moreinfo

Hi Gilles,

On Donnerstag, 10. Juli 2014, Gilles MOREL wrote:
   When I boot my diskless client, I got a message on console:

how did you build your diskless client?

   I got messages in the server (debian) syslog:
 Jul  9 08:36:03 Magnet rpc.mountd[31825]: authenticated mount request from
 192.168.20.50:962 for /mnt/rootfs/stardust (/mnt/rootfs/stardust) 

how does your /etc/export look on the server, are you using nfs2/3/4?

Did you have wheezy clients with the same server which dont show this 
behaviour?


cheers,
Holger 


signature.asc
Description: This is a digitally signed message part.


Bug#754342: nfsroots: mount: Device or ressource busy

2014-07-10 Thread Gilles MOREL
  I build my diskless client with the Ubuntu 14.04's debootstrap version. I 
made a basic bootable version and I added the desktop environment from that.

  For the export, I used this line. I used the same config for Ubuntu 13.04, 
13.10 and 14.04 and I did not change this for debian :
/mnt/rootfs/stardust
192.168.20.50(rw,async,no_subtree_check,no_root_squash)

  I'm not a nfs expert, but I think it's a nfsv3 configuration.
  I don't have any wheezy client, but I think the problem comes from the 
initramfs that tries to mount the rootfs a second time.
  For info, this is my boot command line for this host :
kernel tftp://192.168.20.1//systems/stardust/vmlinuz ip=dhcp 
nfsroot=192.168.20.1:/mnt/rootfs/stardust root=/dev/nfs rw rootdelay=10 initrd 
tftp://192.168.20.1//systems/stardust/initrd.img

  I don't have a line in the client's fstab for the rootfs.
--
Gilles Émilien MOREL cont...@gilles-morel.fr
Le premier tirage aléatoire est [31, 19, 69, 10, 28] et le second est [9, 9, 9, 
9, 9]. Quel tirage est le plus aléatoire ?


- Message original 
Holger Levsen hol...@layer-acht.org
à Gilles MOREL cont...@gilles-morel.fr, 754...@bugs.debian.org
copie à 
le jeudi 10 juillet 2014 à 11:05:17
avec KMail/1.13.7 (Linux/3.14-0.bpo.1-amd64; KDE/4.8.4; x86_64; ; )

Re: Bug#754342: nfsroots: mount: Device or ressource busy
--
control: tags -1 + moreinfo

Hi Gilles,

On Donnerstag, 10. Juli 2014, Gilles MOREL wrote:
   When I boot my diskless client, I got a message on console:

how did you build your diskless client?

   I got messages in the server (debian) syslog:
 Jul  9 08:36:03 Magnet rpc.mountd[31825]: authenticated mount request from
 192.168.20.50:962 for /mnt/rootfs/stardust (/mnt/rootfs/stardust) 

how does your /etc/export look on the server, are you using nfs2/3/4?

Did you have wheezy clients with the same server which dont show this 
behaviour?


cheers,
Holger


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org