[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
The cache will not take immediately into effect. It is designed to save your cache disk and to load only repetitive data. Try to run your benchmark 20 times and you will notice slight improvement over reading the same object. Of course , you can use lvm cache in writethrough mode, but then it is recommended to use 2 cache disks (raid1 or lvm mirroring) . Best Regards, Strahil NikolovOn Jun 26, 2019 17:44, Robert Crawford wrote: > > So i created the brick without the cache an add the cache doing the commands > below; but it appers it's not working because I see no improvement in the > benchmarks. > > pvcreate /dev/md/VMStorageHot > vgextend RHGS_vg_VMStorage /dev/md/VMStorageHot > lvcreate -L 1500G -n lv_cache RHGS_vg_VMStorage /dev/md/VMStorageHot > lvcreate -L 100M -n lv_cache_meta RHGS_vg_VMStorage /dev/md/VMStorageHot > lvconvert --type cache-pool --cachemode writeback --poolmetadata > RHGS_vg_VMStorage/lv_cache_meta RHGS_vg_VMStorage/lv_cache > lvconvert --type cache --cachepool HGS_vg_VMStorage/lv_cache > RHGS_vg_VMStorage/VMStorage_lv_pool > ___ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/BQ4ZS245WZDDEUJTFYTJUFMOPL7ECCDQ/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/7YKPGJQTDGNQD6QZ7MKHQXM7AY77ZZOP/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
So i created the brick without the cache an add the cache doing the commands below; but it appers it's not working because I see no improvement in the benchmarks. pvcreate /dev/md/VMStorageHot vgextend RHGS_vg_VMStorage /dev/md/VMStorageHot lvcreate -L 1500G -n lv_cache RHGS_vg_VMStorage /dev/md/VMStorageHot lvcreate -L 100M -n lv_cache_meta RHGS_vg_VMStorage /dev/md/VMStorageHot lvconvert --type cache-pool --cachemode writeback --poolmetadata RHGS_vg_VMStorage/lv_cache_meta RHGS_vg_VMStorage/lv_cache lvconvert --type cache --cachepool HGS_vg_VMStorage/lv_cache RHGS_vg_VMStorage/VMStorage_lv_pool ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BQ4ZS245WZDDEUJTFYTJUFMOPL7ECCDQ/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
Might be related https://bugzilla.redhat.com/show_bug.cgi?id=1720261 ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/2USS7YBE4SUCZXNZXPNTYAGC4ZMEVM4C/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
"changed": false } 2019-06-24 17:39:36,862 p=2015 u=ovirt | TASK [gluster-brick-create : Set PV data alignment for RAID] *** 2019-06-24 17:39:36,891 p=2015 u=ovirt | skipping: [131-STR-01.stfd13.org] => { "changed": false, "skip_reason": "Conditional result was False" } 2019-06-24 17:39:36,901 p=2015 u=ovirt | TASK [gluster-brick-create : Set VG physical extent size for RAID] * 2019-06-24 17:39:36,928 p=2015 u=ovirt | skipping: [131-STR-01.stfd13.org] => { "changed": false, "skip_reason": "Conditional result was False" } 2019-06-24 17:39:36,938 p=2015 u=ovirt | TASK [gluster-brick-create : Create volume groups] * 2019-06-24 17:39:43,038 p=2015 u=ovirt | changed: [131-STR-01.stfd13.org] => (item=/dev/md/VMStorageCold) => { "ansible_loop_var": "item", "changed": true, "item": "/dev/md/VMStorageCold" } 2019-06-24 17:39:43,053 p=2015 u=ovirt | TASK [gluster-brick-create : Calculate chunksize for RAID6/RAID10] * 2019-06-24 17:39:43,090 p=2015 u=ovirt | skipping: [131-STR-01.stfd13.org] => { "changed": false, "skip_reason": "Conditional result was False" } 2019-06-24 17:39:43,100 p=2015 u=ovirt | TASK [gluster-brick-create : Set chunksize for JBOD] *** 2019-06-24 17:39:43,141 p=2015 u=ovirt | ok: [131-STR-01.stfd13.org] => { "ansible_facts": { "lv_chunksize": "256K" }, "changed": false } 2019-06-24 17:39:43,151 p=2015 u=ovirt | TASK [gluster-brick-create : Create a LV thinpool] * 2019-06-24 17:39:49,523 p=2015 u=ovirt | changed: [131-STR-01.stfd13.org] => { "changed": true } 2019-06-24 17:39:49,533 p=2015 u=ovirt | TASK [gluster-brick-create : Create thin logical volume] *** 2019-06-24 17:39:57,634 p=2015 u=ovirt | changed: [131-STR-01.stfd13.org] => { "changed": true } 2019-06-24 17:39:57,644 p=2015 u=ovirt | TASK [gluster-brick-create : include_tasks] 2019-06-24 17:39:57,707 p=2015 u=ovirt | included: /usr/share/ovirt-engine/playbooks/roles/gluster-brick-create/tasks/lvmcache.yml for 131-STR-01.stfd13.org 2019-06-24 17:39:57,724 p=2015 u=ovirt | TASK [gluster-brick-create : Setup SSD for caching | Extend the Volume Group] *** 2019-06-24 17:40:03,433 p=2015 u=ovirt | [WARNING]: The value 4 (type int) in a string field was converted to u'4' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. 2019-06-24 17:40:03,435 p=2015 u=ovirt | failed: [131-STR-01.stfd13.org] (item=/dev/md/VMStorageHot) => { "ansible_loop_var": "item", "changed": false, "err": " Physical volume \"/dev/md127\" still in use\n", "item": "/dev/md/VMStorageHot", "rc": 5 } MSG: Unable to reduce RHGS_vg_VMStorage by /dev/md127. 2019-06-24 17:40:03,439 p=2015 u=ovirt | PLAY RECAP * 2019-06-24 17:40:03,440 p=2015 u=ovirt | 131-STR-01.stfd13.org : ok=7 changed=4unreachable=0failed=1skipped=3rescued=0ignored=0 ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/KAKEWCDCE2T6EIUXKCFDVP4QIJ2FBPBH/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
Are the logs on the host or the oVirt manager? ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VITC2L5JHQMTNLJYSHZWW4FRMCTGGRSK/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
I had the WWID's of the drives blacklisted, I just tried it without them blacklisted and same result. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/OOIEJKR3APPQ4FEXZAESBPRAGE7XPVWE/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
Did you blacklist in /etc/multipath.conf all local disks ?In other words, when you run 'lsblk' do you see hte disk to have a child device (usually the wwid) ? Best Regards,Strahil Nikolov В понеделник, 24 юни 2019 г., 2:08:37 ч. Гринуич-4, Robert Crawford написа: Hey Everyone, When in the server manager and creating a brick from the storage device the brick will fail whenever i attach a cache device to it. I'm not really sure why? It just says unknown. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/2XEP3P7SMUN2CWWNNVWC2ZDQVGFLMHGS/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/DETEWMK5IVSFUEU2RYKRJXNRJQKBVSHW/
[ovirt-users] Re: Issues when Creating a Gluster Brick with Cache
On Mon, Jun 24, 2019 at 11:39 AM Robert Crawford < robert.crawford4.14...@gmail.com> wrote: > Hey Everyone, > > When in the server manager and creating a brick from the storage device > the brick will fail whenever i attach a cache device to it. > > I'm not really sure why? It just says unknown. > The brick creation flow uses ansible roles to create the bricks and the logs are at /var/log/ovirt-engine/brick-setup/ Can you take a look at ansible logs? ___ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/2XEP3P7SMUN2CWWNNVWC2ZDQVGFLMHGS/ > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4SQ7IFKMNR43T5CCRE2POLXV6OG4KATJ/