Operating System - HP-UX
1834750 Members
3110 Online
110070 Solutions
New Discussion

/dev/somevg/lvol1 mounted on /dev/somevg: how to unmount

 
SOLVED
Go to solution
Peterstoops
Occasional Contributor

/dev/somevg/lvol1 mounted on /dev/somevg: how to unmount

Hi,

 

As a result of a copy/past error, we find ourselves in a tricky situation:

/dev/somevg/lvol1 got mounted on /dev/somevg, and now it is impossible to unmount, because it cannot find /dev/somevg/lvol1.

 

As HP-UX cannot "force-unmount" filesystems, does anyone has ideas how to resolve, besides rebooting?

 

Thanks already!

 

Rgds,

Peter

1 REPLY 1
Peterstoops
Occasional Contributor
Solution

Re: /dev/somevg/lvol1 mounted on /dev/somevg: how to unmount

Hi,

 

I found a solution myself by tricking LVM:

cd /dev/somevg

mknod group c 64 0x4a0000

mknod lvol1 c 64 0x4a00001

mknod rlvol1 b 64 0x4a00001

 

cd ../

umount /dev/somevg

 

Success!