NFSv3 exports not fully functional with older NFS clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Ubuntu 12.04.4 LTS
Reproducible bug in nfs exports starting from 3.2.0-58
Starting kernel version 3.2.0-58, it is impossible to checkout any subversion project on a NFSv3 mounted share on a Solaris 10 machine.
svn co svn+ssh:
returns the following
svn: Can't read directory 'trunk': Value too large for defined data type
Mounting the share with NFSv2 doesn't create this problem
Possibly related to the following (excerpts from changelog):
* ext4: return 32/64-bit dir name hash according to usage type
- LP: #1257010
* nfsd: vfs_llseek() with 32 or 64 bit offsets (hashes)
- LP: #1257010
Steps to reproduce:
- On Ubuntu 12.04.4 installed both kernel versions 3.2.0-57 and 3.2.0-58
- Boot with 3.2.0-57
- Start nfs-kernel-server and export share
- mount on Solaris 10 as NFSv3 (default)
- login as share-authorized user on NFS share
- create dir and checkout svn
- ok
- Reboot nfs server with kernel 3.2.0-58
- unmount and mount share on Solaris machine
- Try to svn co again, returns error "svn: Can't read directory 'trunk': Value too large for defined data type"
It looks like 32bit NFS clients cannot handle 64 bit cookies relate to readdir and readdirplus, so this problem might not be exclusive to Solaris (this is the machine on which we could reproduce it)
Thanks
Alessandro
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-58-generic x86_64
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 May 12 10:32 seq
crw-rw---T 1 root audio 116, 33 May 12 10:32 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
[ 5.157867] NFSD: starting 90-second grace period
[ 14.384064] eth0: no IPv6 routers present
Date: Mon May 12 10:32:35 2014
HibernationDevice: RESUME=
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
IwConfig:
lo no wireless extensions.
eth1 no wireless extensions.
eth0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: VMware, Inc. VMware Virtual Platform
MarkForUpload: True
PciMultimedia:
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79.12
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/22/2012
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: VMware Virtual Platform
dmi.product.
dmi.sys.vendor: VMware, Inc.
This change was made by a bot.