vgcfgbackup -f vg_localvolume vg_localvolume
vgcfgrestore vg_localvolume -v -f vg_localvolume
创建对应挂载目录,添加到/etc/fstab, 激活分区
for i in {1..100};do
mkdir -p /mnt/fast-disks/lv$i
echo "/dev/mapper/vg_localvolume-lv$i /mnt/fast-disks/lv$i xfs defaults 0 0" >> /etc/fstab
# 激活分区
lvchange -ay /dev/mapper/vg_localvolume-lv$i
done
df |grep vg_localvolume|wc -l