|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
macrumors member
Join Date: Sep 2006
Location: Calgary, Alberta
|
Western Digital MyBook (hard drive) shutting down periodically
I have a Western Digital HD with a mac mini. Sometimes, after the Mybook is not used for a while, it will shut down, to the point that, only unplugging BOTH the firewire AND power to the Mybook will restart it.
How do I get this thing to reboot and show up on my desktop/finder again? it's quite frustrating w/ itunes, as the songs wont play at all if the HD shuts down. |
|
|
|
|
|
#2 |
|
macrumors 65816
Join Date: Sep 2006
Location: Stuck beween a rock and a hard place
|
That's in your Energy Saver options (in Preferences). There is a small checkbox that you can unclick to prevent you drives from going to sleep
__________________
The Horror...The Horror.... I will not drunk post I will not drunk post I will not drunk post.... |
|
|
|
|
|
#3 |
|
Thread Starter
macrumors member
Join Date: Sep 2006
Location: Calgary, Alberta
|
Have I ever mentioned that MacRumors rocks??
you're awesome, Lovesong! |
|
|
|
|
|
#4 |
|
macrumors 6502
Join Date: Mar 2007
|
that doesn't reduce the life of the drive or anything, right? I don't care about power consumption, I just don't want to mess up my hard drive.
|
|
|
|
|
|
#5 |
|
macrumors 6502
Join Date: Mar 2007
|
anyone?
|
|
|
|
|
|
#6 |
|
macrumors 65816
Join Date: Sep 2005
Location: London , UK
|
I wouldn't have thought so, well not noticeably anyway.
|
|
|
|
|
|
#7 |
|
macrumors 65816
Join Date: Feb 2005
Location: Northern Ireland
|
I know what you're describing, the MyBook drives have a built-in auto-spindown function which shuts the drive down after approx 10 minutes of inactivity, which is independent of Mac OS X.
To solve this (to the best I could), I created a small hidden file on the drive (although it could be any file, I chose a hidden file for convenience), and added a small cron job to 'touch' the file every 5 minutes, thus avoiding the drive shutting down while the drive was 'active' in OS X. The line I added to my crontab was Code:
*/5 * * * * touch '/Volumes/My External HD/.hiddenfile'
__________________
iMac 27" 2.8GHz Core i7 Intel X25-M 160GB SSD MacBook Pro 17" 2.66GHz Core 2 Duo 64GB Samsung SSD Mac Mini 1.66Ghz Core Duo iPhone 3G S 32GB |
|
|
|
|
|
#8 | |
|
macrumors 6502a
Join Date: Jun 2006
Location: washington dc
|
Quote:
__________________
Macbook, iPod Classic, iPhone 3g, hackintosh My band - [velvet] - Our music on iTunes |
|
|
|
|
|
|
#9 | |
|
macrumors Demi-God
|
How to write the cron job
Quote:
1. Open Terminal. 2. type: "su -" and then type in the root password 3. type "crontab -e" You are now in the "vi" editor...kind of tricky here...so type exactly what I put here. 4. type "i" Thats a lowercase "i". 5. now type something like this */5 * * * * touch '/Volumes/MyBook/.hiddenfile' (replace MyBook with the name of your MyBook. Also, mind the single ticks) 6. Hit the Escape key. 7. type "x" 8. close terminal. Your're all done! Good luck!
__________________
2 Eight-Core MacPros 2.8 GHz, 10 GB DDR2 1 MacBook Pro 15" - 2.4 GHz, 4GB DDR2 4 Mac Minis 2 Apple TVs White iPhone 3G 16GB 2 30" Cinema Displays |
|
|
|
|
|
|
#10 |
|
macrumors regular
Join Date: Jun 2007
Location: UK
|
I'm looking at getting a WD MyBook:
http://www.dabs.com/productview.aspx...avigationKey=0 This is for a MacMini I use as a media server, I really want the device to spin down when not in use as a 24/7 spinning HD really isn't desirable but I want it to spin back up when I want some data without a physical switching off and on. Is this possible / the default behavior of the MyBook? |
|
|
|
|
|
#11 | |
|
macrumors newbie
Join Date: Oct 2007
|
Logs
Quote:
A simple bash script can see if the volume is mounted or not before attempting to touching .hiddenfile: Code:
#!/bin/bash # Used to not let a volume named MYBOOK sleep volpresent=$(mount | grep MYBOOK | wc -c) if [ $volpresent -gt 0 ] then touch /Volumes/MYBOOK/.hiddenfile fi Also, it is now not advisable to use crontab for regular jobs, as launchd is a better option. There is a donation-ware application called Lingon that provides a nice GUI to launchd. |
|
|
|
|
|
|
#12 | |
|
macrumors newbie
Join Date: Mar 2009
|
hi,
Quote:
just add the -c option to touch, that's enough.. touch -c ... does exactly the same thing as the shell script you provided
|
|
|
|
|
|
|
#13 | |
|
macrumors newbie
Join Date: Apr 2009
Location: Austin, TX ....where else?
|
Quote:
|
|
|
|
|
| tobinstrickland |
| View Public Profile |
| Find More Posts by tobinstrickland |
|
|
#14 | |
|
macrumors newbie
Join Date: Apr 2009
|
Quote:
|
|
|
|
|
|
|
#15 |
|
macrumors newbie
Join Date: Aug 2009
Location: Sacramento, CA
|
WD Firmware Upgrade Fixes Sleepy MyBook Mount Issue
2nd level support @ Western Digital directed me to download and install the latest firmware for the MyBook. That fixed the problem. The MyBook stays mounted. No longer need to run a job to touch a file.
Last edited by johnpublic : Aug 2, 2009 at 03:13 PM. Reason: More accurate title |
|
|
|
| johnpublic |
| View Public Profile |
| Find More Posts by johnpublic |
|
|
#16 |
|
macrumors regular
Join Date: Jun 2007
Location: NYC
|
Do you have a link? I updated the firmware and I'm still having the same issue. Maybe I used the wrong firmware.
|
|
|
|
|
|
#17 | |
|
macrumors newbie
Join Date: Aug 2009
Location: Sacramento, CA
|
WD Firmware Link
Quote:
Click on your product at this link: http://support.wdc.com/product/downl...vel1=1&lang=en Then, under "Select the software to download:" list, click on the firmware update for either Mac or PC - whichever you have. For me, I have the MyBook Studio Edition, 1TB, USB2.0/FireWire400 / FireWire800 / eSATA, which is model # WD10000H1Q-00. Since I'm using a Mac, I downloaded the file at http://support.wdc.com/product/downl...sid=60&lang=en - File name WD_MB_Studio_1034_1_03.dmg, Firmware Version 1.034, dated January 2009. The drive continues to work like a champ. I find that using these sequences for booting up and down help: Booting up: - Macbook - boot up - eSATA card - insert - MyBook - power on Booting down: - MyBook - "eject" drive from finder window on Mac - MyBook - power down - eSATA card - disconnect / eject - Macbook - shut down |
|
|
|
|
| johnpublic |
| View Public Profile |
| Find More Posts by johnpublic |
|
|
#18 | |
|
macrumors regular
Join Date: Jun 2007
Location: NYC
|
Quote:
|
|
|
|
|
|
|
#19 | |
|
macrumors newbie
Join Date: Aug 2009
Location: Sacramento, CA
|
JMicron Chipset
Quote:
I see that Sonnet Tech (http://www.sonnettech.com/product/te...ess34.html)has a warning message on their website for their Tempo SATA ExpressCard/34: "Temporarily not recommended for Mac systems with greater than 2GB of memory." Looks like Iomega's eSATA 3Gbps 2-port ExpressCard/34 (http://www.iogear.com/product/GPS702...06379d8660bb10) only supports 10.4 of the Mac OS (on the View All tab, under Requirements). This is consistent with Silicon Image chipsets that don't play well with 10.5+. Griffin tech support confirmed the same challenges. Griffin Technology recommended, and I agree, that in System Preferences for your Mac, under Energy Saver, UN-check putting the hard disk(s) to sleep when possible. Hope this helps. Keep us posted on your progress. (The third party Mac OS drivers for the Silicon Image chipset are old and have not been updated in several years, hence the compatibility issues. Learned all this through troubleshooting and googling.) Last edited by johnpublic : Aug 14, 2009 at 07:06 PM. Reason: Added additional recommendation. |
|
|
|
|
| johnpublic |
| View Public Profile |
| Find More Posts by johnpublic |
|
|
#20 | |
|
macrumors regular
Join Date: Jun 2007
Location: NYC
|
Quote:
I found this work around. I wrote a script that looks at a hidden file on the WD drive every 5 minutes. Since it's getting activity every 5 minutes it doesn't allow the drive to sleep. I followed the instructions and got it working. http://www.macosxhints.com/article.p...90316190817357 |
|
|
|
|
|
|
#21 | |
|
macrumors newbie
Join Date: Aug 2009
Location: Sacramento, CA
|
Quote:
__________________
John 15" MacBook Pro (2006), MacPro (2008), iPhone 3GS, latest OS version |
|
|
|
|
| johnpublic |
| View Public Profile |
| Find More Posts by johnpublic |
|
|
#22 |
|
macrumors regular
Join Date: Jun 2007
Location: NYC
|
It did not work for me.
|
|
|
|
|
|
#23 | |
|
macrumors regular
Join Date: Jun 2007
Location: NYC
|
Quote:
The ESATA drivers however only load when running snow leopard in 32 bit. I've booted in 64bit and the finder shows there is a card inserted but the drivers do not load or mount the ESATA drives. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|