Перейти к содержимому

Vmware shared folders где искать в linux

  • автор:

VMware и Shared Folders

Под FC4 поставил VMware 5 и на нее Win XP. В Shared Folders указал, какие папки хочу видеть под виндой. Но ни фига не вижу.
Как правильно задать папки, чтоб видеть их и под VMWare/winXP и под FC4, т.е. чтоб можнобыло данными обмениваться между операционками.

senjy
08.11.05 16:46:52 MSK

Re: VMware и Shared Folders

Просто настрой на FC самбу, и забудь шаредфолдерс как страшный сон.

no-dashi ★★★★★
( 08.11.05 19:03:39 MSK )

Re: VMware и Shared Folders

У меня в VMWare5 Shared Folders отлично работает. Посмотрите, чтобы шары были включены и были права на чтение у запускающего пользователя. Искать сами Shared Folders в Network Neighbourhood -> .host Shared folders. Возможно, следует поставить vmware tools

phoenix ★★★★
( 10.11.05 13:36:24 MSK )
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.

Похожие темы

  • Форум VMware и shared folders (2006)
  • Форум VMWare и Shared Folders (2004)
  • Форум Courier IMAP shared folder (2005)
  • Форум VirtualBox. Не работает shared folders в postreus (2016)
  • Форум Ubuntu на VMWare не видит Shared Folders (2013)
  • Форум dovecot shared folder (2010)
  • Форум Dovecot SHARED folders (2012)
  • Форум Shared folders in VirtualBox (2008)
  • Форум как разрешить vmware смотреть в инет? (2006)
  • Форум Vmware, сеть, русские имена. (2006)

Vmware shared folders где искать в linux

You are using an outdated browser. Please upgrade your browser to improve your experience.

expand-card-line
calendar-line —>

After you enable a shared folder, you can mount one or more directories or subdirectories in the shared folder to any location in the file system in addition to the default location of /mnt/hgfs .

Depending on the kernel version of the Linux guest operating system, VMware Tools uses different components to provide shared-folder functionality. In Linux kernels prior to version 4.0, the VMware Tools services script loads a driver that performs the mount. Linux kernels 4.0 and later use a FUSE file system component.

You can use different mount commands to mount all shares, one share, or a subdirectory within a share to any location in the file system. The commands also vary depending on the Linux-kernel version of the guest.

Table 1. Mount Command Syntax

Linux Kernel Prior to 4.0 Linux Kernel 4.0 and Later Description
mount -t vmhgfs .host:/ /home/user1/shares /usr/bin/vmhgfs-fuse .host:/ /home/user1/shares -o subtype=vmhgfs-fuse,allow_other Mounts all shares to /home/user1/shares
mount -t vmhgfs .host:/foo /tmp/foo /usr/bin/vmhgfs-fuse .host:/foo /tmp/foo -o subtype=vmhgfs-fuse,allow_other Mounts the share named foo to /tmp/foo
mount -t vmhgfs .host:/foo/bar /var/lib/bar /usr/bin/vmhgfs-fuse .host:/foo/bar /var/lib/bar -o subtype=vmhgfs-fuse,allow_other Mounts the subdirectory bar within the share foo to /var/lib/bar

For Linux kernel prior to version 4.0, you can use VMware-specific options in addition to the standard mount syntax. Enter the command /sbin/mount.vmhgfs -h to list the options.

For Linux kernel version 4.0 or later, enter the command /usr/bin/vmhgfs-fuse -h to list the available options.

Note: The mount can fail if shared folders are not enabled or if the share does not exist. You are not prompted to run the VMware Tools vmware-config-tools.pl configuration program again.

Re: VMware и shared folders

vmware tools установлена? (не совсем уверен, что она необходима для этого). В сетевом окружении .host есть?

phoenix ★★★★
( 19.02.06 19:58:07 MSK )
Ответ на: Re: VMware и shared folders от phoenix 19.02.06 19:58:07 MSK

