Unable to shrink Raid-5 Array

Dadoes <[email protected]> Mon, 20 Aug 2007 21:12:09 +0200
Newsgroups gmane.linux.evms.devel
Message-ID <[email protected]>
Hello all,

I'm trying to shrink a raid5 array, but evms won't let me.
There is enough free space on the array to allow it, but I don't get
the option. After digging around a bit I noticed that the filesystem
size was reported wrong, it should have said 2.5TB but it reported
only around 450GB (filesystem was fine though, the volume could be
mounted and tune2fs reported the correct values.)

I then tried to resize2fs the filesystem to < 2TB, and now it is
reported correctly in the GUI. Still no option to shrink though.

I then found md_resize_info attached to a post on this mailing list and ran it:

./md_resize_info -r /dev/evms/.nodes/hda3 --use_old_format
Found MD superblock version 0.90 on /dev/evms/.nodes/hda3.
__evms_validate_old_resize_info: Invalid EVMS MD signature.
(/dev/evms/.nodes/hda3) does not have MD resize information.
Operation failed.

So that seems to be the culprit. I've tried the following things:

- convert the volume back to compatibility volume and to evms volume
again, didn't work
- removed hda3 from the array and re-added it via mdadm, no dice either

I'm guessing I can fix it with the md_resize_info tool but I don't know how.

System: 2.6.17-10 x86, evms 2.5.5

evms debug log is here:
http://rapidshare.com/files/50204369/evms-engine.log.gz.html

The array in question is md0 (the 2 others are fine).

Any help is appreciated.

Henning

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel