Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I don't see any points on doing so, you want a Volume Group that contains both SATA and SSD, that's possible.

Just create multiple PVs, with pvcreate /dev/partition_name

And create a volume group that use those PVs, with vgcreate

And do the partition of that VG.

share|improve this answer

LVM doesn't care what the underlying block devices are so you can mix any physical devices, or even software raid devices and it just works.

share|improve this answer
    
Can LVM arrange that data often accessed is put on SSD and data rarely accessed is in hard disk? –  Jim Thio Jan 24 '13 at 10:14
    
As far as I know, no. LVM just treats a Volume Group as a contiguous block of space and doesn't care what the underlying physical devices are. –  StarNamer Jan 25 '13 at 10:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.