Operating System - HP-UX
1832757 Members
2985 Online
110045 Solutions
New Discussion

umount is not working with logical volume file system.

 
jagadevi
New Member

umount is not working with logical volume file system.

Hi,

I am trying to configure an application in a cluster environment for MCSG.

i have two logical volumes /dev/vgshare/u01_share and /dev/vgshare/u02_share.

i have two folders /etc/share1 and /var/share2 which have some files which should be made available on logical volumes.

for this i am doing

mkdir /tmp1
mount /dev/vgshare/u01_share /tmp1
cp -r /etc/share1/* /tmp1
rm -r /etc/share1

now i want to unmounnt /tmp1 and then mount
/dev/vgshare/u01_share on /etc/share1.

but i am not able to unmount /tmp1.

the command is not coming out.




5 REPLIES 5
Geoff Wild
Honored Contributor

Re: umount is not working with logical volume file system.

fuser -cu /tmp1

Anything? if yes, ps -ef the processess, then they have to be killed before you can umount it.

BTW - cp -r doesn't preserve permissions - should have done a cp -rp

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
jagadevi
New Member

Re: umount is not working with logical volume file system.

yes i did but,

fuser -cu /tmp1
/tmp1:

does not return.

thanks i will redo copying once i am able to unmount this.

Thanks,
jag
Geoff Wild
Honored Contributor

Re: umount is not working with logical volume file system.

Okay - can you post the exact error message you are getting when you try to umount /tmp1

Thanks...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
jagadevi
New Member

Re: umount is not working with logical volume file system.

Hi,

I am not getting any error message.The umount command does not return.

I have to do to abort it.

Rgrds,
Jagadevi
Geoff Wild
Honored Contributor

Re: umount is not working with logical volume file system.

Try

umount -f /tmp1


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.