Operating System - HP-UX
1751703 Members
5546 Online
108781 Solutions
New Discussion юеВ

Re: Can't Umount Business Copy Snapshot

 
gstonian
Trusted Contributor

Can't Umount Business Copy Snapshot

Due to Business Copy snapshot's OVER COMMITing after a disk failure, we had bdf hang on us.
After deleting the failed snapshots and recreating/presenting them (to get rid of the hanging bdf) We now have several Mounted File systems with I/O Errors.
bdf: /u02/oradata/PERFTEST/sredo: I/O error
bdf: /u02/oradata/PERFTEST/redo: I/O error
bdf: /u02/oradata/PERFTEST/ctlfile_2: I/O error
bdf: /u02/oradata/PERFTEST/ctlfile_1: I/O error


Any suggestions on how to unmount them without rebooting ?

Tried umount and vxumount

orion# umount /u02/oradata/PERFTEST/ctlfile_1
umount: cannot unmount /u02/oradata/PERFTEST/ctlfile_1 : I/O error
umount: return error 1.
orion# /sbin/fs/vxfs/vxumount -o force /u02/oradata/PERFTEST/ctlfile_1
vxfs vxumount: cannot set force unmount for /u02/oradata/PERFTEST/ctlfile_1: I/O error


Also tried removing entries from /etc/fstab and renaming /etc/mnttab and intiiating a mount -a

Nothing seems to allow me to get rid of these file systems

Please Help !!!!
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: Can't Umount Business Copy Snapshot

What HP-UX version are you using? Newer versions have "umount -f".
gstonian
Trusted Contributor

Re: Can't Umount Business Copy Snapshot

Sorry we're running V11.23

umount -f isn't an option at our current level - I just tried it.

I also tried editing the mnttab directly and removing the affected file system and it would disappear from bdf briefly but the mount point would then re-appear after a few seconds with the same error.
Dennis Handly
Acclaimed Contributor

Re: Can't Umount Business Copy Snapshot

>umount -f isn't an option at our current level - I just tried it.

Hmm, PHKL_31500 says it provides that option.

>I also tried editing the mnttab directly

mnttab is a write only file from the kernel's standpoint, it's only for humans.
gstonian
Trusted Contributor

Re: Can't Umount Business Copy Snapshot

Strange - we have 31500 installed

orion# swlist -v | grep 31500
contents PHKL_31500,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP
contents PHKL_31500,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP
contents PHKL_31500,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP
contents PHKL_31500,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP
contents PHKL_31500,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP


But when I try the umount -f I get :

orion# umount -f /u02/oradata/PERFTEST/ctlfile_1
usage: umount [-V] [-v] { special | directory }
umount [-F FStype] [-v] -a
umount: return error 1.
gstonian
Trusted Contributor

Re: Can't Umount Business Copy Snapshot

Had to reboot in the end....
Viktor Balogh
Honored Contributor

Re: Can't Umount Business Copy Snapshot

>Hmm, PHKL_31500 says it provides that option.

We had a similar problem with 11iv2 and PHKL_31500 uninstalled - either way, we needed to reboot the machine (patch requires a reboot too)
****
Unix operates with beer.