[X] involves the lvm stuffs
[X] mdadm setup and command
mdadm -v --create -c 256 /dev/md0 --level=0 --raid-devices=2 /dev/xvdf /dev/xvdg mdadm: chunk size defaults to 512K mdadm: Defaulting to version 1.2 metadata mdadm: array /dev/md0 started.
[X] next is physical volume
pvcreate /dev/md0 Physical volume "/dev/md0" successfully created
[X] Next is volume group
vgcreate vg0 /dev/md0 Volume group "vg0" successfully created
[X] Next is logical volume
lvcreate -n data -l 100%FREE /dev/vg0 Logical volume "data" created
[X] format the disk, before using it
mkfs.xfs /dev/vg0/data log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/vg0/data isize=256 agcount=16, agsize=8388480 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=134215680, imaxpct=25 = sunit=128 swidth=256 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=65536, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0
[X] mount, fix permission and enjoy(warm up disk)
mount /dev/vg0/data /data/ dd if=/dev/urandom | pv | dd of=/data/data.zero