- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem after deleting logical volumes
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
01-29-2002 01:12 AM
01-29-2002 01:12 AM
I have accidently deleted logical volumes from a volume group using rm instead of lvremove.
Now, I cannot delete the volume group as SAM says that the volume group has logical volumes. But none of them are being shown.
Any solution?
TIA.
Jaffar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:17 AM
01-29-2002 01:17 AM
Re: Problem after deleting logical volumes
After this I did an rm /dev/vg02 also!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:35 AM
01-29-2002 01:35 AM
Re: Problem after deleting logical volumes
See "man vgimport".
Hardy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:55 AM
01-29-2002 01:55 AM
Re: Problem after deleting logical volumes
But that would require me to have a previously exported one, right?
I don't have a mapfile that is required for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:10 AM
01-29-2002 02:10 AM
SolutionYou don't need any mapfile to imprt your vg :
# mkdir /dev/vg02
# mknod /dev/vg02/group c 64 0x0.....
# vgimport -v vg02 /dev/dsk/cxtydz
where /dev/dsk/cxtydz is the path of the vg02 disk.
As you can't use a mapfile the lv will be named lvol1, lvol2...
Then you will be able to lvremove and vgremove your vg.
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 02:31 AM
01-29-2002 02:31 AM
Re: Problem after deleting logical volumes
The import worked and I was able to go ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 11:45 AM
02-01-2002 11:45 AM
Re: Problem after deleting logical volumes
Since your intention was to remove the VG finally, you could have just done a vgexport $VG_NAME. This would remove all references to the VG and any LVs associated with this VG from your system and also delete the /dev/VG_NAME directory.
To use the same PVs again, do a pvcreate with -f option to overwrite the previous VG information on the disks.