- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk showing as NO_HW in 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
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
тАО11-15-2005 04:55 AM
тАО11-15-2005 04:55 AM
The LV is working fine without any errors so I am assumming that the disk did not have any data allocated to it yet. Is there a way to verify this before I replace it ?
And what would the steps be to remove it from the Logical Volume, and Volume Group before replacing it ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:11 AM
тАО11-15-2005 05:11 AM
SolutionI'm not sure what "the LV is working fine without any errors" means when combined with your NO_HW.
In any event, you replace the drive, run an ioscan -fn to see if the disk is visible, and then run insf to replace the device nodes. Do another ioscan -fn and now you should see "CLAIMED" and device nodes should be associated with the disk.
You don't need to remove the VG or LVOL but
vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtYdZ
vgchange -a y /dev/vgXX
That should have you. These step assume that this LVOL was not mirrored.
Search docs.hp.com for "Procedure for replacing an LVM disk" and you should find all the possible permutations and combinations of disk replacement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:12 AM
тАО11-15-2005 05:12 AM
Re: Disk showing as NO_HW in Volume Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:16 AM
тАО11-15-2005 05:16 AM
Re: Disk showing as NO_HW in Volume Group
Check if the pv state is 'unavailable' already, it ought to be.
Next, before further action do:
lvdisplay -v /dev/vgNN/lv* | grep -ic stale
this has to return '0', otherwise You should consider some method of data recovery (ranging from carefully re-seating the disk to searching out Your tapes ;)
if the disk is still marked available and no Stale PE exist, then You can mark the LV as dead using pvchange -u /dev/dsk/cXtYdZ (only availabe in HP-UX 11.11 and above)
Also search for the LVM manual 'when good disks go bad' that was posted here a few months ago.
In the good case the next step is removing the disk and restoring the vg header to it.
In the bad case You'll have to umount all lv's, vgchange -a n /dev/vgNN and vgchange -a y /dev/vgNN the vg, and then vgreduce -u /dev/vgNN /dev/dsk/cXtYdZ.
And, last, but not least, You should do some forensics in the EMS logs as to how and when the disks died.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:18 AM
тАО11-15-2005 05:18 AM
Re: Disk showing as NO_HW in Volume Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:26 AM
тАО11-15-2005 05:26 AM
Re: Disk showing as NO_HW in Volume Group
[/root]:=>lvdisplay -v /dev/vgign1/ignitelv |grep -ic stale
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
0
[/root]:=>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:31 AM
тАО11-15-2005 05:31 AM
Re: Disk showing as NO_HW in Volume Group
I did have the same thing happen to a disk that was sitting in a bad spot in a JBOD.
Same results except no need to spend any money replacing the disk, it was perfectly fine in another slot.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 07:40 AM
тАО11-15-2005 07:40 AM