Posts

Showing posts from 2017

Ansil4Linux Blog Moving to new site https://linxlabs.com/

I've been studying new topics for some time and decided to start a new website Site is now live and can be accessed at https://linxlabs.com/ Many articles were already posted on "Golang" Suscribe and follow me on below places YouTube : https://www.youtube.com/channel/UCCA7cWxxqOC95VR8JPEFn_w FB :  https://www.facebook.com/OpenLinuxLabs Google+ : https://plus.google.com/communities/109444869997457310738

LVM thin provisioning - file system usage and pool usage dosn't match

When I was demonstrating LVM thin provisioning to new batch of campus hires ; they pointed out an important mismatch between thin pool usage and actual file system usage. I thought , it would be worthy to give it a try to find the cause. So here we go; I created a thin pool with size of 100MB and thin volume of 1GB Thin volume formatted with ext4 and mounted over /test_fs Everything was going smooth as per the plan until we did a tar backup of /usr over /test_fs. Here we go ; * Created vg001 - size 12GB [root@ol7-san ~]# vgdisplay vg001   --- Volume group ---   VG Name               vg001   System ID   Format                lvm2   Metadata Areas        1   Metadata Sequence No  12   VG Access             read/write   VG Status             resizable   MAX LV                0   Cur LV                0   Open LV               0   Max PV                0   Cur PV                1   Act PV                1   VG Size               12.00 GiB   P