![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UNMOUNT a windows file system | big123456 | Linux | 4 | 03-02-2008 10:41 PM |
| Cannot unmount mount points?? | genzbeat | HP-UX | 1 | 02-01-2008 02:11 AM |
| issue with unmount /hypercd on AIX 4.3.3.0 | ripley | AIX | 0 | 03-08-2005 11:50 AM |
| [FreeBSD] Unable to unmount | indo1144 | Filesystems, Disks and Memory | 6 | 12-11-2002 02:16 AM |
| unmount doesn't work | DISTURBED | UNIX for Dummies Questions & Answers | 2 | 07-04-2002 03:14 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how do i unmount ?
hi all,
I am new to AIX as well as UNIX also ,i have a question One of my program has created a new filesystem on the system..... df shows : /dev/fslv04 2031616 2030648 1% 3 1% /replicas/source when i tried to umount the above filesystem by umount -f /replicas/source it says : umount: 0506-349 Cannot unmount /dev/fslv04: The requested resource is busy. I rebooted the system , then also problem still persists ... what i want , is to remove the filesystem completely from the system one option i tried is i commented out the corresponding entry in /etc/filesystems and given reboot , i guess , i have not seen the filesystem. so my question is , is this way of doing is correct ? is there any otherway , i am totally confusing in how to remove this filesystem... please help me |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
If you have IBM support I would contact them. They have been very helpful to me in the past.
|
|
#3
|
||||
|
||||
|
Have u tried fuser, see man fuser for example
|
|
#4
|
|||
|
|||
|
You are doing the "umount" part correctly. The problem is (and this is indicated by the error message) that you can't umount a filesystem (on every UNIX, this is nothing special to AIX) as long as there is a process using a file in it or there is a user session with the PWD somewhere in the filesystem.
Therefore a "mount /myfs" followed by a "umount /myfs" will work, but if you do a "cd /myfs" in between it won't. Change your working directory to some other place and it will work again. With "fuser" you can (this is why andryk gave you the hint) find out processes which use files in the FS. As this is a beginners question you should ask it there and ask a moderator to move this thread there. bakunin |
|||
| Google The UNIX and Linux Forums |