I am attempting to permanently mount a media folder I created in the NAS so that a Virtualization Station 3 Ubuntu VM can read and write to that folder.
- I received my QNAP TS-451 a little over a week ago.
- I installed 16gb RAM into the QNAP and a single 8TB hard drive
- I connected both network cables to the switch on my network
- I created a Media folder at the root of the NAS file structure (/Media)
- I created a user (smith) and gave it read/write access to the /Media share in my NAS
- I decided not to use the already provided Multimedia folder because I want to match an existing folder structure
- I set up Plex in the QNAP to read from the media folder (proving that it works)
- I can access the /Media share through my network in Windows and OSX (after prompt for un/pw)
- I don't recall doing anything special to expose the folder on the network, or I don't remember
- I created a Lubuntu VM (because it's light) using the QNAP Virtualization Station 3 software
- I created a virtual switch for the VM so I can access the internet from the VM while also accessing the NAS
- I can reach the media share on the NAS through the Ubuntu VM. The share I want to get to appears in my VM network as
Code: Select all
smb://matrix.local:445/Media
Code: Select all
$ pwd
/run/user/1000/gvfs/smb-share:server=matrix.local,share=media
- I also have a Windows 7 VM and can mount the share to a drive letter
- I created a folder to hold the mount at /media/Media with folder permissions of chmod 777
Code: Select all
$ sudo chmod 777 /media/Media
Code: Select all
$ sudo chmod 600 /etc/samba/user
Code: Select all
# /etc/samba/user
username=smith
password=PASSWORD
Code: Select all
# /etc/fstab
//matrix.local /media/Media cifs credentials=/etc/samba/user,isocharset=utf8,sec-ntlm,vers=3.0,noperm 0 0
- When I attempt to mount with
Code: Select all
$ sudo mount /media/Media
Code: Select all
mount error (95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I thought it would be simple to mount a QNAP media folder in a QNAP vm. But no.
I am at a loss and any direction would be helpful.
Regards,
Iain