<?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"
	>
<channel>
	<title>Comments on: Bad blocks? badblocks!</title>
	<atom:link href="http://terminalapp.net/bad-blocks-badblocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://terminalapp.net/bad-blocks-badblocks/</link>
	<description>All computers should be destroyed. And flies too.</description>
	<pubDate>Fri, 21 Nov 2008 03:08:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Miguel Arroz</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-654</link>
		<dc:creator>Miguel Arroz</dc:creator>
		<pubDate>Tue, 06 May 2008 20:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-654</guid>
		<description>Hi!

I never actually used this to mount ext2 volumes, so I have no idea if it works fine. Anyway, badblocks seems to work in every machine I tried it, Tiger or Leopard, PowerPC or Intel.

About your problem, apparently you are doing a write-test (which is destructive, be careful!) on a disk that is being used (probably it has mounted partitions). Everytime I saw that message was because the disk was being used, so it could not be tested. That doesn't indicate an incompatiblity between the OS and badblocks.

Yours

Miguel Arroz</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I never actually used this to mount ext2 volumes, so I have no idea if it works fine. Anyway, badblocks seems to work in every machine I tried it, Tiger or Leopard, PowerPC or Intel.</p>
<p>About your problem, apparently you are doing a write-test (which is destructive, be careful!) on a disk that is being used (probably it has mounted partitions). Everytime I saw that message was because the disk was being used, so it could not be tested. That doesn&#8217;t indicate an incompatiblity between the OS and badblocks.</p>
<p>Yours</p>
<p>Miguel Arroz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Pan</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-653</link>
		<dc:creator>Peter Pan</dc:creator>
		<pubDate>Tue, 06 May 2008 19:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-653</guid>
		<description>Hi, 
as I had to find out, Brian's port does officially NOT support 10.4 or 10.5 - which makes it rather confusing/senseless in today's Mac OS X to use these tools.
However it might be that badblocks does work fine - but there is no guarantee.

So, I actually installed it and ran into another problem under 10.5. - which now might be a consequence of the lack of support for 10.5 : 

MacBook-20:sbin peterpan$ sudo ./badblocks -w /dev/disk1
./badblocks: Resource busy while trying to open /dev/disk1


Any suggestions?
br
Peter from Vienna, AT</description>
		<content:encoded><![CDATA[<p>Hi,<br />
as I had to find out, Brian&#8217;s port does officially NOT support 10.4 or 10.5 - which makes it rather confusing/senseless in today&#8217;s Mac OS X to use these tools.<br />
However it might be that badblocks does work fine - but there is no guarantee.</p>
<p>So, I actually installed it and ran into another problem under 10.5. - which now might be a consequence of the lack of support for 10.5 : </p>
<p>MacBook-20:sbin peterpan$ sudo ./badblocks -w /dev/disk1<br />
./badblocks: Resource busy while trying to open /dev/disk1</p>
<p>Any suggestions?<br />
br<br />
Peter from Vienna, AT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sawyer</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-643</link>
		<dc:creator>John Sawyer</dc:creator>
		<pubDate>Thu, 17 Apr 2008 22:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-643</guid>
		<description>A correction to my correction above: pre-X versions of Norton Utils (don't know about the OS X version) DO have an option to do a read/write/verify test on hard drives, and have options to either fix files with bad blocks, or to leave them alone.  What this fix entails, I don't know, but I think it may write bad blocks out of the drive's directory, then create pointers to new blocks, which it fills with zeros.

It's been a while since I've changed Norton Utils' prefs to do a read/write/verify--I prefer its read-only test, since I don't know whether to trust its bad block repair option--so I'd forgotten it was there, until I happened to check for it today.</description>
		<content:encoded><![CDATA[<p>A correction to my correction above: pre-X versions of Norton Utils (don&#8217;t know about the OS X version) DO have an option to do a read/write/verify test on hard drives, and have options to either fix files with bad blocks, or to leave them alone.  What this fix entails, I don&#8217;t know, but I think it may write bad blocks out of the drive&#8217;s directory, then create pointers to new blocks, which it fills with zeros.</p>
<p>It&#8217;s been a while since I&#8217;ve changed Norton Utils&#8217; prefs to do a read/write/verify&#8211;I prefer its read-only test, since I don&#8217;t know whether to trust its bad block repair option&#8211;so I&#8217;d forgotten it was there, until I happened to check for it today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sawyer</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-604</link>
		<dc:creator>John Sawyer</dc:creator>
		<pubDate>Fri, 15 Feb 2008 19:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-604</guid>
		<description>Thanks, Miguel.  I haven't installed badblocks yet, and wanted to know if it had write capabilities before doing so.</description>
		<content:encoded><![CDATA[<p>Thanks, Miguel.  I haven&#8217;t installed badblocks yet, and wanted to know if it had write capabilities before doing so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Arroz</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-603</link>
		<dc:creator>Miguel Arroz</dc:creator>
		<pubDate>Fri, 15 Feb 2008 11:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-603</guid>
		<description>John:

With the options -w or -n. Quoting the badblocks man page:

-n     Use non-destructive read-write mode.  By  default  only  a  non-
              destructive  read-only  test  is  done.  This option must not be
              combined with the -w option, as they are mutually exclusive.

 -w     Use  write-mode  test. With this option, badblocks scans for bad
              blocks by writing some patterns  (0xaa,  0x55,  0xff,  0x00)  on
              every block of the device, reading every block and comparing the
              contents.  This option may not be combined with the  -n  option,
              as they are mutually exclusive.

Note that -w destroys all your information, -n tries not to (unless there's a power cut or something).</description>
		<content:encoded><![CDATA[<p>John:</p>
<p>With the options -w or -n. Quoting the badblocks man page:</p>
<p>-n     Use non-destructive read-write mode.  By  default  only  a  non-<br />
              destructive  read-only  test  is  done.  This option must not be<br />
              combined with the -w option, as they are mutually exclusive.</p>
<p> -w     Use  write-mode  test. With this option, badblocks scans for bad<br />
              blocks by writing some patterns  (0xaa,  0&#215;55,  0xff,  0&#215;00)  on<br />
              every block of the device, reading every block and comparing the<br />
              contents.  This option may not be combined with the  -n  option,<br />
              as they are mutually exclusive.</p>
<p>Note that -w destroys all your information, -n tries not to (unless there&#8217;s a power cut or something).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sawyer</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-602</link>
		<dc:creator>John Sawyer</dc:creator>
		<pubDate>Fri, 15 Feb 2008 10:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-602</guid>
		<description>Greenie says: "The drives never pass OS 9 Norton Disk Doctor's Read/Write/Verify sector scan."

Norton Disk Doctor for OS 9 doesn't do writes during its surface scan, unfortunately.  I don't think Norton Disk Doctor for OS X does either.

One of the best OS 9 utilities that I can remember, for which you could set its prefs to do a continuous read/write test of a drive (which was nondestructive as well, writing the data back to the blocks--nice!) was FWB Hard Disk Toolkit's "Device Test" option.  There were maybe a couple other utils that could do this, but that's the only one I can remember at the moment.  I can't find an OS X utility that can do this, though there may be one.</description>
		<content:encoded><![CDATA[<p>Greenie says: &#8220;The drives never pass OS 9 Norton Disk Doctor&#8217;s Read/Write/Verify sector scan.&#8221;</p>
<p>Norton Disk Doctor for OS 9 doesn&#8217;t do writes during its surface scan, unfortunately.  I don&#8217;t think Norton Disk Doctor for OS X does either.</p>
<p>One of the best OS 9 utilities that I can remember, for which you could set its prefs to do a continuous read/write test of a drive (which was nondestructive as well, writing the data back to the blocks&#8211;nice!) was FWB Hard Disk Toolkit&#8217;s &#8220;Device Test&#8221; option.  There were maybe a couple other utils that could do this, but that&#8217;s the only one I can remember at the moment.  I can&#8217;t find an OS X utility that can do this, though there may be one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sawyer</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-601</link>
		<dc:creator>John Sawyer</dc:creator>
		<pubDate>Fri, 15 Feb 2008 09:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-601</guid>
		<description>How do you tell badblocks to do a write test?</description>
		<content:encoded><![CDATA[<p>How do you tell badblocks to do a write test?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greenie</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-82</link>
		<dc:creator>Greenie</dc:creator>
		<pubDate>Tue, 04 Sep 2007 14:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-82</guid>
		<description>Be careful running read-only utilities.  As Miguel mentions in the comment above, merely being able to read every block from the drive does not necessarily mean the hard disk is OK.

Beware TechToolPro (version 4.5.3 and previous versions at least, I'm hoping they will fix future versions soon), as it simply does a Read test of the hard disk blocks.  Many faulty drives pass TTP's tests, even though I know them to be faulty.  The drives never pass OS 9 Norton Disk Doctor's Read/Write/Verify sector scan.  It's a shame that no OS X utility currently has the same functionality.

I'm dying to find an application that performs speed-related hard disk block-testing.  Some Windows products have this functionality.</description>
		<content:encoded><![CDATA[<p>Be careful running read-only utilities.  As Miguel mentions in the comment above, merely being able to read every block from the drive does not necessarily mean the hard disk is OK.</p>
<p>Beware TechToolPro (version 4.5.3 and previous versions at least, I&#8217;m hoping they will fix future versions soon), as it simply does a Read test of the hard disk blocks.  Many faulty drives pass TTP&#8217;s tests, even though I know them to be faulty.  The drives never pass OS 9 Norton Disk Doctor&#8217;s Read/Write/Verify sector scan.  It&#8217;s a shame that no OS X utility currently has the same functionality.</p>
<p>I&#8217;m dying to find an application that performs speed-related hard disk block-testing.  Some Windows products have this functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Arroz</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-58</link>
		<dc:creator>Miguel Arroz</dc:creator>
		<pubDate>Fri, 03 Aug 2007 16:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-58</guid>
		<description>I want to reinforce the "time is an important factor when testing hard drives" statement I did on this post. Some days ago I helped a colleague that was having severe speed problems with his Powerbook. By looking arround, it was easy to conclude that the hard drive was the culprit. The log was full of I/O errors. I run badblocks on it, and it was terribly slow. So, I canceled the scan, and restarted only for the first 50000 blocks. Testing 50000 blocks should take no more than 5 or 10 seconds, depending on the hard drive speed. On the problematic drive, it took more than 5 minutes... but no bad block was detected! So, keep this is mind: speed is important when testing hard drives. Hard drives may suffer from a lot of mechanical or electronic problems, not just errors in the disk surface.</description>
		<content:encoded><![CDATA[<p>I want to reinforce the &#8220;time is an important factor when testing hard drives&#8221; statement I did on this post. Some days ago I helped a colleague that was having severe speed problems with his Powerbook. By looking arround, it was easy to conclude that the hard drive was the culprit. The log was full of I/O errors. I run badblocks on it, and it was terribly slow. So, I canceled the scan, and restarted only for the first 50000 blocks. Testing 50000 blocks should take no more than 5 or 10 seconds, depending on the hard drive speed. On the problematic drive, it took more than 5 minutes&#8230; but no bad block was detected! So, keep this is mind: speed is important when testing hard drives. Hard drives may suffer from a lot of mechanical or electronic problems, not just errors in the disk surface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Antunes</title>
		<link>http://terminalapp.net/bad-blocks-badblocks/#comment-40</link>
		<dc:creator>João Antunes</dc:creator>
		<pubDate>Tue, 17 Jul 2007 15:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/bad-blocks-badblocks/#comment-40</guid>
		<description>The good old memories of Drive Setup in Mac OS 9, where we used it to 'Initialiaze' disks...</description>
		<content:encoded><![CDATA[<p>The good old memories of Drive Setup in Mac OS 9, where we used it to &#8216;Initialiaze&#8217; disks&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
