1,运行lvcreate -n LVapp -L 150G VolGroup00; nohup mkfs.ext4 /dev/VolGroup00/LVapp –F &后;
2,执行 mkdir /app; mount /dev/VolGroup00/LVapp /app 时报错“mount: you must specify the filesystem type”
3,检查LVS的状态
#lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
LVapp VolGroup00 -wi-a----- 150.00g
LVhome VolGroup00 -wi-ao---- 500.00m
LVroot VolGroup00 -wi-ao---- 16.60g
#lvscan
ACTIVE '/dev/VolGroup00/LVroot' [16.60 GiB] inherit
ACTIVE '/dev/VolGroup00/LVvar' [29.30 GiB] inherit
ACTIVE '/dev/VolGroup00/LVtmp' [39.06 GiB] inherit
ACTIVE '/dev/VolGroup00/LVhome' [500.00 MiB] inherit
ACTIVE '/dev/VolGroup00/LVswap1' [3.42 GiB] inherit
ACTIVE '/dev/VolGroup00/LVapp' [150.00 GiB] inherit
4,估计是nohup mkfs.ext4 /dev/VolGroup00/LVapp –F &脚本执行结果有问题