[linux-lvm] Mixing different devices

Georges Giralt georges.giralt at free.fr
Fri Apr 24 14:43:11 UTC 2015


Hello guys,
I've a laptop which has a plain traditional HDD with 4K blocks.
And this laptop is fitted with an M.2 NGFF SSD device of 128GB. It is a 
pity to use this SSD only as cache.
So I wonder if I can make a VG comprising the two devices (one PV per 
device) and still retain the 4K blocks for the hard disk and the TRIM 
and 512bytes sector size of the SSD.
And if the answer is yes, what should I be aware of ? Or what options 
should i use during the pvcreate/vgcreate steps ?
Thanks for your help  !
P.S. the HDD is GPT partitioned and the SSD is not so all options are 
possible.

-- 
If the only tool you have is a hammer, you tend to see every problem as a nail.
                 Abraham Maslow
A British variant :
Any tool can serve as a hammer but a screwdriver makes the best chisel.




More information about the linux-lvm mailing list