Can't map mounted Linux folder - centos

I shared two folders via NFS on Windows and on CentOS server, then I mounted these two folders to mount point (\mnt\mymount).
Now I can't map creted mounted point on my Windows Server 2012 R2. I used standard Map option for Network drives on Windows. I used string like \centosLexQA1\mnt\mymount in Map wizard.
I can successfully ping CentOS server from my Windows Server 2012 R2 and was able to map Linux share which was mounted to \mnt\mymount.
Could someone please help to resolve the issue?
Thank you in advance,
Anna

Related

Sync a network drive to local drive with samba

I am working on a windows server which has a CentOS8 vm. I need to sync a directory /mnt/test on the CentOS machine with a folder in C:/ or D:/ in windows server. I did a samba share and was able to map the shared folder /mnt/test as a network drive H:/ on the windows machine. Whatever files I write to /mnt/test appear on H:/ . However I want to sync /mnt/test with some folder in local C or D drive since the downstream application can not read network paths.

Get NTFS permissions data from Ubuntu machine

In one domain, we have NTFS file share (Windows Server 2014+ machine) and Ubuntu 16.04 machine.
I have added Ubuntu machine to this domain using Samba. Now I can see Active Directory groups and users and login to Ubuntu machine with domain users.
The task is to get information about NTFS file share permissions to Ubuntu machine programmatically.
Python solutions are preferred, but any advice will be appreciated.

Mounting remote filesystem in Eclipse Che

I'd like to SSH from Eclipse Che to a development server I have setup, to edit code on that dev server. I can see that Che supports SSHing into Che from other machines, but how do I mount via SSHFS or something, a remote directory into Che?
You can do volume mounts in Che - the docs cover it here: https://eclipse.org/che/docs/devops/volume-mounts/index.html
For your scenario you might need to create a mount to your remote server from the server where Che is running then follow the docs instructions to mount that local directory into Che.
Do you really need to mount container FS? What kind of data is to be mounted? If it's just projects, they are backed up on a host file system.

Hyper-V Enhanced Session Mode Does Not Work

I am new to virtual machines so pardon my ignorance.
I have a host machine running Windows Server 2012 R2 and I'm trying to run a VM with Windows 8.1 Enterprise using Hyper-V. I need to be able to use USB devices on the VM.
Please check screenshot for the Hyper-V settings and the VM settings. The VMConnect does not have 'Show Options' to select local resources.
I tried using Remote Desktop Connection to the VM but nothing happens when USB devices are plugged in the host machine.
Not sure what I'm missing here.
Any help in fixing this will be greatly appreciated. Thanks!
Hyper-V Settings
VM Settings
If the USB device you want to use in the VM is a USB memory stick share it with the RDP local resources option as a Drive instead of the trying to replicate the USB port itself.
Eg:
There is a dependency(XRDP) to be installed in order to enable Enhanced Session Mode. Please follow the following steps or watch this video for more clarity.
Visit https://www.youtube.com/watch?v=LS2m6iyG7_M&ab_channel=VikeshYadav
On hyper-v linux machine:
git clone https://github.com/Microsoft/linux-vm-tools
cd linux-vm-tools/ubuntu/18.04/
sudo chmod +x install.sh
sudo ./install.sh
On windows machine:
set-vm -VMName ubuntu -EnhancedSessionTransportType HvSocket
I've got Win8.1 guest system (1 gen VM) and Win10 as host. Tried pretty much everything, but wasn't able to enable Enhanced Mode (simply grayed out all the time), unless I enabled RDP connections in the guest system (Control Panel, Allow remote access to your computer). After this change VMConnect with ability to share local resources appeared on attempt to connect to the VM.
Hope this helps all the people who find this thread while googling.

I can ping my centOS virtual machine but I cant access its shared folders

so this is the setup:
I have a Windows XP installed, VirtualBox and a centOS 6.2 virtual machine.
I installed Samba, and currently, my VM and host Windows are in the same subnet.
I can ping my VM from Windows and vice versa.
I have a created a shared folder via Samba like this:
[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
share modes = yes
*I followed a full tutorial here
My problem now is that, when I try to access such folder like this \192.xx.xxx.xxx\home\share (192.xx.xxx.xxx is the IP address of my VM) from Windows "Run",
Windows can't find it.
P.S. I've turned off my Windows Firewall (although Trend Micro personal firewall is still on)
found the solution, I changed the iptables, and smb.conf to allow my Host IP address to access my guest. Thanks anyway :)