barry's picture

my system has 1 ssd 860gb for main system files, then I have 4 more drives in the system. I would like to span the storage files across the 4 drives, but during install I do not see an option to use all drives for the install.? stumped on how to make this happen. Please need so guidence to span across al drives.

Jeremy Davis's picture

By default, TurnKey will install to the first drive it finds. If you select manual partitioning, then you should be able to select the specific drive that you install the root system to. So long as you use the LVM option, then you can easily extend the filesystem to the additional drives later. If you already have the system installed, but without LVM, then unless you've done much on it, it's possibly easier to just reinstall. Although it should be possible to migrate to LVM without a clean install (although I've never done it and not 100% sure of the process).

Once you have installed (provided that you use LVM), then you can add the disks as "physical volumes" (PVs). Then you can extend the root filesystem to span across the additional drives as noted in this (old but still relevant) blog post. The blog is explicitly aimed at extending the root filesystem of a VM, however the LVM instructions apply equally to a system installed directly on bare metal.

Alternatively, if you only wish to use the additional drives for a specific filesystem location (rather than just adding it to the root storage), then you can create a new "volume group" (VG) and then "logical volume" (LV). You can create a filesystem on the new LV, then mount that to the desired filesystem location. To make it permanent, add the new LV to the fstab file as well.

I know I haven't provided a ton of specifics or detail, but hopefully that's enough to at least get you started. If you have any issues, please ask and I'll do my best to head you in the right direction.

barry's picture

Thanks got it all figuard out, not hard once you know how.....

Jeremy Davis's picture

I agree that once you know it's not that hard at all, but without a few specific (jargon) terms, then it could be quite tricky to find the relevant info. Good luck with it all.

Add new comment