Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

resize2fs

Can’t resize a partition using resize2fs

August 10, 2022 by Magenaut

I recently resized the hard drive of a VM from 150 GB to 500 GB in VMWare ESXi. After doing this, I used Gparted to effectively resize the partition of this image. Now all I have to do is to resize the file system, since it still shows the old value (as you can see from the output of df -h):

Categories Q&A, Unix & Linux Tags filesystems, resize2fs, virtual-machine, vmware Leave a comment

Why do I need to do resize2fs after lvextend?

August 9, 2022 by Magenaut

For resizing LVM2 partition, one needs to perform the following 2 commands:

Categories Q&A, Unix & Linux Tags partition, resize2fs Leave a comment

How do I determine the new size for resize2fs?

August 7, 2022 by Magenaut

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this:

Categories Q&A, Unix & Linux Tags ext4, partition, resize2fs Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress