Unmount disk after logout

Hello,
I am trying to figure out if it would be possible to somehow automatically unmount my iPod after I log out of my user. I have created my user home directory on my iPod (for mobility) and so I would like to unmount the iPod so I can unplug the iPod without having to login to another user and unmounting that way. I would appreciate if someone has some knowledge on how to perform this task.
Thanks!

I don't think it is possible. If your home folder was not on the iPod then you could write a script to unmount it before you log out. That won't work in your case, though. You might also consider the security implications of keeping your home folder unencrpyted on your iPod. If it gets lost or stolen, a thief has all access to all of your files.
I have my home folder on the main hard drive in /Users. I regularly copy my whole home folder to an encrypted disk image on my iPod. The data is safe in the encrypted disk image. If I want to access any of the data from another Mac, I just hook it up, mount the image, and there's my whole home folder.

Similar Messages

  • Please Help, After Kernel panic restart failed- apple swirl(6 hrs), SafeMode-failed, SUMode-sucess. Could not unmount disk to erase. Repair permissions-multiple fail errors:unable to set permissions on... unable to set owner and group...

    Please Help, I deleted an account that was the same name as the administrator but was not the administrator. Also a samsung galaxy s phone was charging through the usb port.
    I closed out a program and got a message that the temp file could not be stored/saved.
    Then a Kernel panic message occurred and restart was necessary.
    The restart resulted in the screen with the apple logo and a continous swirl for 6+hrs,
    Attempted Safe Mode start up, unsuccessful,
    Single User Mode-sucess.
    Ran $ fsck_hfs -rfd /dev/disk0s2 Ran several times repairs made with one which remained. something about a node.
    No change in start up attempts
    Started with install CD matching current OS 10.6
    Ran Disk Utility Repair Permissions resulting in multiple errors:
    One line/error
    Warning: SUID file /////Ardagent has been modified and will not be repaired
    144 lines/errors of this type of series of lines
    Group permissions differ on...should be drwxr-xr-x, they are -rw-r--r-- .
    permissions differ on...should be drwxr-xr-x, they are -rw-r--r-- .
    unable to set owner and group...error 22: Invalid Argument
    unable to set permissions on...error 22: Invalid Argument
    Ran Repair Disk, result:
    Error: Could not unmount disk (in red)
    Ran Verify Disk, result:
    The volume HD appears to be ok (in green)
    Next I attempted to erase the dist to start from scratch since I have data backed up on time machine.
    Error message box
    Volume Erase failed
    Volume Erase failed with error:
    Could not unmount disk
    I am looking to solve without buying DiskWarrior unless only resort.

    So it looks like  solved it for now I will update later. What I did was after starting from the install cd for the 10.6 system I ran from terminal ran:
    diskutil disablejournaling /dev/disk0s2
    diskutil disableownership /dev/disk0s2
    diskutil repairPermissions /dev/disk0s2
    then i closed terminal and then when to disk utility and chose to repair disk with results all was fine. Then ran repair permissions and got similar results from terminal function next I erased disk and then chose to restore from time machine and it is now restoring! yea!

  • Disk Utility Error Message for Firewire HD: Could not unmount disk

    I have one internal HD with 10.4.2, another with 9.2.2, and an external firewire with 9.2.2. Sometimes the firewire does not show up on my desktop, or when I try to copy files onto it the beachball spins endlessly. When I try to reboot holding down the Option key, the firewire HD does not show up.
    I ran TechTools 4.05 (while booted from my Tiger HD) on the firewire HD. Everything checked out.
    I tried running Disk Utility on the firewire. The first time this is what I got:
    "First aid failed. Invalid key check. Volume check failed. Error: The underlying task reported failure on exit."
    I ran Disk Utility again:
    "Repairing disk failed with error. Could not unmount disk."
    Any suggestions would be appreciated.

    Your firewire disk is damaged. Try that: restart in safe mode (pressing SHIFT after the chime). Wait for complete boot. Plug the external HDD. Try again with Disk Utilities. Wait the report. My advise is to check its integrity. Try repair. If nothing works, try with DiskWarrior (the best utility).
    If DiskWarrior can't do the job, you – definitely have a damaged hard disk.

  • Could not unmount disk

    I am trying to do a clean install from Snow Leopard DVD disk to Macbook Pro. The computer stopped responding and after a restart I got a gray screen with a folder and ?. I have tried 3 different hard drives that have all been used in this MacBook Pro and all installed with Mountain Lion.I have zeroed out one hard drive using Disk Utility and I continue to get failed install. I cannot repair, partition, or erase any drive: Could Not Unmount Disk error on the computer using Disk Utility. I did all repairs using a separate iMac's Disk Utility. The computer is late 2009 Intel MacBook Pro. Please help

    pkj0192 wrote:
    The computer stopped responding and after a restart I got a gray screen with a folder and ?.
    All that says is the firmware can't find the bootable OS it was assigned to. Which you obviously erased.
    Hold the option/alt key at boot gives Startup Manager, which you then can select a new/other OS to boot from and set it as the startup disk in System Preferences.
    I have tried 3 different hard drives that have all been used in this MacBook Pro and all installed with Mountain Lion. I have zeroed out one hard drive using Disk Utility and I continue to get failed install.
    I assume you have used the 10.6 Disk Utiltiy and selected the ENTIRE drive, format Option: MBR and MSDOS, then click Erase and Security Option Zero All Data, and then go back to Partition 1: Option GUID and Format: OS X Extended J?
    This rebuilds the GUID and EFI so it's  for 10.6 version and removes all partitions on the drive, including the hidden RecoveryHD partition.
    I cannot repair, partition, or erase any drive: Could Not Unmount Disk error on the computer using Disk Utility. I did all repairs using a separate iMac's Disk Utility. The computer is late 2009 Intel MacBook Pro.
    If you have the drives hooked up to the iMac, Spotlight might be trying to index them thus they can't be unmounted. So have Spotlight ignore everything, turn it off basically.
    You can force unmount a drive in Terminal.
    ..Step by Step to fix your Mac
    Are you using the 10.6 white retail disk? Because that's what you need to boot/use on the 2009 MBP, not the iMac's 10.6 disk as those contain machine specific drivers for the iMac only. Don't format the drives on the iMac unless it's also 10.6.
    Since your issue appears on three drives, either there is a problem with the machine/cable or perhaps a bad 10.6 disk or wrong methods being used each time.
    How to erase and install Snow Leopard 10.6

  • Cannot unmount disk

    I am trying to install OS X 10.4.6 on an iBook.
    I am installing from a DVD copy made by the local apple store.
    The "Checking your installation DVD" part completes without errors.
    During the install it stops and says:
    BomFatalError - cpio read error: bad file format
    Install failed: some files for BSD may not have been written correctly
    I've tried this several times, always with the same error.
    In the Disk Utility - First Aid tab, I tried Verify Disk and Repair disk, both which fail with "Could not unmount disk"
    I also tried Verify Disk Permission and Repair Disk Permissions, both of which complete successfully.
    Then I tried to erase the disk (1 pass), and it says:
    Zero Disk failed with error
    Could not unmount disk.
    What else can I do?
    iBook
    PowerBook4.3
    PowerPC 750(1.12)
    1 cpu
    700Mhz
    640mb ram

    Here's the readme...sorry, don't know what we're looking for, so the whole thing:
    Read Before You Install Mac OS X
    Read this document before you install Mac OS X. It includes information about supported computers, system requirements, and installing Mac OS X.
    For more information about Mac OS X, visit this website: • www.apple.com/macosx/
    For the latest information about using Mac OS X, connect to the Internet and open Mac Help. To open Mac Help, click the Help menu in the Finder and choose Mac Help.
    For information about the support available for this product, see the AppleCare Software Services and Support Guide included with Mac OS X.
    System requirements
    You must have a Macintosh computer with: • a PowerPC G3, G4, or G5 processor • a DVD drive • built-in FireWire
    • at least 256 MB of RAM • a built-in display or a display connected to an Apple-supplied video card supported
    by your computer • at least 3 GB of disk space available, or 4 GB if you install the developer tools
    If you see a message in the Installer that you do not have enough disk space to install Mac OS X, you can deselect items to save space. To deselect items, click Custom Install in the Easy Install panel.
    Updating your computer’s firmware
    You may need to update your computer’s firmware. It’s best to update the firmware before installing Mac OS X. If you haven’t started the Mac OS X Installer, check the Apple Software Updates website to see if there are any firmware updates for your computer:
    • www.apple.com/support/downloads/
    If you don’t do this, you may see a message that you need to update your computer’s firmware when you start the Installer. To update the firmware, you will need to quit the Installer and restart your computer using your current startup disk, then check the Software Updates website.
    If you have problems with your computer after installing this version of Mac OS X, you might need to update the firmware even though you did not see a message when you installed the software. Check the Software Updates website for recent firmware updates for your computer.
    Starting installation
    To start installing Mac OS X, insert the Mac OS X Install DVD and double-click the Install Mac OS X icon:
    You can also start installing Mac OS X by inserting the Install DVD and restarting your computer while holding down the C key, or by selecting the Install DVD as your startup disk using Startup Disk preferences.
    Quitting the Installer
    If you need to quit the Installer before you click Install in the Easy Install or Custom Install pane, choose Quit Installer from the Installer application menu, then click Startup Disk to select a startup disk for your computer.
    If you have already clicked Install, wait until installation finishes.
    Advice about hardware compatibility Installing on a Power Macintosh G3 (Blue and White)
    If you have a Power Macintosh G3 (Blue and White) that came with an Apple SCSI hard disk, do not choose UNIX File System (UFS) as the format for the destination disk.
    Installing on a computer with a third-party SCSI card
    If you have a third-party SCSI card installed in your computer and you cannot start up Mac OS X, attach a disk drive or terminator to one of the card’s ports. If you continue to have problems, try removing the card. Contact the manufacturer of the card for more information about using the card with Mac OS X.
    Installing on a computer with a third-party video card
    If you have a third-party video card installed in your computer, you may need to remove it before you install Mac OS X. Contact the manufacturer of the card for more information about using the card with Mac OS X.
    Advice about installing Mac OS X Erasing and formatting your disk
    When you install Mac OS X, you can erase the destination disk you select. In the “Select a Destination” pane of the Installer, click the Options button. Select Erase and Install then choose a format. In most cases, choose Mac OS Extended (Journaled).
    Important Do not choose UNIX File System (UFS) unless you need to work with this format. If you choose UFS, Mac OS 9 and all Mac OS 9 applications must be installed on a Mac OS Extended format disk to use them with the Classic environment.
    To install Mac OS X on the same disk or disk partition as Mac OS 9, the disk must be in Mac OS Extended format. If it isn’t, quit the Installer and back up your files, then reformat the disk.
    You can also partition your hard disk into several volumes before you install Mac OS X. In the Installer, choose Utilities > Open Disk Utility and click Partition. Partitioning the disk erases the entire disk, so be sure to back up your files first.
    Installing optional software
    Easy Install installs all the software you need to use Mac OS X, but does not install some additional software. If you want to install this optional software or you don’t want to install all the software installed using Easy Install, click Custom Install and select the items you want to install. If you want to install this optional software later, insert the Mac OS X Install DVD and double-click Optional Installs.
    Locating the Installer log
    When you install Mac OS X, the Installer saves a log of the installation. To see the log, open Console (in /Applications/Utilities), click Logs, then click the triangle next to / var/log and select install.log.
    Reinstalling Mac OS X
    To reinstall Mac OS X, insert the Mac OS X Install DVD and double-click the Install Mac OS X icon, then follow the onscreen instructions. When you see the “Select a Destination” pane, click Options to select how to install Mac OS X:
    • Select “Archive and Install” to save your existing system files, user accounts and their home folders, and existing network settings. The Installer saves files in a folder named Previous System so that you can copy them to an appropriate location later. You cannot start up your computer using the Previous System folder.
    • Select “Erase and Install” to erase the destination volume and install a new copy of Mac OS X. If you select this option, you will lose all your files and the software you have installed on the destination volume, so you may want to back it up first. If you select this option, you can choose the format for the volume. In most cases, choose Mac OS Extended (Journaled) from the pop-up menu.
    Setting up and connecting to the Internet
    If you have an existing Internet service provider (ISP) and you’re installing Mac OS X for the first time, you need to enter your Internet connection information when installation finishes. Be sure to have the information available. If you have problems connecting to the Internet, contact your ISP to make sure you have the correct information.
    Advice about using Mac OS X If you have problems starting up
    If you cannot start up your computer, insert the Mac OS X Install DVD and restart your computer while holding down the C key. Choose, Choose > Open Disk Utility, then click First Aid to repair your disk.
    If you have problems starting up your computer and you have devices connected to your computer such as FireWire drives, USB printers, or external displays, try disconnecting them before starting up again.
    Upgrading your applications and other software
    For best results with Mac OS X, look for versions of your applications that are built for Mac OS X. Check the Mac OS X website for information about available applications:
    • www.apple.com/macosx/
    If you cannot find Mac OS X versions, upgrade to the latest Mac OS 9 version to use with the Mac OS X Classic environment. Check with the manufacturers for the latest updates.
    Using POP email accounts and On My Mac mailboxes in Tiger and Panther
    If you have a shared home folder and you access a POP email account using Mail in both Mac OS X Panther and Mac OS X Tiger, you will not see messages that you retrieve in one version when you switch to the other.
    As an alternative, you can deselect the option to remove copies from the server after retrieving your messages. To change this option, open the Accounts pane of Mail preferences and click Advanced.
    You will not see messages saved in a mailbox on your computer when you switch from one version to another. To avoid this problem, use separate home folders for each version of Mac OS X.
    Your IMAP account will synchronize automatically when you switch between Mail in Tiger and Panther.
    © 2005 Apple Computer, Inc. All rights reserved. Apple, the Apple logo, FireWire, Macintosh, Mac OS, and Power Macintosh are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. PowerPC is a trademark of International Business Corporation, used under license therefrom.

  • Error: Could not unmount disk

    Hi: I am having a problem with an external HD (WD 750 GB Caviar Black) housed in an OWC enclosure and attached to my PowerPC G5 running OS X 10.4.11. The only use the drive has seen is trying to create a clone of my primary HD onto a partition on the external using a highly respected application dedicated to this purpose. For some reason yet uncovered, every cloning attempt has stalled the application and hung up my system. That aside, what is happening now is that I cannot even leave the ext. HD  powered on and attached to my G5 as within minutes of booting up, my system slows down and becomes unresponsive. Detaching the ext. HD frees my system up instantly.
    The last time I ran Disk Utility on the external, it passed verification and I was even able to run DiskWarrior on it and restore the directories to perfect order. But now, even after booting up from my original Mac install disk, although the external shows up in Disk Utility and I'm able to verify it just once (and it passes), any attempt after that to erase it, repartition it, verify it again, results in the error message: Could not unmount disk. Eventually I get the spinning beach ball and have to detach the drive. The drive does not make any unusual sounds and I have to put my ear to it to hear it at all. At one point, on boot up, the blue light on the enclosure continued to flicker for a very, very long time and the drive refused to mount altogether. But it hasn't done that again. I've read that when a drive won't unmount, it can mean that there are open files on it.
    Anyone have any ideas as to whether it sounds like a problem with the enclosure or the drive and any suggestions as to what I might try? I have tried connecting it via eSATA, FireWire and USB (all from the same enclosure) and the results are the same.
    Jack

    Here's an update. Received the new enclosure. Before I transferred the drive into it, I unplugged the internal cables from the old enclosure that were connected to the drive and then reattached them. Also, I noticed that one of the cable plugs was not perfectly seated on the circuit board, so I pushed that in a bit. Heard a tiny click.
    Using the old enclosure, the drive mounted quickly and I was able to Zero Data on it and erase it using Disk Utility. Was not able to Zero Data on it before. Would hang every time.
    Thought I would try a different cloning app than the one I had been trying to use and this time the transfer did not stall. The estimated time, however, was about 6 1/2 hours which I thought was way too long to transfer 190GB via FireWire 800. The transfer rate started at 4.5MB/sec and went up to 9.5MB/sec. So I thought I would try the new enclosure and see if that was faster. I stopped the operation, erased the partition and transferred the drive to the new enclosure.
    Tried the same cloning app that worked in the old enclosure and this time it stalled shortly after starting to copy files. Erased the drive and tried the original cloning app that had stalled using the old enclosure. It stalled using the new enclosure also. Erased the drive and tried the Restore function in Disk Utility and that went through. Took 4 hours. Attempted to boot up from the backup that Disk Utility created but I got the circle with the diagonal through it and it just hung there, with my fans running at top speed. Finally had to power down manually.
    I'm thinking maybe it's the drive that's malfunctioning. It is still under warranty. Even though I'm not able to boot from the backup partition Disk Utility created, I'm wondering why it was able to transfer 190GB of data when the other two, well respected cloning applications stalled.

  • Erase and Reinstall - Could not unmount disk?

    Hi there....
    I'm running an iBook G4 with Tiger 10.4.11
    After a freeze and manual power off, I powered up and got stuck at the grey Apple. Tried to start in safe mode - no luck. Started up off the install disk and ran Disk Utility - tells me Disk Could Not Unmount.
    Spoke with Apple rep. - ran fsck in Single User Mode - got "Invalid Node STructure"
    I've accepted that my files are lost - I have a good backup so that's that.
    STarted up and got to Disk Utility again - want to do an Erase and Reinstall. Go to erase HD and am told "Could Not Unmount Disk"
    ....do I have any options??

    Well, take into account I'm at a distance here & just guessing it's the HD, but yes, if it is that & you get it replaced, you should be able to install OSX just fine... and likely be much faster with a new HD in it.
    Here's some hard drives...
    http://tinyurl.com/aa4ae4
    http://www.powerbookmedic.com/Powerbook-iBook-Macbook-Hard-Drive-Upgrades-Pro-Po werbook--iBook-Hard-Drives-p-1-c-517.html
    Ultimately - should I be purchasing a new HD and putting it into this G4 - or look in to buying a new one altogether? ...I'd really rather not right now.
    Depends what you do with it & such, but if it meets your needs it may pay to have it fixed, but checkout the prices at the Apple Store on refurb MacBooks & MacBook Pros to better gauge for yourself.

  • Disk Utility "Couldn't unmount disk" in Recovery Mode

    Hello, everyone. I'm dealing with a 15" MacBook Pro (April 2010) which seems to be unwilling to reformat its own hard drive. After several issues, the hard drive started giving the "Incorrect number of threads" error when Disk Utility's Repair Disk was run from within the Recovery Partition, after which, the computer refused to boot normally, going through a 'status bar' for a long time before shutting itself down.
    I booted from the Recovery Partition once again, and attempted to have the OS X Mountain Lion installer format the hard drive, only for the existing boot partition to not show up in the drive choices menu. I then opened up Disk Utility once again, selected the hard drive (the main boot partition is greyed out in the side menu), and clicked Erase. The process started, with the diagonally-scrolling progress bar sitting at the "Unmounting disk" status for several minutes, only for an error to pop up reading "Disk Erase failed with the error: Couldn't unmount disk." Any further attempts to erase the drive resulted in the same error popping up instantly.
    I rebooted the computer back into Recovery Mode, tried again, only for the process to repeat itself (albeit with thick gray vertical bars appearing on the screen, and a square made up of thinner gray horizontal lines appearing next to the mouse cursor, during the initial unmounting process!). Is there any way of saving this drive, or this Mac? Thanks in advance.
    -Adam

    You have hardware problems.
    Make a "Genius" appointment at an Apple Store.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    *An SSD doesn't need to be zeroed.

  • Disk Error "Unable to Unmount Disk"

    I am trying to make a Macbook Pro ready to sell.  I have booted the system into Restore Mode by holding the Command R keys.  Then I tried to erase the harddrive.  It came back and said it failed with error - Unnable to Unmount DIsk.  Does anyone know what to do?

    • Try erasing just the Volume, Macintosh_HD or whatever you have renamed it, instead of the entire Physical Drive.
    • Do you have a Time Machine Backup? After 10.7.4, there will be a Recovery_HD on it as well as the one on your MacBook Internal drive. That can be used as an alternate boot Drive, then you can erase the entire internal drive. But you need to put something back on it so the new User can do something -- otherwise they need to take it to the Apple Store to get some Mac OS X or other installed before they can do anything.

  • Partition error. couldn't unmount disk

    I new buy mac mini 2012. I have osx mountain lion.
    When I create a partition get error "Partition Error". "Couldn't unmount disk"
    I haven't OS now. Because I removed its. 
    I can't create partition under 500 GB HDD.
    And I'cant see Recover HD.
    My disk Utility Screen:
    When I create partition I get below error pop-up message.
    When I browse for Image I see Recover HD.
    finally. "diskutil list" typing in terminal  list disks.
    Please

    My macbook air (OS x lion ) hard disk got crashed. now it starts with a grey screen and MAC OS X utilities. in the disk utility, the hard disk icon became inactive. when i erased the disk it became active again but i am still not able to partition it. it showed -- "Partition Error". "Couldn't unmount disk". now the disk icon became inactive again. when i click on mount it becomes active again but partioning is not done after many attempts.
    another problem: - when it I click to proceed with the installation (still unpartitioned) it verifies my macbook's eligibility and says that the machine information is not with apple. below are the screenshots.
    is there any internet issue, i got connected on my institute's wi-fi (excellent speed- 54mbps)

  • Disk utility can't unmount disk

    Hey there,
    A few days ago, my mac began to start up incorrectly; with a black screen right from the beginning.
    I ran the disk repair with the disk utility program and it told me, that my hard drive couldn't be repaired. So I booted the mac in recovery mode and tried to erase the hard drive. After a while, an error appeared, telling me "cannot unmount disk".
    I tried to "force unmount" via terminal, but that didn't work as well.
    Does anyone has any tips for me, before I'm going to the apple support.
    Thx in advance.

    It sounds like the hard drive is failing. The only real advice here is to make sure you have a good backup. If it's under Applecare, Apple will replace the drive but you'll probably lose your data. The other thing you can do is replace it yourself if you're outside Applecare. Look up the specific procedure for your model at ifixit.com.

  • Cannot unmount disks

    Hi:
    I have been reading the post here in the Mac Pro forum for about six months and this is my first answer (and my first problem with my MP)
    In short, the problem I am having is that Carbon Copy Cloner, wich I have been using for cloning my start up disk to a second internal HD without any problem since I bought my MP, has stopped doing so. The message “can not unmount disk“ shows up. Can not unmount in Disk Utility neither. So, I can not clone my disk as my normal security routine. Rebuilding start up disk´s directory (wich I do before every week clone) with DW4 is not longer possible, nor even booting from DW4 cd. This started happennig after my first system freeze and the installation of a 3rd HD in bay 3 (the same day and in that order) After freeze I repaired with Maintenance, then I installed the HD.
    Any help will be very, very wellcome.
    (and excuse for my english, guys.)
    Mac Pro   Mac OS X (10.4.10)  

    Hi The Hatter:
    I do appreciate very much your help in this matter. I have learned a lot reading your answers to another peolpe´s questions.
    To the point:
    MAINTENANCE is a system maintenance and cleaning app. I switched to it from ONYX. Take a look at it at:
    http://www.titanium.free.fr/pgs2/english/maintenance.html
    I am sure you know well this app, but maybe I wrote its name in a funny way. I do my cleaning tasks with MAIN MENU as well. Wich one is the best, in your opinion?
    I do boot from my clone disk every week. From it I repair the directory of my “main“ disk. Then I restart and boot from my “main“ disk and clone it (using CCC) to my Back Up HD. I do reuild the directoy before cloning following a recommendation I found in Bombich´s forums. This is about not to cloning a already “deffective“ system. When this problem appeared I booted from DW cd as a last option procedure.
    You are right!!! I would be doing better with a Emergency Partition. I have been lazy on this point.
    Until now, I thought that running maintenance scripts and cleaning with MAINTENANCE (or ONYX) and rebuilding directory before cloning to another HD would keep me safe.
    Know I believe that to be safe the best I can do is not to have a computer and move to a deep, fresh and green forest.
    So. Wich is your maintenance and back up procedure, Hatter? I am stilI learning and am sure that it would be a good thing to know how do you keep your machine safe.
    (But think about the forest, Hatter... Think about it...)
    Mac Pro   Mac OS X (10.4.10)  

  • Disk Utility: "Repairing disk failed with error Could not unmount disk"

    Disk Utility: “Repairing disk failed with error Could not unmount disk”
    Hi. I’ve been experiencing some mildly squirrelly behaviour with my system (vide infra) so decided to repair the two internal hard drives on my computer. The primary hard drive is a 74.53 GB ST380013AS that came with the system; its S.M.A.R.T. Status is “verified” and Disk Utility repairs permissions just fine. However, the second internal drive (Maxtor 6L250S0, 233.76 GB, lower Bay, Journaled HFS+), despite being verified by S.M.A.R.T. status and apparently running OK, fails to unmount when I ask Disk Utility to repair it- I get the above error message in red. I have repaired this disk with DiskWarrior (v3.03) and all appears to run AOK. Can anyone tell me why I cannot get Disk Utility to run on this secondary (eg, non-startup) disk? I have tried many times and the error is reproducible. Thank you!
    G5 1.6GHz PPC, 1 GB RAM, running OS 10.4.6

    Thank you for these useful links!
    For others who have this issue, I also found very helpful advice given to this question on the MacFixIt forums by MicroMat Tech3 at
    http://www.macfixitforums.com/php/showthreaded.php?Cat=&Board=tiger&Number=76265 1
    He said: "Use the lsof command to find the open files on a volume that does not unmount or eject. Open Terminal, located in /Applications/Utilities. Type: sudo lsof | grep Leave a space after the p in grep, then drag the icon of the problem volume to the Terminal window. The pathname for the volume is pasted in for you; press Return. Then enter your administrative password at the prompt, and press Return."
    At this point, one now has a list of the open files/processes on the volume that will not unmount. You can use Activity Monitor to terminate these processes if you wish, and then the volume will unmount as it should.

  • No keyboard at login window after logout

    Hello all,
    I'm just starting state testing and have been presented with a problem.  When a student logs out of a machine in order to log into the testing account the login window won't accept input from the keyboard.
    Bacground and details:
    We have labs of computers using workgroup manager and open directory for management.  In a normal lab the machine will boot to a login window.  This is so that the preferences will be refreshed before a student logs in.  The student will login as a local user (student) and procede to do whatever for the day. 
    We have recently started state mandated testing.  I have set up an OD account which is very locked down and keeps the student on track while testing.  This requires someone to log the normal user out and login as the OD user.  This is where the problem arises.
    About 50% of the time the keyboard will no longer funtion after logout.  No keys of any sort work. The mouse still works.  Even keystrokes through ARD do nothing.  A end user is then required to reboot the system in order to do ANYTHING.  This is not ideal for elementary kids.
    From my digging in log files and poking around i noticed that the loginwindow process was hanging or crashing.  If i kill the process the login window blinks and then works just fine.  I'm sure i could write a logout script that drops a process into the background to kill the loginwindow process after so many seconds, but thats messy.  Has anyone seen this?  Any thoughts or solution? Only happens on a logout, never on an initial bootup.
    I have found that 95% of these issues occur on Mac Mini's.  I can consistantly replicate the issue on a mini.  If i clone the mini to a macbook, i no longer have the problem (using carbon copy cloner).  So either the hardware is part of the issue or the clone fixed something in the process.
    OSX 10.5.8
    /var/log/windowserver.log  (on logout)
    May 02 16:27:30  [252] kCGErrorIllegalArgument: CGXSetWindowListTags: Operation on a window 0x6 not owned by caller loginwindow
    May 02 16:27:32  [252] CGXRestartSessionWorkspace: session workspace exited for session 256 ( on console )
    May 02 16:27:32  [252] loginwindow connection closed; closing server.
    May 02 16:27:33  [352] Server is starting up
    May 02 16:27:36  [352] CGXMappedDisplayStart: Unit 0: no display alias property
    May 02 16:27:36  [352] kCGErrorFailure: IOHIDSetCursorEnable returns -536870208
    May 02 16:27:36  [352] kCGErrorFailure: Set a breakpoint at CGErrorBreakpoint() to catch errors as they are returned
    May 02 16:27:36  [352] CGXPerformInitialDisplayConfiguration
    May 02 16:27:36  [352]   Display 0x41dc9d00: VirtualDisplay Unit 0; Vendor 0x756e6b6e Model 0x76697274 S/N 0; online enabled built-in (0,0)[1280 x 1024], base addr 0xb0021000
    May 02 16:27:36  [352] AGCAttach: Couldn't find any matches
    May 02 16:27:43  [352] kCGErrorIllegalArgument: CGXSetWindowListTags: Operation on a window 0x2 not owned by caller SecurityAgent
    May 02 16:27:45  [352] kCGErrorIllegalArgument: CGXOrderWindow: Operation on a window 0x2 not owned by caller SecurityAgent

    >kCGErrorIllegalArgument: CGXSetWindowListTags: Operation on a window 0x2 not owned by caller SecurityAgent
    In those cases there may be threads and/or processes trying to do things with windows that they don't own. In other words, some programmers may have goofed up a little bit someplace.
    But might try the one Helpful marked post here...
    https://discussions.apple.com/thread/987826?start=0&tstart=0

  • External hard drive reformatting error: 'could not unmount disk'

    I've bought a TrekStor DataStation maxi light 2TB external harddrive and I am trying to reformat it so I can use it with my Mac.
    Unfortunately when I try to either 'Erase' or create a partition as detailed here: https://discussions.apple.com/thread/2701878?start=0&tstart=0 I get the 'could not unmount disk' error.
    Is anybody able to offer a solution?
    Kind regards,
    Rhyno

    Sounds like something is using (or trying to use) the disk.
    Eject it if you can.  Then unplug and reconnect, and try again.
    If all else fails, you may have to power down, start up from your Snow Leopard Install disc and erase/format it from there.  See the yellow box in #6 of Using Disk Utility.

Maybe you are looking for