You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hexo-theme-yorha-test/source/_posts/ubuntu-disk-extend.md

11 lines
282 B

title: ubuntu磁盘扩容小记录
author: lensfrex
date: 2022-07-28 09:36:44
tags:
---
扩容 lventend -L (+/-)21T /dev/mapper/ubuntu--vg-ubuntu--lv
lvresize -l +100FREE /dev..... 按百分比扩容
使扩容生效 resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
2fs:to file system