You are not logged in.

#1 2011-03-11 09:17:02

baicai
Member
Registered: 2011-03-10
Posts: 25

virtualbox,mount -t vboxsf share /mnt?

hi,everyone
i use virtualbox and want to mount share file like as "mount -t vboxsf share /mnt".It is OK when i exce this command.
i can see the share file but when i want to open ,it is go wrong,
i find those information in the /var/log/kernel.log:

Mar 11 07:02:04 baicai kernel: ------------[ cut here ]------------
Mar 11 07:02:04 baicai kernel: WARNING: at fs/inode.c:860 unlock_new_inode+0x37/0x40()
Mar 11 07:02:04 baicai kernel: Hardware name: VirtualBox
Mar 11 07:02:04 baicai kernel: Modules linked in: vboxsf vboxvideo drm agpgart nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc ipv6 joydev usbhid hid snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss ohci_hcd snd_mixer_oss snd_intel8x0 ehci_hcd lp ppdev snd_ac97_codec ac97_bus snd_pcm usbcore snd_timer serio_raw button snd parport_pc ac i2c_piix4 e1000 psmouse pcspkr soundcore parport tpm_tis i2c_core vboxguest snd_page_alloc sg evdev tpm tpm_bios ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom ata_piix ahci libahci pata_acpi libata scsi_mod
Mar 11 07:02:04 baicai kernel: Pid: 1059, comm: vim Tainted: G        W   2.6.37-ARCH #1
Mar 11 07:02:04 baicai kernel: Call Trace:
Mar 11 07:02:04 baicai kernel: [<c1044e5d>] warn_slowpath_common+0x6d/0xa0
Mar 11 07:02:04 baicai kernel: [<c1117757>] ? unlock_new_inode+0x37/0x40
Mar 11 07:02:04 baicai kernel: [<c1117757>] ? unlock_new_inode+0x37/0x40
Mar 11 07:02:04 baicai kernel: [<c1044ead>] warn_slowpath_null+0x1d/0x20
Mar 11 07:02:04 baicai kernel: [<c1117757>] unlock_new_inode+0x37/0x40
Mar 11 07:02:04 baicai kernel: [<f80784c5>] sf_instantiate.clone.2+0xb5/0x1f0 [vboxsf]
Mar 11 07:02:04 baicai kernel: [<f807876d>] sf_create_aux+0x16d/0x200 [vboxsf]
Mar 11 07:02:04 baicai kernel: [<f8078832>] sf_create+0x12/0x20 [vboxsf]
Mar 11 07:02:04 baicai kernel: [<c110dbd9>] vfs_create+0x99/0xf0
Mar 11 07:02:04 baicai kernel: [<c110fdca>] do_last+0x5aa/0x630
Mar 11 07:02:04 baicai kernel: [<c1110024>] do_filp_open+0x1d4/0x510
Mar 11 07:02:04 baicai kernel: [<c1028530>] ? do_page_fault+0x0/0x430
Mar 11 07:02:04 baicai kernel: [<c11031a5>] do_sys_open+0x55/0xf0
Mar 11 07:02:04 baicai kernel: [<c1103269>] sys_open+0x29/0x40
Mar 11 07:02:04 baicai kernel: [<c100391f>] sysenter_do_call+0x12/0x28
Mar 11 07:02:04 baicai kernel: ---[ end trace 21b81619bdefa602 ]---


someone  can help me ?

Offline

#2 2011-03-11 15:16:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: virtualbox,mount -t vboxsf share /mnt?

Have you defined the shared folder in the Settings? You can set it to Auto-mount and it will get auto-mounted under /media


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB