1834768 Members
3502 Online
110070 Solutions
New Discussion

Re: Error in vgscan

 
Ralf Buchhold
Regular Advisor

Error in vgscan

Hello

who can help me ?
Thanks
Ralf

[root_iaf]/etc> vgscan -a
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t2d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t8d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t12d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t14d0s2" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument

vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.

vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg02 failed.


vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vgneu failed.

Sam:
0/0/2/0.0.0.0 1 Unused -- 0 DVD-ROM Drive (sl ^ x
xx 0/1/1/0.0.0 1 LVM vg01 34732 HP 36.4GMAN3367MC x
xx 0/1/1/0.1.0 1 LVM vg02 34732 HP 36.4GMAN3367MC x
xx 0/1/1/1.2.0 1 LVM vg00 35046 FUJITSU MAP3367NC x
xx 0/4/1/0.10.0 1 LVM vg01 34732 HP 36.4GATLAS10K3 x
xx 0/4/1/0.12.0 1 LVM vg02 34732 HP 36.4GATLAS10K3 x
xx 0/4/1/0.14.0 1 LVM vgneu 34732 HP 36.4GATLAS10K3 x
xx 0/4/1/0.8.0 1 LVM vg00 35046 FUJITSU MAP3367NC x
xx

9 REPLIES 9
Sivakumar TS
Honored Contributor

Re: Error in vgscan

Hi,

move the /etc/lvmtab and run again.

#mv /etc/lvmtab /etc/lvmtab.org

regards,

Siva.
Nothing is Impossible !
Sivakumar TS
Honored Contributor

Re: Error in vgscan

Hi,

move the /etc/lvmtab and run again.

#mv /etc/lvmtab /etc/lvmtab.org
then

#vgscan -a

regards,

Siva.
Nothing is Impossible !
RAC_1
Honored Contributor

Re: Error in vgscan

All seems fine except disk-"/dev/dsk/c0t0d0"
Is there a disk like that and present?

Also, you should not be running vgscan -a directly. run vgscan -pva first, then if required run vgscan -a. Also backup old file first.
There is no substitute to HARDWORK
Devender Khatana
Honored Contributor

Re: Error in vgscan

Hi,

Is there some mismatch for device files under /dev/dsk and /dev/dsk ?

HTH,
Devender
Impossible itself mentions "I m possible"
Ralf Buchhold
Regular Advisor

Re: Error in vgscan

Hello and thanks

when I use vgscan -a (before mv lvmtab lvmtab.old)
after there is only vg00 and vg01 / vg02 is missig
RAC_1
Honored Contributor

Re: Error in vgscan

Did you loose old lvmtab? Is vg01 and vg02 active when you are running vgscan?

A good sysadmin always backs up a file before doing anything to it.
There is no substitute to HARDWORK
Ralf Buchhold
Regular Advisor

Re: Error in vgscan

Hallo

vg01 and vg02 are running.
backup not possible because of defect hardware
RAC_1
Honored Contributor

Re: Error in vgscan

If you do vgscan -pva, does it show details for vg01 and vg02? What does dmesg and syslog.log say?

What hardware errors/defects you noticed?
There is no substitute to HARDWORK
Ralf Buchhold
Regular Advisor

Re: Error in vgscan

[root_iaf]/> vgscan -pva
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t2d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t8d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t12d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t14d0s2" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument

vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.

vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg02 failed.


/dev/vg00
/dev/dsk/c3t2d0s2
/dev/dsk/c4t8d0s2


vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vgneu failed.

no errors in dmesg and syslog