[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717547: marked as done (nfs-common: simple remount returns an error)



Your message dated Sat, 24 Apr 2021 19:00:58 +0200
with message-id <YIROytCEblFQovby@eldamar.lan>
and subject line Re: Bug#717547: nfs-common: simple remount returns an error
has caused the Debian Bug report #717547,
regarding nfs-common: simple remount returns an error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
717547: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717547
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nfs-common
Version: 1:1.2.6-4
Severity: normal

Dear Maintainer,

I met a strange behavour of mount.nfs.
When I run "mount -o remount /nfs/mntpnt", it terminated silently but
the exit status was 32. Actually when I add "-v" option, it prints
"mount.nfs: mount(2): Invalid argument".

Here is what I did.

$ mkdir /tmp/4751.exp /tmp/4751.mnt
$ sudo exportfs -i -o rw,async,no_subtree_check,no_root_squash localhost:/tmp/4751.exp
$ sudo exportfs -f
$ sudo mount -t nfs -o intr,nfsvers=3 localhost:/tmp/4751.exp /tmp/4751.mnt
$ sudo mount -o remount /tmp/4751.mnt
(silently terminates)

$ sudo mount -v -o remount /tmp/4751.mnt
mount.nfs: mount(2): Invalid argument

I expect such simple remount causes VFS to flush the caches on that
filesystem. Actually older Debian (at least v5 lenny) surely
worked. Upgrading to v7 (wheezy), then mount.nfs retuns an error.


-- Package-specific info:
-- rpcinfo --
   program vers proto   port
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  42522  status
    100024    1   tcp  34284  status
    100021    1   udp  39173  nlockmgr
    100021    3   udp  39173  nlockmgr
    100021    4   udp  39173  nlockmgr
    100021    1   tcp  60767  nlockmgr
    100021    3   tcp  60767  nlockmgr
    100021    4   tcp  60767  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049
    100227    3   tcp   2049
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049
    100227    3   udp   2049
    100005    1   udp  51129  mountd
    100005    1   tcp  58113  mountd
    100005    2   udp  51458  mountd
    100005    2   tcp  34458  mountd
    100005    3   udp  47395  mountd
    100005    3   tcp  55559  mountd
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
jrosysadm:/sysadm /sysadm	nfs	ro,soft,intr,bg,proto=udp	0 3
jroproj:/proj	/proj		nfs	ro,soft,intr,bg,proto=udp	0 3
jroproj:/proj/aufs /proj/aufs	nfs	ro,soft,intr,bg,proto=udp	0 3
jroproj:/proj/open-e /proj/open-e nfs	ro,soft,intr,bg,proto=udp	0 3
jrosrc:/src	/src		nfs	ro,soft,intr,bg,proto=udp	0 3
jrosrc:/src/linux-2.6 /src/linux-2.6 nfs ro,soft,intr,bg,proto=udp	0 3
-- /proc/mounts --
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
jrosysadm:/sysadm /sysadm nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.4,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.4 0 0
jroproj:/proj /proj nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.6,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.6 0 0
jroproj:/proj/aufs /proj/aufs nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.6,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.6 0 0
jroproj:/proj/open-e /proj/open-e nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.6,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.6 0 0
jrosrc:/src /src nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.7,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.7 0 0
jrosrc:/src/linux-2.6 /src/linux nfs ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.7,mountvers=3,mountport=46065,mountproto=udp,local_lock=none,addr=192.168.1.7 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
localhost:/tmp/4751.exp /tmp/4751.mnt nfs rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=127.0.0.1,mountvers=3,mountport=47395,mountproto=udp,local_lock=none,addr=127.0.0.1 0 0

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-common depends on:
ii  adduser             3.113+nmu3
ii  initscripts         2.88dsf-41
ii  libc6               2.13-38
ii  libcap2             1:2.22-1.2
ii  libcomerr2          1.42.5-1.1
ii  libdevmapper1.02.1  2:1.02.74-7
ii  libevent-2.0-5      2.0.19-stable-3
ii  libgssglue1         0.4-2
ii  libk5crypto3        1.10.1+dfsg-5+deb7u1
ii  libkeyutils1        1.5.5-3
ii  libkrb5-3           1.10.1+dfsg-5+deb7u1
ii  libmount1           2.20.1-5.3
ii  libnfsidmap2        0.25-4
ii  libtirpc1           0.2.2-5
ii  libwrap0            7.6.q-24
ii  lsb-base            4.1+Debian8+deb7u1
ii  rpcbind             0.2.0-8
ii  ucf                 3.0025+nmu3

Versions of packages nfs-common recommends:
ii  python  2.7.3-4

Versions of packages nfs-common suggests:
pn  open-iscsi  <none>
pn  watchdog    <none>

Versions of packages nfs-kernel-server depends on:
ii  libblkid1  2.20.1-5.3
ii  libc6      2.13-38
ii  libtirpc1  0.2.2-5
ii  libwrap0   7.6.q-24
ii  lsb-base   4.1+Debian8+deb7u1
ii  ucf        3.0025+nmu3

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi

On Mon, Jul 22, 2013 at 03:42:44PM +0900, J. R. Okajima wrote:
> 
> Package: nfs-common
> Version: 1:1.2.6-4
> Severity: normal
> 
> Dear Maintainer,
> 
> I met a strange behavour of mount.nfs.
> When I run "mount -o remount /nfs/mntpnt", it terminated silently but
> the exit status was 32. Actually when I add "-v" option, it prints
> "mount.nfs: mount(2): Invalid argument".
> 
> Here is what I did.
> 
> $ mkdir /tmp/4751.exp /tmp/4751.mnt
> $ sudo exportfs -i -o rw,async,no_subtree_check,no_root_squash localhost:/tmp/4751.exp
> $ sudo exportfs -f
> $ sudo mount -t nfs -o intr,nfsvers=3 localhost:/tmp/4751.exp /tmp/4751.mnt
> $ sudo mount -o remount /tmp/4751.mnt
> (silently terminates)
> 
> $ sudo mount -v -o remount /tmp/4751.mnt
> mount.nfs: mount(2): Invalid argument
> 
> I expect such simple remount causes VFS to flush the caches on that
> filesystem. Actually older Debian (at least v5 lenny) surely
> worked. Upgrading to v7 (wheezy), then mount.nfs retuns an error.

I cannot reproduce the issue with a recent kernel and so going ahead
to close the bug. Feel free to reopen in case you still are able to
reproduce it with a recent one.

Regards,
Salvatore

--- End Message ---

Reply to: