[ext2resize] bug in ext2resize 1.1.14
Status: Inactive
Brought to you by:
adilger
From: Dieter S. <st...@co...> - 2000-09-11 21:03:51
|
while trying to resize my 137Gb partition I got a core. After analyzing the problem I found a serious bug in ext2resize 1.1.14 when shrinking a huge partition: I found a parameter "ext2_max_groups = 1024" from tune.c, which is capable to handle about 8GB. Although it is adapted to handle greater partitions if needed by ext2resize.c:main(), the calculated size needed, however is taken from the (possibly smaller) size requested, not from the actual size if the file system. Thus I got a segfault in ext2_determine_itoffset(). Maybe there is a newer version meanwhile, with this problem resolved; but I just escaped to kill may 137Gb :-( and I did not find any hint about such a bug anywhere. I helped me by drastically increasing the parameters from tune.c for my needs, but I think there should be a better solution for that. regards, Dieter. -- Dieter Stüken, con terra GmbH, Münster st...@co... st...@qg... http://www.conterra.de/ http://qgp.uni-muenster.de/~stueken (0)251-980-2027 (0)251-83-334974 |