Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
@JimThio No, LVM tries to minimize "fragmentation", even on ssds (although in the case of the LVM it is not suboptimal, because there much fewer "files" (volumes) as in an FS and they change relatively seldom their size). But you can create cache logical volumes ( man7.org/linux/man-pages/man7/lvmcache.7.html ), which enables you to cache a slower HDD with a faster SSD. – peterh Aug 1 '15 at 1:30

Your Answer


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.