zoukankan      html  css  js  c++  java
  • VG、LV、rezise2fs、lvresize、fuer使用说明

    南沙节点改变LV大小,参考鸟哥第 570页

    1、# resize2fs /dev/mapper/vg_niotsvr3-lv_home 150G

    resize2fs 1.41.12 (17-May-2010)
    Filesystem at /dev/mapper/vg_niotsvr3-lv_home is mounted on /home; on-line resizing required
    On-line shrinking from 197822464 to 39321600 not supported.

    2、# umount /home
    umount: /home: device is busy.
    (In some cases useful info about processes that use
    the device is found by lsof(8) or fuser(1))

    3、# fuser -m /home
    /home: 3057c 3410c 4540c 14641c 14643c 14644c 14646c 25225c 25248c 25253c 25254c 25505c 25519c 25548c 25551c 25552c

    4、# e2fsck -f /dev/mapper/vg_niotsvr3-lv_home

    5、# resize2fs /dev/mapper/vg_niotsvr3-lv_home 150G

    6、# mount /dev/mapper/vg_niotsvr3-lv_home /home

    7、# lvdisplay vgdisplay

    8、# lvresize -L 200G /dev/mapper/vg_niotsvr3-lv_root

    9、# resize2fs /dev/mapper/vg_niotsvr3-lv_root

    10、# df /

  • 相关阅读:
    javascript学习6
    javascript学习5
    javascript学习4
    javaccript学习3
    javaccript学习2
    javaccript学习1
    C++ 线性表实现
    深入解析策略模式(转)
    CentOS7安装MySQL
    万能媒体播放器 PotPlayer
  • 原文地址:https://www.cnblogs.com/fatt/p/5138711.html
Copyright © 2011-2022 走看看