1752762 Members
5219 Online
108789 Solutions
New Discussion юеВ

bdf hanging

 
SOLVED
Go to solution
manaz
Occasional Contributor

bdf hanging

Dear Folks,
let me thanks for all the comments and help send to me previously.my question for today is.

a EVA storage disk by the storage team was released from a NFS before unmounting and exporting the file system. i guess the syntax that needed to be executed before releasing the disk as below was planned

1)lsof /xxx
2) umount the file system
umount /xxx
3)vgchange -a n /dev/yyy
4)vgexport -m filename -s -p -v yyy
5)pvremove /dev/rdsk/zzz
6) remove the entry from /etc/fstab
/dev/yyy/lvol1 /xxx vxfs delaylog,largefiles,nodatainlog 0 2
7) rmsf -H

so wat do i do to bring the system back to stability and bdf should execute instead of hanging from the filesystem, which was released from the disk? thanks in advance
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: bdf hanging

The only way I've ever gotten out of this was to reboot. Newer versions (11.31?) may have a force option to the umount command, though. You should check the man page for umount.


Pete

Pete
Johnson Punniyalingam
Honored Contributor
Solution

Re: bdf hanging

how about /etc/exports ??
have remove "entries" also from them >>????

if still "bdf" hangs

# mv /etc/mnttab /etc/mnttab
# mount -a
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: bdf hanging

>Johnson: how about /etc/exports?

Yes, you would have to "exportfs -u" or unshare(1m) to stop exporting them. And remove them from that file.

>if still bdf hangs: # mv /etc/mnttab /etc/mnttab; mount -a

I doubt this will help since it needs to be unmounted.

manaz
Occasional Contributor

Re: bdf hanging

none of the above helped guys, tried mv the etc/mnttab, commented the etc/export, but nope, still bdf hangs when reading the file system.
Pete Randall
Outstanding Contributor

Re: bdf hanging

>none of the above worked

????rebooting didn't work????


Pete

Pete
Kapil Jha
Honored Contributor

Re: bdf hanging

if you sure it did not work, tried to forcefully umount if it exist in /etc/mnttab by
umount -f or vxumount (doubt NFS would umount)

u can unshare and then clear the nfs locks..with
clear_locks server_name
clear_locks -s server_name

then run bdf.

Reboot would always work :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
manaz
Occasional Contributor

Re: bdf hanging

Thanks folks, it worked after forced unmounting the file system and mounted all after moving the mnttab.
Kapil Jha
Honored Contributor

Re: bdf hanging

Its good to assign points to all who spare time to help you out :)

http://forums11.itrc.hp.com/service/forums/publicProfile.do?userId=WW362189&forumId=1

PS:I have assigned points to 0 of 7 responses to my questions.

BR,
Kapil+
I am in this small bowl, I wane see the real world......