- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error unmounting file system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 01:14 AM
11-29-2006 01:14 AM
Error unmounting file system
I assume it comes from the kernal. Is there a way to flush this.
I know a re-boot will solve this but there is too much at stake to call for a re-boot.
SAM & Veritas ADm gui give me the Block Device error.
The file system is empty & I want to get rid of it so I can put a new volume on this DG.
Can anyone see a problem in the following:-
hcp1 / # umount /u/oradata/unel/arch
umount: cannot unmount /u/oradata/unel/arch : Block device required
umount: return error 1.
hcp1 / # umount /dev/vx/dsk/uneldg/unelarchvol01
umount: cannot unmount /u/oradata/unel/arch : Block device required
umount: return error 1.
hcp1 / # hcp1 / # umount /dev/vx/rdsk/uneldg/unelarchvol01
umount: cannot find /dev/vx/rdsk/uneldg/unelarchvol01 in /etc/mnttab
cannot unmount /dev/vx/rdsk/uneldg/unelarchvol01
hcp1 / # vxumount -F vxfs -o force /dev/vx/dsk/uneldg/unelarchvol01
vxfs vxumount: cannot set force unmount for /u/oradata/unel/arch: Invalid argument
hcp1 / # vxumount -F vxfs /dev/vx/dsk/uneldg/unelarchvol01
umount: cannot unmount /u/oradata/unel/arch : Block device required
umount: return error 1.
hcp1 / # grep unel /etc/mnttab
/dev/vx/dsk/uneldg/unelarchvol01 /u/oradata/unel/arch vxfs ioerror=mwdisable,qio,delaylog 0 1 1164621836
hcp1 / # bdf|grep unel
/dev/vx/dsk/uneldg/unelarchvol01
32768000 11768842 19699220 37% /u/oradata/unel/arch
hcp1 / # ll /dev/vx/dsk/uneldg/
total 0
brw------- 1 root sys 2 0x45ee59 Nov 29 11:21 unelarchvol01
hcp1 / # ll /dev/vx/rdsk/uneldg/
total 0
crw------- 1 root sys 61 0x45ee59 Nov 29 12:24 unelarchvol01
hcp1 / # fsck /dev/vx/dsk/uneldg/unelarchvol01
fsck: /etc/default/fs is used for determining the file system type
file system is clean - log replay is not required
hcp1 / # fsck -F vxfs -m /dev/vx/rdsk/uneldg/unelarchvol01
vxfs fsck: sanity check: /dev/vx/rdsk/uneldg/unelarchvol01 OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 01:21 AM
11-29-2006 01:21 AM
Re: Error unmounting file system
1) Something or daemon or process is keeping the mount point active so it will not umount.
2) Don't run fsck on a filesystem that is mounted, this can destry it.
Best bet: modify /etc/fstab boot the box then do the work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 01:39 AM
11-29-2006 01:39 AM
Re: Error unmounting file system
# fuser -cu /mount_point
# kill -9 pid
Regarding your /etc/mnttab file being out of sync with your /etc/fstab file or bdf report, rename /etc/mnttab and make a new one this way:
# mv /etc/mnttab /etc/mnttab.old
# mount -a
Note: Don't edit /etc/mnttab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2006 12:48 AM
11-30-2006 12:48 AM
Re: Error unmounting file system
I have deleted /etc/mnntab and mount -a recreates it with the unwanted entry.
I think that the file is open but I can't see by what or where. The below comes back empty:-
hcp1 / # fuser -cu /u/oradata/unel/arch
/u/oradata/unel/arch:
hcp1 / # lsof /u/oradata/unel/arch
hcp1 / #
I think the solution lies in one of:-
- Force close the file and destroys
- Create a new Block Device (not sure where or how)
- Clear the mount point from the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2006 01:43 AM
11-30-2006 01:43 AM
Re: Error unmounting file system
Just check for any oracle(archive) rogue process running on the system, try top or ps -ef |grep arc.
That may be doing all these junk work. If you have a cluster try to move the package to other system and see if you can unmount it.
If not the only option is reboot.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2006 07:43 PM
11-30-2006 07:43 PM
Re: Error unmounting file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2006 07:55 PM
11-30-2006 07:55 PM
Re: Error unmounting file system
can you try to rename it before retrying?
mv /u/oradata/unel/arch /u/oradata/unel/arch2
hope this helps!
kind regards
yogeeraj