Skip to content

kaosay/disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logic_disk

mount logic disk in the Linux.

1. 查看剩余空间

vgs

输出示例:VG #PV #LV #SN Attr VSize VFree

ubuntu-vg 1 1 0 wz--n- <100.00g 50.00g

2. 一条命令把卷组所有剩余空间加到根分区并自动扩文件系统

sudo lvextend -l +100%FREE -r /dev/ubuntu-vg/ubuntu-lv

3. 完成后再次检查

df -h

About

mount logic disk in the Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages