Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Move actions into torusctl, expose snapshot functionality. #272

Merged
merged 4 commits into from
Jun 15, 2016

Conversation

barakmich
Copy link
Contributor

No description provided.

In the past, it was separated by whether it was a volume action vs. a
generic metadata action. This is bad UX; most people want `torusctl` to
be simply the one tool they need.

This change turns `torusblk` into the client/mount-tool only for block
devices, true to its name. `torusd` is still the storage daemon, and
`torusctl` (analogous to `kubectl`) is your one-stop shop for working
with torus.
Also allows for restoring snapshots. All this is CoW, so it only uses
the amount of data that changes, not the whole of the volume.
@@ -0,0 +1,33 @@
# Snapshotting Torus Block Volumes

Snapshots of Torus Block Volumes can be taken at any time, as of the last sync() of the volume, even while mounted. Snapshots are Copy on Write and don't require a full copy; only the storage used in the past and any updates to the storage will count toward the total usage.
Copy link
Contributor

@xiang90 xiang90 Jun 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Copy on Write][cow]

[cow]:https://en.wikipedia.org/wiki/Copy-on-write

@xiang90
Copy link
Contributor

xiang90 commented Jun 15, 2016

lgtm

@barakmich barakmich merged commit 628da45 into coreos:master Jun 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants