VirtualBox

Opened 14 years ago

Last modified 8 years ago

#5295 reopened defect

Shared folders cannot be exported via NFS

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

Description (last modified by aeichner)

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 (4)

comment:1 by moppel, 14 years ago

Host type: Debian Lenny 64-Bit

Guest type: Debian Lenny 64-Bit

comment:2 by Frank Mehnert, 14 years ago

Summary: mount -t nfs ... of shared folders does not workShared folders cannot be exported via NFS
Version: VirtualBox 2.2.4VirtualBox 3.0.10

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.

comment:3 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

comment:4 by Alfred M. Szmidt, 8 years ago

Resolution: obsolete
Status: closedreopened

Same occurs with VirtualBox 5.1.4.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use