AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() To use the new space on the volume, you need to expand the last partition into the free area by removing the existing partition and recreating it. Relocating backup data structures to the end of the disk Use e to move the backup GPT data structures to the end of the volume, which changed when you expanded the volume, and exit back to the main menu with m. Switch to the experts menu with x, which changes the prompt to reflect the new context. Sudo gdisk /dev/disk/by-id/use_your_volume_identifierįor safety, use the b command to back up the current partition, and enter a filename for the backup when prompted.Įnter backup filename to save: partition_table.bak This is the same process as unmounting an unpartitioned volume repeated for each of the partitions on the volume.Ĭhange to a writable directory so you can successfully write the partition table backup file, then start gdisk with the volume identifier. ![]() Tools like growpart are straightforward, but the versions shipped with most distributions can only resize partitions up to 2 TB.įirst, unmount all partitions. It supports backups of the existing table, explicitly moves GPT recovery data to the end of the disk, and works with partitions of any size. ![]() We recommend gdisk to rewrite partition tables. To increase the size of a partitioned volume, after you resize the volume itself, you need to expand the last partition to use the new space by rewriting the partition table and then resizing the last partition’s filesystem. The FSTYPE column lists a filesystem like ext4 for unpartitioned volumes and a variant like sda1 for partitioned volumes. ![]() Sudo lsblk -fs /dev/disk/by-id/use_your_volume_identifier ![]()
0 Comments
Read More
Leave a Reply. |