Re: VMware и shared folders

> В сетевом окружении .host есть? Имя компьютера - win Рабочая группа - HOME Сетевое окружение>Вся сеть>Microsoft Windows Network>HOME>Win Там: Назначенные задания Принтеры и факсы

anonymous
( 19.02.06 20:17:14 MSK )

Re: VMware и shared folders

а у меня другая проблема — не видны в shared folders русские названия файлов и папок (

anonymous
( 20.02.06 08:05:17 MSK )
Ответ на: Re: VMware и shared folders от anonymous 19.02.06 20:17:14 MSK

Re: VMware и shared folders

>Сетевое окружение>Вся сеть>Microsoft Windows Network>HOME>Win Там должна быть папка Вся сеть>Shared Filders а не WinNEt ( это уже если через самбу . )

SI ★★☆☆
( 21.02.06 12:37:58 MSK )
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.

Похожие темы

  • Форум VMware и Shared Folders (2005)
  • Форум Вопрос по разграничению прав в Самбе (2013)
  • Форум Vmware и samba (2015)
  • Форум VMware vmmon (2004)
  • Форум FTP — безопасность и домашние папки (2015)
  • Форум Samba шара в Debian (2014)
  • Форум Проблемы с samba (2010)
  • Форум Правильная сборка rustc (2015)
  • Форум samba, показывает папки вместо файлов (2017)
  • Форум vmware и shared folder (2003)

VMWARE + LINUX: How to share folder between host and VM

This is a quick article about a recurring question: How can I share a local directory with my VMware Virtual Machine using a Linux Distribution?

PRE-REQUISITE

To make this tutorial possible, first of all you need be sure you have installed vmtools drivers. In case you are not sure, please execute:

### UBUNTU OR DEBIAN DISTRIBUTION ###
$ sudo apt-get install open-vm-tools open-vm-tools-desktop
$ sudo apt-get install build-essential module-assistant linux-headers-virtual linux-image-virtual && dpkg-reconfigure open-vm-tools### CENTOS DISTRIBUTION ###
$ sudo yum install open-vm-tools open-vm-tools-desktop
$ sudo yuminstall build-essential module-assistant linux-headers-virtual linux-image-virtual && dpkg-reconfigure open-vm-tools

STEP-BY-STEP

First we need to share a local folder using your VMware. Go to VM menu, after Settings > Options > Shared Folders and click on ‘Always enabled’. After, click on ‘Add…’ button and choose your local folder to share it.

In order to confirm if your local selected folder was really shared, run the below command and check if your folder will be listed.

vmware-hgfsclient

After that, create a directory inside /mnt/hgfs. Thus, open your terminal in order to create a directory called ‘shared’ and execute the following command.

mkdir /mnt/hgfs/shared

Now, let’s share the ‘shared’ directory we just created.

sudo vmhgfs-fuse .host:/shared /mnt/hgfs/shared -o allow_other -o uid=1000

That’s it! It is sharing and you can check it by clicking on Activities > Files > Other locations > Computer or running the commands:

$ cd /mnt/hgfs/shared$ ls -lia

If you have experiencing some issues, please restart your VM and check again if the folder is shared following the above commands.

Keeping Sharing After VM Re-start

The procedure instructed above work until the next VM restart. Thus, if you want to persist this change, please follow as instructed below.

You must have administrator permission to edit /etc/fstab. In this example, we will use nano editor.

sudo nano /etc/fstab

If you do not have a section reserved to shared folders, please add this instructions at the end of the file.

# Use shared folders between VMWare guest and host
.host:/shared /mnt/hgfs/shared fuse.vmhgfs-fuse defaults,allow_other,uid=1000 0 0

After edit it, press CTRL + O simultaneously and press ENTER to confirm the changes. Next, press CTRL + X to exit nano editor.

Now you can turn your VM off or simply restart it without lose the sharing.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *