Sponsored Content
Full Discussion: how do i unmount ?
Operating Systems AIX how do i unmount ? Post 82106 by vamshi_k on Monday 29th of August 2005 02:04:10 AM
Old 08-29-2005
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
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

[FreeBSD] Unable to unmount

I have mounted an ISO-file to do a network install of Red Hat. Afterwards, I removed the ISO and forgot about the mount. Now, I am unable to unmount this mount, because the target no longer exists... Here's the error I get when I try to unmount: Even if I put all the files back and... (6 Replies)
Discussion started by: indo1144
6 Replies

2. HP-UX

Cannot unmount mount points??

When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted. How can I find out what process(es) is/are latching on the these mount points? Thank you for your time. (1 Reply)
Discussion started by: genzbeat
1 Replies

3. AIX

Unmount strongly command

Dear Guy's I'm making script to easier my work to mount and unmount some file systems I'm executing this command umount -f /file_system To unmount the file system but some times is not allow the un mounting it's giving me device is busy ... I want to know is there any another... (2 Replies)
Discussion started by: ITHelper
2 Replies

4. Filesystems, Disks and Memory

Can we unmount device?

Hi, I know that if we need to unmount a device, we use the command umount mount-point, example 'umount /tmp/mount1' But We can also unmount the device with device name example 'umount /dev/hda6'. NOTE: I think in RHEL3 we cannot unmount with device name. Correct me if I am wrong. What... (1 Reply)
Discussion started by: praveen_b744
1 Replies

5. Shell Programming and Scripting

Unmount USB disk

Hi, How can I unmount an usb disk using the command umount? (3 Replies)
Discussion started by: Guccio
3 Replies

6. UNIX for Dummies Questions & Answers

unmount the partition

Dear all, I have a two hard drive.On the second (/dev/sdb1 and /dev/sdb2) hard drive i have two partitions. The /dev/sdb2 has been mounted on the /home2 directory.I want to unmount that /dev/sdb2.I have no idea to how to do it.Can anybody give me the details about that?. Regards, Prakashkumar.S (2 Replies)
Discussion started by: prakashkumar41
2 Replies

7. Solaris

zfs cannot unmount (cannot unshare)

I have installed Solaris 11 Express on my machine, created a raidz2 zpool named shares and set up sharing (zfs set sharesmb=on shares). I also created a script for automatic backuping using snapshots. Everything worked fine. But yesterday I tried recovering from one of those backuped snapshots:... (1 Reply)
Discussion started by: RychnD
1 Replies

8. HP-UX

FC Lun scan without unmount

OS : 11.31 Storage : HP P2000 WE extended one lun to 100GB which was previously 50GB from storage side... How to get detect the size without unmounting.... ---------- Post updated at 04:39 AM ---------- Previous update was at 12:37 AM ---------- No LVM and No online JFS installed... (2 Replies)
Discussion started by: selvaforum
2 Replies

9. Shell Programming and Scripting

Unmount files via script

Hi all, I have a requirement to do an upgrade. As part of that upgrade I have to unmounts files in the fstab (there could be 100's), is there a way I can do this via script? The problem is, is that the mount points on every server will be different.... For example: /u001/oradata/T865 ... (4 Replies)
Discussion started by: gartie
4 Replies

10. AIX

Filesystem unable unmount

Hi all , I have issue oracle filesystem name /oracle/SID unable to unmount even though no any process are running mentioned fs .would appreciate anyone assist further high level .my system running aix 6.1 (7 Replies)
Discussion started by: Arulji
7 Replies
UMOUNT(8)						      System Manager's Manual							 UMOUNT(8)

NAME
umount - unmount file systems SYNOPSIS
umount [ -fv ] special | node umount -a [ -fv ] [ -t ufs | external_type ] DESCRIPTION
The umount command calls the umount(2) system call to remove a special device from the file system tree at the point node. If either spe- cial or node are not provided, the appropriate information is taken from the fstab(5) file. The options are as follows: -a All of the file systems described in fstab(5) are unmounted. -f The file system is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root file system cannot be forcibly unmounted. This is not currently implemented in 2.11BSD. -t ufs | external type Is used to indicate the actions should only be taken on filesystems of the specified type. More than one type may be specified in a comma separated list. The list of filesystem types can be prefixed with no to specify the filesystem types for which action should not be taken. For example, the umount command: umount -a -t nfs,mfs umounts all filesystems of the type NFS and MFS. NOTE: Only UFS is supported by 2.11BSD. The example is for illustrative purposes only. -v Verbose, additional information is printed out as each file system is unmounted. FILES
/etc/fstab file system table SEE ALSO
umount(2), fstab(5), mount(8) HISTORY
A umount command appeared in Version 6 AT&T UNIX. 4.4 Berkeley Distribution January 16, 1996 UMOUNT(8)
All times are GMT -4. The time now is 04:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy