HDD Sizing, disk space and partitioning

Sonassi will partition disks with the following proportions.

These partitions are of static proportion, regardless of disk size

/                30G                    Root filesystem (for host OS and node OS)
swap             2.5G                   Swap partition
logs             2G                     Local log file storage
config           0.5G                   MageStack configuration storage
total            35G                    Total reserved capacity

These partition sizes will vary dependant on the HDD capacity available

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

disk_size is generally around 93% of the overall storage capacity, as some space has to be 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

100GB 200GB 400GB
Domains 30G 61G 134G
MySQL 10G 21G 45G
Backups 33G 67G 149G

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

800GB 1600GB 3200GB
Domains 282G 643G 1298G
MySQL 94G 214G 432G
Backups 313G 715G 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

6400GB
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

6400GB
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

1200GB
Domains 5225G
MySQL 1741G
Backups 5806G

Download the MageStack disk calculator in Excel format