Extend file system after resizing disk volume in Linux

This article will guide you on the different #command line options to extend #disk space storage in #Linux thereby allowing you to add #storage capacity to your #VM. If your filesystem has the resize capability, that capability is what you use. 1. Check if disk is available: #dmesg | grep sdb. 2. Check if disk is mounted: df -h | grep sdb. 3. Ensure there are no other partitions on disk: fdisk -l /dev/sdb. 4. Verify the #disk: fsck /dev/sdb. 5. Resize the #filesystem: resize2fs /dev/sdb.

Fix unallocated disk space to extend a disk partition in Ubuntu Debian RHEL and CentOS

Allowing your server disk to use all its disk space will help to improve the functionality and performance of your server in general. It is very common for unallocated disk space to be unused by default.