~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-rbd

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-bus-rbd (Architecture mips) and /Documentation/ABI/testing/sysfs-bus-rbd (Architecture sparc64)


  1 What:           /sys/bus/rbd/add                    1 What:           /sys/bus/rbd/add
  2 Date:           Oct, 2010                           2 Date:           Oct, 2010
  3 KernelVersion:  v2.6.37                             3 KernelVersion:  v2.6.37
  4 Contact:        Sage Weil <sage@newdream.net>        4 Contact:        Sage Weil <sage@newdream.net>
  5 Description:                                        5 Description:
  6                 (WO) Add rbd block device.          6                 (WO) Add rbd block device.
  7                                                     7 
  8                 Usage: <mon ip addr> <options>      8                 Usage: <mon ip addr> <options> <pool name> <rbd image name> [<snap name>]
  9                                                     9 
 10                 Example::                          10                 Example::
 11                                                    11 
 12                  $ echo "192.168.0.1 name=admi     12                  $ echo "192.168.0.1 name=admin rbd foo" > /sys/bus/rbd/add
 13                                                    13 
 14                 The snapshot name can be "-" o     14                 The snapshot name can be "-" or omitted to map the image
 15                 read/write. A <dev-id> will be     15                 read/write. A <dev-id> will be assigned for any registered block
 16                 device. If snapshot is used, i     16                 device. If snapshot is used, it will be mapped read-only.
 17                                                    17 
 18                                                    18 
 19 What:           /sys/bus/rbd/remove                19 What:           /sys/bus/rbd/remove
 20 Date:           Oct, 2010                          20 Date:           Oct, 2010
 21 KernelVersion:  v2.6.37                            21 KernelVersion:  v2.6.37
 22 Contact:        Sage Weil <sage@newdream.net>       22 Contact:        Sage Weil <sage@newdream.net>
 23 Description:                                       23 Description:
 24                 (WO) Remove rbd block device.      24                 (WO) Remove rbd block device.
 25                                                    25 
 26                 Usage: <dev-id> [force]            26                 Usage: <dev-id> [force]
 27                                                    27 
 28                 Example::                          28                 Example::
 29                                                    29 
 30                  $ echo 2 > /sys/bus/rbd/remov     30                  $ echo 2 > /sys/bus/rbd/remove
 31                                                    31 
 32                 Optional "force" argument whic     32                 Optional "force" argument which when passed will wait for
 33                 running requests and then unma     33                 running requests and then unmap the image. Requests sent to the
 34                 driver after initiating the re     34                 driver after initiating the removal will be failed. (August
 35                 2016, since 4.9.)                  35                 2016, since 4.9.)
 36                                                    36 
 37                                                    37 
 38 What:           /sys/bus/rbd/add_single_major      38 What:           /sys/bus/rbd/add_single_major
 39 Date:           Dec, 2013                          39 Date:           Dec, 2013
 40 KernelVersion:  v3.14                              40 KernelVersion:  v3.14
 41 Contact:        Sage Weil <sage@newdream.net>       41 Contact:        Sage Weil <sage@newdream.net>
 42 Description:                                       42 Description:
 43                 (WO) Available only if rbd mod     43                 (WO) Available only if rbd module is inserted with single_major
 44                 parameter set to true.             44                 parameter set to true.
 45                                                    45 
 46                 Usage is the same as for /sys/     46                 Usage is the same as for /sys/bus/rbd/add. If present, this
 47                 should be used instead of the      47                 should be used instead of the latter: any attempts to use
 48                 /sys/bus/rbd/add if /sys/bus/r     48                 /sys/bus/rbd/add if /sys/bus/rbd/add_single_major is available
 49                 will fail for backwards compat     49                 will fail for backwards compatibility reasons.
 50                                                    50 
 51                                                    51 
 52 What:           /sys/bus/rbd/remove_single_maj     52 What:           /sys/bus/rbd/remove_single_major
 53 Date:           Dec, 2013                          53 Date:           Dec, 2013
 54 KernelVersion:  v3.14                              54 KernelVersion:  v3.14
 55 Contact:        Sage Weil <sage@newdream.net>       55 Contact:        Sage Weil <sage@newdream.net>
 56 Description:                                       56 Description:
 57                 (WO) Available only if rbd mod     57                 (WO) Available only if rbd module is inserted with single_major
 58                 parameter set to true.             58                 parameter set to true.
 59                                                    59 
 60                 Usage is the same as for /sys/     60                 Usage is the same as for /sys/bus/rbd/remove. If present, this
 61                 should be used instead of the      61                 should be used instead of the latter: any attempts to use
 62                 /sys/bus/rbd/remove if /sys/bu     62                 /sys/bus/rbd/remove if /sys/bus/rbd/remove_single_major is
 63                 available will fail for backwa     63                 available will fail for backwards compatibility reasons.
 64                                                    64 
 65                                                    65 
 66 What:           /sys/bus/rbd/supported_feature     66 What:           /sys/bus/rbd/supported_features
 67 Date:           Mar, 2017                          67 Date:           Mar, 2017
 68 KernelVersion:  v4.11                              68 KernelVersion:  v4.11
 69 Contact:        Sage Weil <sage@newdream.net>       69 Contact:        Sage Weil <sage@newdream.net>
 70 Description:                                       70 Description:
 71                 (RO) Displays the features sup     71                 (RO) Displays the features supported by the rbd module so that
 72                 userspace can generate meaning     72                 userspace can generate meaningful error messages and spell out
 73                 unsupported features that need     73                 unsupported features that need to be disabled.
 74                                                    74 
 75                                                    75 
 76 What:           /sys/bus/rbd/devices/<dev-id>/     76 What:           /sys/bus/rbd/devices/<dev-id>/size
 77 What:           /sys/bus/rbd/devices/<dev-id>/     77 What:           /sys/bus/rbd/devices/<dev-id>/major
 78 What:           /sys/bus/rbd/devices/<dev-id>/     78 What:           /sys/bus/rbd/devices/<dev-id>/client_id
 79 What:           /sys/bus/rbd/devices/<dev-id>/     79 What:           /sys/bus/rbd/devices/<dev-id>/pool
 80 What:           /sys/bus/rbd/devices/<dev-id>/     80 What:           /sys/bus/rbd/devices/<dev-id>/name
 81 What:           /sys/bus/rbd/devices/<dev-id>/     81 What:           /sys/bus/rbd/devices/<dev-id>/refresh
 82 What:           /sys/bus/rbd/devices/<dev-id>/     82 What:           /sys/bus/rbd/devices/<dev-id>/current_snap
 83 Date:           Oct, 2010                          83 Date:           Oct, 2010
 84 KernelVersion:  v2.6.37                            84 KernelVersion:  v2.6.37
 85 Contact:        Sage Weil <sage@newdream.net>       85 Contact:        Sage Weil <sage@newdream.net>
 86 Description:                                       86 Description:
 87                                                    87 
 88                 ==============  ==============     88                 ==============  ================================================
 89                 size            (RO) The size      89                 size            (RO) The size (in bytes) of the mapped block
 90                                 device.            90                                 device.
 91                                                    91 
 92                 major           (RO) The block     92                 major           (RO) The block device major number.
 93                                                    93 
 94                 client_id       (RO) The ceph      94                 client_id       (RO) The ceph unique client id that was assigned
 95                                 for this speci     95                                 for this specific session.
 96                                                    96 
 97                 pool            (RO) The name      97                 pool            (RO) The name of the storage pool where this rbd
 98                                 image resides.     98                                 image resides. An rbd image name is unique
 99                                 within its poo     99                                 within its pool.
