Re: [ovirt-users] ssd cache

This is a multi-part message in MIME format. --------------050302090303030802060601 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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-tutoria... (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 --------------050302090303030802060601 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">Dňa 09.12.2014 o 03:57 yao xu napísal(a):<br> </div> <blockquote cite="mid:CAFEhV74MugY5YCTTaBfsMbU_0B6gWvU5zDeh9bGRnukvJscAFw@mail.gmail.com" type="cite"> <div dir="ltr">do you use iscsi ? </div> <br> </blockquote> <br> 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: <br> <br> <a class="moz-txt-link-freetext" href="http://blog.kylemanna.com/linux/2013/06/30/ssd-caching-using-dmcache-tutorial/">http://blog.kylemanna.com/linux/2013/06/30/ssd-caching-using-dmcache-tutorial/</a> (or this, but you need a subscrition: <a class="moz-txt-link-freetext" href="https://access.redhat.com/solutions/912953">https://access.redhat.com/solutions/912953</a> )<br> <br> tgtd.conf:<br> <br> <tt><target iqn.2014-05.sk.axonpro.sk:BigCachedPool></tt><tt><br> </tt><tt> scsi_id STORAGE_BigCachedPool</tt><tt><br> </tt><tt> vendor_id AXONPRO</tt><tt><br> </tt><tt> product_id scsi-target-utils</tt><tt><br> </tt><tt> scsi_sn 42fbb7c1-99d4-4247-a55b-222e5abe13aa</tt><tt><br> </tt><tt> backing-store /dev/rhel/BigCachedPool</tt><tt><br> </tt><tt> incominguser ovirt xxxx</tt><tt><br> </tt><tt></target></tt><tt><br> </tt><br> lvs:<br> <br> <tt> LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert</tt><tt><br> </tt><tt> BigCachedPool rhel Cwi-aoC--- 21,00t lv_cache [BigCachedPool_corig]</tt><tt><br> </tt><tt> lv_cache rhel Cwi-a-C--- 100,00g</tt><br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/vca.php">VCA</a>, <br> +421-2-62410360 +421-903-482603 <br> </span> </div> <img src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk" moz-do-not-send="true" height="1" width="1" border="0"> </div> </body> </html> --------------050302090303030802060601--
participants (1)
-
Ernest Beinrohr