MARWAN docs NOC knowledge base
DocsGNU/Linux

GNU/Linux quick hacks

Short GNU/Linux recipes, such as creating an LVM partition with fdisk.

Updated Sami Ait Ali Oulahcen

34. Create an LVM partition#

fdisk /dev/sda
n (create new partition)
p (primary)
enter (partition number 1,2,3,4,5...)
enter (start block)
enter (end block)
t (modify type)
8e (LVM)
w (write changes to disk)