![]() The result speaks for itself: Logical volume resize- after 5. Sudo lvresize -l +100%FREE Logical Volume resize fdisk -l To see the new disk size on /dev/sda which we just extended, or to see new disks we just presented (/dev/sdb, /dev/sdc, etc.) fdisk /dev/sda To create new partitions for the OS to use. poweroff Turn the VM off so we can extend the disk on the VM side. Increasing the logical volume is done by the following command: fdisk -l To see the current partitions details. Increase Logical VolumeĪt this point, the command should highlight the difference between the physical and logical volume in size: Physical and logical volume difference This is an optional step since in Step 2 (Increase physical volume) you can create a brand new physical volume instead of resizing one of the original ones as I did.Ī more detailed tutorial about this can be found in steps 5 and 6 of this article: 4. After you exit the Cfdisk utility you’ll have to use the pvresize command to increase physical volume (in my case: sudo pvresize /dev/sda3). Cfdisk ( sudo cfdisk) will automatically detect the increased VDI image and the operations are pretty much straight forward : resize and write to disk. This step uses 2 Ubuntu built-in utilities: Cfdisk and pvresizeĪ. Virtualbox has a straight forward GUI (Virtual Media Manager) which helps you do it easily outside the VM: VDI Initial size VDI increasedįrom this point forward the steps have to be done inside the VM (be it through the virtualization software interface or a SSH utility). This step will go according to your virtualization software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |