top of page
  • Bankim Bhagat

Expand a filesystem on Ubuntu / Linux without losing DATA

Expand the drive attached to your VM

lsblk 

Output would be something like this



Find the disk you want to expand


use resize2fs

sudo resize2fs /dev/sda

Output would look something like this

Filesystem at /dev/sda is mounted on /mnt/volume-example; on-line resizing required
old_desc_blocks = 25, new_desc_blocks = 32
The filesystem on /dev/sda is now 131072000 (4k) blocks long.
14 views0 comments

Recent Posts

See All

Here is a comparison of the Logitech B100 Optical Mouse, HP Wired Mouse 100, and Dell MS116 Wired Optical Mouse: As you can see, the HP Wired Mouse 100 has the highest DPI of the three mice, making it

bottom of page