- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot remove LV??
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
09-28-2001 06:17 AM
09-28-2001 06:17 AM
For various reasons, I needed the make_tape_recovery to fit on one tape, so I excluded the home LV since it was rather large and could be re-created later. The restore of the image went fine. I then created vg01 on the second disk, which also went fine. The problem is that when I try to re-create the LV for the home FS, it errors out because it thinks the LV already exists. When I try to delete /dev/vg01/lvol1, it also errors out saying "The supplied minor number refers to a non-existent logical volume"
I'v also tried lvremove -f /dev/vg01/lvol1 from the command line, but get the same type of error.
How can I remove all traces of the /dev/vg01/lvol1 so I can re-add it again properly?
Thanks again,
Greg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 06:25 AM
09-28-2001 06:25 AM
Re: Cannot remove LV??
Run vgexport /dev/vg01. That will generally wipe that puppy out.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 06:27 AM
09-28-2001 06:27 AM
Re: Cannot remove LV??
'vgexport' /dev/vg01. Then simply recreate it from scratch.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 06:40 AM
09-28-2001 06:40 AM
Re: Cannot remove LV??
If nothing else is in same VG, try exporting out the VG.
Thsnk.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 06:41 AM
09-28-2001 06:41 AM
Re: Cannot remove LV??
cd /dev/vg01
mknod lvol1 b 64 0x0?0001 (check the group file for the value of ?)
mknod rlvol1 c 64 0x0?0001
You can do lvremove /dev/vg01/lvol1 now.
If you don't have anything in the volume group, then the simplest way is to export.
vgexport vg01.
Then recreate it fresh.
-Sri