Operating System - HP-UX
1833124 Members
3480 Online
110051 Solutions
New Discussion

problem with a volume groupe

 
Stephen Coll
Occasional Advisor

problem with a volume groupe

hello

i have a R380 hp 9000 with 02 internal disks and hpux 11 with 02 volumes groupe vg00 and vg01 in each disk .

when the system start vg01 is not activated automaticly and file sys is not mounted at mount point it gives a error message " Warning: Couldn't attach to the volume group physical volume "

i activate manualy vg01 and i mount the FS, so it works .

please give the correct step to recovere this prb

best regards
rti
7 REPLIES 7
Andreas Voss
Honored Contributor

Re: problem with a volume groupe

Hi,

check in /etc/lvmrc
if the variable
AUTO_VG_ACTIVATE=1

Regards
Elif Gius
Valued Contributor

Re: problem with a volume groupe

If you want that all vgs are activated automatically when the system was booted ,loook for an entry in /etc/lvmrc

it should be
+++++
# The activation of Volume Groups may be customized by setting the
# AUTO_VG_ACTIVATE flag to 0 and customizing the function
# custom_vg_activation()
#

#
# To disable automatic volume group activation,
# set AUTO_VG_ACTIVATE to 0.
#

AUTO_VG_ACTIVATE=1
+++++

Good luck !
T G Manikandan
Honored Contributor

Re: problem with a volume groupe

Andreas i right check for the entry in the /etc/lvmrc.

First I would check the disk whether it is claimed using
ioscan -fnC disk

Also try doing a diskinfo on the disk to check whether the disk is okay.


When you tell that manual activation is working then,

I assume that the vg info was lost.

Can you do a
#vgcfgrestore -n /dev/vg01 /dev/rdsk/cXtYd0

check for the man pages of the vgcfgrestore.


Thanks
Stephen Coll
Occasional Advisor

Re: problem with a volume groupe


hello every body,

thanks for the reply .

i have check the /etc/lvmrc and it is ok

AUTO_VG_ACTIVATE=1

i think that the file system is corrupted the vg is not activated at start up the system give a error message
"Warning: Couldn't attach to the volume group physical volume "


so,i activate it manualy with vgcange command and i mount the file system manualy then.

how can i recovere this ? can i do an export and an import after running fsck command ??

give the steps please

Best regards

rti
Domenico_5
Respected Contributor

Re: problem with a volume groupe

hi

are you shure that the fstab have the correct strings for your mount point?

You can check this umounting vg01 and run mountall.


regards


Bill McNAMARA_1
Honored Contributor

Re: problem with a volume groupe

attach the following:

strings /etc/lvmtab

pvdisplay all PVs in VG01

ioscan -fnkC disk

ll /dev/vg01/

cat /etc/fstab

vgchange -a y vg01

vgdisplay -v vg01

Later,
Bill
It works for me (tm)
Stephen Coll
Occasional Advisor

Re: problem with a volume groupe

hi

i am very shure

the /etc/fstab has the corect setting about vg01


vg 01 has one disk and when running ioscan it is claimed

best regard

rti