« Previous | Next » 

Revision 54e2b513

ID54e2b513338ab1ffdf057646496f331e80d2965b
Parent acd77fbd
Child 1ecc03c1

Added by Dimitris Aragiorgis over 9 years ago

(2.13) Introduce Snapshot() method at bdev

Currently the Snapshot() method is used only during
`gnt-backup export` and is only implemented in the LogicalVolume()
class.

This patch makes this method a BlockDev() method, changes its
signature so that it can take both snap_size and snap_name and
lets bdev calculate both (i.e. snap_size=bdev.size,
snap_name=bdev._lv_name + snap).

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Hrvoje Ribicic <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences