<?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>Everything technical &#187; iSCSI</title>
	<atom:link href="http://www.lbotti.net/blog/tag/iscsi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lbotti.net/blog</link>
	<description>Linux, Java, Python...just techie blogging</description>
	<lastBuildDate>Fri, 08 Oct 2010 22:46:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ten days with Fedora 10</title>
		<link>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 11:02:42 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iSCSI]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=30</guid>
		<description><![CDATA[Last week the nice guys at Fedora released the tenth (X in roman numerals) version of Fedora. In the previous weekend, I already had installed the preview release on my notebook, as a clean install. It all worked perfectly, marking this version of Fedora the most interesting Linux Distribution release I ever tried. Fast, beautiful [...]]]></description>
			<content:encoded><![CDATA[<p>Last week the nice guys at Fedora released the tenth (X in roman numerals) version of Fedora.</p>
<p>In the previous weekend, I already had installed the preview release on my notebook, as a clean install. It all worked perfectly, marking this version of Fedora the most interesting Linux Distribution release I ever tried.</p>
<p>Fast, beautiful (thanks to Byte-Code colleague Samuele Storari and his Solar theme),  this version, while looking similar to older 9 release, feels definitely more polished and performing.</p>
<p>After the release, I yum-upgraded my home server (the Atom 330 I mentioned in the past), and it worked out really fine, with no issues at all. It&#8217;s a simpler environment (no gnome, and a initlevel at 3), but everything (iscsi,  samba, DNS, DHCP) continued working as before.</p>
<p>On a side note, my iscsi disk is one of two USB disks attached to the server, so I was wondering how to ensure the block device naming and availability. After contemplating custom udev rules, all that was necessary was a look at /dev/disk. I discovered I can access block devices (like disks) through the /dev/disk/by-id, for example.</p>
<p>Really interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iSCSI &#8211; Nice Solution</title>
		<link>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 13:37:36 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=13</guid>
		<description><![CDATA[Prior Events I like my Linux Notebook. I really do. I started to dual boot Suse Linux back in 2002, I set it up as primary OS in 2003, I removed dual booting in 2005, using some virtualization solution or the other for things that required Windows. By the way, during these years, I saw [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: medium;"><strong>Prior Events</strong></span></p>
<p>I like my Linux Notebook. I really do. I started to dual boot Suse Linux back in 2002, I set it up as primary OS in 2003, I removed dual booting in 2005, using some virtualization solution or the other for things that required Windows. By the way, during these years, I saw less and less needs to do that.<br />
During these time, as professional, I bought several notebooks (If I remeber correctly, about five notbeooks from 2001 to 2008). In these times, when I was to change my notebook, the old one would be used by my wife in our home network.<br />
Well, let me say that &#8211; it was a pain, getting back to 2000/XP to fix things, with all the cycle of installation, maintenance and antivirus.<br />
These year, i asked to my wife if she were willing to try a Mac. Shock and horror, but less shock than a windows machine in my house. Also, I am attracted to Mac OS X. I admit that.<br />
So this MacBook ended in our home, and my wife is using that mainly by herself. No maintenance required.</p>
<p><span style="font-size: medium;"><strong>Backup, backup, always backup</strong></span></p>
<p>I am quite fearful to lose my digital data. Projects, documentation, invoices, mails, mostly reside on thin slices of metal with some magnetic coating&#8230; scratching heads hanging over them with only microns of thin air. Scary, indeed? It&#8217;s your hard disk.<br />
So, for the macbook, the solution in Leopard was&#8230; time machine. Quite ambitious as a backup application, indeed easy to setup and use.<br />
One drawback: only directly attached (firewire and USB) disks, or the Apple time capsule. See, a year ago I ended up aquiring this NAS device (Freecom FSG-3 250 GB, wireless) which, altough useful, i found somewhat limited.<br />
Anyway, i could back to this NAS with some hacking, which was not recomended. In the meantime, i replaced the FSG-3 with a dual desktop abaco computer (  <a title='Original Link: http://www.abacocomputers.com/english/Business/Dual-Desktop.html'  href="http://www.lbotti.net/blog/?di9OqZOS" target="_blank">Abaco</a> ) . So now I have this full featured x86 dual core low power machine. I began thinking again of the backup over the network with time machine.</p>
<p><span style="font-size: medium;"><strong>What I did</strong></span><br />
<strong><br />
Initialize Time Machine</strong><br />
First step, was to take the USB disk i was willing to use as a backup unit, partition it, and format as a HFSplus file system. HFSplus is the Mac OS X journaled file system, think ext3. On this unit, attached via USB, i started to use Time Machine through the control panel. This way, first backup is done locally, probably faster than on the network.</p>
<p><strong>Install iSCSI Target<br />
</strong>iSCSI <strong>target</strong> is the <strong>Server</strong> machine which exports file systems and / or devices. A client uses an iSCSI <strong>Initiator</strong> to connect to a target. When connected, the device is seen as a local device, with all defaults options available.  Exposing a  target is a simple three line configuration file:</p>
<blockquote><p>Target iqn.yyyy-MM.domain.name:uniqueidentifier<br />
Lun 0 Path=/dev/sdc,Type=fileio<br />
Alias MacLacie</p></blockquote>
<p><strong>Test iSCSI</strong><br />
Before going further in the iSCSI path I checked the configuration installing the Linux Initiator on my machine. After some fiddling with the console, a sudden iscsi start opened a nautilus connection with the content of remote, iSCSI attached disk. Server was working.</p>
<p><strong>MacOS side</strong><br />
I was under the impression that Leopard had a native iSCSI initiator, but that is not the case. I downloaded and installed the free (but not open source) <strong>globalSAN</strong> <strong>iSCSI Initiator </strong>from <a title='Original Link: http://www.studionetworksolutions.com/products/product_detail.php?pi=11'  href="http://www.lbotti.net/blog/?CmYOX4TD" target="_blank">studio network solutions</a></p>
<p><strong>Reconfigure Time Machine</strong><br />
You can attach the iSCSI device through the control panel applet in System Preferences. After that, the device is sensed and usable from Time Machine. Backup through wireless of a delta (around 600 MB) then took around ten minutes. Not bad.</p>
<p><span style="font-size: medium;"><strong>What I have to do</strong></span></p>
<ul>
<li><strong>Hal rules rewrite </strong>the device is seen as /dev/sdc through HAL. I have to rewrite some rules to force device location (cannot use UUID for device&#8230;)</li>
<li><strong>Services check </strong>Shut down the machine and restart &#8211; everything should work ok</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

