First page Back Continue Last page Graphics
Tagging – Object Tags
Use --addtag or --deltag with lvchange vgchange pvchange lvcreate or vgcreate.
Only objects in a Volume Group can be tagged. PVs lose their tags when removed from a VG. This is because tags are stored as part of the VG metadata. Snapshots cannot be tagged.
Wherever a list of objects is accepted on the command line, a tag can be used. e.g. lvs @database to lists all the LV with the 'database' tag.
Display tags with lvs -o +tags or pvs -o +tags etc.