<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Safely Removing External Drives in Linux</title>
	<atom:link href="http://blog.shadypixel.com/safely-removing-external-drives-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/</link>
	<description>tech, politics, etc.</description>
	<lastBuildDate>Mon, 30 Jan 2012 20:31:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Japan</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-22879</link>
		<dc:creator>Japan</dc:creator>
		<pubDate>Sun, 29 Jan 2012 00:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-22879</guid>
		<description>&lt;strong&gt;Launch...&lt;/strong&gt;

[...]Safely Removing External Drives in Linux &#124; Random Bits[...]...</description>
		<content:encoded><![CDATA[<p><strong>Launch&#8230;</strong></p>
<p>[...]Safely Removing External Drives in Linux | Random Bits[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Power off USB mass storage at computer shut down??</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-12495</link>
		<dc:creator>Power off USB mass storage at computer shut down??</dc:creator>
		<pubDate>Sat, 18 Jun 2011 16:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-12495</guid>
		<description>[...] So, I hope to be forgiven for this short-sightedness....  You could use scsiadd, there is a nice tutorial about it...  I hope this helps...  [...]</description>
		<content:encoded><![CDATA[<p>[...] So, I hope to be forgiven for this short-sightedness&#8230;.  You could use scsiadd, there is a nice tutorial about it&#8230;  I hope this helps&#8230;  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Philipps</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-9803</link>
		<dc:creator>Joe Philipps</dc:creator>
		<pubDate>Sun, 20 Feb 2011 19:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-9803</guid>
		<description>I also found a command &quot;scsi-spin&quot; on my Ubuntu 10.04 system.  It can work on most disks since the disk layer has been abstracted into SCSI (even for IDE, USB, and so on).  I actually wanted to see what my wattmeter would say with the main disk not spinning, so I issued scsi-spin --force --down /dev/sda.  (--force is necessary because it will warn you otherwise that the disk you&#039;re trying to deactivate is mounted.)  After that, I simply issued init 6; it spun up sda without any further help (kernel must have realized it would need to do that, and issued the appropriate command to the disk), and executed a reboot.

Removing the disk from the system is OK, but scsi-spin is a more targeted, direct way of doing it.  Removing the USB connector from the system or otherwise causing the disk to disconnect from the USB will prompt the system (probably udev) to remove it as well.</description>
		<content:encoded><![CDATA[<p>I also found a command &#8220;scsi-spin&#8221; on my Ubuntu 10.04 system.  It can work on most disks since the disk layer has been abstracted into SCSI (even for IDE, USB, and so on).  I actually wanted to see what my wattmeter would say with the main disk not spinning, so I issued scsi-spin &#8211;force &#8211;down /dev/sda.  (&#8211;force is necessary because it will warn you otherwise that the disk you&#8217;re trying to deactivate is mounted.)  After that, I simply issued init 6; it spun up sda without any further help (kernel must have realized it would need to do that, and issued the appropriate command to the disk), and executed a reboot.</p>
<p>Removing the disk from the system is OK, but scsi-spin is a more targeted, direct way of doing it.  Removing the USB connector from the system or otherwise causing the disk to disconnect from the USB will prompt the system (probably udev) to remove it as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Borri UPS Systems Blog</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-6091</link>
		<dc:creator>Borri UPS Systems Blog</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-6091</guid>
		<description>As I am aware of some of the linux command this would be little bit easier task to handle the situation as i understand what each command says. Your script will be really useful as well as will save lot of my time.</description>
		<content:encoded><![CDATA[<p>As I am aware of some of the linux command this would be little bit easier task to handle the situation as i understand what each command says. Your script will be really useful as well as will save lot of my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ingo</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-5115</link>
		<dc:creator>ingo</dc:creator>
		<pubDate>Sat, 01 May 2010 18:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-5115</guid>
		<description>Thank you for inspiring me to write a GUI for just this (see screenshots):
http://github.com/ingob/dfmon

This tool lists all scsi devices in the system and umounts/removes them (with truecrypt support) from the scsi bus at request. Often, I want to remove SATA devices from the system which are mounted with truecrypt.
Atm, it&#039;s a python script which uses Qt. I&#039;ll add a standalone binary soon.

What do you think about this ?</description>
		<content:encoded><![CDATA[<p>Thank you for inspiring me to write a GUI for just this (see screenshots):<br />
<a href="http://github.com/ingob/dfmon" rel="nofollow">http://github.com/ingob/dfmon</a></p>
<p>This tool lists all scsi devices in the system and umounts/removes them (with truecrypt support) from the scsi bus at request. Often, I want to remove SATA devices from the system which are mounted with truecrypt.<br />
Atm, it&#8217;s a python script which uses Qt. I&#8217;ll add a standalone binary soon.</p>
<p>What do you think about this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ubuntu 10.04 Server: Lucid Print and File Server for Home Network &#171; Badger Bait</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-4702</link>
		<dc:creator>Ubuntu 10.04 Server: Lucid Print and File Server for Home Network &#171; Badger Bait</dc:creator>
		<pubDate>Tue, 16 Mar 2010 02:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-4702</guid>
		<description>[...] meant to be left on all the time. There&#8217;s a really great script available over at shadypixel that will shut the hard drive entirely down, save it to the server and make it executable. To have [...]</description>
		<content:encoded><![CDATA[<p>[...] meant to be left on all the time. There&#8217;s a really great script available over at shadypixel that will shut the hard drive entirely down, save it to the server and make it executable. To have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SCSI 80 PIN</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-2826</link>
		<dc:creator>SCSI 80 PIN</dc:creator>
		<pubDate>Thu, 15 Oct 2009 10:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-2826</guid>
		<description>Thank you for all the info very useful for us I will try this method to backup my fiele server and media server thank you again</description>
		<content:encoded><![CDATA[<p>Thank you for all the info very useful for us I will try this method to backup my fiele server and media server thank you again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Pemberton</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-1593</link>
		<dc:creator>Phil Pemberton</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-1593</guid>
		<description>&#039;eject&#039; should also do the same job -- it either ejects a CD-ROM drive, or will also (IME) spin down hard drives. For example:

$ sudo eject /dev/sdd

spins down /dev/sdd</description>
		<content:encoded><![CDATA[<p>&#8216;eject&#8217; should also do the same job &#8212; it either ejects a CD-ROM drive, or will also (IME) spin down hard drives. For example:</p>
<p>$ sudo eject /dev/sdd</p>
<p>spins down /dev/sdd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew (djharuko) 's status on Monday, 03-Aug-09 22:19:02 UTC - Identi.ca</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-1592</link>
		<dc:creator>Andrew (djharuko) 's status on Monday, 03-Aug-09 22:19:02 UTC - Identi.ca</dc:creator>
		<pubDate>Mon, 03 Aug 2009 22:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-1592</guid>
		<description>[...]  http://blog.shadypixel.com/safely-removing-external-drives-in-linux/  [...]</description>
		<content:encoded><![CDATA[<p>[...]  <a href="http://blog.shadypixel.com/safely-removing-external-drives-in-linux/" rel="nofollow">http://blog.shadypixel.com/safely-removing-external-drives-in-linux/</a>  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobsmith</title>
		<link>http://blog.shadypixel.com/safely-removing-external-drives-in-linux/#comment-1587</link>
		<dc:creator>bobsmith</dc:creator>
		<pubDate>Mon, 03 Aug 2009 04:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=128#comment-1587</guid>
		<description>Thank you very much for this! It appears to work in Ubuntu Jaunty - at least all the right messages are coming up. And I can even hear a kind of soft &quot;clink&quot; sound as soon as I issue the command - which I think is the heads parking. I still have a rather loud sound when cutting the power to the drive, however, but maybe it&#039;s the fan shutting off combined with the click of the switch - I&#039;m not sure. Was there a noticable change in the sound when you cut the power after doing this? I&#039;m using an eSATA enclosure - it&#039;s a Rosewill brand that cost about $40.00.

I wish there were a way to be absolutely sure the drive has spun down properly.  But I do get this with dmesg, so maybe that should be assurance enough:

sd 6:0:0:0: [sdb] Synchronizing SCSI cache
sd 6:0:0:0: [sdb] Stopping disk
ata7.00: disabled

Again, thanks very much for this!</description>
		<content:encoded><![CDATA[<p>Thank you very much for this! It appears to work in Ubuntu Jaunty &#8211; at least all the right messages are coming up. And I can even hear a kind of soft &#8220;clink&#8221; sound as soon as I issue the command &#8211; which I think is the heads parking. I still have a rather loud sound when cutting the power to the drive, however, but maybe it&#8217;s the fan shutting off combined with the click of the switch &#8211; I&#8217;m not sure. Was there a noticable change in the sound when you cut the power after doing this? I&#8217;m using an eSATA enclosure &#8211; it&#8217;s a Rosewill brand that cost about $40.00.</p>
<p>I wish there were a way to be absolutely sure the drive has spun down properly.  But I do get this with dmesg, so maybe that should be assurance enough:</p>
<p>sd 6:0:0:0: [sdb] Synchronizing SCSI cache<br />
sd 6:0:0:0: [sdb] Stopping disk<br />
ata7.00: disabled</p>
<p>Again, thanks very much for this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

