copr-be-dev: enlarging data VG with additional RAID1
This commit is contained in:
parent
6e32586806
commit
4b656cdb3f
2 changed files with 8 additions and 2 deletions
|
@ -55,3 +55,7 @@ copr_backend_data_raid10_volumes:
|
|||
- nvme-Amazon_Elastic_Block_Store_vol01d7d16e5e447b3c4-part1
|
||||
- nvme-Amazon_Elastic_Block_Store_vol0860700f1b82314b5-part1
|
||||
- nvme-Amazon_Elastic_Block_Store_vol0ea433a88aef9c644-part1
|
||||
|
||||
copr_backend_data_2_raid1_volumes:
|
||||
- nvme-Amazon_Elastic_Block_Store_vol0ce8220e998e2e32a-part1
|
||||
- nvme-Amazon_Elastic_Block_Store_vol0038e042c49987b82-part1
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
register: stat_repo_fs_early
|
||||
tags: mdadm
|
||||
|
||||
- name: raid10 volume on the production machine
|
||||
- name: VG on two RAIDs
|
||||
tags: mdadm
|
||||
when: not stat_repo_fs_early.stat.exists
|
||||
block:
|
||||
|
@ -23,7 +23,9 @@
|
|||
stat:
|
||||
path: "/dev/disk/by-id/{{ item }}"
|
||||
register: stat_raid
|
||||
loop: "{{ copr_backend_data_raid10_volumes }}"
|
||||
loop:
|
||||
- "{{ copr_backend_data_raid10_volumes }}"
|
||||
- "{{ copr_backend_data_2_raid1_volumes }}"
|
||||
|
||||
- name: fail if raid volumes do not exist
|
||||
debug: msg=checked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue