Skip to content

Additional LV tags for disaster recovery and improved usability #131

@laurivosandi

Description

@laurivosandi

Description

Could you please propagate additional metainformation to logical volume tags? This would be helpful in case of disaster recovery and also it would make the command line utilities more useful

# lvchange --addtag @namespace=monitoring /dev/ubuntu-vg/pvc-3a4700dc-3817-48db-a71f-92b1dd6a1d22 
  Logical volume ubuntu-vg/pvc-3a4700dc-3817-48db-a71f-92b1dd6a1d22 changed.
# lvchange --addtag @name=prometheus-prometheus-db-prometheus-prometheus-0 /dev/ubuntu-vg/pvc-3a4700dc-3817-48db-a71f-92b1dd6a1d22 
  Logical volume ubuntu-vg/pvc-3a4700dc-3817-48db-a71f-92b1dd6a1d22 changed.
# lvs -o lv_path,lv_tags
  Path                                                    LV Tags                                                                                                                                                                         
  /dev/ubuntu-vg/pvc-3a4700dc-3817-48db-a71f-92b1dd6a1d22 lv.metal-stack.io/csi-lvm-driver,name=prometheus-prometheus-db-prometheus-prometheus-0,namespace=monitoring

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions