1 查找主机
    2复制硬盘名称
    3申请云硬盘
    4挂载云硬盘
    image.png
    image.png
    image.png

    image.png

    image.png

    image.png
    image.png
    image.png
    image.png

    image.png
    image.png

    1. pvcreate /dev/vdc
    2. vgextend appvg /dev/vdc
    3. lvcreate -n apploglv -L 20G appvg
    4. mkfs.ext4 /dev/appvg/apploglv
    5. mkdir /applog
    6. mount /dev/appvg/apploglv /applog/
    7. chown -R boccfc:boccfc /applog/
    8. cat >> /etc/fstab << EOF
    9. /dev/appvg/apploglv /applog ext4 defaults 0 0
    10. EOF
    11. groupadd -g 320 mauser
    12. useradd -g 320 -u 320 -d /home/mauser -m -G mauser mauser
    13. #cp -av /etc/skel/\.[[:alpha:]]* /home/mauser
    14. echo mauser:\!QAZ2wsx | chpasswd
    15. chown -R mauser:mauser /home/mauser
    16. mount -a
    17. df -Th

    image.png