创建步骤
pvcreate /dev/vdb
vgcreate vgopt /dev/vdb
lvcreate -L 400G -n lvopt vgopt
lvcreate -L 50G -n lvoptlog vgopt
mkfs.ext4 /dev/vgopt/lvopt
mkfs.ext4 /dev/vgopt/lvoptlog
mount /dev/vgopt/lvopt /opt
mount /dev/vgopt/lvoptlog /opt/log
挂载完成后,需要写入/etc/fstab
uploading-image-161894.png
标签:02,vgopt,dev,lvopt,lvcreate,linux,挂载,lvoptlog From: https://www.cnblogs.com/zhihongShee/p/17275831.html