VirtualBox

15 年 前 建立

8 年 前 更新

#5295 reopened defect

Shared folders cannot be exported via NFS

回報者: moppel 負責人:
元件: guest additions 版本: VirtualBox 3.0.10
關鍵字: mount nfs exports shared folder nohide 副本:
Guest type: Linux Host type: other

描述 (由 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.

更動歷史 (4)

comment:1 15 年 前moppel 編輯

Host type: Debian Lenny 64-Bit

Guest type: Debian Lenny 64-Bit

comment:2 15 年 前Frank Mehnert 編輯

摘要: mount -t nfs ... of shared folders does not workShared folders cannot be exported via NFS
版本: 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 9 年 前aeichner 編輯

描述: 修改 (差異)
狀態: newclosed
處理結果: obsolete

Please reopen if still relevant with a recent VirtualBox release.

comment:4 8 年 前Alfred M. Szmidt 編輯

狀態: closedreopened
處理結果: obsolete

Same occurs with VirtualBox 5.1.4.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette