<?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; Linux</title>
	<atom:link href="http://www.lbotti.net/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lbotti.net/blog</link>
	<description>Linux, Java, Python...just techie blogging</description>
	<lastBuildDate>Mon, 30 Aug 2010 12:45:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Java 6 update 17 on Fedora 12</title>
		<link>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 00:26:50 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=205</guid>
		<description><![CDATA[A nice reader asked about the spec file for update 17 of the Sun Java virtual machine. I already had updated the spec file, which you can find here and then follow my previous post. Right now, I am using Chromium (open source version of Google Chrome) and I will fix the Java plugin for [...]]]></description>
			<content:encoded><![CDATA[<p>A nice reader asked about the spec file for update 17 of the Sun Java virtual machine. I already had updated the spec file, which you can find <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun.spec">here</a> and then follow my <a href="http://www.lbotti.net/blog/2009/08/07/java-1-6u15-installation-in-fedora-11/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">previous post</a>.<br />
Right now, I am using Chromium (open source version of Google Chrome) and I will fix the Java plugin for that.<br />
I Promise! </p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" alt="Creative Commons Attribution-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pinax Dependencies &#8211; django-extensions</title>
		<link>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 03:55:44 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Pinax]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=184</guid>
		<description><![CDATA[Ok, so I checked Pinax dependencies and found some external libs to be packaged before being able to completely package Pinax. This packages will form the &#8220;depends&#8221; line of Pinax itself. Looking carefully, the first one is named django_extensions, but really the name should be &#8220;django-extensions&#8221;, and you can find the project with the not [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I checked <a title='Original Link: http://pinaxproject.com/docs/0.5.1/dependencies.html'  href="http://www.lbotti.net/blog/?aZmfuYB8" target="_blank">Pinax dependencies</a> and found some external libs to be packaged before being able to completely package Pinax. This packages will form the &#8220;depends&#8221; line of Pinax itself.</p>
<p>Looking carefully, the first one is named django_extensions, but really the name should be &#8220;django-extensions&#8221;, and you can find the project with the not intuitive name of &#8220;django-commandline-extensions&#8221; <a title='Original Link: http://code.google.com/p/django-command-extensions/'  href="http://www.lbotti.net/blog/?qJ3QnbdI" target="_blank">here</a> at googlecode.</p>
<p>Ok, let&#8217;s see the spec file:</p>
<blockquote><p>%{!?python_sitelib: %define python_sitelib %(%{__python} -c &#8220;from distutils.sysconfig import get_python_lib; print get_python_lib()&#8221;)}</p>
<p>Name:           django-extensions<br />
Version:        0.4.1<br />
Release:        1%{?dist}<br />
Summary:        Django command line extensions</p></blockquote>
<p>Up to this point, standard stuff. The {?dist} should stand for &#8220;current distribution&#8221;, so it will end in a &#8220;fc11&#8243; package.</p>
<blockquote><p>Group:          Development/Languages<br />
License:        BSD<br />
URL:            http://code.google.com/p/django-command-extensions/<br />
Source0:        %{name}-%{version}.tar.gz<br />
Source1:        %{name}-docs-%{version}.tar.gz</p></blockquote>
<p>The Group is standard for Python / Django libraries. License is taken from the project&#8217;s homepage, source is the standard .tar.gz file which is downloaded from the front page of the project. Source1 is extracted from the <a title='Original Link: http://github.com/django-extensions/django-extensions/tree/master'  href="http://www.lbotti.net/blog/?WXOwTwJJ" target="_blank">github</a> 0.4.1 tag of the project and contains just the documentation to be built.</p>
<blockquote><p>BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)</p>
<p>BuildArch:      noarch<br />
BuildRequires:  python-devel python-sphinx<br />
Requires:       Django</p>
<p>%description<br />
This is a repository for collecting global custom management extensions<br />
for the Django Framework</p></blockquote>
<p>The buildroot path is standard, arch is noarch (just python code&#8230;), the build requires gets the addition of <a title='Original Link: http://sphinx.pocoo.org/'  href="http://www.lbotti.net/blog/?UJUcmz33" target="_blank">python-sphinx</a> (python documentation generator) which, at buildtime, generates html documentation from .rst files. Obviously runtime requirements are Django, while the description is a copy and paste from the project home page.</p>
<blockquote><p>%package doc<br />
Summary:        Documentation for django-extensions<br />
Group:          Documentation<br />
Requires:       %{name} = %{version}-%{release}<br />
Provides:       %{name}-docs = %{version}-%{release}<br />
Obsoletes:      %{name}-docs &lt; %{version}-%{release}</p>
<p>%description doc<br />
This package contains the documentation for the django-extension library</p></blockquote>
<p>Wait a minute, what is this? Exactly, we are building not one but two packages. One for code, one for doc.</p>
<blockquote><p>%prep<br />
%setup -q -n %{name}-%{version}<br />
%setup -a 1</p></blockquote>
<p>Ok, now things become interesting. According to both the <a title='Original Link: http://docs.fedoraproject.org/drafts/rpm-guide-en/ch21s02.html'  href="http://www.lbotti.net/blog/?mc7Hmlsx" target="_blank">Fedora Project RPM Guide</a> and the <a title='Original Link: http://www.rpm.org/max-rpm-snapshot'  href="http://www.lbotti.net/blog/?9kuJskde">Maximum RPM</a> book on rpm.org, the above section reads as: prepare environment; extract first source file silently in a directory named $name-$version (e.g. django-extension-0.4.1), then extract the second source file after changing directory to the newly created directory. This is necessary because I compressed just the docs directory level in the git-donwloaded file.</p>
<blockquote><p>%build<br />
%{__python} setup.py build</p>
<p>%install<br />
rm -rf $RPM_BUILD_ROOT<br />
%{__python} setup.py install -O1 &#8211;skip-build &#8211;root $RPM_BUILD_ROOT</p>
<p>(cd docs &amp;&amp; make html)</p></blockquote>
<p>All this stuff comes standard creating an empty python spec file, apart from the last line, which builds the html documentation. This is suggested also by Django spec file (go get it with a yumdownloader &#8211;source Django and rpm -ivh the src.rpm).</p>
<blockquote><p>%clean<br />
rm -rf $RPM_BUILD_ROOT</p>
<p>%files<br />
%defattr(-,root,root,-)<br />
%{python_sitelib}/*</p></blockquote>
<p>Standard stuff again.</p>
<blockquote><p>%files doc<br />
%doc docs</p></blockquote>
<p>doc packages files</p>
<blockquote><p>%changelog<br />
* Sun Aug 23 2009 Luca Botti &lt;lucabotti&#8230;fedoraproject.org&gt;<br />
- Initial RPM Release</p></blockquote>
<p>changelog description.</p>
<p>This file is uploaded at my <a title='Original Link: http://lucabotti.fedorapeople.org/'  href="http://www.lbotti.net/blog/?8SAQd_pX" target="_blank">fedorapeople.org</a>&#8216;s address and is submitted in bugzilla for review <a title='Original Link: https://bugzilla.redhat.com/show_bug.cgi?id=518857'  href="http://www.lbotti.net/blog/?J9ZWySOK" target="_blank">here</a>. I am waiting for sponsorship. Thanks.</p>
<p>More packages will follow. Stay tuned.</p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="http://i.creativecommons.org/l/by-sa/3.0//88x31.png" alt="Creative Commons Attribution-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>About Sudo and Fedora</title>
		<link>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 07:35:59 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux Hacking]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=102</guid>
		<description><![CDATA[Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account. But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable your account to during system installation, so you are stuck. What to do is [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account.</p>
<p>But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable  your account to during system installation, so you are stuck.</p>
<p>What to do is simple:<br />
<pre><code>su -
(insert your root password)
visudo &lt;em&gt; (as per kagesenshi comment #1)&lt;/em&gt;
</code></pre><br />
Find a line which says:<br />
<pre><code>
root&nbsp;&nbsp;&nbsp;&nbsp;ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
and add<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
where <strong>$username</strong> is the user you log in. That&#8217;s all. Ubuntu default behaviour on Fedora.<br />
A variant of this is adding a NOPASSWD tag to avoid requesting for a password every time, though I DO NOT RECOMMEND doing that (gives you time to think about what you are doing); the line becomes:<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOPASSWD: ALL
</code></pre></p>
<p>EDIT &#8211; Brian correctly suggests to uncomment the wheel group in /etc/sudoers and add the users to said group; while correct from a sysadmin point of view, I believe we should keep it simple for users that use Fedora &#8220;on the Desktop&#8221;. I strongly believe Using Fedora and Administering Fedora should be kept as separate activities as possible. Anyway, for more technically oriented users, you can find this way at the <a title='Original Link: http://fedorasolved.org/post-install-solutions/sudo'  href="http://www.lbotti.net/blog/?U0M39roS" target="_blank">fedorasolved.org</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Home Server &#8211; Part Three</title>
		<link>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 12:56:47 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Home Server]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=36</guid>
		<description><![CDATA[Well, a six month release cycle make me wonder, so instead of keeping my home server up to date with fedora, I decided to give Centos 5.3 a try. It went&#8230;well, apart from a known issue with my motherboard network card. CentOS 5.3 installs all right without complaining, but every few seconds the network card [...]]]></description>
			<content:encoded><![CDATA[<p>Well, a six month release cycle make me wonder, so instead of keeping my home server up to date with fedora, I decided to give Centos 5.3 a try.</p>
<p>It went&#8230;well, apart from a known issue with my motherboard network card. CentOS 5.3 installs all right without complaining, but every few seconds the network card delays the response.</p>
<p>Given that I use the little beast for dhcp, DNS and iscsi, this is not what i was looking for. Luckily enough, after searching for a while, I found the issue (module r8169) and built the r8168 with dkms provided by rpmforge.</p>
<p>Now all is going well. Another addition to the setup, I bought a Western Digital MyBook Studio II for backup and safety purposes. Two disks, one terabyte each, raid 1 setting.</p>
<p>Exported part of it through iscsi for the mac (storage of all digital photos through iPhoto, thanks) and the rest is for me. Connection is fast (esata2), and, anyway, I am using it mostly through WiFi, so anything could be fast enough (except USB 1.1, i think).</p>
<p>Happy? Yes, now I am confident my backups will survive a disk failure. I did not  find iscsi-target (IET implementation) in a CentOS 64 bit package, through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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&amp;utm_medium=feed&amp;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>Regione Lombardia does it right, first post</title>
		<link>http://www.lbotti.net/blog/2008/10/21/regione-lombardia-does-it-right-first-post/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/10/21/regione-lombardia-does-it-right-first-post/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 10:10:56 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Public Administration]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=19</guid>
		<description><![CDATA[Regione Lombardia and Corriere della Sera are distributing a smart card reader at a low price (around 7,5 euro). Although I already have an integrated smart card reader in my Latitude D630 (which does not work with Linux, at last try) I bought one to check for alternative OS compatibility. Well, to my surprise, the [...]]]></description>
			<content:encoded><![CDATA[<p>Regione Lombardia and Corriere della Sera are distributing a smart card reader at a low price (around 7,5 euro).</p>
<p>Although I already have an integrated smart card reader in my Latitude D630 (which does not work with Linux, at last try) I bought one to check for alternative OS compatibility. Well, to my surprise, the thing is an ACR38 smart card reader, which, manufactured by ACS offer <a title='Original Link: http://www.acs.com.hk/drivers-manual.php?driver=ACR38'  href="http://www.lbotti.net/blog/?wxrZtoaA">here</a> drivers also for Linux.<br />
So first step is good, hardware. I&#8217;ll check later with software and services.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/10/21/regione-lombardia-does-it-right-first-post/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&amp;utm_medium=feed&amp;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>
