Sponsored Content
Full Discussion: [FreeBSD] Unable to unmount
Special Forums Hardware Filesystems, Disks and Memory [FreeBSD] Unable to unmount Post 32855 by indo1144 on Monday 9th of December 2002 11:44:42 AM
Old 12-09-2002
Data [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...
Quote:
[root@chinook] root #mount
...
the usual stuff here
...
/dev/vn0c on /home/user/Red Hat 8 ISO/psyche-i386-disc5 (cd9660, local, read-only)
[root@chinook] root #
Here's the error I get when I try to unmount:
Quote:
[root@chinook] root #umount /dev/vn0c
umount: unmount of /home/user/Red Hat 8 ISO/psyche-i386-disc5 failed: Invalid argument
Even if I put all the files back and remount, I cannot unmount is, this is probably because it uses a different inode now.

How can I get rid of this listing in mount? I do not want to reboot this machine, since it has almost 1 year uptime...
 

10 More Discussions You Might Find Interesting

1. AIX

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... (3 Replies)
Discussion started by: vamshi_k
3 Replies

2. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

3. IP Networking

Unable to ping freebsd machine using fully qualified domain name

hi all. am unable to ping a freebsd machine using fully qualified domain name from a windows machine. i have already set the fqdn for the machine. plz advise me. thanks. (2 Replies)
Discussion started by: coolatt
2 Replies

4. HP-UX

/opt will not unmount to extendfs

The /opt file system needs to be extended. I know the basic commands, but /opt will not unmount. fuser shows nothing and I see no jobs running from /opt. If I need to take it down to single user mode to do this, then what is the best command? Any help is appreciated. Is there a way to stop all... (3 Replies)
Discussion started by: joettacm
3 Replies

5. 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

6. 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

7. 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

8. BSD

Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset

I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: # zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset # zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or... (3 Replies)
Discussion started by: bstring
3 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
AUTOMOUNT(8)						    BSD System Manager's Manual 					      AUTOMOUNT(8)

NAME
automount -- update autofs mounts SYNOPSIS
automount [-D name=value] [-L] [-c] [-f] [-o options] [-v] [-u] DESCRIPTION
When called without options, the automount command parses the auto_master(5) configuration file and any direct maps that it references, and mounts or unmounts autofs(4) filesystems to match. These options are available: -D Define a variable. It is only useful with -L. -L Do not mount or unmount anything. Instead parse auto_master(5) and any direct maps, then print them to standard output. When specified more than once, all the maps, including indirect ones, will be parsed and shown. This is useful when debugging configuration problems. -c Flush caches, discarding possibly stale information obtained from maps and directory services. -f Force unmount, to be used with -u. -o Specify mount options to be used along with the ones specified in the maps. It is only useful with -L. -u Try to unmount filesystems mounted by automountd(8). autofs(5) mounts are not unmounted. To unmount all autofs mounts, use umount -At autofs. -v Increase verbosity. EXIT STATUS
The automount utility exits 0 on success, and >0 if an error occurs. EXAMPLES
Unmount all filesystems mounted by automountd(8): automount -u SEE ALSO
auto_master(5), autofs(5), automountd(8), autounmountd(8) HISTORY
The automount command appeared in FreeBSD 10.1. AUTHORS
The automount was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation. BSD
November 22, 2014 BSD
All times are GMT -4. The time now is 09:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy