aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-rbd
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /Documentation/ABI/testing/sysfs-bus-rbd
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-rbd')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-rbd43
1 files changed, 17 insertions, 26 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd
index cd9213ccf3d..fa72ccb2282 100644
--- a/Documentation/ABI/testing/sysfs-bus-rbd
+++ b/Documentation/ABI/testing/sysfs-bus-rbd
@@ -25,10 +25,6 @@ client_id
25 25
26 The ceph unique client id that was assigned for this specific session. 26 The ceph unique client id that was assigned for this specific session.
27 27
28features
29
30 A hexadecimal encoding of the feature bits for this image.
31
32major 28major
33 29
34 The block device major number. 30 The block device major number.
@@ -37,21 +33,10 @@ name
37 33
38 The name of the rbd image. 34 The name of the rbd image.
39 35
40image_id
41
42 The unique id for the rbd image. (For rbd image format 1
43 this is empty.)
44
45pool 36pool
46 37
47 The name of the storage pool where this rbd image resides. 38 The pool where this rbd image resides. The pool-name pair is unique
48 An rbd image name is unique within its pool. 39 per rados system.
49
50pool_id
51
52 The unique identifier for the rbd image's pool. This is
53 a permanent attribute of the pool. A pool's id will never
54 change.
55 40
56size 41size
57 42
@@ -66,27 +51,33 @@ current_snap
66 51
67 The current snapshot for which the device is mapped. 52 The current snapshot for which the device is mapped.
68 53
54create_snap
55
56 Create a snapshot:
57
58 $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create
59
60rollback_snap
61
62 Rolls back data to the specified snapshot. This goes over the entire
63 list of rados blocks and sends a rollback command to each.
64
65 $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_rollback
66
69snap_* 67snap_*
70 68
71 A directory per each snapshot 69 A directory per each snapshot
72 70
73parent
74
75 Information identifying the pool, image, and snapshot id for
76 the parent image in a layered rbd image (format 2 only).
77 71
78Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> 72Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name>
79------------------------------------------------------------- 73-------------------------------------------------------------
80 74
81snap_id 75id
82 76
83 The rados internal snapshot id assigned for this snapshot 77 The rados internal snapshot id assigned for this snapshot
84 78
85snap_size 79size
86 80
87 The size of the image when this snapshot was taken. 81 The size of the image when this snapshot was taken.
88 82
89snap_features
90
91 A hexadecimal encoding of the feature bits for this snapshot.
92 83