VirtualBox

Ticket #5295 (new defect)

Opened 4 years ago

Last modified 4 years ago

Shared folders cannot be exported via NFS

Reported by: moppel Owned by:
Priority: major Component: guest additions
Version: VirtualBox 3.0.10 Keywords: mount nfs exports shared folder nohide
Cc: Guest type: Linux
Host type: other

Description

192.168.0.1: virtual maschine with additional mounted ext3 and vboxsf partition (shared folder) 192.168.0.2: any extern PC or other, with need to access of the shared folder of the virtual maschine

Commands on the extern PC: "mount -t nfs 192.168.0.1:/mnt/ext3 ..." works well. "mount -t nfs 192.168.0.1:/mnt/shared-folder ..." does not work. (mount.nfs access denied by server while mounting 192.168.0.1:/mnt/shared-folder)

Configuration files on 192.168.0.1 (linux virtual maschine): /etc/fstab: ... /dev/hda3 /mnt/ext3 ext3 rw,nodev 0 2 vboshare /mnt/shared-folder vboxsf rw,nodev 0 2

/etc/exports: /mnt/ext3 192.168.0.2(rw,async,nohide) /mnt/shared-folder 192.168.0.2(rw,async,nohide)

/etc/hosts.allow: portmap: 192.168.0.0/255.255.255.0 mountd: 192.168.0.0/255.255.255.0

Command "df -h" on the virtual maschine with shared folder: ... /dev/hda3 2,3G 68M 2,1G 4% /mnt/ext3 vboshare 200G 43G 157G 22% /mnt/shared-folder

The issues are checked with 32-bit and 64-bit virtual maschines debian 4.0, debian 5.0 and ubuntu 8.04. Because the problem not occurs with similar mounted ext3 partitions, it seems, the problem is connected with vboxsf partitions = shared folders.

Change History

comment:1 Changed 4 years ago by moppel

Host type: Debian Lenny 64-Bit

Guest type: Debian Lenny 64-Bit

comment:2 Changed 4 years ago by frank

  • Version changed from VirtualBox 2.2.4 to VirtualBox 3.0.10
  • Summary changed from mount -t nfs ... of shared folders does not work to Shared folders cannot be exported via NFS

Confirmed with VBox 3.0.10. When using an nfs-kernel-server, the server wouldn't start with exportfs: Warning: /foo does not support NFS export. So some extension is probably not properly implemented.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use