This is a cookbook that makes it easy to create/attach EBS volumes, and create filesystems and RAID arrays on them.
Add recipe[ebs]
to your run list, and configure these attributes:
Create a RAID 10 across four 10GB volumes, format it with XFS, and mount it on
/data
.
{
:ebs => {
:raids => {
'/dev/md0' => {
:num_disks => 4,
:disk_size => 10,
:raid_level => 10,
:fstype => 'xfs',
:mount_point => '/data'
}
}
}
}
Create a 10GB volume, format it with XFS, and mount it on /data
.
{
:ebs => {
:volumes => {
'/data' => {
:size => 10,
:fstype => 'xfs'
}
}
}
}