[HPADM] Problem with filesystem which can't be unmounted



I have a bit of a problem which I'd be interested to know if there's a
solution which doesn't require a reboot.

Basically I had a volume group with a single filesystem which was only
temporary but is now causing a problem.

It was using SAN attached LUNs for physical Volumes. The devices for
these LUNs have since changed due to a SAN switch change and now I have
a filesystem which the server still thinks is mounted (exists in mnttab)
and a volume group which is still active but I can't:

unmount the filesystem or
deactivate the volume group or
export the volume group

This problem is causing bdf's to hang and if I try anything I get the
message "Warning: couldn't query physical volume" etc....

I understand WHY it's happened and I am assuming a reboot would remove
the filesystem from the mount table and then allow me to deactivate or
export the volume group but is there another way I can remove a
filesystem from mnttab ? I am guessing you cannot just edit this file.

Any ideas?

Cheers,
Nick.


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Relevant Pages

  • Re: df & du showing different usages for /var
    ... Filesystem Size Used Avail Capacity Mounted on ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
    (freebsd-questions)
  • Re: df & du showing different usages for /var
    ... Filesystem Size Used Avail Capacity Mounted on ... If you mean fix du and dh, there's nothing to fix, they're doing their ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
    (freebsd-questions)
  • Re: [Ext2-devel] Re: [RFD] FS behavior (I/O failure) in kernel summit
    ... >>it is regarding specified error conditions. ... However given the existence of USB drives and CDROMs with scratches I ... >users to read from rest of filesystem than to just reboot the node. ...
    (Linux-Kernel)
  • Re: prevent fs check after being up for a long time
    ... Issue was that i was told that as a particular filesystem has not been ... Another solution when you are going to reboot the system ... remount the file system 'read-only' and do a quicky fsck. ... Even the virtually unsupported RH9 has had two kernel errata ...
    (linux.redhat)
  • Re: Some Contents Unreadable" error still exists after checking HDD
    ... Rajev Mhasawade wrote: ... > I did use shutdown now -Fr command and it checked filesystem after ... and then reboot your computer. ... to mount a partition created in FC3 in an installation that came out ...
    (Fedora)