Call us (425) 818-8252 | (800) 624-9561 x106 |

How to create an Amazon EBS storage device > 1TB

How to create an Amazon EBS storage device > 1TB

Amazon EBS presently has a maximum size limit of 1TB.  With the Wholesalebackup online backup server you can mount multiple 1TB devices and manage your users across them from the administrative web portal.  However, there maybe times when you need to have a larger than 1TB partition, such as when you have a single backup client who utilizes more than 1TB of storage for their backups.

Fortunately you can create a software RAID partition and mount it.  Here is an example of how to mount two 1TB volumes as a single 2TB software RAID0 in Ubuntu (this assumes the RAID was manually created, partitioned, and formatted):

Create a file /etc/init.d/mntmyparitions, which runs automatically at reboot:

depmod -a
modprobe raid0
mdadm –assemble –verbose /dev/md1 /dev/sdi /dev/sdm
mount /jail/home1

Be sure the above file has ‘x’ permission, i.e.
chmod +x /etc/init.d/mntmyparitions

In /etc/fstab then we have

/dev/md1  /jail/home1 ext4 defaults,nobootwait 0 0

We suggest you read up on, and use the nobootwait option with EBS on Amazon EC2.

Note: you’ll probably want to use parted instead of fdisk to do the partioning given size limitations of fdisk…
By | 2017-03-16T20:25:52+00:00 April 12th, 2012|