1753856 Members
7434 Online
108809 Solutions
New Discussion юеВ

vgchange error

 
dictum9
Super Advisor

vgchange error

I get the following error when I am running vgchange:

# vgchange -a y /dev/vgdev
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d0":
The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: The path of the physical volume refers to a device that does not


I then removed the /etc/lvmtab and ran vgchange -v to recreate it:

# vgscan -v
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgdev".


/dev/vg00
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2



/dev/vgdev
/dev/dsk/c9t0d0
/dev/dsk/c9t0d1
/dev/dsk/c9t0d2
/dev/dsk/c9t0d3
/dev/dsk/c9t0d4
/dev/dsk/c9t0d5
/dev/dsk/c9t0d6
/dev/dsk/c9t0d7


Scan of Physical Volumes Complete.



I also tried rmsf and insf on the hardware path for the disks it's having problem with, but no success. What's going on?
15 REPLIES 15
dictum9
Super Advisor

Re: vgchange error

The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d7":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vgdev":
Quorum not present, or some physical volume(s) are missing.
Jakes Louw
Trusted Contributor

Re: vgchange error

Dear etc
Did you try "ioscan -fn", then "insf -e",
and then try the vgchange?
Any previous messages in /var/adm/syslog/syslog.log?
Trying is the first step to failure - Homer Simpson
Enrico P.
Honored Contributor

Re: vgchange error

Hi,
try with

vgreduce -l vg00 /dev/dsk/c9t0d7

Enrico
Chan 007
Honored Contributor

Re: vgchange error

Hi,

Try doing diskinfo /dev/rdsk/c9t0d0 and see whether you can see the disktype/info.

As suggested try ioscan and insf -e.

Some SAN disks need to stop and start the agent before doing the ioscan and insf. Try that. or If you can't see any of this does its trick then sometimes a reboot mightbe required.

Chan


Ninad_1
Honored Contributor

Re: vgchange error

etc,

Please check ioscan -fnC disk
Is the disk /dev/dsk/c9t0d7 reported and showed CLAIMED ?
What does diskinfo /dev/rdsk/c9t0d7 show
If disk exists, what does pvdisplay -v /dev/dsk/c9t0d7 show ?
Are there any messages in /var/adm/messages or /var/adm/syslog/syslog.log or OLDsyslog.log on disk failures ?
In your 2 posts there are 2 different disks mentioned - c9t0d0 and c9t0d7 - is the problem reported for all disks in vgdev VG ? Then is the path corresponding to controller c9 fine ?

Please check and revert the status.

Regards,
Ninad

Enrico - the disk is in /dev/vgdev VG and not vg00.
Enrico P.
Honored Contributor

Re: vgchange error

Hi etc,
sorry for the answer ...
I didn' t understand the problem.

Enrico
dictum9
Super Advisor

Re: vgchange error

I already tried all that:

1) Reboot
2) ioscan -the disk is claimed
3) disk info - nothing abnormal
4) rmsf and insf -e
5) syslog.log - nothing abnormal
6) dmesg - nothing abnormal
7) Nothing abnormal in pvdisplay, vgdisplay, lvdisplay, and so on.


More info from vgchange:

vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d0": I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: I/O error
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d2":
The specified path does not correspond to physical volume attached to
this volume group
Torsten.
Acclaimed Contributor

Re: vgchange error

Check the path to the storage array and its configuration. If this is a SAN device, check security settings also.

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!   
Darrel Louis
Honored Contributor

Re: vgchange error

Hi,

What is the output of "strings /etc/lvmtab"?
Can you just do a vgexport of vgdev and than do a vgscan again.

Darrel