linux - Raspbian Wheezy Owncloud and NFS together -


i trying setup file/dlna server on raspberry pi (raspbian wheezy) files shared devices use - android , linux minimum.

i have usb drive decent storage have files. far, had nfs , dlna serving usb drive contents.

recently, installed owncloud. required owncloud data directory owned www-data. have mounted (from fstab) usb drive options rw,user,uid=33,gid=33,mask=007. owncloud worked fine (though slow render contents).

my nfs exports follows:

/owncloud_data/mystuff *(rw,all_squash,anonuid=33,anongid=33,no_subtree_check) 

my shomount -e localhost displays following:

export list localhost: /owncloud_data/mystuff (everyone) 

however, when issue

sudo mount localhost:/owncloud_data/mystuff /my_nfs 

i following error:

mount.nfs: access denied server while mounting localhost:/owncloud_data/mystuff 

i don't understand why. kind of guess because /owncloud_data/mystuff owned www-data. but, nfs-server run root; should not able read data? or missing in regard? dont useful logs in /var/log/messages; tried including --debug all option in nfs config.

i haven't started dlna yet (i have installed minidlna working nfs before installed owncloud).

or, there better solution trying do?

please let me know if need more information in regard.

thanks

i wont tick answer. work around.

the problem if export /owncloud_data/mystuff nfs mount not working. if export /owncloud_data, working fine (along export options have mentioned in original post). mount /owncloud_data/mystuff on client side (though technically can mount /owncloud_data there).

i happy if can explain behaviour , solve export /owncloud_data/mystuff.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -