From: Manuel McLure <manuel@mclure.org>
To: linux-kernel@vger.kernel.org
Subject: Loopback + NFS: files copied partially with bogus error message.
Date: 01 Jul 2002 22:35:28 -0700 [thread overview]
Message-ID: <1025588128.13795.13.camel@ulthar.internal.mclure.org> (raw)
I'm running two machines, one ("leng") running a Red Hat 2.4.9-31
kernel, the other ("ulthar") running a 2.4.18+lowlatency kernel. On
"leng", I have ISO images of the Red Hat 7.3 install CDs mounted through
loopback, and exported via NFS. "ulthar" mounts the images via NFS from
"leng":
/dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/var/sharedspace/RH73_ISOs/valhalla-i386-disc1.iso on /mnt/rh73/disc1
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH73_ISOs/valhalla-i386-disc2.iso on /mnt/rh73/disc2
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH73_ISOs/valhalla-i386-disc3.iso on /mnt/rh73/disc3
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH73_ISOs/valhalla-SRPMS-disc1.iso on /mnt/rh73/SRPMS1
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH73_ISOs/valhalla-SRPMS-disc2.iso on /mnt/rh73/SRPMS2
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH73_ISOs/valhalla-docs.iso on /mnt/rh73/docs type
iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH72_ISOs/enigma-i386-disc1.iso on /mnt/rh72/disc1 type
iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH72_ISOs/enigma-i386-disc2.iso on /mnt/rh72/disc2 type
iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH72_ISOs/enigma-SRPMS-disc1.iso on /mnt/rh72/SRPMS1
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH72_ISOs/enigma-SRPMS-disc2.iso on /mnt/rh72/SRPMS2
type iso9660 (ro,nosuid,nodev)
/var/sharedspace/RH72_ISOs/enigma-docs.iso on /mnt/rh72/docs type
iso9660 (ro,nosuid,nodev)
[root@ulthar root]# mount
/dev/hdb3 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb1 on /boot type ext3 (rw)
/dev/hdc1 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /win98c type vfat (rw,gid=100,umask=2)
leng:/var/sharedspace on /sharedspace type nfs (rw,addr=10.1.1.1)
leng:/mnt/rh73/disc1 on /mnt/rh73/disc1 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh73/disc2 on /mnt/rh73/disc2 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh73/disc3 on /mnt/rh73/disc3 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh73/SRPMS1 on /mnt/rh73/SRPMS1 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh73/SRPMS2 on /mnt/rh73/SRPMS2 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh73/docs on /mnt/rh73/docs type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh72/disc1 on /mnt/rh72/disc1 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh72/disc2 on /mnt/rh72/disc2 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh72/SRPMS1 on /mnt/rh72/SRPMS1 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh72/SRPMS2 on /mnt/rh72/SRPMS2 type nfs (ro,addr=10.1.1.1)
leng:/mnt/rh72/docs on /mnt/rh72/docs type nfs (ro,addr=10.1.1.1)
/dev/cdrom on /mnt/cdrom type iso9660 (ro)
This is working fine for accessing the data on the Red Hat images from
"ulthar", unless I am trying to access a large file. If I do on
"ulthar":
[root@ulthar root]# ls -l /tmp/XFree86-4.2.0-8.src.rpm
ls: /tmp/XFree86-4.2.0-8.src.rpm: No such file or directory
[root@ulthar root]# cp /mnt/rh73/SRPMS1/SRPMS/XFree86-4.2.0-8.src.rpm
/tmp
cp: reading `/mnt/rh73/SRPMS1/SRPMS/XFree86-4.2.0-8.src.rpm': No such
file or directory
[root@ulthar root]# ls -l /tmp/XFree86-4.2.0-8.src.rpm
-rw-r--r-- 1 root root 9977856 Jul 1 22:30
/tmp/XFree86-4.2.0-8.src.rpm
[root@ulthar root]#
As you can see, it does a partial copy and then fails with a "No such
file or directory" error. The size of the file after the failed copy
varies - sometimes I've seen up to 26MB be copied (the actual size of
the file is 42M). No errors are listed in the system logs of either
system. Copies from the loopback filesystem to a local file on "leng"
succeed, as are copies from an ext3 filesystem on "leng" to "ulthar"
over NFS - the problem only seems to happen with the combination.
Does anyone have any idea about what's going on? Thanks!
--
Manuel A. McLure KE6TAW <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat. -- H.P. Lovecraft
next reply other threads:[~2002-07-02 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-02 5:35 Manuel McLure [this message]
2002-07-03 3:08 ` Manuel McLure
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1025588128.13795.13.camel@ulthar.internal.mclure.org \
--to=manuel@mclure.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®