I am in the process of creating a backup script. First of all, I would like to make sure the source file-system/logical-volume is mounted (and know where it is mounted).
Apparently this can be done using both the file-system's UUID and the logical volume's UUID (Check logical volume mount point (command line)).
I would like to know which one should I be using and why (if there is any reason to prefer one over the other). Could there be any real difference?
In my case, I always create a single partition in each logical volume (filling up the logical volume space), but I do not know if other setups are possible that would allow more complex configurations.