Apple software RAID 0 not spinning down while not in use

I have a G-Tech G-RAID w/ Thunderbolt, 8TB external enclosure.  It has two 4TB fujitsu drives in it, set up as RAID 0 with Apple's Disk Utility v13 (426) that ships with 10.8 Mountain Lion.  This is attached to a very cleanly installed Mid 2011 Mac Mini, which is acting as a media server.  There is basically no 3rd party software on it, because it's acting as a NFS filer server for streaming digital players around the house.
However, I have the G-RAID set to spin down when possible in energy saver, and it's not.  It never spins down.  I have 4 external drives on this media server, ranging from USB to FW800 to the Thunderbolt drive, all from different manufacturers, and different sizes and models.  All the other drives spin down after 10 minutes.
Not only is the checkbox "Put hard disks to sleep when possible" checked in Energy Saver, but a
pmset -g
reveals that the "disksleep" is set to 10 (min).
In frustration, I have tried a lot of things including (but not limited to) removing all other hard drives and hardware, starting up with shift held (safe boot) and removing any software at all that I thought would be keeping the drive "alive."
Finally I decided to start monitoring the drive with fs_usage, to see if I could suss out what is keeping this one drive alive.
"fs_usage | grep DISKNAME" reveals that SystemUIServer is accessing the drive every minute, about seven times in a clump.  Considering that SystemUIServer is the peice of software that controls the little menu add-ons to the right of the menubar, I have spend a great deal of time trying to figure out what would use SystemUIServer that is accessing this drive.
Now it's true that this drive is set up as a time machine drive, but I have disabled time machine, and spotlight, and still I get the same SystemUIServer accesses every minute.  Here is a fs_usage dump:
orion:~ seanb$ sudo fs_usage | grep Betelgeuse
Password:
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000029   SystemUIServ
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000011   SystemUIServ
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000017   SystemUIServ
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000010   SystemUIServ
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000008   SystemUIServ
15:53:16  getattrlist       /Volumes/Betelgeuse     0.000010   SystemUIServ
15:53:16  statfs64          /Volumes/Betelgeuse     0.000017   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000025   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000007   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000011   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000011   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000009   SystemUIServ
15:54:16  getattrlist       /Volumes/Betelgeuse     0.000010   SystemUIServ
15:54:17  statfs64          /Volumes/Betelgeuse     0.000014   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000062   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000013   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000024   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000010   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000009   SystemUIServ
15:55:17  getattrlist       /Volumes/Betelgeuse     0.000010   SystemUIServ
15:55:17  statfs64          /Volumes/Betelgeuse     0.000014   SystemUIServ
As you can see, it's the same seven drive accesses every minute.  This is NOT occuring with any of my other drives.  Now, here comes my wild conjecture.  Is this something the system does because they are RAID slices?  Do OS X software RAID slices check themselves every minute? This seems to be preventing them from sleeping.
Any help would be appreciated, I'm going nuts here.
Sean

The second column in your fs_usage report says that iStat Menus is what is accessing your disk (Istat64).  Disable iStat Menus and I bet your issue will go away.  I know there is a module in iStat Menus to monitor drive space, but if I recall correctly, even if that module is disabled, iStat has a habit of checking drives anyhow.  I remember hearing people getting rid of istat menus in order to allow their HDs to sleep propely.
In fact, and easy way to test this would be to reboot your Mac with the shift key held down until you see your desktop load up.  This will prevent 3rd party add-ons from loading like iStat Menus. Let me know if that works.
Unfortunatrly this is not the problem I am having, as I've booted with shift, and I still see the  "getattrlist" accesses in my fs_usage report.
EDIT: stupid font made your report look like iStat when it was Lstat.  So what I said about iStat Menus is probably incorrect.  But using the shift key to boot could still lead you to the correct anwer.  I'm doing testing on my end as well. Let you know if I see anything that pertains to your issue.  (I got an Lstat entry in my fs_usage when I open the drive during testing, but I have not beeing getting them an regular intervals like you do.  I would still guess that you have 3rd party software that is checking on drives periodically, and that holding shift might suss that out.)
Message was edited by: Cheule

Similar Messages

  • My Macbook aliminium unibody from late 2008 will not boot. I reach the grey screen with the apple icon and the spinning grey gear. I used disk utility to boot it but it said integrity test failed. I don't know what to do can anyone please help?

    My Macbook aliminium unibody from late 2008 will not boot. I reach the grey screen with the apple icon and the spinning grey gear. I used disk utility to boot it but it said integrity test failed. I don't know what to do can anyone please help?

    Sounds like you may have a harddrive issue.  You are probably going to need to get that changed out and then install the OS X again to get it going.

  • I do not receive calls while I am using internet on my iphone. Is it possible?

    I do not receive calls while I am using internet on my iphone. Is it possible?

    The iPhone will not allow simultaneous data and voice on CDMA.

  • How to make a external HD (FireWire or USB) spin down when no in use?

    I have a MM and want to make sure that the external HD spins down if not being used.
    Would this automatically happen if I tick the box 'Put HD to sleep when not in use' in the control panel? Or is there an other solution to make sure it does so? I have not bought a disk as of now, but would be looking at a 2.5 (Samsung HM500LI 500 GB (SpinPoint M6)) in a FireWire housing.
    Thanks

    I really have no idea because I never sleep disks. However, that's controlled by the setting in the /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist file. The default is ten minutes if you sleep disks. Experiment with various settings by issuing this command in the Terminal.app, until you get it the way you want it:
    *sudo pmset -a disksleep XX*
    where XX is the new time in minutes.

  • IX2 not spinning down

    My ix2 has been running quite nicely for a long while now with 2 2tb drives in Raid 1.
    Recently I noticed it has stopped spinning down. It has gone through this before. I have not changed any settings other than keeping up with all firmware updates.
    I always have to set energy saving to 1 hour and then back to 5mins straight after it has been turned on in order for spin down to work at all. Even that is not working now. That trick came from someone else here.
    Is there any way of discovering what is keeping it awake?
    I did try sshing in before but never got very far.
    Please Lenovo cant you just make energy saving work on these things.
    Ps I have no homepage, media sharing not used and i only use the windows sharing and http protocols. Everything is kwpt as a minimum because of the enrgy saving issues.

    Hi billybo8,
    If you have any features enabled that require access to the device, the power down drives will not work. If you have the media server, personal cloud, remote access, iSCSI, or any other protocols that access the device it will not work.
    If you have everything disabled and the power down drives is still not working, you will need to contact technical support directly to create a ticket with them to further investigate and troubleshoot to determine if there is an issue with the device.
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • FCP 5 and Tiger = do I need any utility to not spin-down my LaCie disks?

    Before Tiger, I had a small utility that prevented my FW-disks not to spin down.
    I run FCP 5, DVDSP4, SoundTrack Pro and some other apps on an iBook G4 and an G4 Dual.
    After blowing the iBook disk, I have installed Tiger, and after each app install, I repair the disk permissions. Also after every software upgrade I repair the permission. Should I think of anything else to get a fresh clean system to start working in?
    TIA

    To force your drives to never sleep:
    Launch the Terminal application (Applications>Utilities>Terminal) and type:
    sudo pmset spindown x
    type your password when it asks for it.
    x=the number of minutes that you want till your drive spins down.
    0 = never
    More info on using pmset here:
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pmset.1. html
    And I found this here
    http://www.thexlab.com/faqs/sbbod.html
    I hope that this helps.
    And note that this is a more 'controlled' way of putting the hard disk to sleep than is possible in >system preferences>energy saver>sleep>
    If you go that way, checked means 10 minutes and unchecked means 180 minutes (not never).
    Good luck.
    x

  • Time Capsule will not spin down

    I have read some similar posts regarding this issue, but none could I find that is similar to my issue. I have an older Time Capsule (model #1254) which I recently upgraded from 500 GB to a Seagate Barracuda ST2000DM001 2TB 7200 rpm 64 MB cache SATA 6.0 GB/s drive. Old drive was full. Since doing so the Time Capsule will not stop spinning, even when both of my computers are asleep or even shut down. The outside of the TC case is warm to the touch and I can feel and hear the drive spinning. The previous 500 GB Seagate drive did not have any of these issues.
    Last night, while at home, I tried downgrading the firmware several times, but no luck. I have since read on the discussions to try renaming the TC and also, resetting the TC. I was hoping that someone else has had similar issues with a similar setup and has stumpled upon a solution. Obviously, I'm worried about the heat eventually killing my TC!
    I decided on the 2 TB Seagate drive after reading other forums and discussions, but maybe I choose poorly?
    Thanks all!

    Hi, after some tests i went to a new situation, which allows me to spin down the disk, in certain circumstances. It took me a week, so I want to share this experience in case it would be of any help.
    I executed the following operations using a MacBook Pro with a new installation of OS X 10.6 from an external disk. This is not necessary, but I wanted to exclude the possibility of some app or hidden process in my system, or even some unknown (to me) new feature of OS X 10.9 using the TC disk without my awareness. During all the test, no other device was connected to the TC network.
    First, I copied the Time Machine spare disk volume from the TC to an external USB drive, via the USB port at the back of the TC.
    Then I formatted the TC disk to all zeros and reset the TC configuration to factory default.
    At this point, restarting the TC, the disk was spinning for hours like before, no change. But now I can exclude it was the OS X Spotlight indexing the files: with the disk formatted to zero, there was nothing to index. So, Spotlight is not guilty to for this buggy behavior of the TC.
    Now what happened is that I mounted the TC with Finder, and, 5 minutes later, the disk stopped from spinning. I can't say if this would happen even if I wouldn't format the disk, as I don't remember the last time I mounted the TC as a remote disk. If someone has this problem, I believe this is the first thing to try, keep the TC mounted and see if the disk spins down.
    Then I went back to my Mavericks installation, copied the Time Machine spare disk volume, perviously backed up to the external disk, back into the TC. And finally reconfigured Time Machine to keep on using the old backup volume.
    Now Time Machine regularly backs up every hour, and 5 minutes later the disk spins down. But this only works when the TC is mounted as remote disk. Whenever I unmount it, and then backup, the disk keeps his old behavior and doesn't spin down.
    I think it is out of discussion that the spin down command always comes from the TC and not from the Mac, because the default spin down time of OS X Mavericks is set to 10 minutes (and so is mine), while my TC now spins down after 5 minutes, according to his settings. So, the TC is able to spin down my non-original disk, but only when he likes. This means that if I disconnect my Mac from the TC network, and someone else connects his Mac to the same network, without mounting the TC drive, it will start spinning endlessly. This is definitively crazy.

  • T440p ultrabay HDD not spinning down

    My T440p has the Lenovo ultrabay caddy containing an HDD that never spins down and I've not idea how to make it obey the Win8 power settings that specifiy drives spin down after 20 minutes idle. Clearly that setting is for the main bay drive only (which in my case is an SSD). 
    Can anyone point me in the right direction? At present I see absolutely no way of spinning down the ultrabay drive short of turning the machine off. 

    Hi,
    You've ruled out the obvious I presume?  Do you have the Photos tile on the modern screen?  Is it live?
    That one got me on my T420.  The slideshow gadget was accessing my photos - on the HDD so it couldn't spin down.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Time Capsule not spinning down

    Ive searched this forum for answers to this - and all of them seem to be old.  I am having a new issue where the TC doesn't spin down after completing a backup.  Also, I just now powered down the connected computer and the TC continued to spin.  This has never happened before, and just started a few days ago.
    The internet part of the TC is working fine, both wifi and wired functions.
    Thanks in advance for any help.

    Motopreserve wrote:
    Sorry, should have clarified.  I use it for the time machine backups only - I was talking about makig a safety backup of these sparse bundles (I think that's what time machine backup is called) in case it s%#t the bed, and i needed to drag it over to a newer unit.  Maybe that process doesn't work.
    Copying the sparsebundles is possible but may not be worth the effort.. if you replace the hard disk, just keep the old disk as is. that is already your backup. It is really only to recover stuff that you think you might have lost.. but in general a backup will be only that.. a backup.
    The unit is getting pretty hot during backups.  I CAN keep my hand on it, but it's very warm. 
    I have not restored to defaults.  Nor have I erased the drive clean yet.  I was just going down the firmware route.  Should I try resetting before erasing it? Or do both at the same time?  I usually try to do one step at a time to see if I can narrow down the issue, but I'm fine with erasing it, and then resetting if there is no hope for one or the other to help.
    The heat is killing it.. softly and by degrees.. both time and temp wait for no man.. or was that the tides.
    I would say step 1. Restore defaults.. that is worthwhile.. do the full restore ie hold in the reset and power on.. keep holding in reset until you see rapid flashing led.. then allow it to restart. Redo the setup.
    Step 2.. Firmware update will not fix it and could make it worse.. I would not do that at the moment. But there is no harm in trying .. you can always go back to earlier versions.
    Step 3... wipe the hard drive. That is the final step and if that doesn't work.. well what is wrong can be power supply, hard disk or a combo of things.
    Then take more drastic measures from there?  I wouldn't mind replacing the hard drive myself, but is there any trickery to getting the firmware onto it on reboot?
    Thanks for the thorough help!
    Scott
    Hard drive replacement is dead easy.. google for it.
    But a few provisos..
    1. Do not buy advanced format drive. Standard green 2TB is possible.. don't try for 3TB it won't work or is painful. Try and check what drives have been used successfully so you don't become the guinea pig.. I am all for lab rats but don't want to be one!!
    2. Leave off the rubber mat. Just put some feet on the unit to keep it off the bench.. about 10mm should be plenty even 5mm is ok. (.25"-.5" in Imperial)
    3. Just initialise the drive in the TC.. ie erase. there is no firmware on the hard drive.. but the TC will prepare it for use.
    Consider if it isn't better.. with hard disks so much now, not to do anything.. erase the drive.. ebay it and just buy a new one.. I would be thinking hard along those lines.

  • Iphone 5s has been hung. Repeating Apple logo on the screen but not shutting down or not even restarting

    My Iphone 5s is neither restarting nor it is shutting down. Apple logo has been glowing and after each few minutes blue screen is coming for couple of second and apple logo is coming repeatedly.

    Hello sarahim1955,
    Welcome to the Apple Support Communities!
    I understand that your iPhone is restarting and only displaying the Apple logo. In this situation, I would recommend reading over the attached article and using the information within to help troubleshoot this situation. 
    If your iOS device restarts, displays the Apple logo, or powers off while you're using it - Apple Support
    Have a great day,
    Joe

  • Safety of accessing Apple Software RAID under Windows XP/Ubuntu

    I've got 2 500GB external USB drives that I've RAIDed together to form a mirrored 500gb drive. I use this to store most of my important documents, along with movies, photos and music. I also use this drive for my Time Machine backups. These disks use the GPT partitioning scheme.
    I have Windows XP and Ubuntu installed on my machine along side Mac OS X. Under XP I have MacDrive installed so that I can read/write to any HFS+ partition. I also have an ext3 driver installed under XP so I can read/write to my Ubuntu partition.
    Under XP: Unfortunately, since my external drives are partitioned using the GPT scheme, Windows XP only recognizes them as EFI protective disks, and hence MacDrive cannot read/write to the HFS+ RAID volumes.
    Under Ubuntu: Both of the RAID volumes mount as read only, which is fine for me. This works because Ubuntu can read the GPT table.
    My solution: Apple's bootcamp utility creates a GPT/MBR hybrid by mirroring the contents of the GPT to the MBR. My solution was to modify the MBR of one of my RAID disks so that it mirrors the GPT:
    fdisk /dev/disk2
    Disk: /dev/disk2 geometry: 60801/255/63 [976773168 sectors]
    Signature: 0xAA55
    Starting Ending
    #: id cyl hd sec - cyl hd sec [ start - size]
    1: EE 0 0 2 - 1023 254 63 [ 1 409639] <Unknown ID>
    2: AF 1023 254 63 - 1023 254 63 [ 409640 976101344] HFS+
    gpt -r show disk2
    gpt show: disk2: Suspicious MBR at sector 0
    start size index contents
    0 1 MBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    409640 976101344 2 GPT part - 52414944-0000-11AA-AA11-00306543ECAC
    976510984 262144 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
    976773128 7
    976773135 32 Sec GPT table
    976773167 1 Sec GPT header
    As you can see, I made a new entry in the MBR to mirror the Apple RAID partition (index 2) in the GPT. And it "works". Windows XP's Disk Management console shows the disk as having 2 partitions, and MacDrive mounts, and reads the HFS+/RAID partition.
    But my question is... How safe is this? If I write to the RAID partition under XP or Ubuntu (if i mount the drive as r/w), will the RAID set be rebuilt automatically under OS X, or will the modifications go unnoticed? How does Apples software RAID detect modifications to the disk? Does it checksum the HFS+ directory and compare them at mount time?
    Thanks,
    Adam

    TM is a bunch of hard links (aliases that get you the actual file), unlike regular aliases, or Windows shortcuts. You DO NOT want this fixed. It's what makes TM so great. Windows may not be up to it yet.

  • Trying to resolve 'error 45' sparsebundle could not be created while trying to use Time Machine to back-up to an external wireless harddrive

    Hi,
    I have been trying to resolve a repeated 'error 45' (Macbook Pro. sparsebundle could not be created) while trying to set up back-ups to run via Time Machine with an external wireless hard drive (Goflex Home by Seagate). I either get that message or a 'sparsebundle is already in use message. Anyone else come across this?

    neillhowell wrote:
    I've noticed that when Time Machine runs, that a  folder called Data  at /Volumes/ appears while Time Machine is trying to back up. I think it's making the sparsebundle to transfer to the Time Capsule.
    Yes, exactly.  It makes one sparse bundle per Mac.
    It's possible the TC's disk is too full for a new sparse bundle, or there may be some other problem.
    Via the Finder, locate the existing sparse bundle (see the pink box in Time Machine - Frequently Asked Question #17 if you're not sure how to do that).  See how large it is (plus how large anything else that may be there).  If the total is very near the size of the TC, that may be the problem.
    If not, a clue may be lurking in your logs.  Use the widget in #A1 of Time Machine - Troubleshooting to display the backup messages from your logs.  Locate the backup in question (probably the first one displayed), then copy and post all the messages here.

  • Stats Not getting imported while importing partition using DATAPUMP API

    Hi,
    I am using datapump API for exporting a partition of a table and the importing the partition into table on another DB.
    The data is getting imported but i could the partition stats are not getting imported. I am using TABLE_EXISTS_ACTION = APPEND.
    any idea on how to achieve the stats also to be imported into the partition.
    Thanks!

    Hi,
    I am using datapump API for exporting a partition of a table and the importing the partition into table on another DB.
    The data is getting imported but i could the partition stats are not getting imported. I am using TABLE_EXISTS_ACTION = APPEND.
    any idea on how to achieve the stats also to be imported into the partition.
    Thanks!

  • Apple Software Update Stuck At 20% While Looking For Updates (Multi-Platform)

    Hi all,
    When asked by iTunes to download the new version of iTunes (10.6), the Apple Software Updater applet opens.  When t does, it only ever gets to 20% (on Windows XP/Vista it is only 10%).
    Is there a problem with the Apple servers?  I am using Orange Home Broadband to connect and I have no trouble buying from iTunes, I managed to get the free track of the week with no issue.
    Any help would be great

    Hi all,
    When asked by iTunes to download the new version of iTunes (10.6), the Apple Software Updater applet opens.  When t does, it only ever gets to 20% (on Windows XP/Vista it is only 10%).
    Is there a problem with the Apple servers?  I am using Orange Home Broadband to connect and I have no trouble buying from iTunes, I managed to get the free track of the week with no issue.
    Any help would be great

  • Updated to os4.3.3 and to itunes 10.2.2 and ipod touch will no longer work (sync) to computer.  I have removed all Apple Software and reinstalled and this did not fix the probelm

    I updated my ipod touch 3rd generation to the new operating system 4.3.3 and itunes to the latest.  I have a WindowsXP machine all was working fine until the updates.  Since then after trying many things. Currently unable to transfer music to the ipod.

    Found solution after trying many things that were recommended in the Apple error messages.
    The problem was resolved after I totally removed my Security Software.

Maybe you are looking for

  • How to Split Large Files?

    I've got a large 4GB+ file that I want to transfer onto my USB stick, but because it's a FAT32 format, it won't allow transferring over 4GBs. How can I split the file into two 2GB files then reattach them after unzipping?

  • Pdf and djvu viewer with bookmark support.

    Hello everyone. Can someone advise me pdf and djvu viewer with a bookmarks support? I was using evince before but some time ago a bookmark support ceased to work for me. I mean a bookmark support with ability to open saved documents after restarting

  • Droid incredible 2 phone calls can't be answered

    If my Android Incredible 2 is in the sleep mode and the screen has gone dark when a call comes in the slide answer feature does not work.  It is a brand new phone so I have not uploaded apps (some internet posts claimed too many apps wrecked the answ

  • Registration of  Photoshop Elements 13

    I bought Photoshop Elements 13 on Amazon but cannot register it because the serial number on the box seems not to be the right one, how can I do ?

  • Putting Facebook comments and PayPal on both computer and mobile devices

    I want to put Facebook and PayPal on the website, but I will need to put them on both the computer and mobile versions. Will there be problems between the two? For instance, if someone comments on the website using a mobile device will it show up on