The Storage Manager can't help in this situation. Each app can specify a separate storage area (e.g. Web Proxy on store_01, Flexshare on store_02), but splitting up storage within the app needs to be a feature of the app itself. For most apps, that feature is not required in practice, but Flexshare is one example where split storage scenarios like yours are not unusual. Believe it or not, Flexshare already has this ability -- it is an undocumented configuration option. In /etc/clearos/flexshare.conf, you can specify custom storage paths by adding the FlexshareDirCustom
parameter. Here's an example:
The hack works just fine, but the custom directories behave in a different way. You have to add an entry for each Flexshare that you want on /store_02. If the FlexhshareDirCustom behaved the same way as the default share, then you would only need one entry for store_02 and you could then specify which store point to use for each Flexshare.
I added an entry to the tracker on this topic