I'm running ZM on a VM hosted on WHS - WHS has a large drive that I'd like ZM to use for storing all recordings, so I set up an NFS -- I can access it via File Browser with:
smb:192.168.1.50/sharename/
But I can't figure out how to access the folder via terminal. Is there a better way to do this?
* Note: I cannot just share the HDD via VMWare because it's not a linux drive (leastaways, that's what I think the problem is)
Saving videos to NFS
Awesome! That did work, mostly - I now have the mount in that folder, all visible, but I don't have write access to it for some reason. I've even included the -w flag, but to no avail.agoodm wrote:mkdir /mnt/smbfs
mount -t cifs //192.168.1.50/sharename /mnt/smbfs -o user=username,password=password
Then look in /mnt/smbfs
Any ideas how I can mount with read/write permissions? Again, using smb://192.168.1.50/share works perfect -- has read/write, just can't access it except through file browser
This is the guide I used to set up the NFS:
http://www.mediasmartserver.net/2009/12 ... fs-in-whs/
http://www.mediasmartserver.net/2009/12 ... fs-in-whs/
Mount the smbfs (for the record, you're mounting smbfs with url you've been using, not an nfs) by putting this in your fstab.
credentials file should include two lines
Once that's in the fstab, a "sudo mount /mnt/nameme" should work, and/or it'll come up on reboot.
I'm not sure how vmware deals with shares, as I've been converted to VirtualBox for a while, but VirtualBox works much faster if you use the guest additions and make the host shares accessible to the guest under a different name.
Code: Select all
//server/share /mnt/nameme smbfs credentials=/etc/credentials,uid=www-data,gid=www-data,fmask=0770,dmask=0770 0 0
Code: Select all
username=insertusernamehere
password=insertpasswordhere
I'm not sure how vmware deals with shares, as I've been converted to VirtualBox for a while, but VirtualBox works much faster if you use the guest additions and make the host shares accessible to the guest under a different name.