You basically have two possibilities:
1) move the root fs on the M.2 disk, which will give you much higher
system responsiveness compared to the mechanical disks; however, any
data/application installed on the HDD will be slow as always;
2) configure lvmcache [1] for using the M.2 disk as a read-only
(writethrough) caching device for the mechanical disks, which will give
you somewhat lesser system responsiveness but *any* cache-friendly
application will be accelerated from the M.2 disk.
[1] http://man7.org/linux/man-pages/man7/lvmcache.7.html
Regards.
Il 12-05-2017 18:21 Georges Giralt ha scritto:
Hello guys,
I've an Ubuntu machine with two SATA mechanical drives on software raid
1.
This md is the sole PV of the LVM installation.
As the mainboard has been changed recently, it has an M.2 plug. And
I'm been offered a 128 GB M.2 NGFF card.
So far so good.
Question : Will I gain something adding the M.2 card as a second PV on
my LVM setup and moving the system LV to it ?
What are your experience on the subject ?
Many thanks in advance for your advice !
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/