When a disk won't 'Unmount"

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) When a disk won't 'Unmount"
# 1  
Old 04-17-2009
MySQL When a disk won't 'Unmount"

hdiutil detach -Force disk&number

(ex:hdiutil detach -Force disk1)
# 2  
Old 06-01-2009
Is this problem solved? When forcing an unmount you should check why it won't unmount in the normal way.
# 3  
Old 06-05-2009
This solves the problem just fine. Most glitches in the dismount are program related, (it's obvious to check for the causes)...checking for the causes was not why I posted this solution. Hope it helps a few folks out there.

UMH
# 4  
Old 07-12-2009
you can also do this:

diskutil unmountDisk force /Volumes/<name of drive>

example:
diskutil unmountDisk force /Volumes/Video\ 800
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to unmount a folder and do check disk only in that path

I need to check if a folder has some kind of logic disk problems. I have a FreeBSD machine where the (root)\tmp\TEST folder has some file created by a script that i cannot delete. If i rename the tmp\TEST folder then i can delete them (apparently) but if i recreate a folder in tmp directory... (2 Replies)
Discussion started by: mirrorx
2 Replies

2. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

3. AIX

mkvg on iscsi disk won't work (6.1)

Hi All, Recently I'm taking my first steps in AIX, initially with no real issues. Until now, off course... I hooked up a couple of iSCSI disks to the system, with a RHEL5 machine running tgt on the other side. When running cfgmgr after initial configuration, I got an error: # cfgmgr -l... (4 Replies)
Discussion started by: mr.aart
4 Replies

4. Shell Programming and Scripting

Unmount USB disk

Hi, How can I unmount an usb disk using the command umount? (3 Replies)
Discussion started by: Guccio
3 Replies

5. Solaris

luupgrade Solaris8 to 10u5 "cannot unmount miniroot"

Installation details: Product Result More Info 1. Live Upgrade Installed Available 2. Done Enter the number corresponding to the desired selection for more information, or enter 2 to continue : root@plato /backup # luupgrade -c -s /sol10u5 The media is a... (7 Replies)
Discussion started by: awoodby
7 Replies

6. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

7. OS X (Apple)

Can't Mount Disk / Image after bad unmount

I have had a little issue with one of my disks, the usb cacble was pulled out and one of the external drives on it would no longer mount. I used First Aid and it verified and repaired both OK / nothing to do). After lots of messing around and not being able to mount I used Drive Genius 2 and that... (1 Reply)
Discussion started by: Cranie
1 Replies

8. HP-UX

/usr out of disk space need to unmount/ expand volume /mount

Greetings, I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space. I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Discussion started by: Dirk_
5 Replies

9. HP-UX

Unmount and remove all Logical vol.Volume group and physical disk

Hi, Someone please help me with how i can unmount and remove all the files systems from a cluster. This is being shared by two servers that are active_standby. (3 Replies)
Discussion started by: joeli
3 Replies
Login or Register to Ask a Question