The variable io_size was unsigned int, which caused the wrong sector numberto be calculated after aligning it. This then caused mount to fail with bigvolumes, as backup volume header information was searched from awrong sector.