Originally posted by Oldbayrunner Doesn't matter to raw files.
Doesn't matter to the data, but it does matter if the software decides to read it differently. Conversion from one colour space to another can cause some shifts. Maybe a conversion happens without the knowledge of the user for one of the cameras? Not super likely, but it could be a factor
Next are camera profiles. These things can change how the photos are rendered and are camera-specific (or at least, should be).
One other thing could be that the software is not showing the higher bit rate of the K-5IIs correctly? So maybe it would be better to compare exported 8-bit sRGB jpeg files, rather than the image that lightroom shows of the raw with its transformations.
Finally, double-check everything. Use the same lens on both cameras, focused on same distance, same 2 sec timer, same ISO (watch out for Highlight correction! should be disabled on both), SR off, lens corrections off, same jpeg mode, same colour space, same file format (dng), same import settings and same camera profiles. Because you are right, OP. The K-5IIs should have slightly sharper photos and slightly better DR. Interesting that this is not apparent in the photos. I think there are a couple forum users that have both of these cameras on hand, maybe they can do a test and chime in
Ultimately, there is a possibility that the K-30 raw files are simply not as raw as the K-5IIs. We know that some brands, or some camera models, actually apply some NR and sharpening to their "raw" files. This means you can never get truly raw files from them. Anyway, it is possible that the K-5IIs does not have this, and gives the photographer the true raw; but the K-30, perhaps designed for less-stringent photographers, has something done to the raw files to make them look prettier.