resize2fs: Bad magic number in super-block while trying to open

We will learn how to troubleshoot when you run a command (resize2fs /dev/xvda1) and give the error like below -- 

resize2fs: Bad magic number in super-block while trying to open /dev/xvda1
Couldn't find valid filesystem superblock.

1. Run Below command :-
xfs_growfs /dev/xvda1

Note :- If you are able to reboot the machine don't do that but not reboot the machine above steps is must.





resize2fs: Bad magic number in super-block while trying to open resize2fs: Bad magic number in super-block while trying to open Reviewed by Unknown on September 25, 2018 Rating: 5

No comments:

Scribe

http://feeds.feedburner.com/LinuxAndAws
Powered by Blogger.
X

Get Updates On

Linux Tutorial

AWS Tutorial

Devops Tutorial

We are going to send you our resources for free. To collect your copy at first, join our mailing list. So don't miss any updates, stay connected!