1753602 Members
6389 Online
108797 Solutions
New Discussion юеВ

vgscan

 
SOLVED
Go to solution
Daniel Ca├зador
Regular Advisor

vgscan

Hi!

Look this message after I execute the vgscan -v:

vgscan: couldn't access the list of physical volumes for volume group "/dev/vg00".

The volume group /dev/vg00/group was not matched any Physical volumes complete.

Thank's!!!
29 REPLIES 29
Fabio Ettore
Honored Contributor

Re: vgscan

Hi Daniel,

can you post the output of

ll /dev/vg00/group

Does vgdisplay on vg00 get error messages as well?
Have you backupped /etc/lvmtab before to launch vgscan?

Regards,
Fabio
WISH? IMPROVEMENT!
Peter Godron
Honored Contributor
Solution

Re: vgscan

Daniel,
why did run the vgscan command? First paragraph of man vgscan says to "in the event of a catastrophic error".

Have you got a backup of your /etc/lvmtab.
Seems the system thinks you have a vg00 without actual physical disks!

Did you have a diskcrash?
Sivakumar TS
Honored Contributor

Re: vgscan


Hi,

what is the content of lvmtab now?

Try to mv the /etc/lvmtab and run vgscan

Regards,

Siva.
Nothing is Impossible !
Daniel Ca├зador
Regular Advisor

Re: vgscan

Hi!!

This is the shoot of vgscan.

Thank's
Daniel Ca├зador
Regular Advisor

Re: vgscan

This is the shot of ls /dev/vg00/group

Thank's!
Daniel Ca├зador
Regular Advisor

Re: vgscan

This is the shot of ls /dev/vg00/group

Thank's!
Prashant Zanwar_4
Respected Contributor

Re: vgscan

Do check for /dev/lvmconf/vg00.conf and if some older files and also decide on which disks should be in vg00.
Make sure those are the disks which should belong to VG00.. And then take other steps..

Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Daniel Ca├зador
Regular Advisor

Re: vgscan


Yes, have the files, how the others steps?
Prashant Zanwar_4
Respected Contributor

Re: vgscan

You can list the disks which were in use like following..

vgcfgrestore -n vg_staging_tmp -l
Volume Group Configuration information in "/etc/lvmconf/vg_staging_tmp.conf"
VG Name /dev/vg_staging_tmp
---- Physical volumes : 4 ----
/dev/rdsk/c22t9d4 (Non-bootable)
/dev/rdsk/c23t9d4 (Non-bootable)
/dev/rdsk/c22t9d5 (Non-bootable)
/dev/rdsk/c23t9d5 (Non-bootable)

You can also use same command like below:

vgcfgrestore -f /etc/lvmconf/vg_staging_tmp.conf.old -l
Volume Group Configuration information in "/etc/lvmconf/vg_staging_tmp.conf.old"
VG Name /dev/vg_staging_tmp
---- Physical volumes : 4 ----
/dev/rdsk/c22t9d4 (Non-bootable)
/dev/rdsk/c23t9d4 (Non-bootable)
/dev/rdsk/c22t9d5 (Non-bootable)
/dev/rdsk/c23t9d5 (Non-bootable)


Decide with your best judgement what disks were in use for VG00..

Then check lvmtab, if it is messed up..


Recreate lvmtab & check after that..

Whatever you do have all config backup first..

/etc/lvmconf/vg00* (backup to safe place)
/etc/lvmtab - back up

Gud luck
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."