Forums

×

Warning

JUser: :_load: Unable to load user with ID: 258301
Medium
Offline
Resolved
0 votes
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.
Monday, February 15 2021, 06:22 PM
Share this post:

Accepted Answer

Monday, February 15 2021, 06:55 PM - #Permalink
Resolved
1 votes
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.
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Monday, February 15 2021, 09:42 PM - #Permalink
    Resolved
    0 votes
    Thanks for the quick verification. I will plan on using the Storage Minder bind method!
    The reply is currently minimized Show
Your Reply