您现在的位置是:首页 >技术教程 >Ubuntu宝塔显示磁盘被占满的解决方法网站首页技术教程

Ubuntu宝塔显示磁盘被占满的解决方法

梅坞茶坊 2024-06-26 14:23:36
简介Ubuntu宝塔显示磁盘被占满的解决方法

 操作方法:

连接成功
Last login: Sat Mar 25 03:04:00 2023 from 192.168.153.1
root@ubuntu:~# lvm

lvm> lvextend -l +100%FREE /dev/mapper/ubuntu-vg/ubuntu-lv
  skip_dev_dir: Couldn't split up device name ubuntu-vg/ubuntu-lv.
  Size of logical volume ubuntu-vg/ubuntu-lv changed from 10.00 GiB (2560 extents) to 18.22 GiB (4665 extents).
  Logical volume ubuntu-vg/ubuntu-lv successfully resized.
lvm> exit
  Exiting.

root@ubuntu:~# resize2fs /dev/ubuntu-vg/ubuntu-lv
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/ubuntu-vg/ubuntu-lv is mounted on /; on-line resizing required
old_desc_blocks = 2, new_desc_blocks = 3
The filesystem on /dev/ubuntu-vg/ubuntu-lv is now 4776960 (4k) blocks long.

风语者!平时喜欢研究各种技术,目前在从事后端开发工作,热爱生活、热爱工作。