Operating System - HP-UX
1834628 Members
2945 Online
110069 Solutions
New Discussion

vgscan appear lots of erro info

 
SOLVED
Go to solution
Gary L
Super Advisor

vgscan appear lots of erro info

Hi ITRS experts

I need you kindly helps,
when I running
#vgscan
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg09".
......
......
vgscan: The physical volume "/dev/dsk/c20t0d6" is already recorded in the "/etc/lvmtab" file.

Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
Physical Volume "/dev/dsk/c20t0d6" contains no LVM information


The Volume Group /dev/vg08 was not matched with any Physical Volumes.
The Volume Group /dev/vg09 was not matched with any Physical Volumes.

#strings /etc/lvmtab info as below
/dev/vg00
/dev/dsk/c2t1d0
/dev/dsk/c2t0d0
/dev/vg01
}B;\
/dev/dsk/c20t0d0
/dev/vg02
/dev/dsk/c20t0d1
/dev/vg03
/dev/dsk/c20t0d2
/dev/vg04
/dev/dsk/c20t0d3
/dev/vg05
/dev/dsk/c20t0d4
/dev/vg06
/dev/dsk/c20t0d5
/dev/vg08
}E$Z
/dev/dsk/c20t0d6

/dev/vg09 coudn't access, /dev/vg08, /dev/vg09 not matched, /dev/dsk/c20t0d6 no LVM info, could not stat /dev/dsk/c0t0d0 what's going on? How to fix the problems?

thanks
6 REPLIES 6
Gary L
Super Advisor

Re: vgscan appear lots of erro info

pvdisplay /dev/dsk/c20t0d6
#pvdisplay /dev/dsk/c20t0d6
--- Physical volumes ---
PV Name /dev/dsk/c20t0d6
VG Name /dev/vg08
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 16
Total PE 31995
Free PE 0
Allocated PE 31995
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Sundar_7
Honored Contributor
Solution

Re: vgscan appear lots of erro info

Dont worry about "could not stat /dev/dsk/c0t0d0 " - this is most probably your DVD-ROM drive.

Did you replace c20t0d6 recently ? can you post the output of the following command ?

# diskinfo /dev/rdsk/c20t0d6

# echo "0x2008?4D" | adb /dev/dsk/c20t0d6
Learn What to do ,How to do and more importantly When to do ?
Gary L
Super Advisor

Re: vgscan appear lots of erro info

Thanks Sundar.
I didn't replace c20t0d6 recetnrly
# diskinfo /dev/rdsk/c20t0d6
SCSI describe of /dev/rdsk/c20t0d6:
vendor: COMPAQ
product id: HSV110 (C)COMPAQ
type: direct access
size: 524288000 Kbytes
bytes per sector: 512

# echo "0x2008?4D" | adb /dev/dsk/c20t0d6
2008: 0 0 0 0

I have used SAM to output some info as below:

vg06 LVM 16 of 409536 1 1

vg08 LVM 0 of 511920 1 1

view more infomation:
Disks - Status : Failed
Didn't list the LV

thanks
-Gary
Sundar_7
Honored Contributor

Re: vgscan appear lots of erro info

The disk c20t0d6 doesnt seem to have any LVM header.

I think the forum will need some background on how you got here before anyone can give you some constructive feedback.

What prompted you to do the vgscan ?

P.S: though it is kind of you to assign points promptly, it may be misleading since you haven't got the solution to your problem as yet !!
Learn What to do ,How to do and more importantly When to do ?
Gary L
Super Advisor

Re: vgscan appear lots of erro info

Hi sundar

vgscan info i have listed at the top, "Physical Volume "/dev/dsk/c20t0d6" contains no LVM information" .
in /dev/vg08 dir on LV info
# ll /dev/vg08
total 0
crw-r----- 1 root sys 64 0x080000 Feb 26 12:01 group
doen't like other vg
# ll /dev/vg06
total 0
crw-r----- 1 root sys 64 0x060000 Mar 20 2005 group
br--r----- 1 root sys 64 0x060001 Mar 20 2005 lveva6
cr--r----- 1 root sys 64 0x060001 Mar 20 2005 rlveva6

#vgdisplay -v /dev/vg08 just list PV no LV info and PV Status is "unavailable". How to avilale it?

I didn't see any lv info in vg08, I think maybe the lv be del, as you know this server's admin was no longer in office, couldn't contact hime, so I try to lvcreate a new lv for vg08 and vg09 (vg09 couldn't access ...by vgscan info). but system respond:lvcreate: The logical volume "/dev/vg08/lvsys8" could not be created: No such device or address.

And Vg09, have /dev/vg09 dir but no any lv info in its dir, vgscan could not list it?

how to fix it, sorry too many erro and info.
Gary L
Super Advisor

Re: vgscan appear lots of erro info

I have used #vgcfgrestore to restore the config to the c20t0d6. the PV status become "available", I could re-create a lv for the vg but create lv have some problems, I have create a new thread named "logical volume problmes" list detail output and my questions, hope could get your experts's support.
thanks