#2912 Issue closed: relax-and-recover connot be shrinked (new disk more than 2% smaller)

Labels: support / question, fixed / solved / done

sd2070953 opened issue at 2023-01-17 05:12:

两台服务器磁盘都是lvm格式,源服务器硬盘大小为20,但是文件其实只有4G, 目标还原服务器磁盘大小为15G,足够装下系统文件,但是提示:如标题报错,目标磁盘小于源磁盘,这样我就没办法还原了。然后我找台目标磁盘为25G的服务器,可以正常还原系统。

jsmeix commented at 2023-01-17 06:52:

all is only in English here.

Furthermore we show
when you use the [New issue] button on

From the subject [sic!]
"relax-and-recover connot be shrinked (new disk more than 2% smaller)"
I assume your issue is related to the section
"Resizing partitions in MIGRATION_MODE during 'rear recover'"
in usr/share/rear/conf/default.conf online e.g. at

[Export of Github issue for rear/rear.]