1748104 Members
4581 Online
108758 Solutions
New Discussion юеВ

vgscan error

 
SOLVED
Go to solution
Grayh
Trusted Contributor

vgscan error

# vgscan -v
Physical Volume "/dev/dsk/c0t6d0s2" is not part of a Volume Group
Physical Volume "/dev/dsk/c4t8d0" is not part of a Volume Group

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c3t6d0
/dev/dsk/c4t10d0

The Volume Group /dev/vg00 was not matched with any Physical Volumes.
Scan of Physical Volumes Complete.
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c6t1d0":
Invalid argument

Scan of Physical Volumes Complete.
3 REPLIES 3
Mel Burslan
Honored Contributor
Solution

Re: vgscan error

Looks like you have replaced a few disk drives on this system.

/dev/dsk/c0t6d0s2 and /dev/dsk/c4t8d0 devices are brand-spanking new and do not have anything in their VGID regions. You need to either create a new VG using these disks or extend a vg by adding these volumes. Remember to use pvcreate /dev/rdsk/cXtXdX first.

/dev/dsk/c3t6d0 and /dev/dsk/c4t10d0 were used previously under LVM. If your purpose is to use them as new disks, user pvcreate -f to obliterate the old info and re-initialize them for your LVM use. Otherwise, if you want to keep the contents, use vgimport to import them into your LVM structure

/dev/dsk/c1t2d0 and /dev/dsk/c6t1d0 are the two disks you have replaced and they are no longer available on this system. If this is not the case, you have some hardware problem as well.

HTH
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: vgscan error

Shalom,

Make sure new disks have had pvcreate run on them.

cd /etc
mv lvmtab lvmtab.old

vgscan -av

This might help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Grayh
Trusted Contributor

Re: vgscan error

,