Skip to contentSkip to conversation

volume group does not activate after reboot

linux-lvm Rowland Agboro 3 participants 4 messages Nov 18, 2010

lore
Share & tools
lore
#0 lore raw

Hi,
I have a Red Hat Enterprise Linux 5 running

I have just created a volume group but anytime i do a reboot the logical volume becomes inactive.

I will manually run vgchange -ay and this brings the logical volume online.

How do I make this logical volume to be active after each reboot?

Please note that the volume group is created from a NetApp ISCSI LUN.

Regards
Ejiro

#1 lore raw

Add that vchange -ay to /etc/rc.local

Are you mounting with _netdev option in /etc/fstab?

That sounds like the problem to me. Try the _netdev option first. Needed for IP mounted storage (i.e. ISCSI)

Quoted 1 line · Rowland Agboro

vgchange -ay

Signature · 10 lines
==============================================================
Dave Sullivan RHCE (Sr. Consultant)  Email: [email protected]
(Cell Phone):  +1 989 750 8385  (SIP Phone):  +1 312 660 3525
Red Hat Consulting      http://www.redhat.com/consulting
==============================================================
 Red Hat, Inc. | 1801 Varsity Dr | Raleigh, NC | 27606

---
Learn. Network. Experience open source.
Looking to carve out IT costs? http://www.redhat.com/carveoutcosts
#2 lore raw
Quoted 6 lines · Dave Sullivan

Add that vchange -ay to /etc/rc.local

Are you mounting with _netdev option in /etc/fstab?

That sounds like the problem to me. Try the _netdev option first. �Needed for IP mounted storage (i.e. ISCSI)

we add a mount -a after the vgchange -ay :) _netdev alone wasn't doing it as iscsi starts up after lvm...i think...