Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
Search Forums:



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-09-2002
indo1144's Avatar
Registered User
 

Join Date: Jun 2002
Location: Netherlands
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy [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...
Sponsored Links
    #2  
Old 12-09-2002
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 10,322
Thanks: 205
Thanked 375 Times in 157 Posts
You can edit /etc/fstab (and perhaps reboot).
Sponsored Links
    #3  
Old 12-09-2002
indo1144's Avatar
Registered User
 

Join Date: Jun 2002
Location: Netherlands
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Unfortunately...

I manually mounted it, so it was not listed in /etc/fstab...

I had kind of hoped to resolve this without a reboot... Thanks anyway.
    #4  
Old 12-09-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Unfortunately...

Quote:
Originally posted by indo1144
I manually mounted it, so it was not listed in /etc/fstab...

I had kind of hoped to resolve this without a reboot... Thanks anyway.
Try umount -f to force the unmount of the now dead ISO image or try to umount by the mounted sub-dir name:


Code:
umount /mnt/some_iso_image_of_redhat

Sponsored Links
    #5  
Old 12-10-2002
indo1144's Avatar
Registered User
 

Join Date: Jun 2002
Location: Netherlands
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Re: Unfortunately...

Sigh.... It no longer matters, the problem is solved...

I had a power outage and it took a little longer than the UPS's could provide for... My entire home-network performed a shutdown... Most of these machines had been on for as long as one year...

Bye bye uptime...

What a waste...

Thanks to all who replied!
Sponsored Links
    #6  
Old 12-10-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Re: Re: Unfortunately...

Quote:
Originally posted by indo1144
Sigh.... It no longer matters, the problem is solved...

I had a power outage and it took a little longer than the UPS's could provide for... My entire home-network performed a shutdown... Most of these machines had been on for as long as one year...

Bye bye uptime...

What a waste...

Thanks to all who replied!
It was just Mr. Murphy trying to show you the way he wanted it done...
Sponsored Links
    #7  
Old 12-11-2002
BSeanD's Avatar
Registered User
 

Join Date: Aug 2002
Location: Melbourne, Australia
Posts: 127
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Sigh.... It no longer matters, the problem is solved...

I had a power outage and it took a little longer than the UPS's could provide for... My entire home-network performed a shutdown... Most of these machines had been on for as long as one year...

Bye bye uptime...

What a waste...

Thanks to all who replied!
Now thats got to hurt!!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNMOUNT a windows file system big123456 Linux 4 03-03-2008 12:41 AM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 04:11 AM
how do i unmount ? vamshi_k AIX 3 08-29-2005 08:59 AM
issue with unmount /hypercd on AIX 4.3.3.0 ripley AIX 0 03-08-2005 01:50 PM
unmount doesn't work DISTURBED UNIX for Dummies Questions & Answers 2 07-04-2002 06:14 PM



All times are GMT -4. The time now is 11:10 PM.