Skip to contentSkip to conversation

Mixing different devices

linux-lvm Georges Giralt 1 participant 1 message Apr 24, 2015

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
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.