- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PV status unavailable
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-02-2009 11:46 PM
03-02-2009 11:46 PM
PV status unavailable
ioscan clains this disk. Diskinfo output is OK.
The disk is a raid 5 array. The Raid array controller does not show any bad disk.
I tried to restore the physical link using vgcfgrestore.
vgcfgrestore -n /dev/vg04 /dev/rdsk/c4t4d0
Volume Group configuration has been restored to /dev/rdsk/c4t4d0
pvdisplay /dev/dsk/c4t4d0
--- Physical volumes ---
PV Name /dev/dsk/c4t4d0
VG Name /dev/vg04
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 38
PE Size (Mbytes) 16
Total PE 60766
Free PE 45499
Allocated PE 15267
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
The PV is still unavailable, and there are no Stale PE.
I did a vgexport than vgimport. Everything is succesfully executed, but still PV is unavailable.
Can I use vgreduce and then pvcreate to reestablish the link.
Thanks,
Narimane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:03 AM
03-03-2009 12:03 AM
Re: PV status unavailable
Does dd work fine
Also could you check for any errors in
/var/opt/resmon/log/event.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:09 AM
03-03-2009 12:09 AM
Re: PV status unavailable
# vgchange -a y
If data is not a contraints, it better to do a pvcreate and again add it to the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:13 AM
03-03-2009 12:13 AM
Re: PV status unavailable
vgchange -a y /dev/vg04
Activated volume group
Volume group "/dev/vg04" has been successfully changed.
But
syslog displays:
Feb 26 15:40:02 btcsrvr vmunix: LVM: VG 64 0x040000: PVLink 31 0x044000 Failed! The PV is not accessible.
Feb 26 15:40:02 btcsrvr vmunix: LVM: VG 64 0x040000: Lost quorum.
Feb 26 15:40:02 btcsrvr vmunix: This may block configuration changes and I/Os. In order to reestablish quorum at least 1 of the following PVs (represented by current link)
This message explains PV unavailable.
Narimane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:19 AM
03-03-2009 12:19 AM
Re: PV status unavailable
dd gives an IO read error exactly at the last block of the disk
dd if=/dev/rdsk/c4t4d0 of=/dev/null bs=8192k
dd read error: I/O error
23127+0 records in
23127+0 records out
(23127 * 8192= 189456384)
Testing the sanity of the array disk on the controller is OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:42 AM
03-03-2009 12:42 AM
Re: PV status unavailable
There seems to be an issue with the H/W .. May be connectivity.. not sure..
If this is new VG which is being created then do the vgreduce the PV, and then again recreate the LUN and assign it to HP-UX and then insf, pvcreate, vgextend.
Check and let us know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 12:51 AM
03-03-2009 12:51 AM
Re: PV status unavailable
There is something wrong with your array...
dd error, pv unavailable.
What array it is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 01:00 AM
03-03-2009 01:00 AM
Re: PV status unavailable
ioscan clains the disk . Diskinfo is ok
disk 4 0/8/0/0.4.0 sdisk CLAIMED DEVICE transtecT5012R24
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
diskinfo -v /dev/rdsk/c4t4d0
SCSI describe of /dev/rdsk/c4t4d0:
vendor: transtec
product id: T5012R24
type: direct access
size: 995721216 Kbytes
bytes per sector: 512
rev level: 0001
blocks per disk: 1991442432
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
What bothers me is that a full disk size is dumped before I/O read error occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 01:52 AM
03-03-2009 01:52 AM
Re: PV status unavailable
In the transtec T5012R array do you see green light or amber/red in the panel?
I never work with transtec, but is it possible to test the array or the connectivity. Do you have some management array?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 02:02 AM
03-03-2009 02:02 AM
Re: PV status unavailable
I check the hardware guide of this array
if LCD display shows OWOOOS
Possible Cause: â Wâ means â warningâ - there are many bad sectors on your HDD.
Fix: Change hard drives.
http://download.transtec.de/doit/loadva/software/w3/CD_STOR_HTML/raid/t50/transtec-Hardware-Guide-de.pdf
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 02:06 AM
03-03-2009 02:06 AM
Re: PV status unavailable
I could not believe that there was an IO error though the dd output tells it, but in the other hand, it displays it after the whole disk size was scanned.
My array had two offline disks which were not used. I just removed them and insert 2 other disks, restart the array. Note that the Raid set did not have to be rebuilt as the 2 offline disks were not part of the set
I did activate the volume group,(with messages lost quorum) and vgcfgrestore again. then I got back the PV status to available.
I have no data loss.
That the sequence i did:
restart the array
vgimport,
vgcfgrestore
pvdisplay /dev/dsk/c4t4d0
--- Physical volumes ---
PV Name /dev/dsk/c4t4d0
VG Name /dev/vg04
PV Status available
Allocatable yes
VGDA 2
Cur LV 38
PE Size (Mbytes) 16
Total PE 60766
Free PE 45499
Allocated PE 15267
Stale PE 0
# Timeout (Seconds) default
Thank you for your replies . Thoug my problem is now fixed, I am stille puzzeled by the output of dd command
Narimane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 02:07 AM
03-03-2009 02:07 AM
Re: PV status unavailable
Need to check the H/W of the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 02:18 AM
03-03-2009 02:18 AM
Re: PV status unavailable
Cheers,
Narimane