nfsv4 directory mount plays hard to get

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

 



Hello,

I'm wondering why a mount of a nfs4 directory exported by a user mode linux image
(hostname n22_uml) at a mount point of the host (hostname n22) doesn't work simply.
Instead I've to specify the parameter "n22_uml:" oncy. After that all subsequent
umount/mounts of that particular file systems works w/o specifying "n22_uml:".

n22 ~ # mount /mnt/nfs/n22_uml
mount.nfs4: No such device
n22 ~ # mount -t nfs n22_uml: /mnt/nfs/n22_uml
mount.nfs: access denied by server while mounting n22_uml:
n22 ~ # mount -t nfs4 n22_uml: /mnt/nfs/n22_uml
n22 ~ # umount /mnt/nfs/n22_uml
n22 ~ # mount /mnt/nfs/n22_uml
n22 ~ # umount /mnt/nfs/n22_uml

The fstab entry at the host system :
n22 ~ # grep nfs /etc/fstab
n22_uml:        /mnt/nfs/n22_uml        nfs4    noauto

The exports file at the UML :
n22_uml ~ # cat /etc/exports 
# /etc/exports: NFS file systems being exported.  See exports(5).

/tmp    n22*(rw,fsid=0,no_subtree_check,no_root_squash)

The host runs 2.6.30.5, the UML  2.6.31-rc8.

-- 
MfG/Sincerely

Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux