Operating System - HP-UX
1838121 Members
3544 Online
110124 Solutions
New Discussion

vg is not activatye after reboot

 
Taifur
Respected Contributor

vg is not activatye after reboot

One of our server which Brand:HP, Modelrx6600
The problem is "Vg is deactivate after reboot the server".

At first we create the vg and activate. it was fine. But when we reboot the server it deactivate and display the following message:
vg is not active

# vgchange -a y /dev/vgdev1
vgchange: Couldn't activate volume group "/dev/vgdev1":
Quorum not present, or some physical volume(s) are missing.
12 REPLIES 12
Ganesan R
Honored Contributor

Re: vg is not activatye after reboot

Hi Taifur,

Check all the disks belongs to vgdev1 is available or not. It looks some of the disks are missing. Fix the disk issue and try to activate it.

You can also try to activate the vg with quorum overide. But for that more than 50% disks should be available.
Best wishes,

Ganesh.
Prashanth Waugh
Esteemed Contributor

Re: vg is not activatye after reboot

Hi,

check /var/adm/syslog
also check FC.

#ioscan -fnC fc

Regards
Prashnat
For success, attitude is equally as important as ability
Ganesan R
Honored Contributor

Re: vg is not activatye after reboot

To activate the volume group without quorum enforcement.

#vgchange -q n -a y /dev/vgdev1.


But some of the lv's are not accessible due to unavailablity of disks.
Best wishes,

Ganesh.
Suraj K Sankari
Honored Contributor

Re: vg is not activatye after reboot

Hi,

Did you checked all the PV's are exist or not before and after rebooting.

check with
insf
insf -e
ioscan -fnC disk

If you have nickel output of your server before reboot then take one more nickel and check all physical volume are exist or not.

I think some PV's are missing.

Suraj
Taifur
Respected Contributor

Re: vg is not activatye after reboot

Hi

I send the output as an attached file

It is very urgent issue.1st time i created the vgdev1 which is activate and ok.
I checked also #strings /etc/lvmtab
it is ok.

But the server is reboot the vg is deactive .i checked #strings /etc/lvmtab
it is there.
pls help to fix the issue.

Taifur
Sagar Sirdesai
Trusted Contributor

Re: vg is not activatye after reboot

Hi


Check the /etc/lvmrc file and set the AUTO_VG_ACTIVATION variable to 1.
This will activate all the vgs when server reboots


Sagar

Ganesan R
Honored Contributor

Re: vg is not activatye after reboot

Hi,

Could you provide the following?

#ioscan -funC disk
#ioscan -fknC disk
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: vg is not activatye after reboot

Other strange thing is, where is the volumegroup conf file ?

>>>>>>>>>>>>>>>>>>>>>>>>>>
# ll /etc/lvmconf
total 208
---------- 1 root root 0 Jan 5 2008 lvm_lock
-rw------- 1 root sys 24 Nov 24 20:39 pv_lock
-r-------- 1 root sys 45056 Nov 6 19:10 vg00.conf
-rw------- 1 root sys 45056 Nov 2 17:06 vg00.conf.old
<<<<<<<<<<<<<<<<<<<<<<<<<
Best wishes,

Ganesh.
vjta
Regular Advisor

Re: vg is not activatye after reboot

Hi,
could u pls post vgdisplay -v for vgdev1

also the PV assigned to vgdev1 is on SAN strorage ? pls confirm for cross-link.
whether u assigned same lun from storage to another host.

regards
vjta
Vijeta Bhedi
Prashanth Waugh
Esteemed Contributor

Re: vg is not activatye after reboot

Hi ,

Pls post ur vg creation steps


Reagrds
Prashnat
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: vg is not activatye after reboot

Hi

Bcoz vg config file is miising

# ll /etc/lvmconf
total 208
---------- 1 root root 0 Jan 5 2008 lvm_lock
-rw------- 1 root sys 24 Nov 24 20:39 pv_lock
-r-------- 1 root sys 45056 Nov 6 19:10 vg00.conf
-rw------- 1 root sys 45056 Nov 2 17:06 vg00.conf.old
<<<<<<<<<<<<<<<<<<<<<<<<<

Reagrds
prashnat
For success, attitude is equally as important as ability
Nguyen Anh Tien
Honored Contributor

Re: vg is not activatye after reboot

This vg is in /etc/lvmtab???? If not, please add in.
One things more, add all logical volume in /etc/fstab if you want OS mount them at startup.
HTH
HP is simple