Community Forum

Resolved
0 votes
The Storage Manager is currently available in the (beta) Amazon EC2 ClearOS Professional builds, but the app can be installed and implemented on any ClearOS system. If you want to start using the Storage Manager on an existing ClearOS system, the following technical guide walks through the details:

Storage Manager Technical Guide

Please let us know if you have any questions or run into any problems.
Thursday, April 25 2013, 05:04 PM
Share this post:
Responses (13)
  • Accepted Answer

    Monday, July 07 2014, 08:15 PM - #Permalink
    Resolved
    0 votes
    Marcel van Leeuwen wrote:
    Is it possible to use network storage?

    Only if it's almost always available. Many apps require reliable storage and bad things happen when storage is offline - example apps:

    - Squid Web Proxy
    - System Database
    - Zarafa Mail Stores

    On the flip side, regular file serving via Samba/Flexshare would do fine with network storage. It's not the end of the world if the network store is offline for file serving. Since this is a common scenario, we have considered adding support for two types of storage. That feature is for Storage Manager 2.0 though.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 07 2014, 07:54 PM - #Permalink
    Resolved
    0 votes
    Peter,

    Is it possible to use network storage?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 07 2014, 07:32 PM - #Permalink
    Resolved
    0 votes
    Hi Marcel,

    We have rolled out the solution on quite a few customer systems and our own dog food servers. We'll make it accessible in the ClearOS 7 install wizard.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 02 2014, 06:52 PM - #Permalink
    Resolved
    0 votes
    Out of interest what is the status of this project?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 15 2013, 07:22 PM - #Permalink
    Resolved
    0 votes
    Peter,

    There are more widgets witch are scrunched.., see this:

    http://img849.imageshack.us/img849/5439/ojk5.png

    I saw you added a report to the tracker so maybe you can fix this too!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, July 02 2013, 07:14 PM - #Permalink
    Resolved
    0 votes
    Hi Marcel,

    That's a bit of a concern that the bind did not happen on its own. Hmmm.

    As for the model, I'll make sure that gets cleaned up. The information is coming from drivers via /proc or /sys, so it's not always consistent. The widgets in your screenshots are a little too scrunched, so we'll need to do something about that too.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 28 2013, 07:34 PM - #Permalink
    Resolved
    0 votes
    Peter, If you take a look at the picture the RAID array have a weird model name (root?). It should be nice if there is something like "software raid array".
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 28 2013, 07:31 PM - #Permalink
    Resolved
    0 votes
    okay did:


    mount -o bind /store/flexshare/shares/ /var/flexshare/shares/


    now the bind is working! Not sure why it is not working via fstab.., Maybe i have to reboot but this is not possible at the moment. I'm creating a second store location (mdadm RAID 1 array).
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 28 2013, 06:18 PM - #Permalink
    Resolved
    0 votes
    Thanks Peter much appreciated!

    I'm now testing the storage manager. I've read the technical guide but for some reason the binds (i think) are not working. When i create a Flexshare it's not created on my store array which consists of 3 2TB drives in RAID 5. Where do i have to look to resolve this issue? I hope you can answer the question before you go celebrate your weekend so i can test this weekend. :)




    #
    # /etc/fstab
    # Created by anaconda on Tue Jun 18 19:52:57 2013
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    /dev/mapper/vg_voyager-lv_root / ext4 defaults 1 1
    UUID=aa54a5e5-6514-452e-aefc-e164f5bdbd7c /boot ext4 defaults 1 2
    /dev/mapper/vg_voyager-lv_home /home ext4 defaults 1 2
    /dev/mapper/vg_voyager-lv_swap swap swap defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    # Storage engine - start
    /store/flexshare/shares /var/flexshare/shares none bind,rw 0 0
    # Storage engine - end
    /dev/md127 /store ext4 defaults 1 2


    http://img96.imageshack.us/img96/130/bqy.png
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 28 2013, 02:45 PM - #Permalink
    Resolved
    0 votes
    Hi Marcel,

    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:

    FlexshareDirCustom=movies:/store_02/movies|music:/store_02/music

    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 :-)
    http://tracker.clearfoundation.com/view.php?id=1204
    The reply is currently minimized Show
Your Reply