Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

remove lvol1

Shehan
Super Advisor

remove lvol1

Hi All


I have create /dev/vg05/lvol1 logical volume. It has been mounted in /test . Now I need to remove the lvol1 from the vg05.Please help me to remove it.


Thanks
Niru
6 REPLIES
Hasan Atasoy
Honored Contributor

Re: remove lvol1

hi niru

umount /test
lvremove /dev/vg05/lvol1

Hasan.
Kapil Jha
Honored Contributor

Re: remove lvol1

logical volume can not be removed while it is open.So
#umount /test
#lvremove -f /dev/vg05/lvol
-f to avoid confirmation message ;)
#vi /etc/fstab
remove logical volume entryfrom fstab file to avoid error in next reboot.
#vgdisplay -v vg05
to check
Thats All!!!!
BR,
Kapil
I am in this small bowl, I wane see the real world......
Shrikant Lavhate
Esteemed Contributor

Re: remove lvol1

Hi,

If its flashing some error during umount execution then kill all processes on this volume by:

#fuser -ku /test

And then follow the procedure given above.
Will it remain a personal, if I broadcast it here!
Shrikant Lavhate
Esteemed Contributor

Re: remove lvol1

Nirukshitha,

Your profile shows:
I have assigned points to 2 of 99 responses to my questions. :o

Consider assigning points for helpful replies.
Will it remain a personal, if I broadcast it here!
Torsten.
Acclaimed Contributor

Re: remove lvol1

Please read this now:

http://forums12.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sajjad Sahir
Honored Contributor

Re: remove lvol1

It is very simple

first u have to unmount the file system

after that u can remove the logical volume.

sajjad