Question
smaba/cifs share between droplets
Can’t two droplets mount each others filesystems ?
it should be Straight forward
I have two ubuntu droplets
“number 1”
and “number 2”
number 1 has a volume attached and mounted in the /mnt/volumeams301/ directory
both have private networking enabled and can ping each other.
I created a directory /mnt/volumeams301/data
I create a symlink to the directory in /mnt
ln -s /mnt/volumeams301/data /mnt/dd
What I want is to make a samba share of /mnt/dd
and then mount it on number 2 via cifs
smb.conf:
[sambashare]
comment = Samba on Ubuntu
path = /mnt/dd
read only = no
browsable = yes
on “number 2”
mkdir -p /mnt/data
mount -t cifs //<private ip of number 1>/dd /mnt/data -o username=root, password =password
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
What is wrong ???