100                                                   100 
101                 name            (RO) The name     101                 name            (RO) The name of the rbd image.
102                                                   102 
103                 refresh         (WO) Writing t    103                 refresh         (WO) Writing to this file will reread the image
104                                 header data an    104                                 header data and set all relevant data structures
105                                 accordingly.      105                                 accordingly.
106                                                   106 
107                 current_snap    (RO) The curre    107                 current_snap    (RO) The current snapshot for which the device
108                                 is mapped.        108                                 is mapped.
109                 ==============  ==============    109                 ==============  ================================================
110                                                   110 
111                                                   111 
112 What:           /sys/bus/rbd/devices/<dev-id>/    112 What:           /sys/bus/rbd/devices/<dev-id>/pool_id
113 Date:           Jul, 2012                         113 Date:           Jul, 2012
114 KernelVersion:  v3.6                              114 KernelVersion:  v3.6
115 Contact:        Sage Weil <sage@newdream.net>      115 Contact:        Sage Weil <sage@newdream.net>
116 Description:                                      116 Description:
117                 (RO) The unique identifier for    117                 (RO) The unique identifier for the rbd image's pool. This is a
118                 permanent attribute of the poo    118                 permanent attribute of the pool. A pool's id will never change.
119                                                   119 
120                                                   120 
121 What:           /sys/bus/rbd/devices/<dev-id>/    121 What:           /sys/bus/rbd/devices/<dev-id>/image_id
122 What:           /sys/bus/rbd/devices/<dev-id>/    122 What:           /sys/bus/rbd/devices/<dev-id>/features
123 Date:           Oct, 2012                         123 Date:           Oct, 2012
124 KernelVersion:  v3.7                              124 KernelVersion:  v3.7
125 Contact:        Sage Weil <sage@newdream.net>      125 Contact:        Sage Weil <sage@newdream.net>
126 Description:                                      126 Description:
127                 =========       ==============    127                 =========       ===============================================
128                 image_id        (RO) The uniqu    128                 image_id        (RO) The unique id for the rbd image. (For rbd
129                                 image format 1    129                                 image format 1 this is empty.)
130                                                   130 
131                 features        (RO) A hexadec    131                 features        (RO) A hexadecimal encoding of the feature bits
132                                 for this image    132                                 for this image.
133                 =========       ==============    133                 =========       ===============================================
134                                                   134 
135                                                   135 
136 What:           /sys/bus/rbd/devices/<dev-id>/    136 What:           /sys/bus/rbd/devices/<dev-id>/parent
137 Date:           Nov, 2012                         137 Date:           Nov, 2012
138 KernelVersion:  v3.8                              138 KernelVersion:  v3.8
139 Contact:        Sage Weil <sage@newdream.net>      139 Contact:        Sage Weil <sage@newdream.net>
140 Description:                                      140 Description:
141                 (RO) Information identifying t    141                 (RO) Information identifying the chain of parent images in a
142                 layered rbd image. Entries are    142                 layered rbd image. Entries are separated by empty lines.
143                                                   143 
144                                                   144 
145 What:           /sys/bus/rbd/devices/<dev-id>/    145 What:           /sys/bus/rbd/devices/<dev-id>/minor
146 Date:           Dec, 2013                         146 Date:           Dec, 2013
147 KernelVersion:  v3.14                             147 KernelVersion:  v3.14
148 Contact:        Sage Weil <sage@newdream.net>      148 Contact:        Sage Weil <sage@newdream.net>
149 Description:                                      149 Description:
150                 (RO) The block device minor nu    150                 (RO) The block device minor number.
151                                                   151 
152                                                   152 
153 What:           /sys/bus/rbd/devices/<dev-id>/    153 What:           /sys/bus/rbd/devices/<dev-id>/snap_id
154 What:           /sys/bus/rbd/devices/<dev-id>/    154 What:           /sys/bus/rbd/devices/<dev-id>/config_info
155 What:           /sys/bus/rbd/devices/<dev-id>/    155 What:           /sys/bus/rbd/devices/<dev-id>/cluster_fsid
156 What:           /sys/bus/rbd/devices/<dev-id>/    156 What:           /sys/bus/rbd/devices/<dev-id>/client_addr
157 Date:           Aug, 2016                         157 Date:           Aug, 2016
158 KernelVersion:  v4.9                              158 KernelVersion:  v4.9
159 Contact:        Sage Weil <sage@newdream.net>      159 Contact:        Sage Weil <sage@newdream.net>
160 Description:                                      160 Description:
161                 ============    ==============    161                 ============    ================================================
162                 snap_id         (RO) The curre    162                 snap_id         (RO) The current snapshot's id.
163                                                   163 
164                 config_info     (RO) The strin    164                 config_info     (RO) The string written into
165                                 /sys/bus/rbd/a    165                                 /sys/bus/rbd/add{,_single_major}.
166                                                   166 
167                 cluster_fsid    (RO) The ceph     167                 cluster_fsid    (RO) The ceph cluster UUID.
168                                                   168 
169                 client_addr     (RO) The ceph     169                 client_addr     (RO) The ceph unique client
170                                 entity_addr_t     170                                 entity_addr_t (address + nonce). The format is
171                                 <address>:<por    171                                 <address>:<port>/<nonce>: '1.2.3.4:1234/5678' or
172                                 '[1:2:3:4:5:6:    172                                 '[1:2:3:4:5:6:7:8]:1234/5678'.
173                 ============    ==============    173                 ============    ================================================
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php