c_hockland
asked on
how to create a linux export
I have one windows server and 2 linux servers.
I have created a shared folder on windows server ( server A )
I have mounted the shared folder ( cifs.mount ) on linux server ( Server B ) /mnt
I want to be able to access the /mnt from Server B ( the other linux server ) and be able to read / write.
How can i do this ? Export the /mnt ? Any idea or examples would be appreciated.
I have created a shared folder on windows server ( server A )
I have mounted the shared folder ( cifs.mount ) on linux server ( Server B ) /mnt
I want to be able to access the /mnt from Server B ( the other linux server ) and be able to read / write.
How can i do this ? Export the /mnt ? Any idea or examples would be appreciated.
You could use NFS to export the /mnt on the linux server that mounted the folder from windows server, and on the other linux server you can use nfs to mount the exported folder.
Example:
server A mount the windows folder using samba client to /mnt
server A then exports the /mnt folder
server B (the 2nd linux server) uses NFS to mount the exported folder from server A.
What is your linux servers' platform?
below link might help you with commands / steps for NFS
Example:
server A mount the windows folder using samba client to /mnt
server A then exports the /mnt folder
server B (the 2nd linux server) uses NFS to mount the exported folder from server A.
What is your linux servers' platform?
below link might help you with commands / steps for NFS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1. Install smbclient (if not already done):
sudo apt-get smbclient smbfs
2. Test access to server A
smbclient –L servera –U userid
3. Create a mount point folder
mkdir /mnt/sharename
4. Now mount the share to new mount point
mount –t cifs –o username=user,password=the