Merge ~ogayot/curtin:filter-out-ventoy into curtin:master
- Git
- lp:~ogayot/curtin
- filter-out-ventoy
- Merge into master
Status: | Merged |
---|---|
Merged at revision: | 650a5af561fed5be811e7e2d5c101334c05257ba |
Proposed branch: | ~ogayot/curtin:filter-out-ventoy |
Merge into: | curtin:master |
Diff against target: |
1535 lines (+1492/-0) 3 files modified
curtin/storage_config.py (+9/-0) tests/data/probert_storage_ventoy.json (+1458/-0) tests/unittests/test_storage_config.py (+25/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Bungert | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+439863@code.launchpad.net |
Commit message
storage: filter out ventoy image when building storage config
When ventoy is used, the filesystem mounted to /cdrom is not a /dev/sr0
device (major number 11) but a dm device named "ventoy". Add a check to
exclude it as well as real cdrom devices.
Description of the change
storage: filter out ventoy image when building storage config
When ventoy is used, the filesystem mounted to /cdrom is not a /dev/sr0
device (major number 11) but a dm device named "ventoy". Add a check to
exclude it as well as real cdrom devices.
Server Team CI bot (server-team-bot) wrote : | # |
Server Team CI bot (server-team-bot) wrote : | # |
PASSED: Continuous integration, rev:c89ad4a8017
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
Dan Bungert (dbungert) wrote : | # |
I'd like a unit test please. Maybe something based on the probedata from the bug report?
Olivier Gayot (ogayot) wrote : | # |
> I'd like a unit test please. Maybe something based on the probedata from the bug report?
Sure! Since the original bug reports are private, I've exported the probes-data from my last desktop install that was using ventoy.
Server Team CI bot (server-team-bot) wrote : | # |
PASSED: Continuous integration, rev:650a5af561f
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
Preview Diff
1 | diff --git a/curtin/storage_config.py b/curtin/storage_config.py | |||
2 | index b1d48cb..a232e1a 100644 | |||
3 | --- a/curtin/storage_config.py | |||
4 | +++ b/curtin/storage_config.py | |||
5 | @@ -1119,6 +1119,15 @@ class MountParser(ProbertParser): | |||
6 | 1119 | # no floppy, no cdrom | 1119 | # no floppy, no cdrom |
7 | 1120 | if self.blockdev_data[source]['MAJOR'] in ["11", "2"]: | 1120 | if self.blockdev_data[source]['MAJOR'] in ["11", "2"]: |
8 | 1121 | return {} | 1121 | return {} |
9 | 1122 | # When using ventoy, if any mount is found for /cdrom, it will not be a | ||
10 | 1123 | # block device with major number 11 but a dev/mapper device named | ||
11 | 1124 | # "ventoy". | ||
12 | 1125 | # See https://bugs.launchpad.net/bugs/2012722 | ||
13 | 1126 | # TODO: ideally, we should not rely on the value of the DM_NAME | ||
14 | 1127 | # attribute. Other image loading systems will have a different value. | ||
15 | 1128 | if self.blockdev_data[source].get("DM_NAME") == "ventoy": | ||
16 | 1129 | LOG.warn("ignoring mount for device %s", source) | ||
17 | 1130 | return {} | ||
18 | 1122 | 1131 | ||
19 | 1123 | source_id = self.blockdev_to_id(self.blockdev_data[source]) | 1132 | source_id = self.blockdev_to_id(self.blockdev_data[source]) |
20 | 1124 | return {'type': 'mount', | 1133 | return {'type': 'mount', |
21 | diff --git a/tests/data/probert_storage_ventoy.json b/tests/data/probert_storage_ventoy.json | |||
22 | 1125 | new file mode 100644 | 1134 | new file mode 100644 |
23 | index 0000000..b1347da | |||
24 | --- /dev/null | |||
25 | +++ b/tests/data/probert_storage_ventoy.json | |||
26 | @@ -0,0 +1,1458 @@ | |||
27 | 1 | { | ||
28 | 2 | "filesystem": { | ||
29 | 3 | "/dev/sdb1": { | ||
30 | 4 | "LABEL": "Ventoy", | ||
31 | 5 | "LABEL_ENC": "Ventoy", | ||
32 | 6 | "TYPE": "exfat", | ||
33 | 7 | "USAGE": "filesystem", | ||
34 | 8 | "UUID": "5DA2-E027", | ||
35 | 9 | "UUID_ENC": "5DA2-E027", | ||
36 | 10 | "VERSION": "1.0", | ||
37 | 11 | "ESTIMATED_MIN_SIZE": -1 | ||
38 | 12 | }, | ||
39 | 13 | "/dev/sda1": { | ||
40 | 14 | "TYPE": "vfat", | ||
41 | 15 | "USAGE": "filesystem", | ||
42 | 16 | "UUID": "06AB-D0F7", | ||
43 | 17 | "UUID_ENC": "06AB-D0F7", | ||
44 | 18 | "VERSION": "FAT32", | ||
45 | 19 | "ESTIMATED_MIN_SIZE": -1 | ||
46 | 20 | }, | ||
47 | 21 | "/dev/sda2": { | ||
48 | 22 | "TYPE": "ext4", | ||
49 | 23 | "USAGE": "filesystem", | ||
50 | 24 | "UUID": "27fc2a2c-f7c5-4458-b4bd-8bd1f1822c12", | ||
51 | 25 | "UUID_ENC": "27fc2a2c-f7c5-4458-b4bd-8bd1f1822c12", | ||
52 | 26 | "VERSION": "1.0", | ||
53 | 27 | "SIZE": 2147483648, | ||
54 | 28 | "ESTIMATED_MIN_SIZE": 411160576 | ||
55 | 29 | }, | ||
56 | 30 | "/dev/dm-0": { | ||
57 | 31 | "TYPE": "ext4", | ||
58 | 32 | "USAGE": "filesystem", | ||
59 | 33 | "UUID": "d71c8dc6-92b2-4c28-9aba-95f102280064", | ||
60 | 34 | "UUID_ENC": "d71c8dc6-92b2-4c28-9aba-95f102280064", | ||
61 | 35 | "VERSION": "1.0", | ||
62 | 36 | "SIZE": 107374182400, | ||
63 | 37 | "ESTIMATED_MIN_SIZE": 9313890304 | ||
64 | 38 | } | ||
65 | 39 | }, | ||
66 | 40 | "bcache": { | ||
67 | 41 | "backing": {}, | ||
68 | 42 | "caching": {} | ||
69 | 43 | }, | ||
70 | 44 | "dasd": {}, | ||
71 | 45 | "os": { | ||
72 | 46 | "/dev/mapper/ubuntu": { | ||
73 | 47 | "long": "Ubuntu Lunar Lobster", | ||
74 | 48 | "label": "Ubuntu", | ||
75 | 49 | "type": "linux", | ||
76 | 50 | "version": "23.04" | ||
77 | 51 | } | ||
78 | 52 | }, | ||
79 | 53 | "raid": {}, | ||
80 | 54 | "multipath": {}, | ||
81 | 55 | "mount": [ | ||
82 | 56 | { | ||
83 | 57 | "target": "/", | ||
84 | 58 | "source": "/cow", | ||
85 | 59 | "fstype": "overlay", | ||
86 | 60 | "options": "rw,relatime,lowerdir=/minimal.standard.live.squashfs:/minimal.standard.squashfs:/minimal.squashfs,upperdir=/cow/upper,workdir=/cow/work,xino=off", | ||
87 | 61 | "children": [ | ||
88 | 62 | { | ||
89 | 63 | "target": "/sys", | ||
90 | 64 | "source": "sysfs", | ||
91 | 65 | "fstype": "sysfs", | ||
92 | 66 | "options": "rw,nosuid,nodev,noexec,relatime", | ||
93 | 67 | "children": [ | ||
94 | 68 | { | ||
95 | 69 | "target": "/sys/kernel/security", | ||
96 | 70 | "source": "securityfs", | ||
97 | 71 | "fstype": "securityfs", | ||
98 | 72 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
99 | 73 | }, | ||
100 | 74 | { | ||
101 | 75 | "target": "/sys/fs/cgroup", | ||
102 | 76 | "source": "cgroup2", | ||
103 | 77 | "fstype": "cgroup2", | ||
104 | 78 | "options": "rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot" | ||
105 | 79 | }, | ||
106 | 80 | { | ||
107 | 81 | "target": "/sys/fs/pstore", | ||
108 | 82 | "source": "pstore", | ||
109 | 83 | "fstype": "pstore", | ||
110 | 84 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
111 | 85 | }, | ||
112 | 86 | { | ||
113 | 87 | "target": "/sys/firmware/efi/efivars", | ||
114 | 88 | "source": "efivarfs", | ||
115 | 89 | "fstype": "efivarfs", | ||
116 | 90 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
117 | 91 | }, | ||
118 | 92 | { | ||
119 | 93 | "target": "/sys/fs/bpf", | ||
120 | 94 | "source": "bpf", | ||
121 | 95 | "fstype": "bpf", | ||
122 | 96 | "options": "rw,nosuid,nodev,noexec,relatime,mode=700" | ||
123 | 97 | }, | ||
124 | 98 | { | ||
125 | 99 | "target": "/sys/kernel/debug", | ||
126 | 100 | "source": "debugfs", | ||
127 | 101 | "fstype": "debugfs", | ||
128 | 102 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
129 | 103 | }, | ||
130 | 104 | { | ||
131 | 105 | "target": "/sys/kernel/tracing", | ||
132 | 106 | "source": "tracefs", | ||
133 | 107 | "fstype": "tracefs", | ||
134 | 108 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
135 | 109 | }, | ||
136 | 110 | { | ||
137 | 111 | "target": "/sys/kernel/config", | ||
138 | 112 | "source": "configfs", | ||
139 | 113 | "fstype": "configfs", | ||
140 | 114 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
141 | 115 | }, | ||
142 | 116 | { | ||
143 | 117 | "target": "/sys/fs/fuse/connections", | ||
144 | 118 | "source": "fusectl", | ||
145 | 119 | "fstype": "fusectl", | ||
146 | 120 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
147 | 121 | } | ||
148 | 122 | ] | ||
149 | 123 | }, | ||
150 | 124 | { | ||
151 | 125 | "target": "/proc", | ||
152 | 126 | "source": "proc", | ||
153 | 127 | "fstype": "proc", | ||
154 | 128 | "options": "rw,nosuid,nodev,noexec,relatime", | ||
155 | 129 | "children": [ | ||
156 | 130 | { | ||
157 | 131 | "target": "/proc/sys/fs/binfmt_misc", | ||
158 | 132 | "source": "systemd-1", | ||
159 | 133 | "fstype": "autofs", | ||
160 | 134 | "options": "rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2736", | ||
161 | 135 | "children": [ | ||
162 | 136 | { | ||
163 | 137 | "target": "/proc/sys/fs/binfmt_misc", | ||
164 | 138 | "source": "binfmt_misc", | ||
165 | 139 | "fstype": "binfmt_misc", | ||
166 | 140 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
167 | 141 | } | ||
168 | 142 | ] | ||
169 | 143 | } | ||
170 | 144 | ] | ||
171 | 145 | }, | ||
172 | 146 | { | ||
173 | 147 | "target": "/dev", | ||
174 | 148 | "source": "udev", | ||
175 | 149 | "fstype": "devtmpfs", | ||
176 | 150 | "options": "rw,nosuid,relatime,size=3920092k,nr_inodes=980023,mode=755,inode64", | ||
177 | 151 | "children": [ | ||
178 | 152 | { | ||
179 | 153 | "target": "/dev/pts", | ||
180 | 154 | "source": "devpts", | ||
181 | 155 | "fstype": "devpts", | ||
182 | 156 | "options": "rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000" | ||
183 | 157 | }, | ||
184 | 158 | { | ||
185 | 159 | "target": "/dev/shm", | ||
186 | 160 | "source": "tmpfs", | ||
187 | 161 | "fstype": "tmpfs", | ||
188 | 162 | "options": "rw,nosuid,nodev,inode64" | ||
189 | 163 | }, | ||
190 | 164 | { | ||
191 | 165 | "target": "/dev/hugepages", | ||
192 | 166 | "source": "hugetlbfs", | ||
193 | 167 | "fstype": "hugetlbfs", | ||
194 | 168 | "options": "rw,relatime,pagesize=2M" | ||
195 | 169 | }, | ||
196 | 170 | { | ||
197 | 171 | "target": "/dev/mqueue", | ||
198 | 172 | "source": "mqueue", | ||
199 | 173 | "fstype": "mqueue", | ||
200 | 174 | "options": "rw,nosuid,nodev,noexec,relatime" | ||
201 | 175 | } | ||
202 | 176 | ] | ||
203 | 177 | }, | ||
204 | 178 | { | ||
205 | 179 | "target": "/run", | ||
206 | 180 | "source": "tmpfs", | ||
207 | 181 | "fstype": "tmpfs", | ||
208 | 182 | "options": "rw,nosuid,nodev,noexec,relatime,size=799932k,mode=755,inode64", | ||
209 | 183 | "children": [ | ||
210 | 184 | { | ||
211 | 185 | "target": "/run/lock", | ||
212 | 186 | "source": "tmpfs", | ||
213 | 187 | "fstype": "tmpfs", | ||
214 | 188 | "options": "rw,nosuid,nodev,noexec,relatime,size=5120k,inode64" | ||
215 | 189 | }, | ||
216 | 190 | { | ||
217 | 191 | "target": "/run/credentials/systemd-sysusers.service", | ||
218 | 192 | "source": "ramfs", | ||
219 | 193 | "fstype": "ramfs", | ||
220 | 194 | "options": "ro,nosuid,nodev,noexec,relatime,mode=700" | ||
221 | 195 | }, | ||
222 | 196 | { | ||
223 | 197 | "target": "/run/credentials/systemd-tmpfiles-setup-dev.service", | ||
224 | 198 | "source": "ramfs", | ||
225 | 199 | "fstype": "ramfs", | ||
226 | 200 | "options": "ro,nosuid,nodev,noexec,relatime,mode=700" | ||
227 | 201 | }, | ||
228 | 202 | { | ||
229 | 203 | "target": "/run/credentials/systemd-sysctl.service", | ||
230 | 204 | "source": "ramfs", | ||
231 | 205 | "fstype": "ramfs", | ||
232 | 206 | "options": "ro,nosuid,nodev,noexec,relatime,mode=700" | ||
233 | 207 | }, | ||
234 | 208 | { | ||
235 | 209 | "target": "/run/credentials/systemd-tmpfiles-setup.service", | ||
236 | 210 | "source": "ramfs", | ||
237 | 211 | "fstype": "ramfs", | ||
238 | 212 | "options": "ro,nosuid,nodev,noexec,relatime,mode=700" | ||
239 | 213 | }, | ||
240 | 214 | { | ||
241 | 215 | "target": "/run/user/1000", | ||
242 | 216 | "source": "tmpfs", | ||
243 | 217 | "fstype": "tmpfs", | ||
244 | 218 | "options": "rw,nosuid,nodev,relatime,size=799928k,nr_inodes=199982,mode=700,uid=1000,gid=1000,inode64", | ||
245 | 219 | "children": [ | ||
246 | 220 | { | ||
247 | 221 | "target": "/run/user/1000/gvfs", | ||
248 | 222 | "source": "gvfsd-fuse", | ||
249 | 223 | "fstype": "fuse.gvfsd-fuse", | ||
250 | 224 | "options": "rw,nosuid,nodev,relatime,user_id=1000,group_id=1000" | ||
251 | 225 | }, | ||
252 | 226 | { | ||
253 | 227 | "target": "/run/user/1000/doc", | ||
254 | 228 | "source": "portal", | ||
255 | 229 | "fstype": "fuse.portal", | ||
256 | 230 | "options": "rw,nosuid,nodev,relatime,user_id=1000,group_id=1000" | ||
257 | 231 | } | ||
258 | 232 | ] | ||
259 | 233 | }, | ||
260 | 234 | { | ||
261 | 235 | "target": "/run/snapd/ns", | ||
262 | 236 | "source": "tmpfs[/snapd/ns]", | ||
263 | 237 | "fstype": "tmpfs", | ||
264 | 238 | "options": "rw,nosuid,nodev,noexec,relatime,size=799932k,mode=755,inode64", | ||
265 | 239 | "children": [ | ||
266 | 240 | { | ||
267 | 241 | "target": "/run/snapd/ns/firefox.mnt", | ||
268 | 242 | "source": "nsfs[mnt:[4026532616]]", | ||
269 | 243 | "fstype": "nsfs", | ||
270 | 244 | "options": "rw" | ||
271 | 245 | }, | ||
272 | 246 | { | ||
273 | 247 | "target": "/run/snapd/ns/snap-store.mnt", | ||
274 | 248 | "source": "nsfs[mnt:[4026532678]]", | ||
275 | 249 | "fstype": "nsfs", | ||
276 | 250 | "options": "rw" | ||
277 | 251 | }, | ||
278 | 252 | { | ||
279 | 253 | "target": "/run/snapd/ns/snapd-desktop-integration.mnt", | ||
280 | 254 | "source": "nsfs[mnt:[4026532679]]", | ||
281 | 255 | "fstype": "nsfs", | ||
282 | 256 | "options": "rw" | ||
283 | 257 | } | ||
284 | 258 | ] | ||
285 | 259 | } | ||
286 | 260 | ] | ||
287 | 261 | }, | ||
288 | 262 | { | ||
289 | 263 | "target": "/cdrom", | ||
290 | 264 | "source": "/dev/mapper/ventoy", | ||
291 | 265 | "fstype": "iso9660", | ||
292 | 266 | "options": "ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8" | ||
293 | 267 | }, | ||
294 | 268 | { | ||
295 | 269 | "target": "/rofs", | ||
296 | 270 | "source": "/dev/loop0", | ||
297 | 271 | "fstype": "squashfs", | ||
298 | 272 | "options": "ro,noatime,errors=continue,threads=single" | ||
299 | 273 | }, | ||
300 | 274 | { | ||
301 | 275 | "target": "/tmp", | ||
302 | 276 | "source": "tmpfs", | ||
303 | 277 | "fstype": "tmpfs", | ||
304 | 278 | "options": "rw,nosuid,nodev,relatime,inode64", | ||
305 | 279 | "children": [ | ||
306 | 280 | { | ||
307 | 281 | "target": "/tmp/tmpirjspppg/minimal.squashfs.dir", | ||
308 | 282 | "source": "/dev/loop0", | ||
309 | 283 | "fstype": "squashfs", | ||
310 | 284 | "options": "ro,relatime,errors=continue,threads=single" | ||
311 | 285 | }, | ||
312 | 286 | { | ||
313 | 287 | "target": "/tmp/tmpirjspppg/minimal.standard.squashfs.dir", | ||
314 | 288 | "source": "/dev/loop1", | ||
315 | 289 | "fstype": "squashfs", | ||
316 | 290 | "options": "ro,relatime,errors=continue,threads=single" | ||
317 | 291 | }, | ||
318 | 292 | { | ||
319 | 293 | "target": "/tmp/tmpirjspppg/minimal.standard.no-languages.squashfs.dir", | ||
320 | 294 | "source": "/dev/loop12", | ||
321 | 295 | "fstype": "squashfs", | ||
322 | 296 | "options": "ro,relatime,errors=continue,threads=single" | ||
323 | 297 | }, | ||
324 | 298 | { | ||
325 | 299 | "target": "/tmp/tmpirjspppg/root.dir", | ||
326 | 300 | "source": "overlay", | ||
327 | 301 | "fstype": "overlay", | ||
328 | 302 | "options": "ro,relatime,lowerdir=/tmp/tmpirjspppg/minimal.standard.no-languages.squashfs.dir:/tmp/tmpirjspppg/minimal.standard.squashfs.dir:/tmp/tmpirjspppg/minimal.squashfs.dir" | ||
329 | 303 | } | ||
330 | 304 | ] | ||
331 | 305 | }, | ||
332 | 306 | { | ||
333 | 307 | "target": "/snap/bare/5", | ||
334 | 308 | "source": "/dev/loop7", | ||
335 | 309 | "fstype": "squashfs", | ||
336 | 310 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
337 | 311 | }, | ||
338 | 312 | { | ||
339 | 313 | "target": "/snap/snapd-desktop-integration/71", | ||
340 | 314 | "source": "/dev/loop10", | ||
341 | 315 | "fstype": "squashfs", | ||
342 | 316 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
343 | 317 | }, | ||
344 | 318 | { | ||
345 | 319 | "target": "/snap/snap-store/935", | ||
346 | 320 | "source": "/dev/loop8", | ||
347 | 321 | "fstype": "squashfs", | ||
348 | 322 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
349 | 323 | }, | ||
350 | 324 | { | ||
351 | 325 | "target": "/snap/gtk-common-themes/1535", | ||
352 | 326 | "source": "/dev/loop6", | ||
353 | 327 | "fstype": "squashfs", | ||
354 | 328 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
355 | 329 | }, | ||
356 | 330 | { | ||
357 | 331 | "target": "/snap/firefox/2453", | ||
358 | 332 | "source": "/dev/loop4", | ||
359 | 333 | "fstype": "squashfs", | ||
360 | 334 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
361 | 335 | }, | ||
362 | 336 | { | ||
363 | 337 | "target": "/snap/snapd/18596", | ||
364 | 338 | "source": "/dev/loop9", | ||
365 | 339 | "fstype": "squashfs", | ||
366 | 340 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
367 | 341 | }, | ||
368 | 342 | { | ||
369 | 343 | "target": "/snap/core22/547", | ||
370 | 344 | "source": "/dev/loop3", | ||
371 | 345 | "fstype": "squashfs", | ||
372 | 346 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
373 | 347 | }, | ||
374 | 348 | { | ||
375 | 349 | "target": "/snap/ubuntu-desktop-installer/880", | ||
376 | 350 | "source": "/dev/loop11", | ||
377 | 351 | "fstype": "squashfs", | ||
378 | 352 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
379 | 353 | }, | ||
380 | 354 | { | ||
381 | 355 | "target": "/snap/gnome-42-2204/65", | ||
382 | 356 | "source": "/dev/loop5", | ||
383 | 357 | "fstype": "squashfs", | ||
384 | 358 | "options": "ro,nodev,relatime,errors=continue,threads=single" | ||
385 | 359 | }, | ||
386 | 360 | { | ||
387 | 361 | "target": "/var/snap/firefox/common/host-hunspell", | ||
388 | 362 | "source": "/cow[/usr/share/hunspell]", | ||
389 | 363 | "fstype": "overlay", | ||
390 | 364 | "options": "ro,noexec,noatime,lowerdir=/minimal.standard.live.squashfs:/minimal.standard.squashfs:/minimal.squashfs,upperdir=/cow/upper,workdir=/cow/work,xino=off" | ||
391 | 365 | } | ||
392 | 366 | ] | ||
393 | 367 | } | ||
394 | 368 | ], | ||
395 | 369 | "lvm": { | ||
396 | 370 | "logical_volumes": { | ||
397 | 371 | "ubuntu-vg/ubuntu-lv": { | ||
398 | 372 | "fullname": "ubuntu-vg/ubuntu-lv", | ||
399 | 373 | "name": "ubuntu-lv", | ||
400 | 374 | "volgroup": "ubuntu-vg", | ||
401 | 375 | "size": "107374182400B" | ||
402 | 376 | } | ||
403 | 377 | }, | ||
404 | 378 | "physical_volumes": { | ||
405 | 379 | "ubuntu-vg": [ | ||
406 | 380 | "/dev/sda3" | ||
407 | 381 | ] | ||
408 | 382 | }, | ||
409 | 383 | "volume_groups": { | ||
410 | 384 | "ubuntu-vg": { | ||
411 | 385 | "name": "ubuntu-vg", | ||
412 | 386 | "devices": [ | ||
413 | 387 | "/dev/sda3" | ||
414 | 388 | ], | ||
415 | 389 | "size": "496827891712B" | ||
416 | 390 | } | ||
417 | 391 | } | ||
418 | 392 | }, | ||
419 | 393 | "zfs": { | ||
420 | 394 | "zpools": {} | ||
421 | 395 | }, | ||
422 | 396 | "blockdev": { | ||
423 | 397 | "/dev/sdb": { | ||
424 | 398 | "CURRENT_TAGS": ":systemd:", | ||
425 | 399 | "DEVLINKS": "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0 /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0 /dev/disk/by-diskseq/11", | ||
426 | 400 | "DEVNAME": "/dev/sdb", | ||
427 | 401 | "DEVPATH": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0:0:0/block/sdb", | ||
428 | 402 | "DEVTYPE": "disk", | ||
429 | 403 | "DISKSEQ": "11", | ||
430 | 404 | "ID_BUS": "usb", | ||
431 | 405 | "ID_INSTANCE": "0:0", | ||
432 | 406 | "ID_MODEL": "SanDisk_3.2Gen1", | ||
433 | 407 | "ID_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
434 | 408 | "ID_MODEL_ID": "5591", | ||
435 | 409 | "ID_PART_TABLE_TYPE": "dos", | ||
436 | 410 | "ID_PART_TABLE_UUID": "b69cc32d", | ||
437 | 411 | "ID_PATH": "pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0", | ||
438 | 412 | "ID_PATH_TAG": "pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0", | ||
439 | 413 | "ID_REVISION": "1.00", | ||
440 | 414 | "ID_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
441 | 415 | "ID_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
442 | 416 | "ID_TYPE": "disk", | ||
443 | 417 | "ID_USB_DRIVER": "usb-storage", | ||
444 | 418 | "ID_USB_INSTANCE": "0:0", | ||
445 | 419 | "ID_USB_INTERFACES": ":080650:", | ||
446 | 420 | "ID_USB_INTERFACE_NUM": "00", | ||
447 | 421 | "ID_USB_MODEL": "SanDisk_3.2Gen1", | ||
448 | 422 | "ID_USB_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
449 | 423 | "ID_USB_MODEL_ID": "5591", | ||
450 | 424 | "ID_USB_REVISION": "1.00", | ||
451 | 425 | "ID_USB_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
452 | 426 | "ID_USB_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
453 | 427 | "ID_USB_TYPE": "disk", | ||
454 | 428 | "ID_USB_VENDOR": "USB", | ||
455 | 429 | "ID_USB_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
456 | 430 | "ID_USB_VENDOR_ID": "0781", | ||
457 | 431 | "ID_VENDOR": "USB", | ||
458 | 432 | "ID_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
459 | 433 | "ID_VENDOR_ID": "0781", | ||
460 | 434 | "MAJOR": "8", | ||
461 | 435 | "MINOR": "16", | ||
462 | 436 | "SUBSYSTEM": "block", | ||
463 | 437 | "TAGS": ":systemd:", | ||
464 | 438 | "USEC_INITIALIZED": "4248707", | ||
465 | 439 | "attrs": { | ||
466 | 440 | "alignment_offset": "0", | ||
467 | 441 | "bdi": null, | ||
468 | 442 | "capability": "1", | ||
469 | 443 | "dev": "8:16", | ||
470 | 444 | "device": null, | ||
471 | 445 | "discard_alignment": "0", | ||
472 | 446 | "diskseq": "11", | ||
473 | 447 | "events": "media_change", | ||
474 | 448 | "events_async": "", | ||
475 | 449 | "events_poll_msecs": "-1", | ||
476 | 450 | "ext_range": "256", | ||
477 | 451 | "hidden": "0", | ||
478 | 452 | "inflight": " 1 0", | ||
479 | 453 | "integrity/device_is_integrity_capable": "0", | ||
480 | 454 | "integrity/format": "none", | ||
481 | 455 | "integrity/protection_interval_bytes": "0", | ||
482 | 456 | "integrity/read_verify": "0", | ||
483 | 457 | "integrity/tag_size": "0", | ||
484 | 458 | "integrity/write_generate": "0", | ||
485 | 459 | "mq/0/cpu_list": "0, 1, 2, 3", | ||
486 | 460 | "mq/0/nr_reserved_tags": "0", | ||
487 | 461 | "mq/0/nr_tags": "1", | ||
488 | 462 | "power/async": "disabled", | ||
489 | 463 | "power/autosuspend_delay_ms": null, | ||
490 | 464 | "power/control": "auto", | ||
491 | 465 | "power/runtime_active_kids": "0", | ||
492 | 466 | "power/runtime_active_time": "0", | ||
493 | 467 | "power/runtime_enabled": "disabled", | ||
494 | 468 | "power/runtime_status": "unsupported", | ||
495 | 469 | "power/runtime_suspended_time": "0", | ||
496 | 470 | "power/runtime_usage": "0", | ||
497 | 471 | "queue/add_random": "1", | ||
498 | 472 | "queue/chunk_sectors": "0", | ||
499 | 473 | "queue/dax": "0", | ||
500 | 474 | "queue/discard_granularity": "0", | ||
501 | 475 | "queue/discard_max_bytes": "0", | ||
502 | 476 | "queue/discard_max_hw_bytes": "0", | ||
503 | 477 | "queue/discard_zeroes_data": "0", | ||
504 | 478 | "queue/dma_alignment": "511", | ||
505 | 479 | "queue/fua": "0", | ||
506 | 480 | "queue/hw_sector_size": "512", | ||
507 | 481 | "queue/io_poll": "0", | ||
508 | 482 | "queue/io_poll_delay": "-1", | ||
509 | 483 | "queue/io_timeout": "30000", | ||
510 | 484 | "queue/iosched/async_depth": "1", | ||
511 | 485 | "queue/iosched/fifo_batch": "16", | ||
512 | 486 | "queue/iosched/front_merges": "1", | ||
513 | 487 | "queue/iosched/prio_aging_expire": "10000", | ||
514 | 488 | "queue/iosched/read_expire": "500", | ||
515 | 489 | "queue/iosched/write_expire": "5000", | ||
516 | 490 | "queue/iosched/writes_starved": "2", | ||
517 | 491 | "queue/iostats": "1", | ||
518 | 492 | "queue/logical_block_size": "512", | ||
519 | 493 | "queue/max_discard_segments": "1", | ||
520 | 494 | "queue/max_hw_sectors_kb": "1024", | ||
521 | 495 | "queue/max_integrity_segments": "0", | ||
522 | 496 | "queue/max_sectors_kb": "1024", | ||
523 | 497 | "queue/max_segment_size": "65536", | ||
524 | 498 | "queue/max_segments": "2048", | ||
525 | 499 | "queue/minimum_io_size": "512", | ||
526 | 500 | "queue/nomerges": "0", | ||
527 | 501 | "queue/nr_requests": "2", | ||
528 | 502 | "queue/nr_zones": "0", | ||
529 | 503 | "queue/optimal_io_size": "0", | ||
530 | 504 | "queue/physical_block_size": "512", | ||
531 | 505 | "queue/read_ahead_kb": "128", | ||
532 | 506 | "queue/rotational": "1", | ||
533 | 507 | "queue/rq_affinity": "1", | ||
534 | 508 | "queue/scheduler": "none [mq-deadline] ", | ||
535 | 509 | "queue/stable_writes": "0", | ||
536 | 510 | "queue/virt_boundary_mask": "0", | ||
537 | 511 | "queue/wbt_lat_usec": "75000", | ||
538 | 512 | "queue/write_cache": "write through", | ||
539 | 513 | "queue/write_same_max_bytes": "0", | ||
540 | 514 | "queue/write_zeroes_max_bytes": "0", | ||
541 | 515 | "queue/zone_append_max_bytes": "0", | ||
542 | 516 | "queue/zone_write_granularity": "0", | ||
543 | 517 | "queue/zoned": "none", | ||
544 | 518 | "range": "16", | ||
545 | 519 | "removable": "1", | ||
546 | 520 | "ro": "0", | ||
547 | 521 | "size": "61505273856", | ||
548 | 522 | "stat": " 15009 660 2342514 34219 0 0 0 0 1 33712 34219 0 0 0 0 0 0", | ||
549 | 523 | "subsystem": "block", | ||
550 | 524 | "trace/act_mask": "disabled", | ||
551 | 525 | "trace/enable": "0", | ||
552 | 526 | "trace/end_lba": "disabled", | ||
553 | 527 | "trace/pid": "disabled", | ||
554 | 528 | "trace/start_lba": "disabled", | ||
555 | 529 | "uevent": "MAJOR=8\nMINOR=16\nDEVNAME=sdb\nDEVTYPE=disk\nDISKSEQ=11" | ||
556 | 530 | }, | ||
557 | 531 | "partitiontable": { | ||
558 | 532 | "label": "dos", | ||
559 | 533 | "id": "0xb69cc32d", | ||
560 | 534 | "device": "/dev/sdb", | ||
561 | 535 | "unit": "sectors", | ||
562 | 536 | "sectorsize": 512, | ||
563 | 537 | "partitions": [ | ||
564 | 538 | { | ||
565 | 539 | "node": "/dev/sdb1", | ||
566 | 540 | "start": 2048, | ||
567 | 541 | "size": 120059904, | ||
568 | 542 | "type": "7", | ||
569 | 543 | "bootable": true | ||
570 | 544 | }, | ||
571 | 545 | { | ||
572 | 546 | "node": "/dev/sdb2", | ||
573 | 547 | "start": 120061952, | ||
574 | 548 | "size": 65536, | ||
575 | 549 | "type": "ef" | ||
576 | 550 | } | ||
577 | 551 | ] | ||
578 | 552 | } | ||
579 | 553 | }, | ||
580 | 554 | "/dev/sdb1": { | ||
581 | 555 | "CURRENT_TAGS": ":systemd:", | ||
582 | 556 | "DEVLINKS": "/dev/disk/by-partuuid/b69cc32d-01 /dev/disk/by-label/Ventoy /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1 /dev/disk/by-uuid/5DA2-E027 /dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0-part1", | ||
583 | 557 | "DEVNAME": "/dev/sdb1", | ||
584 | 558 | "DEVPATH": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1", | ||
585 | 559 | "DEVTYPE": "partition", | ||
586 | 560 | "DISKSEQ": "11", | ||
587 | 561 | "ID_BUS": "usb", | ||
588 | 562 | "ID_FS_LABEL": "Ventoy", | ||
589 | 563 | "ID_FS_LABEL_ENC": "Ventoy", | ||
590 | 564 | "ID_FS_TYPE": "exfat", | ||
591 | 565 | "ID_FS_USAGE": "filesystem", | ||
592 | 566 | "ID_FS_UUID": "5DA2-E027", | ||
593 | 567 | "ID_FS_UUID_ENC": "5DA2-E027", | ||
594 | 568 | "ID_FS_VERSION": "1.0", | ||
595 | 569 | "ID_INSTANCE": "0:0", | ||
596 | 570 | "ID_MODEL": "SanDisk_3.2Gen1", | ||
597 | 571 | "ID_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
598 | 572 | "ID_MODEL_ID": "5591", | ||
599 | 573 | "ID_PART_ENTRY_DISK": "8:16", | ||
600 | 574 | "ID_PART_ENTRY_FLAGS": "0x80", | ||
601 | 575 | "ID_PART_ENTRY_NUMBER": "1", | ||
602 | 576 | "ID_PART_ENTRY_OFFSET": "2048", | ||
603 | 577 | "ID_PART_ENTRY_SCHEME": "dos", | ||
604 | 578 | "ID_PART_ENTRY_SIZE": "120059904", | ||
605 | 579 | "ID_PART_ENTRY_TYPE": "0x7", | ||
606 | 580 | "ID_PART_ENTRY_UUID": "b69cc32d-01", | ||
607 | 581 | "ID_PART_TABLE_TYPE": "dos", | ||
608 | 582 | "ID_PART_TABLE_UUID": "b69cc32d", | ||
609 | 583 | "ID_PATH": "pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0", | ||
610 | 584 | "ID_PATH_TAG": "pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0", | ||
611 | 585 | "ID_REVISION": "1.00", | ||
612 | 586 | "ID_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
613 | 587 | "ID_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
614 | 588 | "ID_TYPE": "disk", | ||
615 | 589 | "ID_USB_DRIVER": "usb-storage", | ||
616 | 590 | "ID_USB_INSTANCE": "0:0", | ||
617 | 591 | "ID_USB_INTERFACES": ":080650:", | ||
618 | 592 | "ID_USB_INTERFACE_NUM": "00", | ||
619 | 593 | "ID_USB_MODEL": "SanDisk_3.2Gen1", | ||
620 | 594 | "ID_USB_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
621 | 595 | "ID_USB_MODEL_ID": "5591", | ||
622 | 596 | "ID_USB_REVISION": "1.00", | ||
623 | 597 | "ID_USB_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
624 | 598 | "ID_USB_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
625 | 599 | "ID_USB_TYPE": "disk", | ||
626 | 600 | "ID_USB_VENDOR": "USB", | ||
627 | 601 | "ID_USB_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
628 | 602 | "ID_USB_VENDOR_ID": "0781", | ||
629 | 603 | "ID_VENDOR": "USB", | ||
630 | 604 | "ID_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
631 | 605 | "ID_VENDOR_ID": "0781", | ||
632 | 606 | "MAJOR": "8", | ||
633 | 607 | "MINOR": "17", | ||
634 | 608 | "PARTN": "1", | ||
635 | 609 | "SUBSYSTEM": "block", | ||
636 | 610 | "TAGS": ":systemd:", | ||
637 | 611 | "USEC_INITIALIZED": "4315487", | ||
638 | 612 | "attrs": { | ||
639 | 613 | "alignment_offset": "0", | ||
640 | 614 | "dev": "8:17", | ||
641 | 615 | "discard_alignment": "0", | ||
642 | 616 | "holders/dm-1": null, | ||
643 | 617 | "inflight": " 1 0", | ||
644 | 618 | "partition": "1", | ||
645 | 619 | "power/async": "disabled", | ||
646 | 620 | "power/autosuspend_delay_ms": null, | ||
647 | 621 | "power/control": "auto", | ||
648 | 622 | "power/runtime_active_kids": "0", | ||
649 | 623 | "power/runtime_active_time": "0", | ||
650 | 624 | "power/runtime_enabled": "disabled", | ||
651 | 625 | "power/runtime_status": "unsupported", | ||
652 | 626 | "power/runtime_suspended_time": "0", | ||
653 | 627 | "power/runtime_usage": "0", | ||
654 | 628 | "ro": "0", | ||
655 | 629 | "size": "61470670848", | ||
656 | 630 | "start": "2048", | ||
657 | 631 | "stat": " 14944 682 2354546 34241 0 0 0 0 1 33816 34241 0 0 0 0 0 0", | ||
658 | 632 | "subsystem": "block", | ||
659 | 633 | "trace/act_mask": "disabled", | ||
660 | 634 | "trace/enable": "0", | ||
661 | 635 | "trace/end_lba": "disabled", | ||
662 | 636 | "trace/pid": "disabled", | ||
663 | 637 | "trace/start_lba": "disabled", | ||
664 | 638 | "uevent": "MAJOR=8\nMINOR=17\nDEVNAME=sdb1\nDEVTYPE=partition\nDISKSEQ=11\nPARTN=1" | ||
665 | 639 | }, | ||
666 | 640 | "partitiontable": { | ||
667 | 641 | "label": "dos", | ||
668 | 642 | "id": "0x00000000", | ||
669 | 643 | "device": "/dev/sdb1", | ||
670 | 644 | "unit": "sectors", | ||
671 | 645 | "sectorsize": 512 | ||
672 | 646 | } | ||
673 | 647 | }, | ||
674 | 648 | "/dev/sdb2": { | ||
675 | 649 | "CURRENT_TAGS": ":systemd:", | ||
676 | 650 | "DEVLINKS": "/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part2 /dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0-part2", | ||
677 | 651 | "DEVNAME": "/dev/sdb2", | ||
678 | 652 | "DEVPATH": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2", | ||
679 | 653 | "DEVTYPE": "partition", | ||
680 | 654 | "DISKSEQ": "11", | ||
681 | 655 | "ID_BUS": "usb", | ||
682 | 656 | "ID_INSTANCE": "0:0", | ||
683 | 657 | "ID_MODEL": "SanDisk_3.2Gen1", | ||
684 | 658 | "ID_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
685 | 659 | "ID_MODEL_ID": "5591", | ||
686 | 660 | "ID_PART_TABLE_TYPE": "dos", | ||
687 | 661 | "ID_PART_TABLE_UUID": "b69cc32d", | ||
688 | 662 | "ID_PATH": "pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0", | ||
689 | 663 | "ID_PATH_TAG": "pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0", | ||
690 | 664 | "ID_REVISION": "1.00", | ||
691 | 665 | "ID_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
692 | 666 | "ID_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
693 | 667 | "ID_TYPE": "disk", | ||
694 | 668 | "ID_USB_DRIVER": "usb-storage", | ||
695 | 669 | "ID_USB_INSTANCE": "0:0", | ||
696 | 670 | "ID_USB_INTERFACES": ":080650:", | ||
697 | 671 | "ID_USB_INTERFACE_NUM": "00", | ||
698 | 672 | "ID_USB_MODEL": "SanDisk_3.2Gen1", | ||
699 | 673 | "ID_USB_MODEL_ENC": "\\x20SanDisk\\x203.2Gen1", | ||
700 | 674 | "ID_USB_MODEL_ID": "5591", | ||
701 | 675 | "ID_USB_REVISION": "1.00", | ||
702 | 676 | "ID_USB_SERIAL": "USB_SanDisk_3.2Gen1_01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527-0:0", | ||
703 | 677 | "ID_USB_SERIAL_SHORT": "01012e82fc63883cd49a05d58e9c785d329287c0c9bd4266dfbc025f731e88103c59000000000000000000009c59ceb5ff055800915581071faea527", | ||
704 | 678 | "ID_USB_TYPE": "disk", | ||
705 | 679 | "ID_USB_VENDOR": "USB", | ||
706 | 680 | "ID_USB_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
707 | 681 | "ID_USB_VENDOR_ID": "0781", | ||
708 | 682 | "ID_VENDOR": "USB", | ||
709 | 683 | "ID_VENDOR_ENC": "\\x20USB\\x20\\x20\\x20\\x20", | ||
710 | 684 | "ID_VENDOR_ID": "0781", | ||
711 | 685 | "MAJOR": "8", | ||
712 | 686 | "MINOR": "18", | ||
713 | 687 | "PARTN": "2", | ||
714 | 688 | "SUBSYSTEM": "block", | ||
715 | 689 | "TAGS": ":systemd:", | ||
716 | 690 | "USEC_INITIALIZED": "4309500", | ||
717 | 691 | "attrs": { | ||
718 | 692 | "alignment_offset": "0", | ||
719 | 693 | "dev": "8:18", | ||
720 | 694 | "discard_alignment": "0", | ||
721 | 695 | "inflight": " 0 0", | ||
722 | 696 | "partition": "2", | ||
723 | 697 | "power/async": "disabled", | ||
724 | 698 | "power/autosuspend_delay_ms": null, | ||
725 | 699 | "power/control": "auto", | ||
726 | 700 | "power/runtime_active_kids": "0", | ||
727 | 701 | "power/runtime_active_time": "0", | ||
728 | 702 | "power/runtime_enabled": "disabled", | ||
729 | 703 | "power/runtime_status": "unsupported", | ||
730 | 704 | "power/runtime_suspended_time": "0", | ||
731 | 705 | "power/runtime_usage": "0", | ||
732 | 706 | "ro": "0", | ||
733 | 707 | "size": "33554432", | ||
734 | 708 | "start": "120061952", | ||
735 | 709 | "stat": " 25 0 608 52 0 0 0 0 0 56 52 0 0 0 0 0 0", | ||
736 | 710 | "subsystem": "block", | ||
737 | 711 | "trace/act_mask": "disabled", | ||
738 | 712 | "trace/enable": "0", | ||
739 | 713 | "trace/end_lba": "disabled", | ||
740 | 714 | "trace/pid": "disabled", | ||
741 | 715 | "trace/start_lba": "disabled", | ||
742 | 716 | "uevent": "MAJOR=8\nMINOR=18\nDEVNAME=sdb2\nDEVTYPE=partition\nDISKSEQ=11\nPARTN=2" | ||
743 | 717 | }, | ||
744 | 718 | "partitiontable": { | ||
745 | 719 | "label": "gpt", | ||
746 | 720 | "id": "ACA58DA5-EEF8-4E61-A479-A4A7B29BED12", | ||
747 | 721 | "device": "/dev/sdb2", | ||
748 | 722 | "unit": "sectors", | ||
749 | 723 | "firstlba": 64, | ||
750 | 724 | "lastlba": 9452728, | ||
751 | 725 | "table-length": "248", | ||
752 | 726 | "sectorsize": 512, | ||
753 | 727 | "partitions": [ | ||
754 | 728 | { | ||
755 | 729 | "node": "/dev/sdb2p1", | ||
756 | 730 | "start": 64, | ||
757 | 731 | "size": 9441996, | ||
758 | 732 | "type": "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", | ||
759 | 733 | "uuid": "ACA58DA5-EEF8-4E61-A478-A4A7B29BED12", | ||
760 | 734 | "name": "ISO9660", | ||
761 | 735 | "attrs": "RequiredPartition GUID:60" | ||
762 | 736 | }, | ||
763 | 737 | { | ||
764 | 738 | "node": "/dev/sdb2p2", | ||
765 | 739 | "start": 9442060, | ||
766 | 740 | "size": 10068, | ||
767 | 741 | "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", | ||
768 | 742 | "uuid": "ACA58DA5-EEF8-4E61-A47B-A4A7B29BED12", | ||
769 | 743 | "name": "Appended2" | ||
770 | 744 | }, | ||
771 | 745 | { | ||
772 | 746 | "node": "/dev/sdb2p3", | ||
773 | 747 | "start": 9452128, | ||
774 | 748 | "size": 600, | ||
775 | 749 | "type": "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", | ||
776 | 750 | "uuid": "ACA58DA5-EEF8-4E61-A47A-A4A7B29BED12", | ||
777 | 751 | "name": "Gap1", | ||
778 | 752 | "attrs": "RequiredPartition GUID:60" | ||
779 | 753 | } | ||
780 | 754 | ] | ||
781 | 755 | } | ||
782 | 756 | }, | ||
783 | 757 | "/dev/sda": { | ||
784 | 758 | "CURRENT_TAGS": ":systemd:", | ||
785 | 759 | "DEVLINKS": "/dev/disk/by-id/wwn-0x500a0751e21350e2 /dev/disk/by-path/pci-0000:00:1f.2-ata-4.0 /dev/disk/by-diskseq/9 /dev/disk/by-path/pci-0000:00:1f.2-ata-4 /dev/disk/by-id/ata-CT500MX500SSD4_1928E21350E2", | ||
786 | 760 | "DEVNAME": "/dev/sda", | ||
787 | 761 | "DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sda", | ||
788 | 762 | "DEVTYPE": "disk", | ||
789 | 763 | "DISKSEQ": "9", | ||
790 | 764 | "ID_ATA": "1", | ||
791 | 765 | "ID_ATA_DOWNLOAD_MICROCODE": "1", | ||
792 | 766 | "ID_ATA_FEATURE_SET_APM": "1", | ||
793 | 767 | "ID_ATA_FEATURE_SET_APM_CURRENT_VALUE": "254", | ||
794 | 768 | "ID_ATA_FEATURE_SET_APM_ENABLED": "1", | ||
795 | 769 | "ID_ATA_FEATURE_SET_PM": "1", | ||
796 | 770 | "ID_ATA_FEATURE_SET_PM_ENABLED": "1", | ||
797 | 771 | "ID_ATA_FEATURE_SET_SECURITY": "1", | ||
798 | 772 | "ID_ATA_FEATURE_SET_SECURITY_ENABLED": "0", | ||
799 | 773 | "ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN": "2", | ||
800 | 774 | "ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN": "2", | ||
801 | 775 | "ID_ATA_FEATURE_SET_SECURITY_FROZEN": "1", | ||
802 | 776 | "ID_ATA_FEATURE_SET_SMART": "1", | ||
803 | 777 | "ID_ATA_FEATURE_SET_SMART_ENABLED": "1", | ||
804 | 778 | "ID_ATA_ROTATION_RATE_RPM": "0", | ||
805 | 779 | "ID_ATA_SATA": "1", | ||
806 | 780 | "ID_ATA_SATA_SIGNAL_RATE_GEN1": "1", | ||
807 | 781 | "ID_ATA_SATA_SIGNAL_RATE_GEN2": "1", | ||
808 | 782 | "ID_ATA_WRITE_CACHE": "1", | ||
809 | 783 | "ID_ATA_WRITE_CACHE_ENABLED": "1", | ||
810 | 784 | "ID_BUS": "ata", | ||
811 | 785 | "ID_MODEL": "CT500MX500SSD4", | ||
812 | 786 | "ID_MODEL_ENC": "CT500MX500SSD4\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20", | ||
813 | 787 | "ID_PART_TABLE_TYPE": "gpt", | ||
814 | 788 | "ID_PART_TABLE_UUID": "4ed9f6c2-620c-4b7e-997d-2f5c14d45402", | ||
815 | 789 | "ID_PATH": "pci-0000:00:1f.2-ata-4.0", | ||
816 | 790 | "ID_PATH_ATA_COMPAT": "pci-0000:00:1f.2-ata-4", | ||
817 | 791 | "ID_PATH_TAG": "pci-0000_00_1f_2-ata-4_0", | ||
818 | 792 | "ID_REVISION": "M3CR023", | ||
819 | 793 | "ID_SERIAL": "CT500MX500SSD4_1928E21350E2", | ||
820 | 794 | "ID_SERIAL_SHORT": "1928E21350E2", | ||
821 | 795 | "ID_TYPE": "disk", | ||
822 | 796 | "ID_WWN": "0x500a0751e21350e2", | ||
823 | 797 | "ID_WWN_WITH_EXTENSION": "0x500a0751e21350e2", | ||
824 | 798 | "MAJOR": "8", | ||
825 | 799 | "MINOR": "0", | ||
826 | 800 | "SUBSYSTEM": "block", | ||
827 | 801 | "TAGS": ":systemd:", | ||
828 | 802 | "USEC_INITIALIZED": "2118246", | ||
829 | 803 | "attrs": { | ||
830 | 804 | "alignment_offset": "0", | ||
831 | 805 | "bdi": null, | ||
832 | 806 | "capability": "0", | ||
833 | 807 | "dev": "8:0", | ||
834 | 808 | "device": null, | ||
835 | 809 | "discard_alignment": "0", | ||
836 | 810 | "diskseq": "9", | ||
837 | 811 | "events": "", | ||
838 | 812 | "events_async": "", | ||
839 | 813 | "events_poll_msecs": "-1", | ||
840 | 814 | "ext_range": "256", | ||
841 | 815 | "hidden": "0", | ||
842 | 816 | "inflight": " 0 0", | ||
843 | 817 | "integrity/device_is_integrity_capable": "0", | ||
844 | 818 | "integrity/format": "none", | ||
845 | 819 | "integrity/protection_interval_bytes": "0", | ||
846 | 820 | "integrity/read_verify": "0", | ||
847 | 821 | "integrity/tag_size": "0", | ||
848 | 822 | "integrity/write_generate": "0", | ||
849 | 823 | "mq/0/cpu_list": "0, 1, 2, 3", | ||
850 | 824 | "mq/0/nr_reserved_tags": "0", | ||
851 | 825 | "mq/0/nr_tags": "32", | ||
852 | 826 | "power/async": "disabled", | ||
853 | 827 | "power/autosuspend_delay_ms": null, | ||
854 | 828 | "power/control": "auto", | ||
855 | 829 | "power/runtime_active_kids": "0", | ||
856 | 830 | "power/runtime_active_time": "0", | ||
857 | 831 | "power/runtime_enabled": "disabled", | ||
858 | 832 | "power/runtime_status": "unsupported", | ||
859 | 833 | "power/runtime_suspended_time": "0", | ||
860 | 834 | "power/runtime_usage": "0", | ||
861 | 835 | "queue/add_random": "0", | ||
862 | 836 | "queue/chunk_sectors": "0", | ||
863 | 837 | "queue/dax": "0", | ||
864 | 838 | "queue/discard_granularity": "4096", | ||
865 | 839 | "queue/discard_max_bytes": "2147450880", | ||
866 | 840 | "queue/discard_max_hw_bytes": "2147450880", | ||
867 | 841 | "queue/discard_zeroes_data": "0", | ||
868 | 842 | "queue/dma_alignment": "511", | ||
869 | 843 | "queue/fua": "0", | ||
870 | 844 | "queue/hw_sector_size": "512", | ||
871 | 845 | "queue/io_poll": "0", | ||
872 | 846 | "queue/io_poll_delay": "-1", | ||
873 | 847 | "queue/io_timeout": "30000", | ||
874 | 848 | "queue/iosched/async_depth": "48", | ||
875 | 849 | "queue/iosched/fifo_batch": "16", | ||
876 | 850 | "queue/iosched/front_merges": "1", | ||
877 | 851 | "queue/iosched/prio_aging_expire": "10000", | ||
878 | 852 | "queue/iosched/read_expire": "500", | ||
879 | 853 | "queue/iosched/write_expire": "5000", | ||
880 | 854 | "queue/iosched/writes_starved": "2", | ||
881 | 855 | "queue/iostats": "1", | ||
882 | 856 | "queue/logical_block_size": "512", | ||
883 | 857 | "queue/max_discard_segments": "1", | ||
884 | 858 | "queue/max_hw_sectors_kb": "32767", | ||
885 | 859 | "queue/max_integrity_segments": "0", | ||
886 | 860 | "queue/max_sectors_kb": "1280", | ||
887 | 861 | "queue/max_segment_size": "65536", | ||
888 | 862 | "queue/max_segments": "168", | ||
889 | 863 | "queue/minimum_io_size": "4096", | ||
890 | 864 | "queue/nomerges": "0", | ||
891 | 865 | "queue/nr_requests": "64", | ||
892 | 866 | "queue/nr_zones": "0", | ||
893 | 867 | "queue/optimal_io_size": "0", | ||
894 | 868 | "queue/physical_block_size": "4096", | ||
895 | 869 | "queue/read_ahead_kb": "128", | ||
896 | 870 | "queue/rotational": "0", | ||
897 | 871 | "queue/rq_affinity": "1", | ||
898 | 872 | "queue/scheduler": "none [mq-deadline] ", | ||
899 | 873 | "queue/stable_writes": "0", | ||
900 | 874 | "queue/virt_boundary_mask": "0", | ||
901 | 875 | "queue/wbt_lat_usec": "2000", | ||
902 | 876 | "queue/write_cache": "write back", | ||
903 | 877 | "queue/write_same_max_bytes": "0", | ||
904 | 878 | "queue/write_zeroes_max_bytes": "0", | ||
905 | 879 | "queue/zone_append_max_bytes": "0", | ||
906 | 880 | "queue/zone_write_granularity": "0", | ||
907 | 881 | "queue/zoned": "none", | ||
908 | 882 | "range": "16", | ||
909 | 883 | "removable": "0", | ||
910 | 884 | "ro": "0", | ||
911 | 885 | "size": "500107862016", | ||
912 | 886 | "stat": " 836 0 69064 249 11 0 0 5 0 520 260 0 0 0 0 11 5", | ||
913 | 887 | "subsystem": "block", | ||
914 | 888 | "trace/act_mask": "disabled", | ||
915 | 889 | "trace/enable": "0", | ||
916 | 890 | "trace/end_lba": "disabled", | ||
917 | 891 | "trace/pid": "disabled", | ||
918 | 892 | "trace/start_lba": "disabled", | ||
919 | 893 | "uevent": "MAJOR=8\nMINOR=0\nDEVNAME=sda\nDEVTYPE=disk\nDISKSEQ=9" | ||
920 | 894 | }, | ||
921 | 895 | "partitiontable": { | ||
922 | 896 | "label": "gpt", | ||
923 | 897 | "id": "4ED9F6C2-620C-4B7E-997D-2F5C14D45402", | ||
924 | 898 | "device": "/dev/sda", | ||
925 | 899 | "unit": "sectors", | ||
926 | 900 | "firstlba": 34, | ||
927 | 901 | "lastlba": 976773134, | ||
928 | 902 | "sectorsize": 512, | ||
929 | 903 | "partitions": [ | ||
930 | 904 | { | ||
931 | 905 | "node": "/dev/sda1", | ||
932 | 906 | "start": 2048, | ||
933 | 907 | "size": 2201600, | ||
934 | 908 | "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", | ||
935 | 909 | "uuid": "01C125BA-FA93-45FA-9849-296299D35EA9" | ||
936 | 910 | }, | ||
937 | 911 | { | ||
938 | 912 | "node": "/dev/sda2", | ||
939 | 913 | "start": 2203648, | ||
940 | 914 | "size": 4194304, | ||
941 | 915 | "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", | ||
942 | 916 | "uuid": "786C854A-6B96-49C8-B99D-AF1B7205BEBB" | ||
943 | 917 | }, | ||
944 | 918 | { | ||
945 | 919 | "node": "/dev/sda3", | ||
946 | 920 | "start": 6397952, | ||
947 | 921 | "size": 970373120, | ||
948 | 922 | "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", | ||
949 | 923 | "uuid": "21445E85-0437-4C67-A5EB-D0D9BB11EAB1" | ||
950 | 924 | } | ||
951 | 925 | ] | ||
952 | 926 | } | ||
953 | 927 | }, | ||
954 | 928 | "/dev/sda1": { | ||
955 | 929 | "CURRENT_TAGS": ":systemd:", | ||
956 | 930 | "DEVLINKS": "/dev/disk/by-partuuid/01c125ba-fa93-45fa-9849-296299d35ea9 /dev/disk/by-id/wwn-0x500a0751e21350e2-part1 /dev/disk/by-path/pci-0000:00:1f.2-ata-4.0-part1 /dev/disk/by-uuid/06AB-D0F7 /dev/disk/by-id/ata-CT500MX500SSD4_1928E21350E2-part1 /dev/disk/by-path/pci-0000:00:1f.2-ata-4-part1", | ||
957 | 931 | "DEVNAME": "/dev/sda1", | ||
958 | 932 | "DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sda/sda1", | ||
959 | 933 | "DEVTYPE": "partition", | ||
960 | 934 | "DISKSEQ": "9", | ||
961 | 935 | "ID_ATA": "1", | ||
962 | 936 | "ID_ATA_DOWNLOAD_MICROCODE": "1", | ||
963 | 937 | "ID_ATA_FEATURE_SET_APM": "1", | ||
964 | 938 | "ID_ATA_FEATURE_SET_APM_CURRENT_VALUE": "254", | ||
965 | 939 | "ID_ATA_FEATURE_SET_APM_ENABLED": "1", | ||
966 | 940 | "ID_ATA_FEATURE_SET_PM": "1", | ||
967 | 941 | "ID_ATA_FEATURE_SET_PM_ENABLED": "1", | ||
968 | 942 | "ID_ATA_FEATURE_SET_SECURITY": "1", | ||
969 | 943 | "ID_ATA_FEATURE_SET_SECURITY_ENABLED": "0", | ||
970 | 944 | "ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN": "2", | ||
971 | 945 | "ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN": "2", | ||
972 | 946 | "ID_ATA_FEATURE_SET_SECURITY_FROZEN": "1", | ||
973 | 947 | "ID_ATA_FEATURE_SET_SMART": "1", | ||
974 | 948 | "ID_ATA_FEATURE_SET_SMART_ENABLED": "1", | ||
975 | 949 | "ID_ATA_ROTATION_RATE_RPM": "0", | ||
976 | 950 | "ID_ATA_SATA": "1", | ||
977 | 951 | "ID_ATA_SATA_SIGNAL_RATE_GEN1": "1", | ||
978 | 952 | "ID_ATA_SATA_SIGNAL_RATE_GEN2": "1", | ||
979 | 953 | "ID_ATA_WRITE_CACHE": "1", | ||
980 | 954 | "ID_ATA_WRITE_CACHE_ENABLED": "1", | ||
981 | 955 | "ID_BUS": "ata", | ||
982 | 956 | "ID_FS_TYPE": "vfat", | ||
983 | 957 | "ID_FS_USAGE": "filesystem", | ||
984 | 958 | "ID_FS_UUID": "06AB-D0F7", | ||
985 | 959 | "ID_FS_UUID_ENC": "06AB-D0F7", | ||
986 | 960 | "ID_FS_VERSION": "FAT32", | ||
987 | 961 | "ID_MODEL": "CT500MX500SSD4", | ||
988 | 962 | "ID_MODEL_ENC": "CT500MX500SSD4\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20", | ||
989 | 963 | "ID_PART_ENTRY_DISK": "8:0", | ||
990 | 964 | "ID_PART_ENTRY_NUMBER": "1", | ||
991 | 965 | "ID_PART_ENTRY_OFFSET": "2048", | ||
992 | 966 | "ID_PART_ENTRY_SCHEME": "gpt", | ||
993 | 967 | "ID_PART_ENTRY_SIZE": "2201600", | ||
994 | 968 | "ID_PART_ENTRY_TYPE": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", | ||
995 | 969 | "ID_PART_ENTRY_UUID": "01c125ba-fa93-45fa-9849-296299d35ea9", | ||
996 | 970 | "ID_PART_TABLE_TYPE": "gpt", | ||
997 | 971 | "ID_PART_TABLE_UUID": "4ed9f6c2-620c-4b7e-997d-2f5c14d45402", | ||
998 | 972 | "ID_PATH": "pci-0000:00:1f.2-ata-4.0", | ||
999 | 973 | "ID_PATH_ATA_COMPAT": "pci-0000:00:1f.2-ata-4", | ||
1000 | 974 | "ID_PATH_TAG": "pci-0000_00_1f_2-ata-4_0", | ||
1001 | 975 | "ID_REVISION": "M3CR023", | ||
1002 | 976 | "ID_SERIAL": "CT500MX500SSD4_1928E21350E2", | ||
1003 | 977 | "ID_SERIAL_SHORT": "1928E21350E2", | ||
1004 | 978 | "ID_TYPE": "disk", | ||
1005 | 979 | "ID_WWN": "0x500a0751e21350e2", | ||
1006 | 980 | "ID_WWN_WITH_EXTENSION": "0x500a0751e21350e2", | ||
1007 | 981 | "MAJOR": "8", | ||
1008 | 982 | "MINOR": "1", | ||
1009 | 983 | "PARTN": "1", | ||
1010 | 984 | "SUBSYSTEM": "block", | ||
1011 | 985 | "TAGS": ":systemd:", | ||
1012 | 986 | "UDISKS_IGNORE": "1", | ||
1013 | 987 | "USEC_INITIALIZED": "2130901", | ||
1014 | 988 | "attrs": { | ||
1015 | 989 | "alignment_offset": "0", | ||
1016 | 990 | "dev": "8:1", | ||
1017 | 991 | "discard_alignment": "0", | ||
1018 | 992 | "inflight": " 0 0", | ||
1019 | 993 | "partition": "1", | ||
1020 | 994 | "power/async": "disabled", | ||
1021 | 995 | "power/autosuspend_delay_ms": null, | ||
1022 | 996 | "power/control": "auto", | ||
1023 | 997 | "power/runtime_active_kids": "0", | ||
1024 | 998 | "power/runtime_active_time": "0", | ||
1025 | 999 | "power/runtime_enabled": "disabled", | ||
1026 | 1000 | "power/runtime_status": "unsupported", | ||
1027 | 1001 | "power/runtime_suspended_time": "0", | ||
1028 | 1002 | "power/runtime_usage": "0", | ||
1029 | 1003 | "ro": "0", | ||
1030 | 1004 | "size": "1127219200", | ||
1031 | 1005 | "start": "2048", | ||
1032 | 1006 | "stat": " 171 0 15632 57 0 0 0 0 0 144 57 0 0 0 0 0 0", | ||
1033 | 1007 | "subsystem": "block", | ||
1034 | 1008 | "trace/act_mask": "disabled", | ||
1035 | 1009 | "trace/enable": "0", | ||
1036 | 1010 | "trace/end_lba": "disabled", | ||
1037 | 1011 | "trace/pid": "disabled", | ||
1038 | 1012 | "trace/start_lba": "disabled", | ||
1039 | 1013 | "uevent": "MAJOR=8\nMINOR=1\nDEVNAME=sda1\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=1" | ||
1040 | 1014 | }, | ||
1041 | 1015 | "partitiontable": { | ||
1042 | 1016 | "label": "dos", | ||
1043 | 1017 | "id": "0x00000000", | ||
1044 | 1018 | "device": "/dev/sda1", | ||
1045 | 1019 | "unit": "sectors", | ||
1046 | 1020 | "sectorsize": 512 | ||
1047 | 1021 | } | ||
1048 | 1022 | }, | ||
1049 | 1023 | "/dev/sda2": { | ||
1050 | 1024 | "CURRENT_TAGS": ":systemd:", | ||
1051 | 1025 | "DEVLINKS": "/dev/disk/by-partuuid/786c854a-6b96-49c8-b99d-af1b7205bebb /dev/disk/by-uuid/27fc2a2c-f7c5-4458-b4bd-8bd1f1822c12 /dev/disk/by-path/pci-0000:00:1f.2-ata-4.0-part2 /dev/disk/by-id/wwn-0x500a0751e21350e2-part2 /dev/disk/by-id/ata-CT500MX500SSD4_1928E21350E2-part2 /dev/disk/by-path/pci-0000:00:1f.2-ata-4-part2", | ||
1052 | 1026 | "DEVNAME": "/dev/sda2", | ||
1053 | 1027 | "DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sda/sda2", | ||
1054 | 1028 | "DEVTYPE": "partition", | ||
1055 | 1029 | "DISKSEQ": "9", | ||
1056 | 1030 | "ID_ATA": "1", | ||
1057 | 1031 | "ID_ATA_DOWNLOAD_MICROCODE": "1", | ||
1058 | 1032 | "ID_ATA_FEATURE_SET_APM": "1", | ||
1059 | 1033 | "ID_ATA_FEATURE_SET_APM_CURRENT_VALUE": "254", | ||
1060 | 1034 | "ID_ATA_FEATURE_SET_APM_ENABLED": "1", | ||
1061 | 1035 | "ID_ATA_FEATURE_SET_PM": "1", | ||
1062 | 1036 | "ID_ATA_FEATURE_SET_PM_ENABLED": "1", | ||
1063 | 1037 | "ID_ATA_FEATURE_SET_SECURITY": "1", | ||
1064 | 1038 | "ID_ATA_FEATURE_SET_SECURITY_ENABLED": "0", | ||
1065 | 1039 | "ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN": "2", | ||
1066 | 1040 | "ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN": "2", | ||
1067 | 1041 | "ID_ATA_FEATURE_SET_SECURITY_FROZEN": "1", | ||
1068 | 1042 | "ID_ATA_FEATURE_SET_SMART": "1", | ||
1069 | 1043 | "ID_ATA_FEATURE_SET_SMART_ENABLED": "1", | ||
1070 | 1044 | "ID_ATA_ROTATION_RATE_RPM": "0", | ||
1071 | 1045 | "ID_ATA_SATA": "1", | ||
1072 | 1046 | "ID_ATA_SATA_SIGNAL_RATE_GEN1": "1", | ||
1073 | 1047 | "ID_ATA_SATA_SIGNAL_RATE_GEN2": "1", | ||
1074 | 1048 | "ID_ATA_WRITE_CACHE": "1", | ||
1075 | 1049 | "ID_ATA_WRITE_CACHE_ENABLED": "1", | ||
1076 | 1050 | "ID_BUS": "ata", | ||
1077 | 1051 | "ID_FS_TYPE": "ext4", | ||
1078 | 1052 | "ID_FS_USAGE": "filesystem", | ||
1079 | 1053 | "ID_FS_UUID": "27fc2a2c-f7c5-4458-b4bd-8bd1f1822c12", | ||
1080 | 1054 | "ID_FS_UUID_ENC": "27fc2a2c-f7c5-4458-b4bd-8bd1f1822c12", | ||
1081 | 1055 | "ID_FS_VERSION": "1.0", | ||
1082 | 1056 | "ID_MODEL": "CT500MX500SSD4", | ||
1083 | 1057 | "ID_MODEL_ENC": "CT500MX500SSD4\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20", | ||
1084 | 1058 | "ID_PART_ENTRY_DISK": "8:0", | ||
1085 | 1059 | "ID_PART_ENTRY_NUMBER": "2", | ||
1086 | 1060 | "ID_PART_ENTRY_OFFSET": "2203648", | ||
1087 | 1061 | "ID_PART_ENTRY_SCHEME": "gpt", | ||
1088 | 1062 | "ID_PART_ENTRY_SIZE": "4194304", | ||
1089 | 1063 | "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", | ||
1090 | 1064 | "ID_PART_ENTRY_UUID": "786c854a-6b96-49c8-b99d-af1b7205bebb", | ||
1091 | 1065 | "ID_PART_TABLE_TYPE": "gpt", | ||
1092 | 1066 | "ID_PART_TABLE_UUID": "4ed9f6c2-620c-4b7e-997d-2f5c14d45402", | ||
1093 | 1067 | "ID_PATH": "pci-0000:00:1f.2-ata-4.0", | ||
1094 | 1068 | "ID_PATH_ATA_COMPAT": "pci-0000:00:1f.2-ata-4", | ||
1095 | 1069 | "ID_PATH_TAG": "pci-0000_00_1f_2-ata-4_0", | ||
1096 | 1070 | "ID_REVISION": "M3CR023", | ||
1097 | 1071 | "ID_SERIAL": "CT500MX500SSD4_1928E21350E2", | ||
1098 | 1072 | "ID_SERIAL_SHORT": "1928E21350E2", | ||
1099 | 1073 | "ID_TYPE": "disk", | ||
1100 | 1074 | "ID_WWN": "0x500a0751e21350e2", | ||
1101 | 1075 | "ID_WWN_WITH_EXTENSION": "0x500a0751e21350e2", | ||
1102 | 1076 | "MAJOR": "8", | ||
1103 | 1077 | "MINOR": "2", | ||
1104 | 1078 | "PARTN": "2", | ||
1105 | 1079 | "SUBSYSTEM": "block", | ||
1106 | 1080 | "TAGS": ":systemd:", | ||
1107 | 1081 | "USEC_INITIALIZED": "2130845", | ||
1108 | 1082 | "attrs": { | ||
1109 | 1083 | "alignment_offset": "0", | ||
1110 | 1084 | "dev": "8:2", | ||
1111 | 1085 | "discard_alignment": "0", | ||
1112 | 1086 | "inflight": " 0 0", | ||
1113 | 1087 | "partition": "2", | ||
1114 | 1088 | "power/async": "disabled", | ||
1115 | 1089 | "power/autosuspend_delay_ms": null, | ||
1116 | 1090 | "power/control": "auto", | ||
1117 | 1091 | "power/runtime_active_kids": "0", | ||
1118 | 1092 | "power/runtime_active_time": "0", | ||
1119 | 1093 | "power/runtime_enabled": "disabled", | ||
1120 | 1094 | "power/runtime_status": "unsupported", | ||
1121 | 1095 | "power/runtime_suspended_time": "0", | ||
1122 | 1096 | "power/runtime_usage": "0", | ||
1123 | 1097 | "ro": "0", | ||
1124 | 1098 | "size": "2147483648", | ||
1125 | 1099 | "start": "2203648", | ||
1126 | 1100 | "stat": " 184 0 16176 58 6 0 0 1 0 188 60 0 0 0 0 0 0", | ||
1127 | 1101 | "subsystem": "block", | ||
1128 | 1102 | "trace/act_mask": "disabled", | ||
1129 | 1103 | "trace/enable": "0", | ||
1130 | 1104 | "trace/end_lba": "disabled", | ||
1131 | 1105 | "trace/pid": "disabled", | ||
1132 | 1106 | "trace/start_lba": "disabled", | ||
1133 | 1107 | "uevent": "MAJOR=8\nMINOR=2\nDEVNAME=sda2\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=2" | ||
1134 | 1108 | } | ||
1135 | 1109 | }, | ||
1136 | 1110 | "/dev/sda3": { | ||
1137 | 1111 | "CURRENT_TAGS": ":systemd:", | ||
1138 | 1112 | "DEVLINKS": "/dev/disk/by-id/ata-CT500MX500SSD4_1928E21350E2-part3 /dev/disk/by-id/wwn-0x500a0751e21350e2-part3 /dev/disk/by-path/pci-0000:00:1f.2-ata-4-part3 /dev/disk/by-path/pci-0000:00:1f.2-ata-4.0-part3 /dev/disk/by-id/lvm-pv-uuid-VwZ2D9-0XYj-qEDO-daxX-jl8g-INjt-1fudZF /dev/disk/by-partuuid/21445e85-0437-4c67-a5eb-d0d9bb11eab1", | ||
1139 | 1113 | "DEVNAME": "/dev/sda3", | ||
1140 | 1114 | "DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sda/sda3", | ||
1141 | 1115 | "DEVTYPE": "partition", | ||
1142 | 1116 | "DISKSEQ": "9", | ||
1143 | 1117 | "ID_ATA": "1", | ||
1144 | 1118 | "ID_ATA_DOWNLOAD_MICROCODE": "1", | ||
1145 | 1119 | "ID_ATA_FEATURE_SET_APM": "1", | ||
1146 | 1120 | "ID_ATA_FEATURE_SET_APM_CURRENT_VALUE": "254", | ||
1147 | 1121 | "ID_ATA_FEATURE_SET_APM_ENABLED": "1", | ||
1148 | 1122 | "ID_ATA_FEATURE_SET_PM": "1", | ||
1149 | 1123 | "ID_ATA_FEATURE_SET_PM_ENABLED": "1", | ||
1150 | 1124 | "ID_ATA_FEATURE_SET_SECURITY": "1", | ||
1151 | 1125 | "ID_ATA_FEATURE_SET_SECURITY_ENABLED": "0", | ||
1152 | 1126 | "ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN": "2", | ||
1153 | 1127 | "ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN": "2", | ||
1154 | 1128 | "ID_ATA_FEATURE_SET_SECURITY_FROZEN": "1", | ||
1155 | 1129 | "ID_ATA_FEATURE_SET_SMART": "1", | ||
1156 | 1130 | "ID_ATA_FEATURE_SET_SMART_ENABLED": "1", | ||
1157 | 1131 | "ID_ATA_ROTATION_RATE_RPM": "0", | ||
1158 | 1132 | "ID_ATA_SATA": "1", | ||
1159 | 1133 | "ID_ATA_SATA_SIGNAL_RATE_GEN1": "1", | ||
1160 | 1134 | "ID_ATA_SATA_SIGNAL_RATE_GEN2": "1", | ||
1161 | 1135 | "ID_ATA_WRITE_CACHE": "1", | ||
1162 | 1136 | "ID_ATA_WRITE_CACHE_ENABLED": "1", | ||
1163 | 1137 | "ID_BUS": "ata", | ||
1164 | 1138 | "ID_FS_TYPE": "LVM2_member", | ||
1165 | 1139 | "ID_FS_USAGE": "raid", | ||
1166 | 1140 | "ID_FS_UUID": "VwZ2D9-0XYj-qEDO-daxX-jl8g-INjt-1fudZF", | ||
1167 | 1141 | "ID_FS_UUID_ENC": "VwZ2D9-0XYj-qEDO-daxX-jl8g-INjt-1fudZF", | ||
1168 | 1142 | "ID_FS_VERSION": "LVM2 001", | ||
1169 | 1143 | "ID_MODEL": "CT500MX500SSD4", | ||
1170 | 1144 | "ID_MODEL_ENC": "CT500MX500SSD4\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20", | ||
1171 | 1145 | "ID_PART_ENTRY_DISK": "8:0", | ||
1172 | 1146 | "ID_PART_ENTRY_NUMBER": "3", | ||
1173 | 1147 | "ID_PART_ENTRY_OFFSET": "6397952", | ||
1174 | 1148 | "ID_PART_ENTRY_SCHEME": "gpt", | ||
1175 | 1149 | "ID_PART_ENTRY_SIZE": "970373120", | ||
1176 | 1150 | "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", | ||
1177 | 1151 | "ID_PART_ENTRY_UUID": "21445e85-0437-4c67-a5eb-d0d9bb11eab1", | ||
1178 | 1152 | "ID_PART_TABLE_TYPE": "gpt", | ||
1179 | 1153 | "ID_PART_TABLE_UUID": "4ed9f6c2-620c-4b7e-997d-2f5c14d45402", | ||
1180 | 1154 | "ID_PATH": "pci-0000:00:1f.2-ata-4.0", | ||
1181 | 1155 | "ID_PATH_ATA_COMPAT": "pci-0000:00:1f.2-ata-4", | ||
1182 | 1156 | "ID_PATH_TAG": "pci-0000_00_1f_2-ata-4_0", | ||
1183 | 1157 | "ID_REVISION": "M3CR023", | ||
1184 | 1158 | "ID_SERIAL": "CT500MX500SSD4_1928E21350E2", | ||
1185 | 1159 | "ID_SERIAL_SHORT": "1928E21350E2", | ||
1186 | 1160 | "ID_TYPE": "disk", | ||
1187 | 1161 | "ID_WWN": "0x500a0751e21350e2", | ||
1188 | 1162 | "ID_WWN_WITH_EXTENSION": "0x500a0751e21350e2", | ||
1189 | 1163 | "MAJOR": "8", | ||
1190 | 1164 | "MINOR": "3", | ||
1191 | 1165 | "PARTN": "3", | ||
1192 | 1166 | "SUBSYSTEM": "block", | ||
1193 | 1167 | "TAGS": ":systemd:", | ||
1194 | 1168 | "USEC_INITIALIZED": "2556860", | ||
1195 | 1169 | "attrs": { | ||
1196 | 1170 | "alignment_offset": "0", | ||
1197 | 1171 | "dev": "8:3", | ||
1198 | 1172 | "discard_alignment": "0", | ||
1199 | 1173 | "holders/dm-0": null, | ||
1200 | 1174 | "inflight": " 0 0", | ||
1201 | 1175 | "partition": "3", | ||
1202 | 1176 | "power/async": "disabled", | ||
1203 | 1177 | "power/autosuspend_delay_ms": null, | ||
1204 | 1178 | "power/control": "auto", | ||
1205 | 1179 | "power/runtime_active_kids": "0", | ||
1206 | 1180 | "power/runtime_active_time": "0", | ||
1207 | 1181 | "power/runtime_enabled": "disabled", | ||
1208 | 1182 | "power/runtime_status": "unsupported", | ||
1209 | 1183 | "power/runtime_suspended_time": "0", | ||
1210 | 1184 | "power/runtime_usage": "0", | ||
1211 | 1185 | "ro": "0", | ||
1212 | 1186 | "size": "496831037440", | ||
1213 | 1187 | "start": "6397952", | ||
1214 | 1188 | "stat": " 324 0 28336 93 5 0 0 3 0 224 96 0 0 0 0 0 0", | ||
1215 | 1189 | "subsystem": "block", | ||
1216 | 1190 | "trace/act_mask": "disabled", | ||
1217 | 1191 | "trace/enable": "0", | ||
1218 | 1192 | "trace/end_lba": "disabled", | ||
1219 | 1193 | "trace/pid": "disabled", | ||
1220 | 1194 | "trace/start_lba": "disabled", | ||
1221 | 1195 | "uevent": "MAJOR=8\nMINOR=3\nDEVNAME=sda3\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=3" | ||
1222 | 1196 | } | ||
1223 | 1197 | }, | ||
1224 | 1198 | "/dev/dm-0": { | ||
1225 | 1199 | "CURRENT_TAGS": ":systemd:", | ||
1226 | 1200 | "DEVLINKS": "/dev/disk/by-id/dm-name-ubuntu--vg-ubuntu--lv /dev/disk/by-id/dm-uuid-LVM-vjZscAAy83XNNqeEkaGQgHK8Pdy8tBJBJ6R9tnZKbJ8463e1VusW21heH9SdS9Up /dev/ubuntu-vg/ubuntu-lv /dev/mapper/ubuntu--vg-ubuntu--lv /dev/disk/by-uuid/d71c8dc6-92b2-4c28-9aba-95f102280064", | ||
1227 | 1201 | "DEVNAME": "/dev/dm-0", | ||
1228 | 1202 | "DEVPATH": "/devices/virtual/block/dm-0", | ||
1229 | 1203 | "DEVTYPE": "disk", | ||
1230 | 1204 | "DISKSEQ": "10", | ||
1231 | 1205 | "DM_LV_NAME": "ubuntu-lv", | ||
1232 | 1206 | "DM_NAME": "ubuntu--vg-ubuntu--lv", | ||
1233 | 1207 | "DM_SUSPENDED": "0", | ||
1234 | 1208 | "DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG": "1", | ||
1235 | 1209 | "DM_UDEV_PRIMARY_SOURCE_FLAG": "1", | ||
1236 | 1210 | "DM_UDEV_RULES": "1", | ||
1237 | 1211 | "DM_UDEV_RULES_VSN": "2", | ||
1238 | 1212 | "DM_UUID": "LVM-vjZscAAy83XNNqeEkaGQgHK8Pdy8tBJBJ6R9tnZKbJ8463e1VusW21heH9SdS9Up", | ||
1239 | 1213 | "DM_VG_NAME": "ubuntu-vg", | ||
1240 | 1214 | "ID_FS_TYPE": "ext4", | ||
1241 | 1215 | "ID_FS_USAGE": "filesystem", | ||
1242 | 1216 | "ID_FS_UUID": "d71c8dc6-92b2-4c28-9aba-95f102280064", | ||
1243 | 1217 | "ID_FS_UUID_ENC": "d71c8dc6-92b2-4c28-9aba-95f102280064", | ||
1244 | 1218 | "ID_FS_VERSION": "1.0", | ||
1245 | 1219 | "MAJOR": "253", | ||
1246 | 1220 | "MINOR": "0", | ||
1247 | 1221 | "SUBSYSTEM": "block", | ||
1248 | 1222 | "SYSTEMD_READY": "1", | ||
1249 | 1223 | "TAGS": ":systemd:", | ||
1250 | 1224 | "USEC_INITIALIZED": "2570521", | ||
1251 | 1225 | "attrs": { | ||
1252 | 1226 | "alignment_offset": "0", | ||
1253 | 1227 | "bdi": null, | ||
1254 | 1228 | "capability": "4", | ||
1255 | 1229 | "dev": "253:0", | ||
1256 | 1230 | "discard_alignment": "0", | ||
1257 | 1231 | "diskseq": "10", | ||
1258 | 1232 | "dm/name": "ubuntu--vg-ubuntu--lv", | ||
1259 | 1233 | "dm/rq_based_seq_io_merge_deadline": "0", | ||
1260 | 1234 | "dm/suspended": "0", | ||
1261 | 1235 | "dm/use_blk_mq": "1", | ||
1262 | 1236 | "dm/uuid": "LVM-vjZscAAy83XNNqeEkaGQgHK8Pdy8tBJBJ6R9tnZKbJ8463e1VusW21heH9SdS9Up", | ||
1263 | 1237 | "events": "", | ||
1264 | 1238 | "events_async": "", | ||
1265 | 1239 | "events_poll_msecs": "-1", | ||
1266 | 1240 | "ext_range": "1", | ||
1267 | 1241 | "hidden": "0", | ||
1268 | 1242 | "inflight": " 0 0", | ||
1269 | 1243 | "integrity/device_is_integrity_capable": "0", | ||
1270 | 1244 | "integrity/format": "none", | ||
1271 | 1245 | "integrity/protection_interval_bytes": "0", | ||
1272 | 1246 | "integrity/read_verify": "0", | ||
1273 | 1247 | "integrity/tag_size": "0", | ||
1274 | 1248 | "integrity/write_generate": "0", | ||
1275 | 1249 | "power/async": "disabled", | ||
1276 | 1250 | "power/autosuspend_delay_ms": null, | ||
1277 | 1251 | "power/control": "auto", | ||
1278 | 1252 | "power/runtime_active_kids": "0", | ||
1279 | 1253 | "power/runtime_active_time": "0", | ||
1280 | 1254 | "power/runtime_enabled": "disabled", | ||
1281 | 1255 | "power/runtime_status": "unsupported", | ||
1282 | 1256 | "power/runtime_suspended_time": "0", | ||
1283 | 1257 | "power/runtime_usage": "0", | ||
1284 | 1258 | "queue/add_random": "0", | ||
1285 | 1259 | "queue/chunk_sectors": "0", | ||
1286 | 1260 | "queue/dax": "0", | ||
1287 | 1261 | "queue/discard_granularity": "4096", | ||
1288 | 1262 | "queue/discard_max_bytes": "2147450880", | ||
1289 | 1263 | "queue/discard_max_hw_bytes": "2147450880", | ||
1290 | 1264 | "queue/discard_zeroes_data": "0", | ||
1291 | 1265 | "queue/dma_alignment": "511", | ||
1292 | 1266 | "queue/fua": "0", | ||
1293 | 1267 | "queue/hw_sector_size": "512", | ||
1294 | 1268 | "queue/io_poll": "0", | ||
1295 | 1269 | "queue/io_poll_delay": "0", | ||
1296 | 1270 | "queue/iostats": "0", | ||
1297 | 1271 | "queue/logical_block_size": "512", | ||
1298 | 1272 | "queue/max_discard_segments": "1", | ||
1299 | 1273 | "queue/max_hw_sectors_kb": "32767", | ||
1300 | 1274 | "queue/max_integrity_segments": "0", | ||
1301 | 1275 | "queue/max_sectors_kb": "1280", | ||
1302 | 1276 | "queue/max_segment_size": "65536", | ||
1303 | 1277 | "queue/max_segments": "168", | ||
1304 | 1278 | "queue/minimum_io_size": "4096", | ||
1305 | 1279 | "queue/nomerges": "0", | ||
1306 | 1280 | "queue/nr_requests": "128", | ||
1307 | 1281 | "queue/nr_zones": "0", | ||
1308 | 1282 | "queue/optimal_io_size": "0", | ||
1309 | 1283 | "queue/physical_block_size": "4096", | ||
1310 | 1284 | "queue/read_ahead_kb": "128", | ||
1311 | 1285 | "queue/rotational": "0", | ||
1312 | 1286 | "queue/rq_affinity": "0", | ||
1313 | 1287 | "queue/scheduler": "none", | ||
1314 | 1288 | "queue/stable_writes": "0", | ||
1315 | 1289 | "queue/virt_boundary_mask": "0", | ||
1316 | 1290 | "queue/wbt_lat_usec": null, | ||
1317 | 1291 | "queue/write_cache": "write back", | ||
1318 | 1292 | "queue/write_same_max_bytes": "0", | ||
1319 | 1293 | "queue/write_zeroes_max_bytes": "0", | ||
1320 | 1294 | "queue/zone_append_max_bytes": "0", | ||
1321 | 1295 | "queue/zone_write_granularity": "0", | ||
1322 | 1296 | "queue/zoned": "none", | ||
1323 | 1297 | "range": "1", | ||
1324 | 1298 | "removable": "0", | ||
1325 | 1299 | "ro": "0", | ||
1326 | 1300 | "size": "107374182400", | ||
1327 | 1301 | "slaves/sda3": null, | ||
1328 | 1302 | "stat": " 266 0 12712 40 5 0 0 8 0 104 48 0 0 0 0 0 0", | ||
1329 | 1303 | "subsystem": "block", | ||
1330 | 1304 | "trace/act_mask": "disabled", | ||
1331 | 1305 | "trace/enable": "0", | ||
1332 | 1306 | "trace/end_lba": "disabled", | ||
1333 | 1307 | "trace/pid": "disabled", | ||
1334 | 1308 | "trace/start_lba": "disabled", | ||
1335 | 1309 | "uevent": "MAJOR=253\nMINOR=0\nDEVNAME=dm-0\nDEVTYPE=disk\nDISKSEQ=10" | ||
1336 | 1310 | } | ||
1337 | 1311 | }, | ||
1338 | 1312 | "/dev/dm-1": { | ||
1339 | 1313 | "CURRENT_TAGS": ":systemd:", | ||
1340 | 1314 | "DEVLINKS": "/dev/mapper/ventoy", | ||
1341 | 1315 | "DEVNAME": "/dev/dm-1", | ||
1342 | 1316 | "DEVPATH": "/devices/virtual/block/dm-1", | ||
1343 | 1317 | "DEVTYPE": "disk", | ||
1344 | 1318 | "DISKSEQ": "12", | ||
1345 | 1319 | "DM_NAME": "ventoy", | ||
1346 | 1320 | "DM_SUSPENDED": "0", | ||
1347 | 1321 | "DM_UDEV_DISABLE_DISK_RULES_FLAG": "1", | ||
1348 | 1322 | "DM_UDEV_DISABLE_OTHER_RULES_FLAG": "1", | ||
1349 | 1323 | "DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG": "1", | ||
1350 | 1324 | "DM_UDEV_RULES": "1", | ||
1351 | 1325 | "DM_UDEV_RULES_VSN": "2", | ||
1352 | 1326 | "MAJOR": "253", | ||
1353 | 1327 | "MINOR": "1", | ||
1354 | 1328 | "SUBSYSTEM": "block", | ||
1355 | 1329 | "TAGS": ":systemd:", | ||
1356 | 1330 | "USEC_INITIALIZED": "4473234", | ||
1357 | 1331 | "attrs": { | ||
1358 | 1332 | "alignment_offset": "0", | ||
1359 | 1333 | "bdi": null, | ||
1360 | 1334 | "capability": "4", | ||
1361 | 1335 | "dev": "253:1", | ||
1362 | 1336 | "discard_alignment": "0", | ||
1363 | 1337 | "diskseq": "12", | ||
1364 | 1338 | "dm/name": "ventoy", | ||
1365 | 1339 | "dm/rq_based_seq_io_merge_deadline": "0", | ||
1366 | 1340 | "dm/suspended": "0", | ||
1367 | 1341 | "dm/use_blk_mq": "1", | ||
1368 | 1342 | "dm/uuid": "", | ||
1369 | 1343 | "events": "", | ||
1370 | 1344 | "events_async": "", | ||
1371 | 1345 | "events_poll_msecs": "-1", | ||
1372 | 1346 | "ext_range": "1", | ||
1373 | 1347 | "hidden": "0", | ||
1374 | 1348 | "inflight": " 3 0", | ||
1375 | 1349 | "integrity/device_is_integrity_capable": "0", | ||
1376 | 1350 | "integrity/format": "none", | ||
1377 | 1351 | "integrity/protection_interval_bytes": "0", | ||
1378 | 1352 | "integrity/read_verify": "0", | ||
1379 | 1353 | "integrity/tag_size": "0", | ||
1380 | 1354 | "integrity/write_generate": "0", | ||
1381 | 1355 | "power/async": "disabled", | ||
1382 | 1356 | "power/autosuspend_delay_ms": null, | ||
1383 | 1357 | "power/control": "auto", | ||
1384 | 1358 | "power/runtime_active_kids": "0", | ||
1385 | 1359 | "power/runtime_active_time": "0", | ||
1386 | 1360 | "power/runtime_enabled": "disabled", | ||
1387 | 1361 | "power/runtime_status": "unsupported", | ||
1388 | 1362 | "power/runtime_suspended_time": "0", | ||
1389 | 1363 | "power/runtime_usage": "0", | ||
1390 | 1364 | "queue/add_random": "0", | ||
1391 | 1365 | "queue/chunk_sectors": "0", | ||
1392 | 1366 | "queue/dax": "0", | ||
1393 | 1367 | "queue/discard_granularity": "0", | ||
1394 | 1368 | "queue/discard_max_bytes": "0", | ||
1395 | 1369 | "queue/discard_max_hw_bytes": "0", | ||
1396 | 1370 | "queue/discard_zeroes_data": "0", | ||
1397 | 1371 | "queue/dma_alignment": "511", | ||
1398 | 1372 | "queue/fua": "0", | ||
1399 | 1373 | "queue/hw_sector_size": "512", | ||
1400 | 1374 | "queue/io_poll": "0", | ||
1401 | 1375 | "queue/io_poll_delay": "0", | ||
1402 | 1376 | "queue/iostats": "0", | ||
1403 | 1377 | "queue/logical_block_size": "512", | ||
1404 | 1378 | "queue/max_discard_segments": "1", | ||
1405 | 1379 | "queue/max_hw_sectors_kb": "1024", | ||
1406 | 1380 | "queue/max_integrity_segments": "0", | ||
1407 | 1381 | "queue/max_sectors_kb": "1024", | ||
1408 | 1382 | "queue/max_segment_size": "65536", | ||
1409 | 1383 | "queue/max_segments": "2048", | ||
1410 | 1384 | "queue/minimum_io_size": "512", | ||
1411 | 1385 | "queue/nomerges": "0", | ||
1412 | 1386 | "queue/nr_requests": "128", | ||
1413 | 1387 | "queue/nr_zones": "0", | ||
1414 | 1388 | "queue/optimal_io_size": "0", | ||
1415 | 1389 | "queue/physical_block_size": "512", | ||
1416 | 1390 | "queue/read_ahead_kb": "128", | ||
1417 | 1391 | "queue/rotational": "1", | ||
1418 | 1392 | "queue/rq_affinity": "0", | ||
1419 | 1393 | "queue/scheduler": "none", | ||
1420 | 1394 | "queue/stable_writes": "0", | ||
1421 | 1395 | "queue/virt_boundary_mask": "0", | ||
1422 | 1396 | "queue/wbt_lat_usec": null, | ||
1423 | 1397 | "queue/write_cache": "write through", | ||
1424 | 1398 | "queue/write_same_max_bytes": "0", | ||
1425 | 1399 | "queue/write_zeroes_max_bytes": "0", | ||
1426 | 1400 | "queue/zone_append_max_bytes": "0", | ||
1427 | 1401 | "queue/zone_write_granularity": "0", | ||
1428 | 1402 | "queue/zoned": "none", | ||
1429 | 1403 | "range": "1", | ||
1430 | 1404 | "removable": "0", | ||
1431 | 1405 | "ro": "0", | ||
1432 | 1406 | "size": "4839829504", | ||
1433 | 1407 | "slaves/sdb1": null, | ||
1434 | 1408 | "stat": " 15628 0 2364154 38764 0 0 0 0 3 33900 38764 0 0 0 0 0 0", | ||
1435 | 1409 | "subsystem": "block", | ||
1436 | 1410 | "trace/act_mask": "disabled", | ||
1437 | 1411 | "trace/enable": "0", | ||
1438 | 1412 | "trace/end_lba": "disabled", | ||
1439 | 1413 | "trace/pid": "disabled", | ||
1440 | 1414 | "trace/start_lba": "disabled", | ||
1441 | 1415 | "uevent": "MAJOR=253\nMINOR=1\nDEVNAME=dm-1\nDEVTYPE=disk\nDISKSEQ=12" | ||
1442 | 1416 | }, | ||
1443 | 1417 | "partitiontable": { | ||
1444 | 1418 | "label": "gpt", | ||
1445 | 1419 | "id": "ACA58DA5-EEF8-4E61-A479-A4A7B29BED12", | ||
1446 | 1420 | "device": "/dev/dm-1", | ||
1447 | 1421 | "unit": "sectors", | ||
1448 | 1422 | "firstlba": 64, | ||
1449 | 1423 | "lastlba": 9452728, | ||
1450 | 1424 | "table-length": "248", | ||
1451 | 1425 | "sectorsize": 512, | ||
1452 | 1426 | "partitions": [ | ||
1453 | 1427 | { | ||
1454 | 1428 | "node": "/dev/mapper/ventoy-part1", | ||
1455 | 1429 | "start": 64, | ||
1456 | 1430 | "size": 9441996, | ||
1457 | 1431 | "type": "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", | ||
1458 | 1432 | "uuid": "ACA58DA5-EEF8-4E61-A478-A4A7B29BED12", | ||
1459 | 1433 | "name": "ISO9660", | ||
1460 | 1434 | "attrs": "RequiredPartition GUID:60" | ||
1461 | 1435 | }, | ||
1462 | 1436 | { | ||
1463 | 1437 | "node": "/dev/mapper/ventoy-part2", | ||
1464 | 1438 | "start": 9442060, | ||
1465 | 1439 | "size": 10068, | ||
1466 | 1440 | "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", | ||
1467 | 1441 | "uuid": "ACA58DA5-EEF8-4E61-A47B-A4A7B29BED12", | ||
1468 | 1442 | "name": "Appended2" | ||
1469 | 1443 | }, | ||
1470 | 1444 | { | ||
1471 | 1445 | "node": "/dev/mapper/ventoy-part3", | ||
1472 | 1446 | "start": 9452128, | ||
1473 | 1447 | "size": 600, | ||
1474 | 1448 | "type": "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", | ||
1475 | 1449 | "uuid": "ACA58DA5-EEF8-4E61-A47A-A4A7B29BED12", | ||
1476 | 1450 | "name": "Gap1", | ||
1477 | 1451 | "attrs": "RequiredPartition GUID:60" | ||
1478 | 1452 | } | ||
1479 | 1453 | ] | ||
1480 | 1454 | } | ||
1481 | 1455 | } | ||
1482 | 1456 | }, | ||
1483 | 1457 | "dmcrypt": {} | ||
1484 | 1458 | } | ||
1485 | 0 | \ No newline at end of file | 1459 | \ No newline at end of file |
1486 | diff --git a/tests/unittests/test_storage_config.py b/tests/unittests/test_storage_config.py | |||
1487 | index 71cd528..a538ece 100644 | |||
1488 | --- a/tests/unittests/test_storage_config.py | |||
1489 | +++ b/tests/unittests/test_storage_config.py | |||
1490 | @@ -8,6 +8,7 @@ from curtin.storage_config import (BcacheParser, BlockdevParser, DasdParser, | |||
1491 | 8 | DmcryptParser, FilesystemParser, LvmParser, | 8 | DmcryptParser, FilesystemParser, LvmParser, |
1492 | 9 | RaidParser, MountParser, ZfsParser) | 9 | RaidParser, MountParser, ZfsParser) |
1493 | 10 | from curtin.storage_config import ptable_uuid_to_flag_entry, select_configs | 10 | from curtin.storage_config import ptable_uuid_to_flag_entry, select_configs |
1494 | 11 | from curtin.storage_config import LOG as SCLogger | ||
1495 | 11 | from curtin import util | 12 | from curtin import util |
1496 | 12 | 13 | ||
1497 | 13 | 14 | ||
1498 | @@ -906,6 +907,17 @@ class TestMountParser(CiTestCase): | |||
1499 | 906 | self.assertEqual(4, len(configs)) | 907 | self.assertEqual(4, len(configs)) |
1500 | 907 | self.assertEqual(0, len(errors)) | 908 | self.assertEqual(0, len(errors)) |
1501 | 908 | 909 | ||
1502 | 910 | @skipUnlessJsonSchema() | ||
1503 | 911 | def test_mount_ignore_ventoy(self): | ||
1504 | 912 | probe_data = _get_data('probert_storage_ventoy.json') | ||
1505 | 913 | mountp = MountParser(probe_data) | ||
1506 | 914 | with self.assertLogs(SCLogger, level='WARN') as warn: | ||
1507 | 915 | configs, errors = mountp.parse() | ||
1508 | 916 | self.assertEqual(0, len(configs)) | ||
1509 | 917 | self.assertEqual(0, len(errors)) | ||
1510 | 918 | self.assertIn('ignoring mount for device /dev/dm-1', | ||
1511 | 919 | [record.getMessage() for record in warn.records]) | ||
1512 | 920 | |||
1513 | 909 | 921 | ||
1514 | 910 | class TestZfsParser(CiTestCase): | 922 | class TestZfsParser(CiTestCase): |
1515 | 911 | 923 | ||
1516 | @@ -1138,6 +1150,19 @@ class TestExtractStorageConfig(CiTestCase): | |||
1517 | 1138 | self.assertEqual(1, len(bitlocker)) | 1150 | self.assertEqual(1, len(bitlocker)) |
1518 | 1139 | self.assertEqual(expected_dict, bitlocker[0]) | 1151 | self.assertEqual(expected_dict, bitlocker[0]) |
1519 | 1140 | 1152 | ||
1520 | 1153 | @skipUnlessJsonSchema() | ||
1521 | 1154 | def test_booted_using_ventoy(self): | ||
1522 | 1155 | # Make sure we ignore the ventoy DM device and partitions | ||
1523 | 1156 | self.probe_data = _get_data('probert_storage_ventoy.json') | ||
1524 | 1157 | extracted = storage_config.extract_storage_config(self.probe_data) | ||
1525 | 1158 | config = extracted['storage']['config'] | ||
1526 | 1159 | for disk in [cfg for cfg in config if cfg['type'] == 'disk']: | ||
1527 | 1160 | self.assertNotEqual(disk['path'], '/dev/mapper/ventoy') | ||
1528 | 1161 | self.assertNotEqual(disk['path'], '/dev/dm-1') | ||
1529 | 1162 | for part in [cfg for cfg in config if cfg['type'] == 'partition']: | ||
1530 | 1163 | self.assertFalse( | ||
1531 | 1164 | part['path'].startswith('/dev/mapper/ventoy-part')) | ||
1532 | 1165 | |||
1533 | 1141 | 1166 | ||
1534 | 1142 | class TestSelectConfigs(CiTestCase): | 1167 | class TestSelectConfigs(CiTestCase): |
1535 | 1143 | def test_basic(self): | 1168 | def test_basic(self): |
PASSED: Continuous integration, rev:c89ad4a8017 fa4b935eb8741d3 20fa7160bbfa3b /jenkins. canonical. com/server- team/job/ curtin- ci/87/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-amd64/ 87/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-arm64/ 87/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-ppc64el/ 87/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-s390x/ 87/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/server- team/job/ curtin- ci/87// rebuild
https:/