AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
If you have a ext4 file system, use the command resize2fs to resize it. The file system is xfs, so I used this command: xfs_growfs -d /dev/mapper/ubuntuos-root Now that the physical volume size is fixed, I can extend the logical volume by using this command: lvextend -l +100%FREE /dev/ubuntuos/rootįinally, I can grow the file system to utilize the extra space. I typed in this command to resize the physical volume: pvresize /dev/sdb However, the system does not recognize the increase. The size has been increased from 150 GB to 250 GB. The logical volume /dev/ubuntuos/root has two segments: /dev/sda5 and /dev/sdb. With the Ubuntu 20. All you need to do is attach the ISO as a virtual disc to the virtual CD/DVD drive. LV UUID bmOnUR-0jWp-P89p-uskY-wT4Q-yX2G-C56F2s Select Dynamically allocated for the virtual hard disk size, then Next Check the default options for the VDIs storage location and minimum size Click Create The virtual machine is almost ready to launch. LV UUID uzEY5B-BYzA-D2c5-1ajf-fpp6-2Vrb-uNrY圜 PV UUID BiYKGF-dRxj-SjO1-RHhK-IcLk-fYUL-KmUMZF PV UUID bVLY9f-TeqI-MWL8-ClLq-s0jg-DKtx-ZjSNf1 Let’s take a look of the physical volumes and logical volumes on my VM. To fix this problem, I typed in this command to update the PV header: vgck -updatemetadata ubuntuos Additional work is needed.įirst problem I had is that I got this warning whenever I use the pvdisplay command: WARNING: PV /dev/sda5 in VG ubuntuos is using an old PV header, modify the VG to update. After the increase of the virtual disk size, the OS does not recognize the increase automatically. The user decicded to increase the virtual disk size. We first deleted some unused files, and it’s still not enough. The users reported that the root partition is running out of free space. We have an Ubuntu 20.04 VM running under VMware.
0 Comments
Read More
Leave a Reply. |