- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PV error to vg
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
тАО12-18-2008 06:43 AM
тАО12-18-2008 06:43 AM
PV error to vg
Need your help for following.
I having Hp-ux server ver 11.11 and sap application are running on it.
(1) on #vgdisplay -v /dev/lathstg it showing
couldn't query physical volume "/dev/dsk/c9t0d0" also pv /dev/lathstg/c9t0d1 , /dev/lathstg/c11t0d0 and /dev/lathstg/c11t0d1.
(2)on #ioscan -fnC disk it showing all pv (above mention also) also..
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t6d0
/dev/lathstg
/dev/dsk/c8t0d0
/dev/dsk/c9t0d0
/dev/dsk/c10t0d0
/dev/dsk/c11t0d0
/dev/dsk/c8t0d1
/dev/dsk/c9t0d1
/dev/dsk/c10t0d1
/dev/dsk/c11t0d1
/dev/vgignite
/dev/dsk/c3t6d0
(3) whenever i am trying
#vgcfgrestore -n /dev/lathstg /dev/rdsk/c9t0d0 it showing
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c9t0d0 also same result for remaining one mention in (1)
(A) pvdisplay /dev/dsk/c9t0d0
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/lathstg"
(4) diskinfo /dev/rdsk/c9t0d0
SCSI describe of /dev/rdsk/c9t0d0:
vendor: DGC
product id: CX700WDR5
type: direct access
size: 0 Kbytes
bytes per sector: 0
same result for all pv mention in (1)
(5)
should I need to deactivate vg or i should try this in single user mode ??
#vgchange -a n/y /dev/lathstg
(6)when i should do
#vgsync /dev/lathstg
or is there are any alternative to solve this issue.
Thanks in advance.
Subodh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 06:52 AM
тАО12-18-2008 06:52 AM
Re: PV error to vg
Your disk is dead. See:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 07:05 AM
тАО12-18-2008 07:05 AM
Re: PV error to vg
See the size of the disk in diskinfo output. It is zero and it should not be.
SCSI describe of /dev/rdsk/c9t0d0:
vendor: DGC
product id: CX700WDR5
type: direct access
size: 0 Kbytes <<<<<
bytes per sector: 0
If shows 0 bytes size, then the disk is defective. Replace the disk and restore the lvm headers to it.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 08:51 AM
тАО12-18-2008 08:51 AM
Re: PV error to vg
check ioscan -fnC disk if it is showing claimed/not
Also check
diskinfo -v /dev/rdsk/cXtXdX
dd if=/dev/dsk/....... bs=512
echo "map selall info;wait infolog" | cstm --> check for read/write errors...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 10:22 AM
тАО12-18-2008 10:22 AM
Re: PV error to vg
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
тАО12-18-2008 09:27 PM
тАО12-18-2008 09:27 PM
Re: PV error to vg
step1 :- insf -e
step2:- ioscan -fnC disk --> look for c9t0d0 disk claimed .?
step3:- vgdisplay -v /dev/lathstg | more --> output needed, if you see unaviable,
step4:- Check with dd command disk Bad or Good if the output retuns something like below , The Disk Good
dd if=/dev/dsk/c9tod0 of=/dev/null bs=1024k
50268+1 records in
50268+1 records out
If the disk Bad, You need check with your Calirion EMC Support Engineer,
or, mean while you try below
step 5:- vgcfgrestore -n /dev/lathstg /dev/rdsk/c9t0d0
vgchange -a y /dev/lathstg
vgsync /dev/lathstg
(if still not working You need look for replaced of the disk)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 09:37 PM
тАО12-18-2008 09:37 PM
Re: PV error to vg
can you please check the syslog messages for "lbolt" messages.
It seems your harddisk is bad.
Please try dd comand as already mentioned by the replies.
Regards
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 12:39 PM
тАО12-19-2008 12:39 PM
Re: PV error to vg
I have attached the requested o/p , please Assist me.
(1)#ioscan -fnC disk ( it showing all disk are claimed.)
(2)#diskinfo -v /dev/rdsk/c9t0d0 ( it showing size as 0)
(3)dd if=/dev/rdsk/c9t0d0 of=/dev/null bs=1024k count=64 &
it showing 0+0 records in /out ,,,,also not showing any i/o error
Showing--- dd read error :No such device or add
(4)vgcfgrestore -n /dev/lathstg /dev/rdsk/c9t0d0
( Showing I/O error on pv)
(5)
can i try vgcfgrestore on active vg or i should try this after vg get deactivated ??????
i belive it should be try in single user mode ?????????
(6) In Syslog it not showing me "lbolt" messages .......
please refer attached o/p for more detail.
Thanks
Subodh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 07:57 PM
тАО12-19-2008 07:57 PM
Re: PV error to vg
Your output shows you have used /dev/rdsk/c9t0d0 ........ in dd command ..
It should be /dev/dsk/c9t0d0
dd if=/dev/dsk/c9t0d0 of=/dev/null bs=128k
560057+1 records in
560057+1 records out
(You will Get smilar output like this , means the disk is ok)
And from the output you have also missing the c11t0d0 may alternative link
Once all the dd command output looks ok,
Than Proceed as below
vgcfgrestore -n /dev/lathstg /dev/rdsk/c9t0d0
vgcfgrestore -n /dev/lathstg /dev/rdsk/c11t0d0
vgchange -a y /dev/lathstg
vgsync /dev/lathstg
(No need to be in Single User Mode , You Can do it Multi-User Mode also Can)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2008 12:30 PM
тАО12-22-2008 12:30 PM
Re: PV error to vg
i have posted the o/p ....
(1 )# dd if=/dev/dsk/c9t0d0 of=/dev/null bs=128k
dd read error: No such device or address
0+0 records in
0+0 records out
(2)# dd if=/dev/dsk/c9t0d1 of=/dev/null bs=128k
dd read error: No such device or address
0+0 records in
0+0 records out
(3)# dd if=/dev/dsk/c11t0d0 of=/dev/null bs=128k
dd read error: No such device or address
0+0 records in
0+0 records out
(4)# dd if=/dev/dsk/c11t0d1 of=/dev/null bs=128k
dd read error: No such device or address
0+0 records in
0+0 records out
(5) vgcfgrestore -n /dev/lathstg /dev/rdsk/c9t0d0
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c9t0d0: #
(6)# vgcfgrestore -n /dev/lathstg /dev/rdsk/c11t0d0
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c11t0d0: #
vgcfgrestore not working.......
# lvdisplay -v /dev/lathstg/lvol11 |more
(showing status are current not showing it is stale,,,,,,)
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
(7) Is Disk is really going to bad ???
Subodh.