Kevin's picture

I have created a partition on a  second harddrive that I will be using  for non Os files like web sites, nas storage etc.

I have not added a volume group but have created a mount point with Disk and Network Filesystems.

Do I need to create volumes in Logical Volume Management, or should I leave everything as I have set it up ?

Jeremy Davis's picture

But personally I'd leave it as is. Ie have your separate HDD mounted as you would normally - not part of the main volume under LVM.

Kevin's picture

Thanks for that I was not to sure, The main concer is that the TURNKEY OS  is running on a 16 gig compact flash card.

Now I can happily move the databases, http folders, etc over to the storage drive and at 1 TB should be enough.


Kevin's picture

I have spoken to a good freind

He has recomended creating Volumes, as this will not lock the new harddrive to the linux install.

this will help with mount and unmount and drive replacment.

Jeremy Davis's picture

But if you go that way, I would create a new volume rather than simply add it to the existing volume. Although as I said before I'm not an expert in this area and I don't completely understand LVM and how it works (I've got a vague understanding).

Kevin's picture

From what I understand after playing around with the partitions,

when the drive is partitioned it has two partitions created.

One for boot and one primary partition, on the primary partition two Volume partitions are creates,

extended and the swap. If you add another harddrive to the system create the Lvm the system sees the two drives as one.

This is not good if you are going to have a raid array on the storage drives and not the Os.

I have been looking around the tiniernet and it is recomended not to use LVM and created the partitions manual.

Jeremy Davis's picture

I'm not sure about LVM in conjunction with RAID but from what I've heard there aren't any issues with it, but I don't have expertise or experience.

Regardless you may find Liraz's LVM post useful.

Kevin's picture

I think that the way the partition is created on a system really depends the type of setup being deployed.

Add new comment