- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to lvremove lvol1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:24 AM
05-20-2003 07:24 AM
I had allready created the volume group and 2 empty lvols.
Now i want to remove the lvols on vg01 then remove the volume group itself so i can start again.
I did a vgremove which worked but when i tried to create a new volume group with lvols it complained that /dev/vg01/lvol1 allready existed.
so i tried lvremove /dev/vg01/lvol1 and received the attached error.
Ta
George
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:29 AM
05-20-2003 07:29 AM
Re: unable to lvremove lvol1
# vgchange -a n /dev/vg01
==> Deactivate it
# vgexport -v /dev/vg01
==> Export it / remove it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:30 AM
05-20-2003 07:30 AM
Re: unable to lvremove lvol1
I would start all over.
First I would do a vgexport of /dev/vg01, then if that is successful I would create everything from scratch.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:32 AM
05-20-2003 07:32 AM
Re: unable to lvremove lvol1
Lack of sunlight is gettinmg to me i think!!
Cheers Guys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:32 AM
05-20-2003 07:32 AM
Re: unable to lvremove lvol1
I agree with Stuart, do a 'vgexport vg01' to completely wipe out vg01.
At that point you will have to start completely over:
# pvcreate -f /dev/dsk/c?t?d?
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c?t?d? /dev/dsk/c?t?d? .....
# lvcreate .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:33 AM
05-20-2003 07:33 AM
Re: unable to lvremove lvol1
since you want to start all over again anyway, I would recommend just getting rid of the Volume Group by doing a :
#vgchange -a n vg01
#vgexport vg01
that way you'll get rid of any reference to vg01 altogether
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2003 07:33 AM
05-20-2003 07:33 AM
Re: unable to lvremove lvol1
You should have used 'lvremove' *first* and then 'vgremove'. Another way to dispose of the volume group, its logical volumes and its device files is to 'vgexport' it.
In this case, remove 'dev/vg01/lvolN' and '/dev/vg01/rlvolN', or 'vgexport' the whole volume group and start from scratch:
# vgexport /dev/vg01
Regards!
...JRF...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 04:01 AM
05-21-2003 04:01 AM