![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| deleting directories from a list | amacgeek | Filesystems, Disks and Memory | 1 | 04-09-2006 10:07 PM |
| deleting all the sub directories | pavan_test | UNIX for Dummies Questions & Answers | 2 | 01-26-2006 06:52 PM |
| Recursively deleting directories | mikeshank | UNIX for Dummies Questions & Answers | 4 | 11-26-2004 07:58 AM |
| Deleting unamed directories | gseyforth | UNIX for Dummies Questions & Answers | 4 | 10-20-2003 11:05 AM |
| deleting log files only in particular directories | sameervs | UNIX for Dummies Questions & Answers | 2 | 05-31-2002 10:49 PM |
|
|
LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
||||
|
If the directory (let's call it /home/mountthis) on system A is mounted remotely to system B on /Amount, then you only need to do a umount /Amount on system B (and remove the /etc/vfstab entry which mounts it on boot).
If it's mounted by automountd, then look to /etc/auto_* files to find the mount. Post back if you have problems. |
|
||||
|
can umount cannot delete dir...
RMT:
thanks for your reply. As you wrote that is the normal procedure to unmount a remote resource and, in fact, Im able to do that. The problem is that, after unmounted, I cannot delete the mountpoint, it says "Unable to remove directory /example/: Device busy". I look the mnttab file and the line is not there (cause I unmounted it!!), the dir is empty ... and so on.. Thanks Piltrafa |
|
||||
|
Have you run fuser /example and found what process is still considered 'using' it? Normally it's your own process (Duh! I always do that!) that is cd'ed into the directory.
If fuser does show any processes using /example, then you would need to kill off those processes (users) - if it's a system process, you might try a kill -HUP to get it to reread configuration files (ie automountd) |
||||
| Google UNIX.COM |