- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Could not delete 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
11-06-2008 09:20 PM
11-06-2008 09:20 PM
Could not delete Logical Volumes
When i issue the lvremove command get the following error.
#lvremove -f /dev/vg08/lvol1
lvremove: Couldn't delete logical volume "/dev/vg08/lvol1":
No such device or address
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c1t2d0
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 09:26 PM
11-06-2008 09:26 PM
Re: Could not delete Logical Volumes
Please can you post the following outputs as well.
vgdisplay /dev/vg08
lvdisplay -v /dev/vg08/lvol1 | head -30
ll /dev/vg08/lvol1
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 09:31 PM
11-06-2008 09:31 PM
Re: Could not delete Logical Volumes
vgdisplay -v /dev/vg08 --> can please check /dev/vg08/lvol8 does present ..?
or if vgdisplay doesn't show up any thing , we can try to activate the vg08
vgchange -a y /dev/vg08
vgdisplay -v /dev/vg08 |more again look for lovl8 present.?
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 09:58 PM
11-06-2008 09:58 PM
Re: Could not delete Logical Volumes
Below are the outputs
# vgdisplay /dev/vg08
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg08".
# cd /dev/vg08
# ls -lt
total 0
brw-r----- 1 root sys 64 0x080001 Oct 28 15:49 lvol1
crw-r----- 1 root sys 64 0x080001 Oct 28 15:49 rlvol1
crw-r--r-- 1 root sys 64 0x080000 Oct 28 15:46 group
# lvdisplay /dev/vg08/lvol1
lvdisplay: Couldn't query logical volume "/dev/vg08/lvol1":
Volume group not activated.
lvdisplay: Cannot display logical volume "/dev/vg08/lvol1".
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 10:09 PM
11-06-2008 10:09 PM
Re: Could not delete Logical Volumes
the VG must be activated first:
# vgchange -a y vg08
If LVOL1 is the only LVOL in this group and you want to get rid of the whole VG, consider to use vgexport and export the vg08.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 10:11 PM
11-06-2008 10:11 PM
Re: Could not delete Logical Volumes
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg08".<<<
the above output show "vg08 not activated"
vgchange -a y /dev/vg08 --> activate the vg08 and post the output, after that lvdisplay /dev/vg08/lvol1 -> output,
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 06:49 AM
11-07-2008 06:49 AM
Re: Could not delete Logical Volumes
You VG is not activated, hence any action related to lvol removal wont be allowed.
If you want to delete the lvol1, then please activate the vg08 first and then lvremove the lvol1.
As Torsten suggested - if you want to remove the whole vg, then you need not activate the vg, you can simply export it by vgexport /dev/vg08 .
Regards,
Ninad