Solaris: Forcefully unmount a disk partition to get rid of device busy error
Under Solaris, umount come does not allow a file system to be unmounted if a file on the file system is busy i.e. open by other programs/process or by user. You will get device busy error. To get rid of this message you can pass -f option to umount command. Suppose you would like to forcefully unmount a /cdrom/cdrom0 then you can type following command (login as a root user):
# umount -f /cdrom/cdrom0
Please note that using this option can cause data loss for open files; program(s) which access files after the file system has been unmounted will get an error.
E-mail this to a friend
Printable version
Related Other Helpful FAQs:
- FreeBSD: Forcefully unmount a disk partition to get rid of device busy error
- unmount: /cdrom device is busy error and solution
- Howto mount windows partition onto ubuntu Linux
- Sun Solaris mount ISO CD image with lofiadm
- Linux CD / DVD Locked and Drive Is Not Opening / Ejecting CD
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!



June 27th, 2007 at 10:54 pm
The force option is only available on Solaris 8 and above.