fdisk /dev/sdb
Command (m for help): n
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-2097151999, default 2048):
Last sector, +sectors or +size{K,M,G} (2048-2097151999, default 2097151999):
Command (m for help): w
pvcreate /dev/sdb1
vgcreate vgdata /dev/sdb1
lvcreate -l 100%free -n lvdata01 vgdata
mkfs.ext4 /dev/vgdata/lvdata01
mkdir /work
mount /dev/vgdata/lvdata01 /work
vim /etc/fstab append
/dev/vgdata/lvdata01 /work ext4 defaults 0 0