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/volume_ams3_01/ directory both have private networking enabled and can ping each other.

I created a directory /mnt/volume_ams3_01/data I create a symlink to the directory in /mnt ln -s /mnt/volume_ams3_01/data /mnt/dd

What I want is to make a samba share of /mnt/dd and then mount it on number 2 via cifs


[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 ???


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!