1. Add a hard disk2. Check the partition status: fdisk -l3. Set up partitions:fdisk /dev/sdb Enter m Enter n Enter p Enter w Enter 4. Check the partition again: fdisk /dev/sdb and press Entert Enter 3 Enter L Enter 8e Enter w Enter 5. Look at the partition again:6. Format the new partition as ext3: mkfs.ext3 /dev/sdb17. Convert the partition to a physical volume: pvcreate /dev/sdb18. Use the pvdisplay command to view physical volume information: pvdisplay9. Use the vgdisplay command to view VG information: vgdisplay10. Add the physical volume just initialized to the physical volume of the primary partition: vgextend cl /dev/sdb111. Use the vgdisplay command to view VG information: vgdisplay12. Check the mounted disk: df -h13. Use the lvextend command to expand the /home partition: lvextend -l +5119 /dev/mapper/cl-root14. Mount: xfs_growfs /dev/mapper/cl-root15. Check the mounted disk: df -hThis is the end of this article about the detailed steps of LVM disk expansion in Linux. For more relevant Linux LVM disk expansion content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
>>: The difference between Display, Visibility, Opacity, rgba and z-index: -1 in CSS
Result:Implementation code: html <!-- Please h...
During normal project development, if the MySQL v...
1. Key points for early planning of VMware vSpher...
1. Check sql_mode select @@sql_mode The queried v...
Data Sheet /* Navicat SQLite Data Transfer Source...
Table of contents 1. First, use pycharm to create...
We know that when using HTML on NetEase Blog, we ...
1. Nginx status monitoring Nginx provides a built...
Requirement: Celery is introduced in Django. When...
In this article we assume you already know the ba...
Table of contents Deploy tomcat 1. Download and d...
1. Use the df command to view the overall disk us...
This article shares the specific code of Node.js+...
Solution: Add the following code in <head>: ...
Resume Code: XML/HTML CodeCopy content to clipboa...