- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing physical volume from volume group
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-31-2007 06:19 AM
01-31-2007 06:19 AM
removing physical volume from volume group
Warning: Couldn't query physical volume "/dev/dsk/c0t2d0": The specified path does not correspond to physical volume attached to this volume group.
Does anyone know how to correct this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 06:42 AM
01-31-2007 06:42 AM
Re: removing physical volume from volume group
lvreduce -k ?
" -k This option should be used only in the special instance when you want to reduce a mirrored logical volume on a physical volume that is missing or has failed."
And you probably would want to
mv /etc/lvmtab away to /etc/lvmtab.old
and run vgscan to create a fresh /etc/lvmtab.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 06:53 AM
01-31-2007 06:53 AM
Re: removing physical volume from volume group
Physical extents on remaining physical volumes are stale or remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on the logical volume "/dev/vg00/lvol6".
If I try to do the lvreduce AFTER I move the /etc/lvmtab to /etc/lvmtab.old, I get an error that it can't find the /etc/lvmtab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 06:58 AM
01-31-2007 06:58 AM
Re: removing physical volume from volume group
lvreduce -m 0 /dev/vg01/lvolX /dev/dsk/cXtXdX
and after that use lvreduce/vreduce
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 06:59 AM
01-31-2007 06:59 AM
Re: removing physical volume from volume group
> If I try to do the lvreduce AFTER I move the /etc/lvmtab to /etc/lvmtab.old, I get an error that it can't find the /etc/lvmtab.
You need to rebuild a valid '/etc/lvmtab' with 'vgscan'. Do:
# vgscan -a -v
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 07:32 AM
01-31-2007 07:32 AM
Re: removing physical volume from volume group
But, the lvdisplay shows that status of the second physical extent is stale (those extents that were mirrored on the bad disk). If I try the lvreduce -m 0 -k /dev/vg00/lvol6 /dev/dsk/c0t2d0, for example, then I get the following error:
Physical extents on remaining physical volumes are stale or remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on the logical volume "/dev/vg00/lvol6"
It seems like that command should work but it doesn't. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 07:39 AM
01-31-2007 07:39 AM
Re: removing physical volume from volume group
As Hein originally noted, use the '-k' option of 'lvreduce'. See its manpages and those of 'lvdisplay' for the details of using the 'pv_key'.
This is also discussed in this guide:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 08:10 AM
01-31-2007 08:10 AM