HDD Sizing, disk space and partitioning

MageStack will partition disks with the following proportions.

These partitions are of static proportion, regardless of disk size

/                20G                    Root filesystem (for host OS and node OS)
swap             3G                     Swap partition
logs             1G                     Local log file storage
config           0.5G                   MageStack configuration storage
total            25.5G                  Total reserved capacity

These partition sizes will vary dependant on the HDD capacity available

capacity (c)     disk_size - 25.5       Usable capacity
domains  (d)     9c / 22                Document root storage
mysql    (m)     3c / 22                MySQL & SOLR storage
backups  (b)     5c / 11                Local backup storage

The remaining space is utilised for meta-data storage and LVM snapshot storage.

2 Drive configuration examples

In a 2 drive configuration, 2 drives are used for the entire solution storage in a RAID 1 array.

The default static partitions plus

domains   30G
mysql     10G
backups   33G

The default static partitions plus

domains   71G
mysql     23G
backups   79G

The default static partitions plus

domains   153G
mysql     51G
backups   170G

4 Drive configuration examples

In a 4 drive configuration, 2 drives are dedicated to backup storage and 2 drives are used for solution storage; comprised of two separate RAID 1 arrays.

The default static partitions plus

domains   316G
mysql     105G
backups   351G

The default static partitions plus

domains   643G
mysql     214G
backups   715G

The default static partitions plus

domains   1298G
mysql     432G
backups   1442G

6 Drive configuration examples

In a 8 drive configuration, 4 drives are dedicated to backup storage and 4 drives are used for solution storage; comprised of two separate RAID 1 arrays.

The default static partitions plus

domains   2607G
mysql     869G
backups   2897G

12 Drive configuration examples

In a 12 drive configuration, 6 drives are dedicated to backup storage and 6 drives are used for solution storage; comprised of two separate RAID 1 arrays.

The default static partitions plus

domains   3916G
mysql     1305G
backups   4351G

16 Drive configuration examples

In a 16 drive configuration, 8 drives are dedicated to backup storage and 8 drives are used for solution storage; comprised of two separate RAID 1 arrays.

The default static partitions plus

domains   5225G
mysql     1741G
backups   5806G

Download the MageStack disk calculator in Excel format