Quattor library for block devices and file systems