Operating System - Linux
1828361 Members
3876 Online
109976 Solutions
New Discussion

Re: resize2fs issue on Linux Red Hat 7.2

 
SOLVED
Go to solution
Yu Ting LIU
Advisor

resize2fs issue on Linux Red Hat 7.2

Hi,

I am doing hard disk software Raid 1 on Linux Red Hat 7.2 and encounter complain below:

# e2fsck -f /dev/md5
# resize2fs /dev/md5
resizfs 1.23 (15-Aug-2001)
resizfs: Attempt to read block from filesystem resulted in short read while trying to resize /dev/md5
The filesystem on /dev/md5 is now 513984 block long

Anybody can explain what is happening to /dev/md5?

Thanks in advance!

Regards!
Yu Ting
4 REPLIES 4
Robert Binkhorst
Trusted Contributor
Solution

Re: resize2fs issue on Linux Red Hat 7.2

Hi Yu Ting,

I found a reference to your question here:
https://listman.redhat.com/archives/ext3-users/2002-August/msg00125.html

and here:
http://www.linuxquestions.org/questions/archive/1/2003/01/2/40792

Good luck!

Robert
linux: the choice of a GNU generation
Yu Ting LIU
Advisor

Re: resize2fs issue on Linux Red Hat 7.2

Thanks!

I know what is happenning to my hard disk now.

Regards!
Yu Ting
Geoff Hardin
New Member

Re: resize2fs issue on Linux Red Hat 7.2

Your last response indicates that you figured out what was happening. Can you share it with the rest of us?

We are also trying to create a RAID 1 device and are running into the exact same problem. The hardware is brand new, and all the other metadevices were created without a problem. All the other pages I have seen seem to incidicate that this is a hardware problem, but since this is brand new hardware, I find that difficult to believe.

Any help would be greatly appreciated.

Geoff
Yu Ting LIU
Advisor

Re: resize2fs issue on Linux Red Hat 7.2

Hi,

It's a hardware problem. My hard disk was purchased only 2 months ago.

I just simply made a backup of the data of this partiton /dev/md5. After reformat it (mke2fs -j /dev/md5) then restore the data back.

But if you still have spare space on your hard disk I suggest you can build a new raid1 partition to keep the data if the data is critical to you. Because my data is not so critical and also small size.

Hope it will help you!

Regards!
Yu Ting