An alternative would be to set the OSD attributes to use the /dev/disk/by-id type of names, and hope that they are consistent across every test.