- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem removing a LV located in disks that were r...
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
04-01-2009 09:15 AM
04-01-2009 09:15 AM
Hi,
By mistake, an EVA-exported disk was removed before lvremoving & vgreducing it in the O.S. (HP-UX 11v23).
When we tried to remove the logical volume that contained that physical disk, we got the following error:
# lvremove /dev/vg06/lvol1
Current path "/dev/dsk/c3t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t0d2" is an alternate link, skip.
Current path "/dev/dsk/c5t0d2" is an alternate link, skip.
Current path "/dev/dsk/c6t0d2" is an alternate link, skip.
Current path "/dev/dsk/c7t0d2" is an alternate link, skip.
Current path "/dev/dsk/c8t0d2" is an alternate link, skip.
Current path "/dev/dsk/c9t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t1d2" is an alternate link, skip.
Current path "/dev/dsk/c6t1d2" is an alternate link, skip.
Current path "/dev/dsk/c8t1d2" is an alternate link, skip.
The logical volume "/dev/vg06/lvol1" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg06/lvol1" has been successfully removed.
vgcfgbackup: Unable to read the physical volume.: Device busy
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c2t0d2
If I do an "vgdisplay", I can see that the LV has been removed, but I can still see the old "Physical Volumes" (the PVs of the EVA disk that was removed from the EVA).
Is it safe to do an "vgreduce" command for the missing disk and its alternate paths and the "rmsf -a" of the device files?
How do I fix the "vgcfgbackup" error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 09:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:06 AM
04-01-2009 10:06 AM
Re: Problem removing a LV located in disks that were removed from an EVA
I didn't work. I did "vgreduce -f vg06" and the PV still appear in vgdisplay, although they are marked as "Unavailable".
"vgreducing" all the /dev/dsk/xxxxx files worked for the "alternate paths" and the primary path.
Thanks a lot for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:13 AM
04-01-2009 10:13 AM
Re: Problem removing a LV located in disks that were removed from an EVA
Try this,
# vgreduce -l
# vgreduce -l /dev/vg01 /dev/dsk/c1t2d0
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:14 AM
04-01-2009 10:14 AM
Re: Problem removing a LV located in disks that were removed from an EVA
"vgreducing" all the physical paths from the VG solved the problem.