def _getpvblksize(pv): dev = devicemapper.getDmId(os.path.basename(pv)) return multipath.getDeviceBlockSizes(dev)