11.4. Displaying tags on LVM objects
You can display tags on your LVM objects with the following commands.
Conditions préalables
-
The
lvm2
package is installed. - You have created tags on physical volumes (PV), volume groups (VG), or logical volumes (LV).
Procédure
To display all tags on an existing PV, use:
# pvs -o tags <PV>
To display all tags on an existing VG, use:
# vgs -o tags <VG>
To display all tags on an existing LV, use:
# lvs -o tags <LV>