- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A disk from one vg is "NO_HW" from "ioscan -funC d...
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
03-29-2006 08:53 PM
03-29-2006 08:53 PM
root@myhpux[/]#strings /etc/lvmtab
.
.
.
.
/dev/vg05
/dev/dsk/c0t9d0
/dev/dsk/c0t11d0
/dev/dsk/c0t12d0
/dev/dsk/c0t13d0
/dev/dsk/c0t14d0
/dev/dsk/c0t15d0
and here is my ioscan -funC disk
.
.
.
disk 9 10/0.14.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t14d0 /dev/rdsk/c0t14d0
disk 10 10/0.15.0 sdisk NO_HW DEVICE SEAGATE ST318436LC
/dev/dsk/c0t15d0 /dev/rdsk/c0t15d0
disk 6 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
So the vg in question is vg05 and the missing disk is /dev/dsk/c0t15d0. So here is my vgdisplay -v for vg05
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg05
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 18
Open LV 18
Max PV 16
Cur PV 6
Act PV 5
Max PE per PV 4342
VGDA 10
PE Size (Mbytes) 4
Total PE 8432
Alloc PE 8432
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg05/lvol1
LV Status available/syncd
LV Size (Mbytes) 2700
Current LE 675
Allocated PE 675
Used PV 1
LV Name /dev/vg05/lvol2
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 2
LV Name /dev/vg05/lvol3
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol4
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 2
LV Name /dev/vg05/lvol5
LV Status available/syncd
LV Size (Mbytes) 2700
Current LE 675
Allocated PE 675
Used PV 2
LV Name /dev/vg05/lvol6
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol7
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 2
LV Name /dev/vg05/lvol8
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol9
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol10
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol11
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol12
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol13
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol14
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 600
Allocated PE 600
Used PV 1
LV Name /dev/vg05/lvol15
LV Status available/syncd
LV Size (Mbytes) 4752
Current LE 1188
Allocated PE 1188
Used PV 0
LV Name /dev/vg05/lvol16
LV Status available/syncd
LV Size (Mbytes) 3500
Current LE 875
Allocated PE 875
Used PV 0
LV Name /dev/vg05/lvol17
LV Status available/syncd
LV Size (Mbytes) 3500
Current LE 875
Allocated PE 875
Used PV 0
LV Name /dev/vg05/lvol18
LV Status available/syncd
LV Size (Mbytes) 5136
Current LE 1284
Allocated PE 1284
Used PV 0
--- Physical volumes ---
PV Name /dev/dsk/c0t9d0
PV Status available
Total PE 1023
Free PE 0
PV Name /dev/dsk/c0t11d0
PV Status available
Total PE 1023
Free PE 0
PV Name /dev/dsk/c0t12d0
PV Status available
Total PE 1023
Free PE 0
PV Name /dev/dsk/c0t13d0
PV Status available
Total PE 1023
Free PE 0
PV Name /dev/dsk/c0t14d0
PV Status available
Total PE 4340
Free PE 0
I'm doomed ain't I? How can I salvage the data in /dev/dsk/c0t15d0? Is the other data in other lvm still usable?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 08:57 PM
03-29-2006 08:57 PM
SolutionAll other data is still very well usable but as the disk is showing NO_HW in ioscan it will be not possible to recover data unless the LVOLs in it were mirrored. This you can confirm by
#lvdisplay -v /dev/vg05/lvol*
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 08:58 PM
03-29-2006 08:58 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
If not, do you have a good backup?
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 11:28 PM
03-29-2006 11:28 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
Hi Mohammad,
normally NO_HW means the disk in not responding at all, as suggested you can refix if it is a hotswap and run #ioscan again. If it gets claimed you can deactivate and activate the vg.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 11:48 PM
03-29-2006 11:48 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
welcome to ITRC forum.
From the man ioscan:
NO_HW the hardware at this address is no longer responding
So the disk should be checked (connection, terminator and so on...)
Hope you have a good backup.
When you solve your problem don't forget to assign points...this is a great feature of this forum. Thanks for your collaboration!
Regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 12:40 AM
03-30-2006 12:40 AM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
Go and reach the host, and check that particular address if feasible.. That disk would have LED not blinking or contineously on, you can take disk off if it is hot swappable and push it back and see what it does (It might start working again)..
On the host you can check
dmesh & see what errors are shown, check for pvdisplay of this device, it will show not available, but it can show what VG it belonged too..
If it is part of mirror, you are safe, or else some file system is screwed...
run mount -a & check for cannot mount errors..
Call HP CE if you come to know that disk is bad..
Good luk
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 12:45 AM
03-30-2006 12:45 AM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
welcome to ITRC forum.
Sivakumar I wonder if once the disk is back at CLAIMED state you just only need to do a vgchange -a y
Hope this helps
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 03:38 AM
03-30-2006 03:38 AM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
I think once you replace the hard disk, then you may need to restore the volume group information to that particular PV. You can restore either from the default location /etc/lvmconf/vgname or you can specify alternate location.
See vgcfgrestore manual page for more details.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 04:41 AM
03-30-2006 04:41 AM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
pvdisplay -v /dev/dsk/c0t15d0
and look for
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
Make a new filesystem on all listed LVOLs and restore the data from your backup, because your disks are not mirrored.
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
03-30-2006 08:46 PM
03-30-2006 08:46 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
http://linuxlah.blogspot.com/2006/03/one-disk-that-gone.html
So how can I replace the disk without destroying the vg05 and other lv on that vg that is not affected by the /dev/dsk/c0t15d0 corruption?
p/s: I got the spare disk already in hand. taken from another server ;)
p/ss:Yes I have backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 09:34 PM
03-30-2006 09:34 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
The disk at which the LED is glowing continuously as supected to be the defective one, but it is not the case always. If you are not sure that the best way to do is to physically remove it and see in ioscan if something else do not show starting NO_HW. Once you are confirm that this is the disk then you can go ahead in replacing it.
Plug in new disk in same slot. and use vgcfgrestore to make it accessible to the VG.
#vgcfgrestore -n vg05 /dev/rdsk/c0t15d0
Now create new file systems on all the LVOLs which were there on this disk and were not mirroed. From the output I found these to be lvol4,5,6,7,8. Confirm this once and then mount the file systems and restore backup.
#newfs -F vxfs /dev/vg05/rlvol4
Repeat for other LVOLs and
#mountall
#bdf to confirm.
This will not disturb other LVOLs in the VG.
Here is official disk replacement guide for reference.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 11:03 PM
03-30-2006 11:03 PM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 03:15 AM
04-20-2006 03:15 AM
Re: A disk from one vg is "NO_HW" from "ioscan -funC disk"
If you reseat a drive, running "ioscan -funCdisk" will not scan the hardware. The "-u" option scans the kernel for a list of usable devices. It does not physically scan the hardware.
Try "ioscan -fnCdisk" instead. It will scan the hardware an see if the disk is responding after a reseat.