Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VMware Workstation 15.5 Pro extends CentOS 7.7 disk root partition capacity

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Relevant information before expansion:

(1) VMware Workstation version:

(2) CentOS version:

(3) disk and partition information before expansion:

2. Expansion goal: expand / partition from 30G to 40G

3. Turn off the virtual machine and edit the virtual machine settings:

The expand button is grayed out. You need to delete the snapshot before expanding.

Resize the virtual disk:

4. Start the virtual machine and view the disk and partition information:

5. Create a new partition:

6. Make the zoning effective:

7. Initialize the physical disk to the physical volume PV:# pvcreate / dev/sda4

8. Extend VG:# vgextend centos7 / dev/sda4

9. Extend LV:# lvextend-l + 100%FREE / dev/mapper/centos7-root

10. Extend the xfs file system: # xfs_growfs / dev/centos7/root

11. View the expanded disk and partition information:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report