Question

Issue with Block Mode Snapshot Export Failing using OpenEBS Mayastor


Hello Veeam Community,

I'm encountering an issue with the volume mode set to raw block mode. The snapshot export process fails, and the error logs indicate a command terminated with exit code 1. The relevant part of the error message is:

command terminated with exit code 1.

k10kopia: error: {"message":"size is not an integral multiple of block size","function":"kasten.io/bmd/go/volume/blockfile.(*brProducer).openForReading","linenumber":132,"file":"kasten.io/bmd/go/volume/blockfile/reader.go:132","fields":[{"name":"blockSize","value":"1.0 MiB"},{"name":"size","value":"1019 MiB"}],"cause":{"message":"invalid size"}}, try --help

Error: exit status 1

 

The key error seems to be: "size is not an integral multiple of block size"

The error encountered seems to be related to the backup process failing due to an issue with the block size not being an integral multiple of the volume size. Specifically, the error message indicates that the block size is 1.0 MiB, but the volume size is 1019 MiB, which is not divisible by 1 MiB.

Please find attached the full log from the Kasten side. Note that it works fine with the volume mode set to filesystem mode.

Has anyone encountered a similar issue or have any suggestions on how to resolve this? Any help would be greatly appreciated!

 


6 comments

Userlevel 3
Badge +1

Hello @lpavanvenkat ,

 

Is this happening with all volumes you attempt to backup? or is this occurring with one in particular policy run. 

 

Thanks

Emmanuel

@EBrockman , it happens for every attempt for block mode volumes with k10 policy where Backups via Snapshot Exports is enabled.

Hello @lpavanvenkat ,

 

Is this happening with all volumes you attempt to backup? or is this occurring with one in particular policy run. 

 

Thanks

Emmanuel

 

Userlevel 3
Badge +1

Hello @lpavanvenkat,

 

Could you send yaml of one of the PVC and PV in question.

 

Thanks

Emmanuel

Hello @lpavanvenkat,

 

Could you send yaml of one of the PVC and PV in question.

 

Thanks

Emmanuel

Hi @EBrockman , PFA yaml txt files pvc.txt and pv.txt .

Userlevel 3
Badge +1

Hello @lpavanvenkat 

 

Would it be possible to create a test PVC with 1024MiB as the capacity, and attempt to back just that volume up.

 

Thanks

Emmanuel

Hello @lpavanvenkat 

 

Would it be possible to create a test PVC with 1024MiB as the capacity, and attempt to back just that volume up.

 

Thanks

Emmanuel

Hi @EBrockman ,
Tried the method you suggested, but still facing the same issue.


k10kopia: error: {"message":"size is not an integral multiple of block size","function":"kasten.io/bmd/go/volume/blockfile.(*brProducer).openForReading","linenumber":132,"file":"kasten.io/bmd/go/volume/blockfile/reader.go:132","fields":[{"name":"blockSize","value":"1.0 MiB"},{"name":"size","value":"1019 MiB"}],"cause":{"message":"invalid size"}}, try --help

Thanks
Pavan

Comment