Operating System - HP-UX
1753768 Members
4955 Online
108799 Solutions
New Discussion юеВ

Re: not able to unmount file system

 
Madan Kumar
Occasional Advisor

not able to unmount file system

Hi, I am trying to unmount a filesystem, disk from this VG is missing, now when I have fired umount, my bdf commands gets hanged. whenever i try to kill this process "root 13164 1 0 09:03:06 ?:00 /sbin/fs/vxfs/umount /dev/vgdata_fc03/lvol1 /data_fc03", my kill commands executes but i can still see this process and bdf is still hanging. Please help.
8 REPLIES 8
R.K. #
Honored Contributor

Re: not able to unmount file system

Hi Madan,

>>Disk is missing
How do you come to know about this?

Whats the o/p of umount command?

Can you post :
# vgdisplay -v vg_name
# ioscan -fnC disk
# diskinfo /dev/rdsk/c#t#d#

Regds,
R.K.
Don't fix what ain't broke
Suraj K Sankari
Honored Contributor

Re: not able to unmount file system

Hi,
Did you check your /var/adm/syslog/syslog.log ?
Is there any error there ?

check with this below commands

fuser -cu /your_file_system
fuser -ku /your_file_system
then try to unmount the FS

Suraj
Madan Kumar
Occasional Advisor

Re: not able to unmount file system

Dear friend,
I can see NO_HW output in ioscan and PV status unavailable while running vgdisplay -v vgdata_fc03. I know that lun has been removed becasue it was to be moved but storage guys didnt bothered to ask us and they removed it without deactivating the VG.

Thanks
Madan.
Michal Kapalka (mikap)
Honored Contributor

Re: not able to unmount file system

hi,

if the system is possible to reboot, them uncomment the mounted volume in /etc/fstab and reboot the server.

mikap
SUDHAKAR_18
Trusted Contributor

Re: not able to unmount file system

I think /etc/mnttab to be checked.

Re: not able to unmount file system

>> I can see NO_HW output in ioscan and PV status unavailable while running vgdisplay -v vgdata_fc03. I know that lun has been removed becasue it was to be moved but storage guys didnt bothered to ask us and they removed it without deactivating the VG.

Then a reboot is your *only* option.

You have IO calls that are never going to return... in this situation you cannot ever umount or get rid of the processes and any process that wants to sync filesystems (like bdf) will also hang.

Systems don't react well to having storage ripped out from underneathy them whilst their still using it - this is pretty much the case for any OS, not just HP-UX.

I'd be having some *very* strong words with my storage team abount change control and change management...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Suraj K Sankari
Honored Contributor

Re: not able to unmount file system

Hi,

Then you need a reboot my friend.
but before reboot move your /etc/lvmtab and do a vgscan -v.

Suraj
Madan Kumar
Occasional Advisor

Re: not able to unmount file system

Thanks friends for your kind help.

Regards
Madan.