Create volume LVM

 

Create a partition on a disk empty

parted -s /dev/sdb mklabel msdos
parted -s /dev/sdb mkpart primary 1MiB 90%

Create a volume LVM on partition

pvcreate /dev/sdb1
vgcreate NameVolVg /dev/sdb1
lvcreate -n NameVolLog -l 100%VG NameVolVg

Format

mkfs.xfs /dev/mapper/NameVolVg-NameVolLog

Comments

Popular posts from this blog

Install Gitea on NAS Netgear

Send mail with from on Linux