make_loop_dev loopdev1 512M --> ret 0 make_loop_dev loopdev2 512M --> ret 0 pvcreate -ff /dev/loop0 /dev/loop1 Physical volume "/dev/loop0" successfully created. Physical volume "/dev/loop1" successfully created. Not creating system devices file due to existing VGs. --> ret 0 pvs PV VG Fmt Attr PSize PFree /dev/dasda2 fedora_ibm-z-136 lvm2 a-- <67.78g 0 /dev/dasdb1 fedora_ibm-z-136 lvm2 a-- <68.78g 0 /dev/loop0 lvm2 --- 512.00m 512.00m /dev/loop1 lvm2 --- 512.00m 512.00m --> ret 0 vgcreate myvg /dev/loop0 /dev/loop1 Not creating system devices file due to existing VGs. Volume group "myvg" successfully created --> ret 0 vgs VG #PV #LV #SN Attr VSize VFree fedora_ibm-z-136 2 1 0 wz--n- 136.55g 0 myvg 2 0 0 wz--n- 1016.00m 1016.00m --> ret 0 lvremove -ff myvg --> ret 0 lvcreate -l 100%PV -T myvg/mythinpool Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data. Logical volume "mythinpool" created. --> ret 0 lvremove -ff myvg Logical volume "mythinpool" successfully removed. --> ret 0 lvcreate -l 100%PV -T myvg/mythinpool Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data. Logical volume "mythinpool" created. --> ret 0 lvremove -ff myvg Logical volume "mythinpool" successfully removed. --> ret 0 lvcreate -l 100%PV -T myvg/mythinpool Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data. Logical volume "mythinpool" created. --> ret 0 lvremove -ff myvg Logical volume "mythinpool" successfully removed. --> ret 0 lvcreate -l 100%PV -T myvg/mythinpool Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data. Logical volume "mythinpool" created. --> ret 0 lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root fedora_ibm-z-136 -wi-ao---- 136.55g mythinpool myvg twi-a-tz-- 1008.00m 0.00 10.84 --> ret 0 lvcreate -V512M -T myvg/mythinpool -n thinvolume1 Logical volume "thinvolume1" created. --> ret 0 mkdir -p /mnt/testmnt1 --> ret 0 mkfs.xfs -fd noalign /dev/mapper/myvg-thinvolume1 meta-data=/dev/mapper/myvg-thinvolume1 isize=512 agcount=4, agsize=32768 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=131072, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. --> ret 0 mount /dev/mapper/myvg-thinvolume1 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 lvcreate -s -kn --name mysnapshot1 myvg/thinvolume1 WARNING: Sum of all thin volume sizes (1.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot1" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot1 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 lvcreate -s -kn --name mysnapshot21 myvg/mysnapshot1 WARNING: Sum of all thin volume sizes (1.50 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot21" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot21 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 lvcreate -V512M -T myvg/mythinpool -n thinvolume2 WARNING: Sum of all thin volume sizes (2.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "thinvolume2" created. --> ret 0 mkdir -p /mnt/testmnt2 --> ret 0 mkfs.xfs -fd noalign /dev/mapper/myvg-thinvolume2 meta-data=/dev/mapper/myvg-thinvolume2 isize=512 agcount=4, agsize=32768 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=131072, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. --> ret 0 mount /dev/mapper/myvg-thinvolume2 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 lvcreate -s -kn --name mysnapshot2 myvg/thinvolume2 WARNING: Sum of all thin volume sizes (2.50 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot2" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot2 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 lvcreate -s -kn --name mysnapshot22 myvg/mysnapshot2 WARNING: Sum of all thin volume sizes (3.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot22" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot22 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 lvcreate -V512M -T myvg/mythinpool -n thinvolume3 WARNING: Sum of all thin volume sizes (3.50 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "thinvolume3" created. --> ret 0 mkdir -p /mnt/testmnt3 --> ret 0 mkfs.xfs -fd noalign /dev/mapper/myvg-thinvolume3 meta-data=/dev/mapper/myvg-thinvolume3 isize=512 agcount=4, agsize=32768 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=131072, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. --> ret 0 mount /dev/mapper/myvg-thinvolume3 /mnt/testmnt3 --> ret 0 umount /mnt/testmnt3 --> ret 0 lvcreate -s -kn --name mysnapshot3 myvg/thinvolume3 WARNING: Sum of all thin volume sizes (4.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot3" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot3 /mnt/testmnt3 --> ret 0 umount /mnt/testmnt3 --> ret 0 lvcreate -s -kn --name mysnapshot23 myvg/mysnapshot3 WARNING: Sum of all thin volume sizes (4.50 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot23" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot23 /mnt/testmnt3 --> ret 0 umount /mnt/testmnt3 --> ret 0 lvcreate -V512M -T myvg/mythinpool -n thinvolume4 WARNING: Sum of all thin volume sizes (5.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "thinvolume4" created. --> ret 0 mkdir -p /mnt/testmnt4 --> ret 0 mkfs.xfs -fd noalign /dev/mapper/myvg-thinvolume4 meta-data=/dev/mapper/myvg-thinvolume4 isize=512 agcount=4, agsize=32768 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=131072, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. --> ret 0 mount /dev/mapper/myvg-thinvolume4 /mnt/testmnt4 --> ret 0 umount /mnt/testmnt4 --> ret 0 lvcreate -s -kn --name mysnapshot4 myvg/thinvolume4 WARNING: Sum of all thin volume sizes (5.50 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot4" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot4 /mnt/testmnt4 --> ret 0 umount /mnt/testmnt4 --> ret 0 lvcreate -s -kn --name mysnapshot24 myvg/mysnapshot4 WARNING: Sum of all thin volume sizes (6.00 GiB) exceeds the size of thin pool myvg/mythinpool and the size of whole volume group (1016.00 MiB). WARNING: You have not turned on protection against thin pools running out of space. WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. Logical volume "mysnapshot24" created. --> ret 0 mount /dev/mapper/myvg-mysnapshot24 /mnt/testmnt4 --> ret 0 umount /mnt/testmnt4 --> ret 0 lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root fedora_ibm-z-136 -wi-ao---- 136.55g mysnapshot1 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume1 12.59 mysnapshot2 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume2 12.59 mysnapshot21 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot1 12.59 mysnapshot22 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot2 12.59 mysnapshot23 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot3 12.59 mysnapshot24 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot4 12.59 mysnapshot3 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume3 12.59 mysnapshot4 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume4 12.59 mythinpool myvg twi-aotz-- 1008.00m 27.26 15.14 thinvolume1 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 thinvolume2 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 thinvolume3 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 thinvolume4 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 --> ret 0 mount /dev/mapper/myvg-thinvolume1 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 mount /dev/mapper/myvg-mysnapshot1 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 mount /dev/mapper/myvg-mysnapshot21 /mnt/testmnt1 --> ret 0 umount /mnt/testmnt1 --> ret 0 mount /dev/mapper/myvg-thinvolume2 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 mount /dev/mapper/myvg-mysnapshot2 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 mount /dev/mapper/myvg-mysnapshot22 /mnt/testmnt2 --> ret 0 umount /mnt/testmnt2 --> ret 0 lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root fedora_ibm-z-136 -wi-ao---- 136.55g mysnapshot1 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume1 18.79 mysnapshot2 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume2 18.79 mysnapshot21 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot1 18.79 mysnapshot22 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot2 18.79 mysnapshot23 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot3 12.59 mysnapshot24 myvg Vwi-a-tz-- 512.00m mythinpool mysnapshot4 12.59 mysnapshot3 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume3 12.59 mysnapshot4 myvg Vwi-a-tz-- 512.00m mythinpool thinvolume4 12.59 mythinpool myvg twi-aotz-- 1008.00m 46.18 16.89 thinvolume1 myvg Vwi-a-tz-- 512.00m mythinpool 18.79 thinvolume2 myvg Vwi-a-tz-- 512.00m mythinpool 18.79 thinvolume3 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 thinvolume4 myvg Vwi-a-tz-- 512.00m mythinpool 12.59 --> ret 0 ls -la /dev/mapper total 0 drwxr-xr-x. 2 root root 400 Sep 30 22:17 . drwxr-xr-x. 15 root root 3500 Sep 30 22:17 .. crw-------. 1 root root 10, 236 Sep 30 22:16 control lrwxrwxrwx. 1 root root 7 Sep 30 22:16 fedora_ibm--z--136-root -> ../dm-0 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mysnapshot1 -> ../dm-6 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mysnapshot2 -> ../dm-9 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mysnapshot21 -> ../dm-7 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-mysnapshot22 -> ../dm-10 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-mysnapshot23 -> ../dm-13 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-mysnapshot24 -> ../dm-16 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-mysnapshot3 -> ../dm-12 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-mysnapshot4 -> ../dm-15 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mythinpool -> ../dm-4 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mythinpool_tdata -> ../dm-2 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mythinpool_tmeta -> ../dm-1 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-mythinpool-tpool -> ../dm-3 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-thinvolume1 -> ../dm-5 lrwxrwxrwx. 1 root root 7 Sep 30 22:17 myvg-thinvolume2 -> ../dm-8 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-thinvolume3 -> ../dm-11 lrwxrwxrwx. 1 root root 8 Sep 30 22:17 myvg-thinvolume4 -> ../dm-14 --> ret 0 lvremove -ff myvg Logical volume "thinvolume1" successfully removed. Logical volume "mysnapshot1" successfully removed. Logical volume "mysnapshot21" successfully removed. Logical volume "thinvolume2" successfully removed. Logical volume "mysnapshot2" successfully removed. Logical volume "mysnapshot22" successfully removed. Logical volume "thinvolume3" successfully removed. Logical volume "mysnapshot3" successfully removed. Logical volume "mysnapshot23" successfully removed. Logical volume "thinvolume4" successfully removed. Logical volume "mysnapshot4" successfully removed. Logical volume "mysnapshot24" successfully removed. Logical volume "mythinpool" successfully removed. --> ret 0 vgremove -ff myvg Volume group "myvg" successfully removed --> ret 0 pvremove -ff /dev/loop0 /dev/loop1 Labels on physical volume "/dev/loop0" successfully wiped. Labels on physical volume "/dev/loop1" successfully wiped. --> ret 0 clean_loop_dev /dev/loop0 --> ret 0 clean_loop_dev /dev/loop1 --> ret 0 lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root fedora_ibm-z-136 -wi-ao---- 136.55g --> ret 0 vgs VG #PV #LV #SN Attr VSize VFree fedora_ibm-z-136 2 1 0 wz--n- 136.55g 0 --> ret 0 pvs PV VG Fmt Attr PSize PFree /dev/dasda2 fedora_ibm-z-136 lvm2 a-- <67.78g 0 /dev/dasdb1 fedora_ibm-z-136 lvm2 a-- <68.78g 0 --> ret 0 Test finished