I'm pretty new to this and have been searching for this a while now..
I need to be able to mount multiple hard drives as "one drive" at /mydata folder. How do i do this as easy as possible in command-line? I need to be able to addd more drives later on if needed.. ;)
Edit: I use Ubuntu 14.04 server testing with vmware atm..
-S
12 Answers
@Ståle Gulbrandsen you can use raid concept. Raid is a data storage virtualization technology that combines multiple disk drive components into a logical unit for the purposes of data redundancy or performance improvement.I Hope that raid will do your needful
2LVM2 is made for this.
sudo apt-get install lvm2
Mark partitions as type 8e linux lvm
Create pv's (physical volumes) on as many physical partitions as you desire.
Add the pv's to a volume group
Create a logical volume on the volume group
Create a file system on the logical volume.
When you add more disk, create the pv's, then extend the vg, lv and file system.