optimize the way of determining the uuid of a volume