- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg00:one disk failed, and some LVs on it not mirro...
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
Discussions
Discussions
Forums
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
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
тАО05-24-2010 11:35 AM
тАО05-24-2010 11:35 AM
I've got a situation, there were two disks in vg00, and os based LVs were all mirrored, but others were not, somes were even cross two disks. now one disk failed, the LVs on it could not access the filesystem on it hung. I reboot the system using alternate disk, how could I remove the non-mirrored LVs(on the failed disk and across two disks) to clear the configuration of vg00. I tried to run lvremove, it posted:
lvremove: Couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
thanks a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 12:03 PM
тАО05-24-2010 12:03 PM
Re: vg00:one disk failed, and some LVs on it not mirrored.
#vgcfgrestore -n vg00
#recover the FS data from backup..
or you have no intention to replace the failed disk...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 12:11 PM
тАО05-24-2010 12:11 PM
Re: vg00:one disk failed, and some LVs on it not mirrored.
1, why those massive LVs could be lvremove after vgscan?
2, how to tune the status of root LVs to sync?
could someone please explain these to me? thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 11:11 PM
тАО05-24-2010 11:11 PM
Re: vg00:one disk failed, and some LVs on it not mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 11:41 PM
тАО05-24-2010 11:41 PM
Solution#lvdisplay -v -k /dev/vg00/lvol1
#lvreduce -k -m 0 /dev/vg00/lvol1 1 (Substitute 1 with stale key in your case)
#vgreduce -f vg00
#mv /etc/lvmtab /etc/lvmtab.org
#vgscan -v
#vgchange -a y
#lvlnboot -R
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 12:27 AM
тАО05-25-2010 12:27 AM
Re: vg00:one disk failed, and some LVs on it not mirrored.
Take a look at this document from HP:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 12:51 AM
тАО05-25-2010 12:51 AM
Re: vg00:one disk failed, and some LVs on it not mirrored.
I don't know whether the definition of "ghost disk" at the WP fit my situation. At WP, /etc/lvmtab still contains the failed disk, but in my situation, /etc/lvmtab does not contain the failed disk, could I lvreduce those LVs still ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 01:13 AM
тАО05-25-2010 01:13 AM
Re: vg00:one disk failed, and some LVs on it not mirrored.
If your disk is completely dead (it does not appear neither in lvmtab, nor in vgdisplay -v vg00 - pvdisplay -diskinfo, you can replace it (if it is hot swappable) and do the vgcfgrestore and further steps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 01:37 AM
тАО05-25-2010 01:37 AM
Re: vg00:one disk failed, and some LVs on it not mirrored.
how can I vgcfgrestore a pv to a vg when this pv is not in /etc/lvmtab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 01:41 AM
тАО05-25-2010 01:41 AM
Re: vg00:one disk failed, and some LVs on it not mirrored.
If you cannot vgcfgrestore, you always can vgextend the disk and re-mirror the lvols with lvextend.
Regards,