Re: nfs-mounting AIX fs from linux ramdisk client



On Wed, Jun 06, 2007 at 05:20:41PM +0300, Zvi Bar-Deroma wrote:

Hi Zvi
there is new redbook on NFS
it covers some AIX/linux peculiarities in mounts

Hope this helps


Hi,

Please consider the following scenario:


We're trying to build a ramdisk for Debian Linux that boots root from an
NFS filesystem. The NFS server is an AIX 5.3 machine. Linux uses
statically linked nfs client (called nfsmount, comes with klibc-utils
that are used for ramdisks construction on debian, by initramfs-utils
package).

When the ramdisk tries to mount the required fs from the aix server
Trying to mount the fs by the ramdisk fails after a long timeout. Using
the same "nfsmount" from a running (not ramdisk) linux system to mount
an AIX fs, fails exactly as with the ramdisk case.
Regular "mount -t nfs ..." works fine, but requires the use of
dynamically linked executables which is undesirable for us.

When the server is a linux system (same physical machine as the client),
"nfsmount" succeeds using a running system. We did not have the chance
to try with 2 different machines, therefore we couldn't have tried to
use "nfsmount" from "ramdisk" with a linux NFS server.

We tried a suggestion from
http://www.groupsrv.com/linux/about105785.html
at the bottom of the page, where similar scenario of ubuntu ramdisk trying
to mount AIX-hosted NFS is treated. They solved it by mounting with "-o
nolock,proto=tcp" options. In our case that means "-o nolock,tcp".
This didn't help. We have also tried changing the block sizes, but this
didn't help either.

Any ideas how solve the problem (or at least, how to get more
information for solving) ?

We'd appreciate your assistance,
/Zvika



Relevant Pages

  • Re: Diskless NFS mounts weirdness
    ... If the md-based /var is only needed until the nfs /var is mounted, ... Yes, the root partition is read-only, therefore the ramdisk. ... You can set the size of the memory disk in rc.conf. ... > Now this is wierd - how can you have to mounts on the same mount point? ...
    (freebsd-questions)
  • nfs-mounting AIX fs from linux ramdisk client
    ... We're trying to build a ramdisk for Debian Linux that boots root from an NFS filesystem. ... Linux uses statically linked nfs client. ... Trying to mount the fs by the ramdisk fails after a long timeout. ...
    (AIX-L)
  • Re: Linux On-Demand Network Access (LODNA)
    ... >>differs from NFS. ... >mount an NFS partition other than listing it in the ... >then changing fstab still requires root access. ... >3) No need for root privileges when choosing what to ...
    (Linux-Kernel)
  • nfs warning: mount version older than kernel ?
    ... I use nfs mount it in Debian sarge ... # Common options for cpio and tar ... # Bourne Shell Options ...
    (Ubuntu)
  • 700 / 10.20 / PHNE_28886 umount: cannot access nfs3-specific umount command
    ... I am trying to mount an NFS share exported from a Linux system. ... umount all working NFS mounts on the system. ...
    (comp.sys.hp.hpux)