Reference

HDD Sizing, disk space and partitioning

By 13th May 2013October 8th, 2020No Comments

Sonassi 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

100GB 200GB 400GB
Domains 30G 71G 153G
MySQL 10G 23G 51G
Backups 33G 79G 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

800GB 1600GB 3200GB
Domains 316G 643G 1298G
MySQL 105G 214G 432G
Backups 351G 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