[linux-lvm] Question on mixing technologies

Georges Giralt georges.giralt at free.fr
Fri Nov 3 08:19:10 UTC 2017

Hello !

Here I'm again.

I've played a bit more with my setup.

I've changed two computers : a server having got a new mainboard with an 
M.2 plug, In it I installed a NVME SSD card.

On this machine, I created a PV onto this device and added this PV to 
the VG holding the system. I then did pvmove to place the lv containing 
/ and /usr to the SSD. Perfect !

The server is really highly responsive and, as the /var and /tmp are 
still on mechanical drives I hope the SSD will be long lived.

On my laptop, the SSD has been used for the / and /usr outside of LVM 
(the laptop had already a GPT disk and I decided not to use LVM at all).

I can't compare the behavior because of the huge difference between the 
two machines, but I'm really happy with both settings.

Thnks for your help.

Le 01/06/2017 à 02:31, Stuart Gathman a écrit :
> On 05/31/2017 02:53 AM, Georges Giralt wrote:
>> I finally had time to test the first solution, having the root FS on
>> the M.2 card and everything else (including /var and /tmp) on the
>> mechanical drives.
>> The responsiveness of the machine is awesome and, for now, without any
>> glitch or problem. So I may retain this solution.
>> The only remaining question is how to trim the device as it is not
>> "mounted". Is there a special pvcreate or LVM option to have this
>> device trimmed when it should be ?
> # fstrim /
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

"If a man empties his purse into his head, no man can take it away from him.
An investment in knowledge always pays the best interest"

Benjamin Franklin.

More information about the linux-lvm mailing list