vic icon indicating copy to clipboard operation
vic copied to clipboard

Add CIFS shared volumes

Open tschwaller opened this issue 7 years ago • 0 comments

User Statement:

As an administrator I would like to use CIFS shared volumes similar to what you can do with NFS shared volumes.

Details: With a command like

vic-machine-linux create –volume-store=nfs0-1/test:nfs

you can create NFS shared volumes (#2303, #3622). A blog article about this feature is also available here. The same should be possible with CIFS shared volumes.

With Docker using the CIFS Docker Volume Driver you can use a command like the following to achieve this.

docker volume create --driver local --opt type=cifs --opt device=//server/path/to/share \      
     --opt o=username=myuser,password=mypw,file_mode=0777,dir_mode=0777 \               
     --name cifs_volume  

For VIC it is necessary to include these options in a similar fashion.

Acceptance Criteria: Attach a CIFS shared volume using a Windows Share and also a Linux Samba share and test it is working as expected.


bug2201004

tschwaller avatar Nov 22 '17 19:11 tschwaller