<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jui-Nan Lin's Blog &#187; ZFS</title>
	<atom:link href="http://en.jnlin.org/tags/zfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.jnlin.org</link>
	<description>My Mumuring in English, about Un*x, FreeBSD, Network in Taiwan</description>
	<lastBuildDate>Sat, 28 May 2011 14:28:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>FreeBSD: Use ZFS volume as an iSCSI Target</title>
		<link>http://en.jnlin.org/2008/05/14/11/</link>
		<comments>http://en.jnlin.org/2008/05/14/11/#comments</comments>
		<pubDate>Tue, 13 May 2008 16:20:41 +0000</pubDate>
		<dc:creator>jnlin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://en.jnlin.org/2008/05/14/11/</guid>
		<description><![CDATA[Briefly, we can set the extent of iscsi-target to a ZFS volume&#8230;But I have no idea what will happen if the size of extent is larger than it of the ZFS volume&#8230;:) # zfs create -V 10g tank/iscsi# cd /usr/ports/net/iscsi-target/ ; make install clean# cat &#62; /usr/local/etc/iscsi/targetsextent0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /dev/zvol/tank/iscsi&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; 10GBtarget0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rw&#160;&#160;&#160;&#160;&#160; extent0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 10.0.0.0/24^D# /usr/local/etc/rc.d/iscsi_target forcestart [...]]]></description>
			<content:encoded><![CDATA[<p>Briefly, we can set the extent of iscsi-target to a ZFS volume&#8230;<br />But I have no idea what will happen if the size of extent is larger than it of the ZFS volume&#8230;:)</p>
<blockquote><p># zfs create -V 10g tank/iscsi<br /># cd /usr/ports/net/iscsi-target/ ; make install clean<br /># cat &gt; /usr/local/etc/iscsi/targets<br />extent0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/zvol/tank/iscsi&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10GB<br />target0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extent0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.0.0.0/24<br />^D<br /># /usr/local/etc/rc.d/iscsi_target forcestart</p>
</blockquote>
<p>Now we can connect this iSCSI Target with some iSCSI initiator.</p>
]]></content:encoded>
			<wfw:commentRss>http://en.jnlin.org/2008/05/14/11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

