How to Fix NOCHANGE: partition 1 could only be grown by -6190792671 [fudge=2048] issue in Linux.

linux

As we know all cloud providers provide us functionality to increase disk space at any time. Yesterday there was a requirement from client. Where he wants to increase disk space. I have increased disk space from AWS side and I was able to see that disk space changes on server via cli command lsblk. As usual we have to extend a Linux file system after resizing a volume with below command

 sudo growpart /dev/xvda 1

But when I hit command there was output like below:

 NOCHANGE: partition 1 could only be grown by -6190792671 [fudge=2048]

And when I hit

resize2fs /dev/xvda1

The output was like

resize2fs 1.44.1 (24-Mar-2018)

The filesystem is already 7864059 (4k) blocks long. Nothing to do!

So after doing some google search I found that cloud-guest-utils package was missing from server.

So I just install package.

 apt install cloud-guest-utils

Then

 sudo growpart /dev/xvda 1
resize2fs /dev/xvda1

After that I was able to extend volume on server

 

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

View all posts by AmritMatti →

Leave a Reply

Your email address will not be published. Required fields are marked *