http://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/
sudo apt-get install lvm2Format partition with type 8e
sudo pvcreate /dev/sdx1sudo vgcreate storage_pool /dev/sdx1sudo lvcreate -L 1T -n storage storage_poolsudo mkfs -t ext4 /dev/storage_pool/storagemkdir /storage
sudo mount -t ext4 /dev/storage_pool/storage /storage# mount log data and index to lvm partition
/dev/storage_pool/storage /storage ext4 defaults 0 1