Browse code

devmapper: some explination of `docker info`

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>

Vincent Batts authored on 2015/01/20 07:37:08
Showing 1 changed files
... ...
@@ -28,6 +28,45 @@ containers. All base images are snapshots of this device and those
28 28
 images are then in turn used as snapshots for other images and
29 29
 eventually containers.
30 30
 
31
+### Information on `docker info`
32
+
33
+As of docker-1.4.1, `docker info` when using the `devicemapper` storage driver
34
+will display something like:
35
+
36
+	$ sudo docker info
37
+	[...]
38
+	Storage Driver: devicemapper
39
+	 Pool Name: docker-253:1-17538953-pool
40
+	 Pool Blocksize: 65.54 kB
41
+	 Data file: /dev/loop4
42
+	 Metadata file: /dev/loop4
43
+	 Data Space Used: 2.536 GB
44
+	 Data Space Total: 107.4 GB
45
+	 Metadata Space Used: 7.93 MB
46
+	 Metadata Space Total: 2.147 GB
47
+	 Udev Sync Supported: true
48
+	 Data loop file: /home/docker/devicemapper/devicemapper/data
49
+	 Metadata loop file: /home/docker/devicemapper/devicemapper/metadata
50
+	 Library Version: 1.02.82-git (2013-10-04)
51
+	[...]
52
+
53
+#### status items
54
+
55
+Each item in the indented section under `Storage Driver: devicemapper` are
56
+status information about the driver.
57
+ *  `Pool Name` name of the devicemapper pool for this driver.
58
+ *  `Pool Blocksize` tells the blocksize the thin pool was initialized with. This only changes on creation.
59
+ *  `Data file` blockdevice file used for the devicemapper data
60
+ *  `Metadata file` blockdevice file used for the devicemapper metadata
61
+ *  `Data Space Used` tells how much of `Data file` is currently used
62
+ *  `Data Space Total` tells max size the `Data file`
63
+ *  `Metadata Space Used` tells how much of `Metadata file` is currently used
64
+ *  `Metadata Space Total` tells max size the `Metadata file`
65
+ *  `Udev Sync Supported` tells whether devicemapper is able to sync with Udev. Should be `true`.
66
+ *  `Data loop file` file attached to `Data file`, if loopback device is used
67
+ *  `Metadata loop file` file attached to `Metadata file`, if loopback device is used
68
+ *  `Library Version` from the libdevmapper used
69
+
31 70
 ### options
32 71
 
33 72
 The devicemapper backend supports some options that you can specify