Dňa 09.12.2014 o 03:57 yao xu napísal(a):
do you use iscsi ?


Yes, the storage present itselft as iscsi to ovirt. The tgtd iscsi target which runs on rhel7 does NOT know about the cache, it simply shares an LVM block device. I created the cache using this tutorial:

http://blog.kylemanna.com/linux/2013/06/30/ssd-caching-using-dmcache-tutorial/ (or this, but you need a subscrition: https://access.redhat.com/solutions/912953 )

tgtd.conf:

<target iqn.2014-05.sk.axonpro.sk:BigCachedPool>
    scsi_id STORAGE_BigCachedPool
    vendor_id AXONPRO
    product_id scsi-target-utils
    scsi_sn 42fbb7c1-99d4-4247-a55b-222e5abe13aa
    backing-store /dev/rhel/BigCachedPool
    incominguser ovirt xxxx
</target>

lvs:

LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
  BigCachedPool  rhel Cwi-aoC---  21,00t lv_cache [BigCachedPool_corig]
  lv_cache       rhel Cwi-a-C--- 100,00g

--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,
+421-2-62410360 +421-903-482603
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to