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 may be 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:
mdadm –assemble –verbose /dev/md1 /dev/sdi /dev/sdm
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 partitioning given the size limitations of fdisk…