<?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>A Sysadmins blog &#187; backups</title>
	<atom:link href="http://paul.messinthecorner.com/category/backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://paul.messinthecorner.com</link>
	<description>I once was 404, but now am 200.</description>
	<lastBuildDate>Fri, 23 Oct 2009 09:33:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Re-scan the scsi bus after detecting a missing media changer for the tape drive</title>
		<link>http://paul.messinthecorner.com/2009/re-scan-the-scsi-bus-after-detecting-a-missing-media-changer-for-the-tape-drive/</link>
		<comments>http://paul.messinthecorner.com/2009/re-scan-the-scsi-bus-after-detecting-a-missing-media-changer-for-the-tape-drive/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:12:30 +0000</pubDate>
		<dc:creator>pdeaudney</dc:creator>
				<category><![CDATA[backups]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[amanda]]></category>
		<category><![CDATA[dell 124T]]></category>
		<category><![CDATA[lto4]]></category>

		<guid isPermaLink="false">http://paul.messinthecorner.com/?p=43</guid>
		<description><![CDATA[Well today ran into a nice problem, the media changer on a Dell 124T had disappeared and the backup server had been neglected for a while. So Amanda was spewing out backup failed reports for a while now. A bit of investigation later found that the media changer had &#8220;gone&#8221;. More poking showed the tape [...]]]></description>
			<content:encoded><![CDATA[<p>Well today ran into a nice problem, the media changer on a Dell 124T had disappeared and the backup server had been neglected for a while. So Amanda was spewing out backup failed reports for a while now. A bit of investigation later found that the media changer had &#8220;gone&#8221;. More poking showed the tape drive still present hmm. </p>
<p>As this media changer and server live in another state (1200km away) and it was Friday night, the chances of getting the tape drive power cycled == 0. Luckily a rescan of the correct SCSI bus resulted in the media changer being found and usable again.</p>
<p>For reference, check out your SCSI devices by running:</p>
<p><code>cat /proc/scsi/scsi</code></p>
<p>In my case the host bus I wanted to re-scan was 1. So running this command tells the controller to rescan all channels, IDs &#038; LUNs..</p>
<p><code>echo "- - - " &gt; /sys/class/scsi_host/host1/scan</code></p>
<p>After this, I was able to interact with the tape changer device via the Amanda tools again.</p>
<p>Note: Always be-careful when running commands that hot add/remove SCSI devices. I have seen some servers crash from this and others lose access to all SCSI devices which required a reboot to fix (Mostly it is okay though).</p>
]]></content:encoded>
			<wfw:commentRss>http://paul.messinthecorner.com/2009/re-scan-the-scsi-bus-after-detecting-a-missing-media-changer-for-the-tape-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
