Operating System - HP-UX
1825704 Members
3207 Online
109686 Solutions
New Discussion

How to delete or unmount when the disk is nolonger exists

 
tom quach_1
Super Advisor

How to delete or unmount when the disk is nolonger exists

Dear,

The disk in my eva3000 went bad, in that disk there were few raid 0 LUNs.
Those LUNs were part of a volume group.
when issues bdf, i still can see the mounting point, but can not access because the disk was not there anymore and cannot unmount it.
I will reboot the box in the next few weeks and it would take care of the problem, but for now is there away to unmount or delete the volume group.

Thanks in advance!
Tom
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: How to delete or unmount when the disk is nolonger exists

Hi Tom,

For 11.23 and 11.31 there is an option to force a umount of a filesystem. Otherwise you will need a reboot, remove the effected filesystem from /etc/fstab and reboot.

# umount -f /mount_point

Regards,
Robert-Jan
Ramesh S
Esteemed Contributor

Re: How to delete or unmount when the disk is nolonger exists

Hi

You could try the following:

# umount -f

# mv /etc/mnttab /etc/mnttab.old

# mount -a


Thanks & Regards

Ramesh
likid0
Honored Contributor

Re: How to delete or unmount when the disk is nolonger exists

And after you umount the FS, if you cant save any data form the vg and want to delete it:

vgchange -a n /dev/yourvg
vgexport /dev/yourvg
Windows?, no thanks
tom quach_1
Super Advisor

Re: How to delete or unmount when the disk is nolonger exists

Thank-you all,

i am using 11.11, so there is no force umount.
my only option is schedule a reboot the server.

Thanks for your helps.
Regards-Tom