Xshell 6 (Build 0149)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[C:\~]$ ssh 10.252.254.56
Connecting to 10.252.254.56:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Last failed login: Wed Oct 28 08:28:29 CST 2020 from 10.20.148.8 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Tue Oct 27 14:18:40 2020 from 10.20.148.8
[root@i2box ~]# echo "ulimit -c unlimited" >> /etc/profile
[root@i2box ~]# systemctl disable abrtd
Removed symlink /etc/systemd/system/multi-user.target.wants/abrtd.service.
[root@i2box ~]# systemctl stop abrtd
[root@i2box ~]#
[root@i2box ~]#
[root@i2box ~]#
[root@i2box ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 44K 32G 1% /dev/shm
tmpfs 32G 20M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/mapper/HostVG-root 367G 11G 357G 3% /
/dev/sda2 994M 181M 813M 19% /boot
/dev/sda1 1022M 12M 1011M 2% /boot/efi
tmpfs 6.3G 32K 6.3G 1% /run/user/0
tmpfs 6.3G 4.0K 6.3G 1% /run/user/42
/dev/mapper/vg01-lv_cdm_data1 1.0T 33M 1.0T 1% /data
[root@i2box ~]# lvextend -L +49T /dev/vg01/lv_cdm_data1
Size of logical volume vg01/lv_cdm_data1 changed from 1.00 TiB (262144 extents) to 50.00 TiB (13107200 extents).
Logical volume vg01/lv_cdm_data1 successfully resized.
[root@i2box ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 44K 32G 1% /dev/shm
tmpfs 32G 20M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/mapper/HostVG-root 367G 11G 357G 3% /
/dev/sda2 994M 181M 813M 19% /boot
/dev/sda1 1022M 12M 1011M 2% /boot/efi
tmpfs 6.3G 32K 6.3G 1% /run/user/0
tmpfs 6.3G 4.0K 6.3G 1% /run/user/42
/dev/mapper/vg01-lv_cdm_data1 1.0T 33M 1.0T 1% /data
[root@i2box ~]# xfs_growfs /dev/vg
vg01/ vga_arbiter
[root@i2box ~]# xfs_growfs /dev/vg01/lv_cdm_data1
meta-data=/dev/mapper/vg01-lv_cdm_data1 isize=512 agcount=4, agsize=67108864 blks
= sectsz=4096 attr=2, projid32bit=1
= crc=1 finobt=0 spinodes=0
data = bsize=4096 blocks=268435456, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=131072, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 268435456 to 13421772800
[root@i2box ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 44K 32G 1% /dev/shm
tmpfs 32G 20M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/mapper/HostVG-root 367G 11G 357G 3% /
/dev/sda2 994M 181M 813M 19% /boot
/dev/sda1 1022M 12M 1011M 2% /boot/efi
tmpfs 6.3G 32K 6.3G 1% /run/user/0
tmpfs 6.3G 4.0K 6.3G 1% /run/user/42
/dev/mapper/vg01-lv_cdm_data1 50T 44M 50T 1% /data
[root@i2box ~]#
[root@i2box ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 44K 32G 1% /dev/shm
tmpfs 32G 20M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/mapper/HostVG-root 367G 11G 357G 3% /
/dev/sda2 994M 181M 813M 19% /boot
/dev/sda1 1022M 12M 1011M 2% /boot/efi
tmpfs 6.3G 32K 6.3G 1% /run/user/0
tmpfs 6.3G 4.0K 6.3G 1% /run/user/42
/dev/mapper/vg01-lv_cdm_data1 50T 44M 50T 1% /data
[root@i2box ~]# ll /data/
total 0
drwxr-xr-x 5 vdsm kvm 48 Oct 26 15:30 31f095fa-68c8-4629-853a-5f4948c49b9f
[root@i2box ~]#
添加lvm卷