Created
April 19, 2016 19:06
-
-
Save saivert/3c2ee7ea4fc8a91707c7a0be15d544d0 to your computer and use it in GitHub Desktop.
LVM raid stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@server01][/mnt]# pvs | |
PV VG Fmt Attr PSize PFree | |
/dev/sdb libvirt_lvm lvm2 a-- 931.51g 841.51g | |
/dev/sdc libvirt_lvm lvm2 a-- 931.51g 911.51g | |
[root@server01][/mnt]# vgs | |
VG #PV #LV #SN Attr VSize VFree | |
libvirt_lvm 2 3 0 wz--n- 1.82t 1.71t | |
[root@server01][/mnt]# lvs -a | |
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert | |
my_raid1_test libvirt_lvm rwi-a-r--- 20.00g 53.81 | |
[my_raid1_test_rimage_0] libvirt_lvm Iwi-aor--- 20.00g | |
[my_raid1_test_rimage_1] libvirt_lvm Iwi-aor--- 20.00g | |
[my_raid1_test_rmeta_0] libvirt_lvm ewi-aor--- 4.00m | |
[my_raid1_test_rmeta_1] libvirt_lvm ewi-aor--- 4.00m | |
test libvirt_lvm -wi-a----- 20.00g | |
win10 libvirt_lvm -wi-ao---- 50.00g | |
[root@server01][/mnt]# dmsetup table | |
libvirt_lvm-my_raid1_test_rimage_0: 0 41943040 linear 8:16 146810880 | |
libvirt_lvm-test: 0 41943040 linear 8:16 104859648 | |
libvirt_lvm-win10: 0 104857600 linear 8:16 2048 | |
libvirt_lvm-my_raid1_test: 0 41943040 raid raid1 3 0 region_size 1024 2 252:2 252:3 252:4 252:5 | |
libvirt_lvm-my_raid1_test_rmeta_1: 0 8192 linear 8:32 2048 | |
libvirt_lvm-my_raid1_test_rmeta_0: 0 8192 linear 8:16 146802688 | |
libvirt_lvm-my_raid1_test_rimage_1: 0 41943040 linear 8:32 10240 | |
[root@server01][/mnt]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment