Parted, GPT and LVM

Always forget this:


(parted) mklabel gpt
(parted) mkpart primary 0 100%
(parted) set 1 lvm on

That is all.

One Comment

  1. Jose Lourenco says:

    Do you know how to do if one want to use the lv partitions created on the LVM as iSCSI devices?
    The problem I have is how to make the corresponding mapped devices available after rebooting.
    As they have no defined filesystems they cannot be mounted on /etc/fstab (as far as I know).

    Thank you.
    Best regards,
    Jose Lourenco

Leave a Reply