General
cancel
Showing results for 
Search instead for 
Did you mean: 

cannot access vg00 through sam, vgdisplay show error

SOLVED
Go to solution
DnD_1
Regular Advisor

cannot access vg00 through sam, vgdisplay show error

hi guys,

i tried to extend the logical volume for lvo13 but got some error from vgdisplay.

SAM also show nothing about vg00.

anyone please help ?

# vgdisplay
vgdisplay: Couldn't query volume group "/dev/vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
vgdisplay: Cannot display volume group "/dev/vg00".

--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 17502
VGDA 2
PE Size (Mbytes) 4
Total PE 17499
Alloc PE 17499
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

VG Name /dev/Vgstore
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 17502
VGDA 2
PE Size (Mbytes) 4
Total PE 17499
Alloc PE 17499
Free PE 0
Total PVG 0
Total Spare PVs

$bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 147456 140191 6867 95% /
/dev/vg00/lvol1 111637 30218 70255 30% /stand
/dev/vg00/lvol8 655360 509825 136488 79% /var
/dev/vg00/lvol7 1130496 854200 259066 77% /usr
/dev/vg00/lvol4 65536 10205 51934 16% /tmp
/dev/Vgstore/lvol1 71675904 32739224 38643928 46% /storage
/dev/vg00/lvol6 32768000 8024152 24357296 25% /opt
/dev/vg01/lvol1 71675904 27478360 43852272 39% /data

19 REPLIES
Pete Randall
Outstanding Contributor
Solution

Re: cannot access vg00 through sam, vgdisplay show error

Post the output of "ll /dev/vg*/group" or examine it your self and look for duplicate minor numbers:

crw-r----- 1 root sys 64 0x000000 Mar 15 2004 /dev/vg00/group
cr--r--r-- 1 root sys 64 0x010000 Mar 30 2004 /dev/vg01/group
crw-rw-r-- 1 informix informix 64 0x020000 Mar 30 2004 /dev/vg02/group

The first two numbers after the "0x" are the minor number.


Pete

Pete
John Guster
Trusted Contributor

Re: cannot access vg00 through sam, vgdisplay show error

First of all you have to reignite the system in order to extend lvol3 which is / file system.

What does "strings /etc/lvmtab" tell?
Victor Fridyev
Honored Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Also you can rename /etc/lvmtab and run vgscan , which will create new /etc/lvmtab.
Take into account that you may have to import all additional file systems after this operation.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Pete Randall
Outstanding Contributor

Re: cannot access vg00 through sam, vgdisplay show error

John,

>> First of all you have to reignite the system in order to extend lvol3

I thought that, too, at first, but the author said lvol13, so I'm not sure what to think now. A little further clarification might be nice.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: cannot access vg00 through sam, vgdisplay show error

He said "lvo13" - could be anything ;-)


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!   
DnD_1
Regular Advisor

Re: cannot access vg00 through sam, vgdisplay show error

hi all,

thanks for the answer,

actually i want to extend this LV.

/dev/vg00/lvol3 147456 140191 6867 95% /

which already 95%, all our charging method failed :(

i will get back all the information soon i got back to the office tomorrow.
Pete Randall
Outstanding Contributor

Re: cannot access vg00 through sam, vgdisplay show error

In that case, you will need to use Ignite, but you will also first need to straighten out the problem with your minor numbers. Then we can get into the issues with lvol3. Normally the / file system should be static and significant growth within it can be traced to some sort of correctable error.


Pete

Pete
Tim Nelson
Honored Contributor

Re: cannot access vg00 through sam, vgdisplay show error

You will NOT be able to extend the root lvol !!!!! It must be contiguous !!!

Create an Ignite image and interactively rebuild your system giving a new lvol size.

Otherwise,

1) fix / post your vg00 info as asked

2) find the files that should NOT be in "/".

the root filesytem should be, and stay, static for just about the life of your install. Get the other junk out of there.

DnD_1
Regular Advisor

Re: cannot access vg00 through sam, vgdisplay show error

hi again,

