Skip to content

Write LVM snapshot code #13

Description

@tgharold

In the case where the "LVNAME" (whatever it ends up being called) argument is not empty, then that indicates that the job is backing up from a LV and should be snapshot before doing the rsync. General process is:

  • Identify that the origin location is on an LV, indicated by LVNAME being non-empty
  • Figure out which VG (using the VGNAME variable)
  • Need to know whether this is a "thin" LV (automate this?)
  • Perform the snapshot (how big? how much extra?)
  • Mount the snapshot in read-only mode
  • Start the rsync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions