{"id":1018,"date":"2010-04-08T00:23:46","date_gmt":"2010-04-07T16:23:46","guid":{"rendered":"http:\/\/www.nargalzius.com\/blog\/archives\/2010\/04\/08\/external-drive-fix-for-os-x-sl\/"},"modified":"2017-02-07T16:42:47","modified_gmt":"2017-02-07T16:42:47","slug":"external-drive-fix-for-os-x-sl","status":"publish","type":"post","link":"http:\/\/nargalzius.com\/blog\/archives\/2010\/04\/08\/external-drive-fix-for-os-x-sl","title":{"rendered":"External Drive fix for OS X SL"},"content":{"rendered":"<p>I&#8217;m aware not everyone has the same setup as I do, so I&#8217;m not sure if this is even applicable. But I&#8217;ll share it anyway in case people are experiencing the same issue. <\/p>\n<p>So I&#8217;ve decided to &#8220;upgrade&#8221; the Hackintosh <span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_1018_1('footnote_plugin_reference_1018_1_1');\" onkeypress=\"footnote_moveToReference_1018_1('footnote_plugin_reference_1018_1_1');\" ><sup id=\"footnote_plugin_tooltip_1018_1_1\" class=\"footnote_plugin_tooltip_text\">1 <\/sup><\/a><span id=\"footnote_plugin_tooltip_text_1018_1_1\" class=\"footnote_tooltip\">My main desktop\/work computer<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_1018_1_1').tooltip({ tip: '#footnote_plugin_tooltip_text_1018_1_1', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top right', relative: true, offset: [10, 10], });<\/script> to Snow Leopard (SL). I was hesitant to leave Leopard (especially for the work machine) because of this bug I experienced in my MacBook Pro.<\/p>\n<div align=\"center\">\n\n<!-- iframe plugin v.5.1 wordpress.org\/plugins\/iframe\/ -->\n<iframe loading=\"lazy\" class=\"youtube-player\" type=\"text\/html\" width=\"370\" height=\"208\" src=\"http:\/\/www.youtube.com\/embed\/jzdA5IDg-HM\" scrolling=\"no\" frameborder=\"0\"><\/iframe>\n\n<\/div>\n<!--more--><!-- \/\/ -->\n<h1>Primer<\/h1>\n<p>So for those who are confused: I basically have a <a href=\"http:\/\/www.nargalzius.com\/blog\/archives\/2008\/06\/15\/geeking-out-drobo\">Drobo<\/a> where I pretty much store <em>all<\/em> my data. And I need to have the computer(s) connect to it <em>persistently<\/em> since I&#8217;m a symlink whore; from the keychain, to IM logs, to my iTunes library &#8211; everything has been migrated to the Drobo and simply accessed by the system via symlinks.<\/p>\n<p>The reason I chose the symlink approach is because I want to be able to store all critical data outside of the actual computers&#8230; so in the event of a system crash&#8230; the data is on the Drobo (which, if you researched about it, has fault tolerance built in) <span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_1018_1('footnote_plugin_reference_1018_1_2');\" onkeypress=\"footnote_moveToReference_1018_1('footnote_plugin_reference_1018_1_2');\" ><sup id=\"footnote_plugin_tooltip_1018_1_2\" class=\"footnote_plugin_tooltip_text\">2 <\/sup><\/a><span id=\"footnote_plugin_tooltip_text_1018_1_2\" class=\"footnote_tooltip\">Granted the only point of failure that I would have to worry about is the failure of the Drobo itself.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_1018_1_2').tooltip({ tip: '#footnote_plugin_tooltip_text_1018_1_2', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top right', relative: true, offset: [10, 10], });<\/script><\/p>\n<p>In the video you saw, this was when my Time Capsule died on me, that&#8217;s why I was connecting to the desktop. Normally, I have it connected to a base station &#8211; and have all the computers in turn connect to it. It used to be the TC, but now it&#8217;s the Airport Extreme (AE).<\/p>\n<h1>Going back to the issue<\/h1>\n<p>It&#8217;s worth mentioning that this &#8220;bug&#8221; only appears in Snow Leopard. When I got my AE, and reverted to my usual network topology; the Hackintosh (Leopard) could access the drives fine, but the bug persisted in the laptop.<\/p>\n<p>Thankfully, I <em>was<\/em> able to work around that bug by accessing the NAS via SMB (Samba) protocol. But I noticed that the protocol is good for general file access, but not as efficient as AFP. AFP for some reason beyond my comprehension, works faster it seems (which is especially noticeable when I&#8217;m using iTunes, or doing my photo post-processing sessions)<\/p>\n<h1>Going Snow Leopard exclusively<\/h1>\n<p>So that&#8217;s what kept me from upgrading for the most part; that, and I really wasn&#8217;t in the mood to take the time to do another Hackintosh install for the heck of it (it&#8217;s more &#8220;involved&#8221; than one would hope it would be). But after messing up the boot partition after installing Windows 7, I thought I&#8217;d bite the bullet and do everything in one go (spent most of the weekend on that).<\/p>\n<p>So I upgraded, and sure enough it experienced the same bug. Even worse is that, now when I connect it directly to the computer (and not via AE) it would do that alias error thing before I could access it <em>at all.<\/em> That was unacceptable! Also, since then, the Drobo has expanded from it&#8217;s single 2TB volume to 4TBs (split into two 2TB volumes) &#8211; and for some reason the <em>second<\/em> volume was working fine!<\/p>\n<p>So that led me to believe that there was <em>also<\/em> something wrong with the filesystem of the drive instead of the actual OS. It seemed that SL was more &#8220;particular&#8221; than Leopard &#8211; which is why it thew errors where Leopard would just handle it like a champ, albeit inefficiently (not sure if this is a good or a bad thing. It&#8217;s similar to say comparing AS3 to AS2 in flash programming).<\/p>\n<h1>The &#8220;Fix&#8221;<\/h1>\n<p>So I googled and googled &#8211; and finally came across this gem:<\/p>\n<blockquote>\n<p>Sure there&#8217;s a &#8220;fix&#8221; with Apple software. You&#8217;ll need to install the Developer Tools (XCode) from the Snow Leopard Install DVD, though.<\/p>\n<p>After you&#8217;ve done that, you can use <code>SetFile<\/code> to clear the Alias bit from the misbehaving Volume:<\/p>\n<p><code>\/usr\/bin\/SetFile -a a \/Volumes\/&lt;YourExternalDriveName&gt;<\/code><\/p>\n<p>Please keep in mind that using this command might be dangerous, so don&#8217;t try this solution unless you feel confident on the command line. (Refer to the <a href=\"http:\/\/developer.apple.com\/mac\/library\/documentation\/Darwin\/Reference\/ManPages\/man1\/SetFile.1.html\">online documentation on SetFile<\/a> or invoke <code>\/usr\/bin\/SetFile<\/code> without arguments for more info on the command.)<\/p>\n<\/blockquote>\n<p>I actually didn&#8217;t do it that way. The first suggestion was to use an app called <a href=\"http:\/\/cocoatech.com\"><em>Path Finder,<\/em><\/a> where that particular &#8220;bit&#8221; they were talking about is easily (and safely) set via its GUI.<\/p>\n<p>Long story short, setting that Alias bit <strong>fixed everything!<\/strong> Now I could access all volumes of the Drobo both directly [via USB] <em>and<\/em> persistently [via the network using AFP] &#8211; and all my OSes are on Snow Leopard to boot!<\/p>\n<p>Good times!<\/p><div class=\"speaker-mute footnotes_reference_container\"> <div class=\"footnote_container_prepare\"><p><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_label pointer\" onclick=\"footnote_expand_collapse_reference_container_1018_1();\">Notes<\/span><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_collapse_button\" style=\"display: none;\" onclick=\"footnote_expand_collapse_reference_container_1018_1();\">[<a id=\"footnote_reference_container_collapse_button_1018_1\">+<\/a>]<\/span><\/p><\/div> <div id=\"footnote_references_container_1018_1\" style=\"\"><table class=\"footnotes_table footnote-reference-container\"><caption class=\"accessibility\">Notes<\/caption> <tbody> \r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_1018_1('footnote_plugin_tooltip_1018_1_1');\"><a id=\"footnote_plugin_reference_1018_1_1\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8673;<\/span>1<\/a><\/th> <td class=\"footnote_plugin_text\">My main desktop\/work computer<\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_1018_1('footnote_plugin_tooltip_1018_1_2');\"><a id=\"footnote_plugin_reference_1018_1_2\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8673;<\/span>2<\/a><\/th> <td class=\"footnote_plugin_text\">Granted the only point of failure that I would have to worry about is the failure of the Drobo itself.<\/td><\/tr>\r\n\r\n <\/tbody> <\/table> <\/div><\/div><script type=\"text\/javascript\"> function footnote_expand_reference_container_1018_1() { jQuery('#footnote_references_container_1018_1').show(); jQuery('#footnote_reference_container_collapse_button_1018_1').text('\u2212'); } function footnote_collapse_reference_container_1018_1() { jQuery('#footnote_references_container_1018_1').hide(); jQuery('#footnote_reference_container_collapse_button_1018_1').text('+'); } function footnote_expand_collapse_reference_container_1018_1() { if (jQuery('#footnote_references_container_1018_1').is(':hidden')) { footnote_expand_reference_container_1018_1(); } else { footnote_collapse_reference_container_1018_1(); } } function footnote_moveToReference_1018_1(p_str_TargetID) { footnote_expand_reference_container_1018_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } } function footnote_moveToAnchor_1018_1(p_str_TargetID) { footnote_expand_reference_container_1018_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } }<\/script>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m aware not everyone has the same setup as I do, so I&#8217;m not sure if this is even applicable. But I&#8217;ll share it anyway in case people are experiencing the same issue. So I&#8217;ve decided to &#8220;upgrade&#8221; the Hackintosh 1 My main desktop\/work computer to Snow Leopard (SL). I was hesitant to leave Leopard &hellip; <p class=\"link-more\"><a href=\"http:\/\/nargalzius.com\/blog\/archives\/2010\/04\/08\/external-drive-fix-for-os-x-sl\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;External Drive fix for OS X SL&#8221;<\/span><\/a><\/p><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[4,7,13],"tags":[473,754],"class_list":["post-1018","post","type-post","status-publish","format-standard","hentry","category-general","category-media","category-technology","tag-general","tag-media"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/posts\/1018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/comments?post=1018"}],"version-history":[{"count":3,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/posts\/1018\/revisions"}],"predecessor-version":[{"id":1341,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/posts\/1018\/revisions\/1341"}],"wp:attachment":[{"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/media?parent=1018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/categories?post=1018"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nargalzius.com\/blog\/wp-json\/wp\/v2\/tags?post=1018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}