Bug 1163530
| Summary: | LVM Thin: Support automatic resize of ThinpoolMetaLV | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jonathan Earl Brassow <jbrassow> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Thin Provisioning | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, lmiksik, msnitzer, nperic, ovasik, prajnoha, prockai, thornber, tlavigne, zkabelac |
| Version: | 7.1 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.130-4.el7 | Doc Type: | Enhancement |
| Doc Text: |
lvm2 has extended support for thin-pool with automatic resize of thin-pool metadata when its getting too full.
When lvm.conf thin-pool threshold is configured in range (50%-99%) dmeventd is monitoring thin pool and whenever the metadata usage is above threshold it's automatically resized.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 12:45:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1119323 | ||
|
Description
Jonathan Earl Brassow
2014-11-12 23:50:31 UTC
creating thinLVs until metadata area fills up...
BEFORE AUTO-RESIZE:
[root@bp-01 ~]# lvs -a -S role=thin
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
[pool_tdata] vg Twi-ao---- 10.00g
[pool_tmeta] vg ewi-ao---- 4.00m
[root@bp-01 ~]# lvs vg/pool
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
pool vg twi-aotz-- 10.00g 0.00 48.34
[root@bp-01 ~]# lvs vg/pool
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
pool vg twi-aotz-- 10.00g 0.00 66.70
[root@bp-01 ~]# lvs vg/pool
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
pool vg twi-aotz-- 10.00g 0.00 71.19
AFTER AUTO-RESIZE:
[root@bp-01 ~]# lvs vg/pool
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
pool vg twi-aotz-- 10.00g 0.00 41.94
[root@bp-01 ~]# lvs -a -S role=thin
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
[pool_tdata] vg Twi-ao---- 10.00g
[pool_tmeta] vg ewi-ao---- 8.00m
My settings were:
thin_pool_autoextend_threshold = 80
thin_pool_autoextend_percent = 100
Note that the for loop I was using to create the thinLVs did report a couple errors during after threshold was exceeded, but before it was grown...
Logical volume "thinLV784" created.
Logical volume "thinLV785" created.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Free space in pool vg/pool is above threshold, new volumes are not allowed.
Logical volume "thinLV794" created.
Logical volume "thinLV795" created.
I actually like this very much that the ability to create new thinLVs/snaps is suspended and warned to the user when the threshold is increased (although, not a feature I was aware of when testing...).
This worked in .127-1 but regressed and no longer works in .128-1
# 127
[root@host-115 ~]# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
thin_pool_autoextend_threshold = 60
[root@host-115 ~]# grep thin_pool_autoextend_percent /etc/lvm/lvm.conf
thin_pool_autoextend_percent = 90
[root@host-115 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Devices
POOL snapper_thinp twi---t--- 1.00g 3.28 54.69 POOL_tdata(0)
[root@host-115 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sda1(0)
# After *successful* extension
[root@host-115 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 8.00m /dev/sda1(0)
[root@host-115 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Devices
POOL snapper_thinp twi---t--- 1.00g 4.16 34.47 POOL_tdata(0)
[...]
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt616" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt617" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt618" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt619" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt620" created.
Aug 28 12:00:50 host-115 lvm[19511]: Monitoring thin snapper_thinp-POOL-tpool.
Aug 28 12:00:50 host-115 multipathd: dm-12: remove map (uevent)
Aug 28 12:00:50 host-115 multipathd: dm-12: devmap not registered, can't remove
Aug 28 12:00:50 host-115 multipathd: dm-12: remove map (uevent)
Aug 28 12:00:51 host-115 lvm[19511]: Rounding pool metadata size to boundary between physical extents: 4.00 MiB
Aug 28 12:00:51 host-115 lvm[19511]: Extending logical volume POOL_tmeta to 8.00 MiB.
Aug 28 12:00:59 host-115 kernel: device-mapper: thin: 253:4: growing the metadata device from 1024 to 2048 blocks
Aug 28 12:00:59 host-115 lvm[19511]: Monitoring thin snapper_thinp-POOL-tpool.
Aug 28 12:00:59 host-115 lvm[19511]: Logical volume POOL successfully resized
Aug 28 12:00:59 host-115 multipathd: dm-12: remove map (uevent)
Aug 28 12:00:59 host-115 multipathd: dm-12: devmap not registered, can't remove
Aug 28 12:00:59 host-115 multipathd: dm-12: remove map (uevent)
Aug 28 12:01:00 host-115 lvm[19511]: No longer monitoring thin snapper_thinp-POOL-tpool.
Aug 28 12:01:00 host-115 lvm[19511]: No longer monitoring thin snapper_thinp-POOL-tpool.
Aug 28 12:01:00 host-115 lvm[19511]: Monitoring thin snapper_thinp-POOL-tpool.
# 128
[root@host-111 ~]# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
thin_pool_autoextend_threshold = 60
[root@host-111 ~]# grep thin_pool_autoextend_percent /etc/lvm/lvm.conf
thin_pool_autoextend_percent = 100
[root@host-111 ~]# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Meta% Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 1.56 POOL_tdata(0)
[POOL_tdata] snapper_thinp Twi-ao---- 1.00g /dev/sde1(1)
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sdg1(0)
[lvol0_pmspare] snapper_thinp ewi------- 4.00m /dev/sde1(0)
[...]
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt584" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt585" created.
Rounding up size to full physical extent 12.00 MiB
Logical volume "virt586" created.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
# After *failed* extension
[root@host-111 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sde1(0)
[root@host-111 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Devices
POOL snapper_thinp twi-aot--- 1.00g 3.61 60.06 POOL_tdata(0)
Aug 28 11:12:58 host-111 lvm[3254]: No longer monitoring thin snapper_thinp-POOL-tpool.
Aug 28 11:12:58 host-111 lvm[3254]: Monitoring thin snapper_thinp-POOL-tpool.
Aug 28 11:12:59 host-111 lvm[3254]: No longer monitoring thin snapper_thinp-POOL-tpool.
Aug 28 11:12:59 host-111 lvm[3254]: Monitoring thin snapper_thinp-POOL-tpool.
Aug 28 11:12:59 host-111 lvm[3254]: No longer monitoring thin snapper_thinp-POOL-tpool.
[ 756.805032] device-mapper: thin: Deletion of thin device 594 failed.
Aug 28 11:12:59 host-111 kernel: device-mapper: thin: Deletion of thin device 594 failed.
[ 757.137443] device-mapper: thin: Deletion of thin device 594 failed.
Aug 28 11:13:00 host-111 kernel: device-mapper: thin: Deletion of thin device 594 failed.
[ 757.463416] device-mapper: thin: Deletion of thin device 594 failed.
Aug 28 11:13:00 host-111 kernel: device-mapper: thin: Deletion of thin device 594 failed.
[ 757.798348] device-mapper: thin: Deletion of thin device 594 failed.
Aug 28 11:13:00 host-111 kernel: device-mapper: thin: Deletion of thin device 594 failed.
[ 758.399962] device-mapper: thin: Deletion of thin device 594 failed.
I believe it's fixed with: https://www.redhat.com/archives/lvm-devel/2015-September/msg00106.html The fix still doesn't appear to be in the latest rpms.
3.10.0-319.el7.x86_64
lvm2-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
lvm2-libs-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
lvm2-cluster-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
device-mapper-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
device-mapper-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
device-mapper-event-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
device-mapper-event-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
device-mapper-persistent-data-0.5.5-1.el7 BUILT: Thu Aug 13 09:58:10 CDT 2015
cmirror-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
sanlock-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015
sanlock-lib-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015
lvm2-lockd-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015
[root@host-116 ~]# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
thin_pool_autoextend_threshold = 25
[root@host-116 ~]# grep thin_pool_autoextend_percent /etc/lvm/lvm.conf
thin_pool_autoextend_percent = 20
lvcreate --thinpool POOL --profile thin-performance --zero n -L 1G --poolmetadatasize 4M snapper_thinp
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n origin
Creating origin/snap number:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
Nearing meta data threshold percent, continuing creations:
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
231 Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt231 not found in Volume group snapper_thinp.
232 Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt232 not found in Volume group snapper_thinp.
233 Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt233 not found in Volume group snapper_thinp.
234 Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt234 not found in Volume group snapper_thinp.
thin pool meta volume doesn't appear to have been extended to 8M
[ 341.544972] device-mapper: thin: Deletion of thin device 467 failed.
[ 342.558888] device-mapper: thin: Deletion of thin device 467 failed.
[ 343.592617] device-mapper: thin: Deletion of thin device 467 failed.
[ 344.620347] device-mapper: thin: Deletion of thin device 467 failed.
[ 345.645407] device-mapper: thin: Deletion of thin device 467 failed.
[ 346.714396] device-mapper: thin: Deletion of thin device 467 failed.
[ 347.696999] device-mapper: thin: Deletion of thin device 467 failed.
[ 348.814391] device-mapper: thin: Deletion of thin device 467 failed.
[root@host-116 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 25.00 POOL_tdata(0)
[root@host-116 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sdf1(0)
So I believe this is 'logical' fault of somewhat 'unsupported' combination. "normally" dmeventd monitor for things above '50%' fullness. So what happens - Dmeventd will not take action for less then 50% size (as documented in lvm.conf where minimum value is '50') On the other hand - lvm2 command will respect value 25 thus not allowing creation of any new device. So the difference between 127 and 128 is - lvm2 proactivelly dissables creation of new volumes for metadata over threshold. My guess is - we need to 'limit' this test to value 50 as well to match. And likely print a warning for a user that 'too-low' value is configured for threshold. Likely not a blocker - should be one-line fix. Corey - could you please retest with threshold values above 50 ? The percent doesn't matter, the result is still the same.
[root@host-109 ~]# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
# Configuration option activation/thin_pool_autoextend_threshold.
# With thin_pool_autoextend_threshold 70 and
thin_pool_autoextend_threshold = 70
[root@host-109 ~]# grep thin_pool_autoextend_percent /etc/lvm/lvm.conf
# Also see thin_pool_autoextend_percent.
# thin_pool_autoextend_percent 20, whenever a thin pool
# Configuration option activation/thin_pool_autoextend_percent.
thin_pool_autoextend_percent = 100
Snapshot origin LV virt735 not found in Volume group snapper_thinp.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt736 not found in Volume group snapper_thinp.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt737 not found in Volume group snapper_thinp.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt738 not found in Volume group snapper_thinp.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
Snapshot origin LV virt739 not found in Volume group snapper_thinp.
Rounding up size to full physical extent 12.00 MiB
Free space in pool snapper_thinp/POOL is above threshold, new volumes are not allowed.
[root@host-109 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 70.02 POOL_tdata(0)
[root@host-109 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sdh1(0)
Ok so from further discussion - 'resize' will happen once there is changed state of any active existing LV. So likely the failing 'lvcreate' error path must be disabling dmeventd somehow - and not restoring things back properly. Will need further inspection - but I assume should be small fix. So it should behave better with these 2 patches: https://www.redhat.com/archives/lvm-devel/2015-October/msg00034.html https://www.redhat.com/archives/lvm-devel/2015-October/msg00078.html But it's not a full-fix of the whole problem - it should just minimize the possibility to hit this bug - should work for current release. (In reply to Zdenek Kabelac from comment #14) > So it should behave better with these 2 patches: > > https://www.redhat.com/archives/lvm-devel/2015-October/msg00034.html I suppose that should have been https://www.redhat.com/archives/lvm-devel/2015-October/msg00035.html. This does now work on the latest rpms for thresholds above 50%. However it does not appear to work still with a threshold less than 50%. I'll mark this bug verified and open a new RFE for thresholds <50%.
thin_pool_autoextend_threshold = 70
thin_pool_autoextend_percent = 20
SCENARIO - [verify_auto_extension_of_pool_meta]
Create virt origin and snap volumes until the meta area is filled past the auto extend threshold
Enabling thin_pool_autoextend_threshold
Making pool volume
lvcreate --thinpool POOL --profile thin-performance --zero y -L 1G --poolmetadatasize 4M snapper_thinp
Sanity checking pool device (POOL) metadata
examining superblock
examining devices tree
examining mapping tree
checking space map counts
Making origin volume
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n origin
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other1
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other2
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other3
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other4
lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other5
Creating origin/snap number:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660
Nearing meta data threshold percent, continuing creations:
661 662 663 664 665 666 667 668 669
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 4.00m /dev/sdb2(0)
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 68.75 POOL_tdata(0)
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 69.43 POOL_tdata(0)
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 70.02 POOL_tdata(0)
670 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
671 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt671 not found in Volume group snapper_thinp.
672 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt672 not found in Volume group snapper_thinp.
673 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt673 not found in Volume group snapper_thinp.
674 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt674 not found in Volume group snapper_thinp.
675 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt675 not found in Volume group snapper_thinp.
676 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt676 not found in Volume group snapper_thinp.
677 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt677 not found in Volume group snapper_thinp.
678 Cannot create new thin volume, free space in thin pool snapper_thinp/POOL reached threshold.
Snapshot origin LV virt678 not found in Volume group snapper_thinp.
# Meta device is grown to 8M
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
POOL snapper_thinp twi-aotz-- 1.00g 0.00 35.21 POOL_tdata(0)
[root@host-113 ~]# lvs -a -o +devices snapper_thinp/POOL_tmeta
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
[POOL_tmeta] snapper_thinp ewi-ao---- 8.00m /dev/sdb2(0)
Verifying origin/snap creation can now continue:
691 692 693 694 695 696 697 698 699 700
3.10.0-322.el7.x86_64
lvm2-2.02.130-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
lvm2-libs-2.02.130-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
lvm2-cluster-2.02.130-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
device-mapper-1.02.107-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
device-mapper-libs-1.02.107-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
device-mapper-event-1.02.107-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
device-mapper-event-libs-1.02.107-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
device-mapper-persistent-data-0.5.5-1.el7 BUILT: Thu Aug 13 09:58:10 CDT 2015
cmirror-2.02.130-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
sanlock-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015
sanlock-lib-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015
lvm2-lockd-2.02.130-5.el7 BUILT: Wed Oct 14 08:27:29 CDT 2015
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2147.html |