I was not aware when building the ClearOS 7 server exactly how everything was stored. For instance I configured /etc for 27GB and /home for 750 GB.
I configured the Flexshare and windows and linux clients can access, however I quickly ran out of room in /etc. I was looking at the community and found the FlexshareDirCustom= variable in /etc/clearos/flexshare.conf so I configured it for "/home/flexshare/shares/" and restarted samba.
I now have an option when creating Flexshares to create the directory in /home/flexshare/shares/, however that is not working and defaults to /var/flexshare/shares/. I went ahead and created the /home/flexshare/shares/ directory via the command line and of course they are owned by root.
Anyone know if this should work and/or the permissions needed for owner/group. Looking at getfacl the permissions are the same.
I configured the Flexshare and windows and linux clients can access, however I quickly ran out of room in /etc. I was looking at the community and found the FlexshareDirCustom= variable in /etc/clearos/flexshare.conf so I configured it for "/home/flexshare/shares/" and restarted samba.
I now have an option when creating Flexshares to create the directory in /home/flexshare/shares/, however that is not working and defaults to /var/flexshare/shares/. I went ahead and created the /home/flexshare/shares/ directory via the command line and of course they are owned by root.
Anyone know if this should work and/or the permissions needed for owner/group. Looking at getfacl the permissions are the same.
In Flexshare
Share this post:
Accepted Answer
FlexshareDirCustom is probably best avoided. Can you check if you have a /store and any space under it? If not, probably the best way out is to bind mount /home/flexshare/shares/ into /var/flexshare/shares/. See the Storage Manager Technical Guide for some background reading, but you can do the bind mounts directly in the Storage Manager app. Note stop Windows Networking and move all your folders from under /var/flexshare/shares/ to /home/flexshare/shares/ before you do the bind mount or they will disappear and the disk space will be lost. If that happens, just unmount the bind mount and the files will reappear. If you do this then all your flexshares will appear to be under both /home/flexshare/shares/ and /var/flexshare/shares/ at the same time but, in reality, the files will only exist once.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »