1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Storage Manager Technical Guide Available
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Storage Manager Technical Guide Available
*
#52301
Storage Manager Technical Guide Available 1 Year, 4 Months ago  
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.
Peter Baldwin
Developer
Posts: 2087
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#52318
Re: Storage Manager Technical Guide Available 1 Year, 4 Months ago  
Thanks Pete! looking forward to giving it a whirl
Tim Burgess
Moderator
Posts: 6604
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#52355
Re:Storage Manager Technical Guide Available 1 Year, 4 Months ago  
Thank you Peter! Also looking forward to test this...
Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
#53844
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
Hi,

I have a feature request for the storage manager.

Is it possible to have more than one place to store my data. I mean /store_01 and for example store_02. I want some Flexshares, system database on a RAID 1 array which is always spinning and the other flexshares (for example movies, music) on a RAID 5/6 or BTRFS array which spin down when not in use. This array could be 10 to 15 HDD large so you can save on electricity when you spin this down overnight.

Is it already possible to this manually? So i can test with this?
Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
#53954
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
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
tracker.clearfoundation.com/view.php?id=1204
Peter Baldwin
Developer
Posts: 2087
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#53965
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
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.

Code:




#
# /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



Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
#53966
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
okay did:

Code:


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).
Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
#53967
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
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".
Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
#54042
Re:Storage Manager Technical Guide Available 1 Year, 2 Months ago  
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.
Peter Baldwin
Developer
Posts: 2087
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#54409
Re:Storage Manager Technical Guide Available 1 Year, 1 Month ago  
Peter,

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



I saw you added a report to the tracker so maybe you can fix this too!
Marcel van Leeuwen
Platinum Boarder
Posts: 1641
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Server: Xeon E3-1275, Intel S1200V3RPL, 16GB, Samsung 840 Pro : ClearOS Professional 6.5 | Storage: Synology RS2414+ : DSM 5.0
 
Go to topPage: 12
  get the latest posts directly to your desktop