The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot umount - device busy keelba HP-UX 2 04-11-2008 12:16 PM
force umount in solaris 2.6 bkleong SUN Solaris 3 04-07-2008 02:44 AM
umount is failing suntac SUN Solaris 3 04-06-2007 01:45 AM
umount help andrec UNIX for Advanced & Expert Users 4 11-21-2003 11:13 AM
umount error fresh UNIX for Dummies Questions & Answers 1 09-30-2003 02:48 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2001
Registered User
 

Join Date: Aug 2001
Location: Pinehurst, NC
Posts: 6
Stumble this Post!
umount

Twofold question for you unix "guru's"

1) When attempting to use the umount command I get a message stating that the partition that I want to unmount is busy. Is there another command that I need to use prior to the umount command to clear the partition of activity?????

Also I am looking as using the "fsck" command for file maintainence (open/broken files, etc.) Is there a better command/utility that I should be using for this task????

Thanking you in advance.

rod23
Forum Sponsor
  #2 (permalink)  
Old 08-07-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,292
Stumble this Post!
You cannot unmount a partition if you have a process executing in that partition space. This can be as simple as having cd (change directory) from a shell or a process running from/in that partition.

Yes, fsck is great for checking and repairing filesystems. That is the standard utility we all use.
  #3 (permalink)  
Old 08-07-2001
patvdv's Avatar
Registered User
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
Stumble this Post!
Check processes

To the umount:

Check any running processes on that mounted file system (including sub directories). A great tool for checking this is lsof (list open files). To kill user processes you can user the utility fuser (-ku) (but be careful with this). You might have to run fuser several times to get rid of all (stuck) processes.

To the fsck:

Depens on your OS and disk software. fsck is the standard and best tool for Linux.
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com
'True strength lies in gentleness' - Irish proverb
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0