[Expired for linux (Ubuntu) because there has been no activity for 60
days.]
** Changed in: linux (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1845186
Title:
nfs Input/output error
Status in linux package in Ubuntu:
Expired
Bug description:
On Obuntu 18.04 with Linux kernel 5.0.0-29 (and 5.0.0-27) I am getting
errors when writing files > 200 MB on a nfs filesystem, no matter which
nfs server I use (Linux or Netapp).
Example with a Netapp nfs server:
root@tux:# uname -a
Linux tux 5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux
root@tux:# mount.nfs -o
nfsvers=3,rw,rsize=1048576,wsize=1048576,tcp,timeo=10,soft
nfs4sas.storage.tik.uni-stuttgart.de:/nfs4sas_scratch /nfs/rusnas/scr
root@tux:/nfs/rusnas/scr# dd status=progress bs=1M count=1024 if=/dev/zero
of=dd.tmp; l dd.tmp
dd: closing output file 'dd.tmp': Input/output error
l: dd.tmp - Input/output error
root@tux:/nfs/rusnas/scr# l
l: cannot read ./ : Stale file handle
(reboot)
root@tux:~# uname -a
Linux tux 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux
root@tux:~# mount.nfs -o
nfsvers=3,rw,rsize=1048576,wsize=1048576,tcp,timeo=10,soft
nfs4sas.storage.tik.uni-stuttgart.de:/nfs4sas_scratch /nfs/rusnas/scr
root@tux:/nfs/rusnas/scr# dd status=progress bs=1M count=1024 if=/dev/zero
of=dd.tmp; l dd.tmp
dd: closing output file 'dd.tmp': Input/output error
-RW- 647,364,608 2019-09-24 11:54 dd.tmp
The same error occurs when I use a Ubuntu 18.04 nfs server with kernel
5.0.0-29
I get no error with kernel 4.15.0-64:
root@tux:# uname -a
Linux tux 4.15.0-64-generic #73-Ubuntu SMP Thu Sep 12 13:16:13 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux
root@tux:# mount.nfs -o
nfsvers=3,rw,rsize=1048576,wsize=1048576,tcp,timeo=10,soft
nfs4sas.storage.tik.uni-stuttgart.de:/nfs4sas_scratch /nfs/rusnas/scr
root@tux:/nfs/rusnas/scr# dd status=progress bs=1M count=1024 if=/dev/zero
of=dd.tmp; l dd.tmp
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.40337 s, 114 MB/s
-RW- 1,073,741,824 2019-09-24 11:48 dd.tmp
Also no error occurs when I use the sync nfs mount option:
root@tux:/# mount.nfs -o
nfsvers=3,rw,rsize=1048576,wsize=1048576,tcp,timeo=10,soft,sync
nfs4sas.storage.tik.uni-stuttgart.de:/nfs4sas_scratch /nfs/rusnas/scr
root@tux:/nfs/rusnas/scr# dd status=progress bs=1M count=1024 if=/dev/zero
of=dd.tmp; l dd.tmp
996147200 bytes (996 MB, 950 MiB) copied, 13 s, 76.6 MB/s
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.7691 s, 78.0 MB/s
-RW- 1,073,741,824 2019-09-24 11:58 dd.tmp
As you can see: no more errors, but much slower!
So, this is not a solution, just a workaround.
On smaller files, there is error:
root@diaspora:/nfs/rusnas/software# mount | grep $PWD
nfs4sas:/nfs4sas_software on /nfs/rusnas/software type nfs
(rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,soft,proto=tcp,timeo=10,retrans=2,sec=sys,mountaddr=129.69.2.23,mountvers=3,mountport=635,mountproto=tcp,local_lock=none,addr=129.69.2.23)
root@diaspora:/nfs/rusnas/software# dd bs=1M count=200 if=/dev/zero
of=dd.tmp; l dd.tmp
200+0 records in
200+0 records out
209715200 bytes (210 MB, 200 MiB) copied, 2.25616 s, 93.0 MB/s
-RW- 209,715,200 2019-09-24 12:33 dd.tmp
root@diaspora:/nfs/rusnas/software# dd bs=1M count=300 if=/dev/zero
of=dd.tmp; l dd.tmp
dd: closing output file 'dd.tmp': Input/output error
-RW- 293,535,744 2019-09-24 12:34 dd.tmp
==> the nfs client in Ubuntu 18.04 kernel 5.0.0 has a bug!
root@tux:/nfs/rusnas/scr# dpkg -S /boot/vmlinuz-5.0.0-29-generic
linux-image-5.0.0-29-generic: /boot/vmlinuz-5.0.0-29-generic
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: framstag 10502 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 18.04
MachineType: FUJITSU ESPRIMO_P956
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-29-generic
root=UUID=7e08b486-a587-4d56-8882-4bf4b0e14b7b ro resume=/dev/disk/by-label/swap
ProcVersionSignature: Ubuntu 5.0.0-29.31~18.04.1-generic 5.0.21
RelatedPackageVersions:
linux-restricted-modules-5.0.0-29-generic N/A
linux-backports-modules-5.0.0-29-generic N/A
linux-firmware 1.173.9
RfKill:
Tags: bionic
Uname: Linux 5.0.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers wireshark
_MarkForUpload: True
dmi.bios.date: 02/19/2016
dmi.bios.vendor: FUJITSU // American Megatrends Inc.
dmi.bios.version: V5.0.0.11 R1.13.0 for D3402-A1x
dmi.board.name: D3402-A1
dmi.board.vendor: FUJITSU
dmi.board.version: S26361-D3402-A1
dmi.chassis.type: 6
dmi.chassis.vendor: FUJITSU
dmi.chassis.version: C$WX06
dmi.modalias:
dmi:bvnFUJITSU//AmericanMegatrendsInc.:bvrV5.0.0.11R1.13.0forD3402-A1x:bd02/19/2016:svnFUJITSU:pnESPRIMO_P956:pvr:rvnFUJITSU:rnD3402-A1:rvrS26361-D3402-A1:cvnFUJITSU:ct6:cvrC$WX06:
dmi.product.family: ESPRIMO-FTS
dmi.product.name: ESPRIMO_P956
dmi.product.sku: S26361-Kxxx-Vyyy
dmi.sys.vendor: FUJITSU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1845186/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp