Solaris: Forcefully unmount a disk partition to get rid of device busy error

by Vivek Gite on January 17, 2006 · 1 comment

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.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 1 comment… read it below or add one }

1 Kevin June 27, 2007

The force option is only available on Solaris 8 and above.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 13 + 8 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: