Operating System - HP-UX
1754333 Members
3181 Online
108813 Solutions
New Discussion юеВ

Unable to unmount a filesystem.

 
James Hunt
Advisor

Unable to unmount a filesystem.

I am unable to mount a filesystem. I get the error:
umount: cannot unmount 'filesystem name' : Block device required
umount: return error 1.

I have checked the mnttab and it all looks ok. I have copied away the mnttab, remounted ( via mount -a ) and the mnttab has been recreated identically. Still unable to unmount.
I have checked that there are 'r' & 'c' device files for this filesystem and there are. The fstab looks as expected.

The fuser -u shows no users on the filesystem. There are no filesystem mounted below.

I am stumped. Can anyone help?

many thanks.
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Unable to unmount a filesystem.

Shalom,

/etc/mnttab controls nothing.

Check /etc/fstab for bad entires.

The message indicates a problem in that file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James Hunt
Advisor

Re: Unable to unmount a filesystem.


The /etc/fstab looks as I would expect. No obvious spelling/typos.
The mount -a didn't error. Wouldn't this have errored if there was a typo?
Ludovic Derlyn
Esteemed Contributor

Re: Unable to unmount a filesystem.

hi

I have had this error, and newfs has not executed....

Execute your newfs and it's will be fine

Regards

L-DERLYN
Wouter Jagers
Honored Contributor

Re: Unable to unmount a filesystem.

Check out this thread, who knows it's something similar:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=727099

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Ludovic Derlyn
Esteemed Contributor

Re: Unable to unmount a filesystem.

Sorry

I have read mount problem not umount

Sorry
James Hunt
Advisor

Re: Unable to unmount a filesystem.

Wouter. Thanks for that link. It looks a little similar.

I did ther 'find / -type M' and it showed an extra mountpoint. I have tried unmounting this mountpoint but, it won't beacause there's no entry anywhere to suggest it exists. There are empty dirs beneath this mountpoint but I am unable to remove them - because they are mounpoints!

There's no entry for this extra mountpoint in either mnttab or fstab. So, I'm thinking of a reboot to see if it comes back - or has somehow been created manually since the last reboot.

Would this make sense? or can I avoid the reboot somehow?

thanks again. Your help is really appreciated.
James Hunt
Advisor

Re: Unable to unmount a filesystem.


I've rebooted the server and all is now well.

I've also completely removed the 'rougue mountpoint' - this time there was no problem removing the dirs.

Still no wiser as to why it occurred but pleased that it's gone now.

Thanks all for your time & effort.
ps669e
Occasional Visitor

Re: Unable to unmount a filesystem.

Hi,

use vxumount -o force /mount_point to unmount FS which is showing device busy and fuser is not showing any process.vxumount only work with upper version of vxfs.

 

 

Thanks

prakash