Two-step expansion:
The first step is volume expansion
The second step is file system expansion
It should be noted that different Linux distributions Versions and file formats are different
xfs uses
xfs_growfs /dev/vg_dc01/lv_root
ext3 uses
resize2fs /dev/vg_dc01/lv_root
It’s time to arrange a new house for Teacher Cang:)
The above is the detailed content of Things to pay attention to when expanding Linux under VM. For more information, please follow other related articles on the PHP Chinese website!