Operating System - HP-UX
1833759 Members
2146 Online
110063 Solutions
New Discussion

vgdisplay: Cannot display volume group

 
SOLVED
Go to solution
Manuales
Super Advisor

vgdisplay: Cannot display volume group

Hi friends, could you help me with next?
i making a make_recovery and a have some warning's:

root@hostname # make_recovery -Av
Option -A specified. Entire Core Volume Group/disk will be backed up
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgp09xxx1".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgp09zzzz".
vgdisplay: Volume group not activated.

why do i have this message: "Cannot display volume group "/--/---/" ?
why it say it isn't activated?

Thanks, Manuales.
8 REPLIES 8
Gary L. Paveza, Jr.
Trusted Contributor
Solution

Re: vgdisplay: Cannot display volume group

Do you have volume groups /dev/vgp09xxx1 and /dev/vgp09zzzz? If so, then try this:

vgchange -a y /dev/vgp09xxx1
vgchange -a y /dev/vgp09zzzz

If you don't need them (and are sure of it), then you can remove them

vgexport /dev/vgp09xxx1
vgexport /dev/vgp09zzzz
Geoff Wild
Honored Contributor

Re: vgdisplay: Cannot display volume group

It isn't activated - that is all - must have been on the system - or you deactivated on purpose.

Are they in /etc/fstab?

If they are supposed to be active - then activate them...

vgchange -a y /dev/vgXX

Also check /etc/lvmrc is AUTO_VG_ACTIVATE=1

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Devender Khatana
Honored Contributor

Re: vgdisplay: Cannot display volume group

Hi,

If the intention of the backup is to backup only vg00 then these messages can be ignored. An error will be faced if any of the LVOL of vg00 is unmounted and the backup will not proceed unless that is mounted.

The case here is quite usual as these VG may be some shared VGs and could be active on other nodes.

HTH,
Devender
Impossible itself mentions "I m possible"
Manuales
Super Advisor

Re: vgdisplay: Cannot display volume group

hi friends!!
when i executed make_recovery, another message was shown:

pax: ready for volume 2
Ready for volume to tape go when ready to proceed (or quit to abort).

what is the meaning of this??

is correct to execute make_recover -Av if only i need an ignite (vg00) ??

how is the recommended way to execute an ignite?

Thanks, Manuales.
Geoff Wild
Honored Contributor

Re: vgdisplay: Cannot display volume group

Yes, make_tape_recovery -Av is the correct way to make a bootable tape of the root vg00 - what is the size of vg00? and what size is your tape s/tape drive?

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Hoang Chi Cong_1
Honored Contributor

Re: vgdisplay: Cannot display volume group

Hi Manuales

I usually use this command to take a ignite backup tape (all vg00):
make_tape_recovery -v -A -I -x inc_entire=vg00 -a /dev/rmt/0mn

You can try it!
Goodluck!

Best and regard,
Hoang Chi Cong
Looking for a special chance.......
Devender Khatana
Honored Contributor

Re: vgdisplay: Cannot display volume group

Hi,

This message means that the first media was full and second media was required in continuation to complete the backup. This is expected if your media size is less than the data being backed up.

However if that is not the case you should consider replacing media and test compression on the drive.

This specially can be a case when you are not mentioning only vg00 to be backed up. In this event command will go for backing up other VGs as well and you will run short of space in the tape media. So follow the complete command to backup only vg00.

#make_tape_recovery -Ava /dev/rmt/0mn -x inc_entire=vg00 -I

Also the message can also come if you are trying second backup on the same tape in the event of failure of first backup at some stage in between. In that case you can simply rewind tape or switch off and back on the drive.

HTH,
Devender
Impossible itself mentions "I m possible"
Steven E. Protter
Exalted Contributor

Re: vgdisplay: Cannot display volume group

Shalom Manuales,

Please stop using make_recovery. It's no longer supported.

For your protection and the reliability of the backup Ignite is very strict on volume group information.

Any inconsistency will make the backup stop, and not always at the beginning. You must resolve this problem and used a supported make_tape_recovery command (see above) to have any hope of this tool providing you good backups.

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