SIZE_MISMATCH(QS-19) Mapped file does not match the size of the original [file:D:\SoftwareAG1015\Broker\data\awbrokers1015\default\BrokerData.qs.stor](file:///D:/SoftwareAG1015/Broker/data/awbrokers1015/default/BrokerData.qs.stor) source:qs.cc line:274
[BRC.200.1235] Error: Cannot relocate the QS storage files.
It is unable to relocate QS storage files as Mapped file does not match the size of the original.
Not sure about the goal here. AFAIK broker is not receiving any updates since version 9.6. You shouldn’t need a migration since they are practically the same product (v10.15 and 10.5 and also 9.6). Is there a reason why you aren’t migrating to Universal Messaging Server instead?
We’ve applied fixes at that time of installation together. Attaching audit log file of installed fixes.
Also, attaching screenshot of directory listing of data directory.
Basically, We’ve copied BrokerConfig.qs, BrokerConfig.qs.text, BrokerConfig.qs.stor, BrokerData.qs, BrokerData.qs.text, BrokerData.qs.stor files from 10.5 to 10.15 directory and we are updating current 10.15 directory in BrokerConfig.qs and BrokerData.qs through relocate command.
It worked in other in our few broker migration. But in this case, BrokerData.qs.stor is extended upto 2 GB almost which is causing issue for relocation.
Also, We’ve stopped broker server before relocating.
we have never used the relocate command during migrations.
Whenever we had to build up new environments for upgrading to newer versions we have installed and configured these from scratch while only migrating custom logic.
Error suggests the actual file size does not match the recorded file size.
Find the actual file size of BrokerData.qs.stor is source data directory and target data directory. Also, find the recorded file size by running command “server_config storage -list” in the source data directory to find out what is the file size Broker is expecting.
Hi Guruprasad,
This issue is reported to Software AG R&D. Proper resolution (if any) in product should be to avoid the issue in first place, or fix the issue using server_qsck. You can try the workaround of increasing the reserve file size which increases the file size on disk and update the recorded file size without any check. This makes the size consistent.
After identifying the problematic store files, say BrokerData.qs.stor.
Try these steps in 10.5 (source environment):
Use “server_config storage -list” to find the recorded file size. Lets say max size is 4 GB and reserve size is 2 GB.
Use “ls -l” to find the actual file size, say actual size is 2.1 GB.
Use “server_config storage” to increase the reserve size to 2.2 GB.
Repeat command in step 1 and 2, now reported reserve size as well as actual file size on disk should be equal 2.2 GB.