ok, so i cant extend lvo13 :(

inside lvo13, we have

$:/data/home/charging.

/data is under /dev/vg01/lvol1

and /home is directly under /

in that case, can i extend /home ?

Torsten.
Acclaimed Contributor

Re: cannot access vg00 through sam, vgdisplay show error

It's time to make it clear now ...

Is it LVOL13, LVOL3, or something else?
Is it in vg00?



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!   
Torsten.
Acclaimed Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Please post the output of

# mount

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!   
DnD_1
Regular Advisor

Re: cannot access vg00 through sam, vgdisplay show error

hi thanks all for the help.

i will post all the information tomorrow

dont go awaaaaay !! :)
sen_ux
Valued Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Hi All,
lvol3 can be extended if there is a free disk and free space available on root disk.Not sure whether it is supported/recommended.But it was success for me.

Steps Done.

1.Moved lvol4 to lvol8 to another disk using pvmove.
2.extended the lvol3 ( Online JFS )
3.moved back the lvols.(pvmove)

Rebooted and tested.All was fine.

Anybody tried this.
Can anybody suggest on this method.

Regards
sen
sreekanthtm
Trusted Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Hi,

You can extend the / (root filesystem) /dev/vg00/lvol3 as decribed


1.Moved lvol4 to lvol8 to another disk using pvmove.
2.extended the lvol3 ( Online JFS )
3.moved back the lvols.(pvmove)

But this not a recommended method.....
And one more thing, here size of lvol3 is around 65MB. So you can extend lvol3 by a maximum of 65MB.
HP recommend to restore the ignite backup to extend root file system.
But before taking an ignite backup, make sure that your vg00 is error free..... Please post all the o/p as suggested by experts.....

Cheers
Sreekanth
sen_ux
Valued Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Sreekanth,
>>>>And one more thing, here size of lvol3 is around 65MB. So you can extend lvol3 by a maximum of 65MB

Could you expalin this much better,?

/dev/vg00/lvol3 147456 140191 6867 95% /


sen
DnD_1
Regular Advisor

Re: cannot access vg00 through sam, vgdisplay show error

Hi all,

To simplify what i want to do,

The directory /home are located under lvol3, and it 95% full

$bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 147456 140191 6867 95% /

md2:/home$df -k .
/ (/dev/vg00/lvol3 ) : 147088 total allocated Kb
6409 free allocated Kb
140679 used allocated Kb
95 % allocation used

so i want to extend it, but vgdisplay show error as above.

# ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Jul 18 17:02 /dev/vg00/group
cr--r--r-- 1 root sys 64 0x010000 Jul 31 12:16 /dev/vg01/group
#

# mount
/ on /dev/vg00/lvol3 log on Thu Oct 9 14:04:34 2008
/stand on /dev/vg00/lvol1 defaults on Thu Oct 9 14:04:35 2008
/var on /dev/vg00/lvol8 delaylog,nodatainlog on Thu Oct 9 14:04:40 2008
/usr on /dev/vg00/lvol7 delaylog,nodatainlog on Thu Oct 9 14:04:40 2008
/tmp on /dev/vg00/lvol4 delaylog,nodatainlog on Thu Oct 9 14:04:40 2008
/storage on /dev/Vgstore/lvol1 delaylog,nodatainlog,nolargefiles on Thu Oct 9 14:04:40 2008
/opt on /dev/vg00/lvol6 delaylog,nodatainlog on Thu Oct 9 14:04:40 2008
/data on /dev/vg01/lvol1 delaylog,nodatainlog,nolargefiles on Thu Oct 9 14:04:40 2008
#



DnD_1
Regular Advisor

Re: cannot access vg00 through sam, vgdisplay show error

hi all,

my issue solved.

all i done is

# mv /etc/lvmtab /etc/lvmtab.save
# vgscan -v
# vgchange -a y vg00
# vgdisplay vg00

thanks !!
sreekanthtm
Trusted Contributor

Re: cannot access vg00 through sam, vgdisplay show error

OK.... gd job.
But freeup some space is /dev/vg00/lvol3 (root). Its already 95%, otherwise you would be fell down to even big issue.... :)

Sen,

Size of lvol4 is 65 MB. While creating Lvol's PE's allocated in serial manner. After lvol4, the immediate PE would be already allocated to some other LV. As root file system demands continuous allocation of PE you cannot exceed the size of lvol4 (Here it is 65MB). Otherwise you have to delete subsequent LV.

Rgds
Sreekatnh
sen_ux
Valued Contributor

Re: cannot access vg00 through sam, vgdisplay show error

Sreekanth,

I understood what 65 MB is.

What I have done is to move all LVs after lvol4..
ie..lvol3,lvol4,6,7,8 to another disk.

If enough space is there in the root disk, u can increase the size as much u want.

Thanks
sen