Linux can I use lvm2 pv instead ext4 for /dev/vda2?

Discussion in 'Installation/Configuration' started by jbmd, Jun 30, 2017.

  1. jbmd

    jbmd Member

    I need to install LVM (Physical volume) after OS installation (I have /dev/vda ... /dev/vda1 for boot and /dev/vda2).

    Standard procedure is to shrink /dev/vda2 and create a new lvm2 pv partition (by gparted live cd). Result is:
    /dev/vda1 ext4,
    /dev/vda2 ext4,
    /dev/vda3 lvm2 dev.

    Is it possible/stable enough (for running webhosting by ISPConfig) to just change /dev/vda2 original ext4 to lvm2 pv directly?
    Result would be:
    /dev/vda1 ext4,
    /dev/vda2 lvm2 dev.

    Thank you for your inputs ...
  2. sjau

    sjau Local Meanie Moderator

    lvm is stable... I personally don't like it though... but there's nothing against using lvm as top layer, make partitions there and then format those to ext4, xfs, zfs or whatever you prefer ;)

Share This Page