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

Share on: TwitterFacebookEmail


Related Posts


Published

Category

Notes

Tags

Contact