Operating System - HP-UX
1832566 Members
5423 Online
110043 Solutions
New Discussion

how to remove raw logical volume

 
M.sureshkumar
Regular Advisor

how to remove raw logical volume

HI All,

How to remove raw logical volume (dev/vg00/raw1) in hp unix.
I sucessfully created raw logical volume but i can not remove that raw logical volume and i can remome raw logical volume in SAM only.
Pls give the command prompt syntax for removing raw logical volume in hp unix.

Regards,
Suresh.
4 REPLIES 4
Sunil Sharma_1
Honored Contributor

Re: how to remove raw logical volume

Suresh,

#lvremove /dev/vg00/aw1

make sure you have backup of your data in raw volume.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
M.sureshkumar
Regular Advisor

Re: how to remove raw logical volume

Hi Sunil,
I used ur command, i can't remove raw logical volume.
Any force command is available.

Regards,
Suresh.
Peter Godron
Honored Contributor

Re: how to remove raw logical volume

Suresh,
you write you can not remove the lvol. When you run the lvremove what error message are you getting? I assume the lvol is not in use when you try to remove it.
Regards
Sunil Sharma_1
Honored Contributor

Re: how to remove raw logical volume

what errore comes when you try to remove raw volume using lvremove ?

you can use -f option but this may not help much.

post the output of

#ll /dev/vg00

sunil
*** Dream as if you'll live forever. Live as if you'll die today ***