<?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>Looking for the paradigm &#187; samba</title>
	<atom:link href="http://www.evanhoffman.com/evan/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evanhoffman.com/evan</link>
	<description>So I can pass it off</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:17:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fedora Core 15 &amp; Gnome 3</title>
		<link>http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fedora-core-15-gnome-3</link>
		<comments>http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 14:27:22 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autostart]]></category>
		<category><![CDATA[chkconfig]]></category>
		<category><![CDATA[fc12]]></category>
		<category><![CDATA[fc15]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[preupgrade]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[systemctl]]></category>
		<category><![CDATA[systemd]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=1618</guid>
		<description><![CDATA[Shrinking partitions, installing/upgrading to FC15, and systemd/chkconfig.]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/&via=EvanHoffman&text=Fedora Core 15 & Gnome 3&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/"></g:plusone></div><p>Over a year ago, the hard drive in my primary desktop at home bricked itself and rather than going through the hassle of reinstalling Win7 on the new disk, I decided to go with FC12. I&#8217;ve been pretty happy with it in general, since I&#8217;ve always been partial to Red Hat and use CentOS primarily at work.<br />
<span id="more-1618"></span><br />
Last week I got the great idea to upgrade to FC14. In hindsight I can&#8217;t even recall what led me to try this, but it didn&#8217;t end well. I tried the &#8220;preupgrade&#8221; procedure, which appeared to do the entire upgrade from FC12 to FC14 in place. I left it overnight, and when I looked at it the next day it looked like it was done. I was in FC14 and everything looked ok. But then I tried syncing my photos over NFS and discovered nfs wasn&#8217;t running on my desktop. When I tried starting it, it failed. After some trial and error, I used the Google and found that <a href="http://forums.fedoraforum.org/showthread.php?t=264182">this is just what happens when upgrading to FC14</a> due to changes between FC12 and FC14, namely the introduction of <a href="http://fedoraproject.org/wiki/Systemd">systemd</a>.</p>
<p>In all the threads I read, the &#8220;solution&#8221; was a clean install of Fedora. I tried doing this without formatting my / (root) partition, since that had 500 gigs of my stuff on it, but it kept failing. What I ended up doing was downloading <a href="http://partedmagic.com/doku.php?id=start">partedmagic</a>, which is a totally awesome partitioning tool.  If you&#8217;re familiar with Partition Magic, this is similar but Linux-based and free.  I burned the iso to disc, booted to it, and shrunk my / partition from 900 GB to 850 GB, and created a new 50 GB partition at the end of my disk without losing any of my data:</p>
<div id="attachment_1619" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/parted-20110923/" rel="attachment wp-att-1619"><img class="size-medium wp-image-1619" title="FC15 Partitions" src="http://www.evanhoffman.com/evan/wp-content/uploads/2011/09/parted-20110923-300x195.png" alt="FC15 Partitions" width="300" height="195" /></a><p class="wp-caption-text">FC15 Partitions</p></div>
<p>Once this was done, which took surprisingly little time, I did a net install of FC15. I opted for a net install rather than downloading the ISO because I feel that with FiOS it&#8217;s actually faster than reading a DVD, and avoids having to run &#8220;yum update&#8221; afterwards.</p>
<p>So, I ended up with FC15 clean-installed to the new &#8220;/&#8221; partition. I moved everything around so the old partition is mounted at /docs and has all my stuff in it. I&#8217;d heard that FC15 was causing an uproar but until I logged into Gnome 3 myself I didn&#8217;t really understand the fuss. It&#8217;s going to take some getting used to, but after adding the <a href="http://code.google.com/p/tint2/">tint2</a> taskbar it&#8217;s not too awful.</p>
<p>But back to systemd. In FC15 I wanted to ensure Samba started at boot, since that&#8217;s how I share docs between my VMs and host. Chkconfig is still there, but based on my problems with NFS and systemd on FC14 I decided to look into it a bit and see if there&#8217;s a &#8220;new&#8221; way to enable stuff at startup. <a href="http://fedoraproject.org/wiki/Systemd#How_do_I_start.2Fstop_or_enable.2Fdisable_services.3F">There is!</a></p>
<p>Instead of:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># chkconfig smb on</span></pre></div></div>

<p>The command is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># systemctl enable smb.service</span></pre></div></div>

<p>Of course, when I did this it apparently fell back to using chkconfig for smb:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>evan-fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># systemctl enable smb.service</span>
smb.service is not a native service, redirecting to <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>chkconfig.
Executing <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>chkconfig smb on</pre></div></div>

<p>It does say in the <a href="http://fedoraproject.org/wiki/Systemd#Does_chkconfig_command_work_with_systemd.3F">Fedora wiki</a> that systemd respects chkconfig and vice versa, so I guess this post is kind of pointless and I should have just linked to the wiki. But, whatever.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2011/09/23/fedora-core-15-gnome-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One reason I hate iTunes.</title>
		<link>http://www.evanhoffman.com/evan/2010/09/16/one-reason-i-hate-itunes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=one-reason-i-hate-itunes</link>
		<comments>http://www.evanhoffman.com/evan/2010/09/16/one-reason-i-hate-itunes/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 12:04:43 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[file could not be found]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[locate]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[sucks]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=615</guid>
		<description><![CDATA[TweetI&#8217;ve always hated iTunes. It&#8217;s a huge pile of bloatware and it&#8217;s slow as poo. It&#8217;s like 100 mb or more for an mp3 player. I remember winamp playing mp3s when it was a 500k download. Anyway. I keep all my music on a Linux machine running samba. This way it&#8217;s available to every machine [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/09/16/one-reason-i-hate-itunes/&via=EvanHoffman&text=One reason I hate iTunes.&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/09/16/one-reason-i-hate-itunes/"></g:plusone></div><p>I&#8217;ve always hated iTunes. It&#8217;s a huge pile of bloatware and it&#8217;s slow as poo. It&#8217;s like 100 mb or more for an mp3 player. I remember winamp playing mp3s when it was a 500k download. Anyway.</p>
<p>I keep all my music on a Linux machine running samba. This way it&#8217;s available to every machine in the house.  When I had Winamp on all my machines this was wonderful.  But now that I&#8217;m forced into iTunes (thanks to having an iPhone), it turns out to be a major pain.  In iTunes I unchecked the box for &#8220;let iTunes keep my libary organized&#8221; to prevent it from copying the entire library to each computer&#8217;s local disk.  Initially adding my library of ~4000 tracks to iTunes takes over an hour (100 mbit wire) &#8211; it would take about 5 minutes in Winamp, even reading the ID3 tags for each track as it was added (rather than lazily as the song was played).</p>
<p>But the thing that iTunes does that is so annoying it prompted me to write this whiny rant is:</p>
<div id="attachment_623" class="wp-caption aligncenter" style="width: 443px"><a href="http://evanhoffman.com/evan/wp-content/uploads/2010/09/Fullscreen-capture-9172010-92815-PM.jpg"><img src="http://evanhoffman.com/evan/wp-content/uploads/2010/09/Fullscreen-capture-9172010-92815-PM.jpg" alt="iTunes &quot;Song Not Found&quot;" title="iTunes &quot;Song Not Found&quot;" width="433" height="415" class="size-full wp-image-623" /></a><p class="wp-caption-text">iTunes 'Song Not Found'</p></div>
<p>If, for some reason, my M: drive (where the Samba share is mapped) is not connected when iTunes starts, every song in the library gets this &#8220;!&#8221; exclamation point of doom.  If I attempt to play any of these tracks, I am given the option to locate the file.  Nice in theory, but locating all 4000 tracks isn&#8217;t realistic.  If I quit iTunes, reconnect the M: drive, and reopen iTunes, the ! persists.  The only solution I&#8217;ve found to this is deleting the entire library from iTunes and re-adding it, which as I said, takes an extremely long time.</p>
<p>I have other reasons for hating iTunes, this is a blog, not a book.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/09/16/one-reason-i-hate-itunes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error returning browse list: NT_STATUS_NOT_SUPPORTED</title>
		<link>http://www.evanhoffman.com/evan/2009/10/24/error-returning-browse-list-nt_status_not_supported/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-returning-browse-list-nt_status_not_supported</link>
		<comments>http://www.evanhoffman.com/evan/2009/10/24/error-returning-browse-list-nt_status_not_supported/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 14:39:38 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=183</guid>
		<description><![CDATA[TweetThis is annoying. I&#8217;m attempting to get to my photos on my Win 7 desktop from my Linux laptop. It works in Win XP clients, but smbclient is failing: [evan@ehoffman ~]$ smbclient -L //192.168.10.105/ Enter evan's password: Domain=[EVAN-WOLFDALE7] OS=[Windows 7 Ultimate 7100] Server=[Windows 7 Ultimate 6.1] Sharename Type Comment --------- ---- ------- Error returning browse [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2009/10/24/error-returning-browse-list-nt_status_not_supported/&via=EvanHoffman&text=Error returning browse list: NT_STATUS_NOT_SUPPORTED&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2009/10/24/error-returning-browse-list-nt_status_not_supported/"></g:plusone></div><p>This is annoying.  I&#8217;m attempting to get to my photos on my Win 7 desktop from my Linux laptop.  It works in Win XP clients, but smbclient is failing:</p>
<blockquote><pre>[evan@ehoffman ~]$ smbclient -L //192.168.10.105/
Enter evan's password:
Domain=[EVAN-WOLFDALE7] OS=[Windows 7 Ultimate 7100] Server=[Windows 7 Ultimate 6.1]

	Sharename       Type      Comment
	---------       ----      -------
Error returning browse list: NT_STATUS_NOT_SUPPORTED
session request to 192.168.10.105 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
[evan@ehoffman ~]$
</pre>
</blockquote>
<p><b>Update</b>: This appears to be resolved in <a href="http://news.samba.org/releases/3.4.3/">Samba 3.4.3</a> (<a href="http://samba.org/samba/history/samba-3.4.3.html">release notes</a>).  Since there&#8217;s no RPM for 3.4.2 for FC11 I downloaded the source and built it and tried the smbclient against my Win7 box and it worked fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2009/10/24/error-returning-browse-list-nt_status_not_supported/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

