Operating System - Linux
1828262 Members
2684 Online
109975 Solutions
New Discussion

/dev/mapper/vg01 not appearing

 
Cliff Lim Kok Hwee
Regular Advisor

/dev/mapper/vg01 not appearing

Hi Forumers,

Currently I have a volume group vg01.

The /dev/mapper/vg01 is not appearing.

It only appears manually after a vgscan n vgchange -a y vg01.

Is there anyway i can force it to appear AUTOMATICALLY during a server reboot?

Cliff
4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: /dev/mapper/vg01 not appearing

What Linux distribution/version are you using?

Normally "vgscan" is executed in a very early phase of a server reboot. If some disk controller does not yet have its driver loaded at that point, the volume group(s) on that controller won't appear automatically.

One way to avoid this is to customize the reboot sequence so that vgscan is run a second time after all the necessary storage drivers are loaded.

The other way is to ensure that the storage drivers get loaded early enough, so that the standard vgscan can handle them. This may require including the drivers in the initrd image, if your distribution uses one to boot.
MK
Steven E. Protter
Exalted Contributor

Re: /dev/mapper/vg01 not appearing

Shalom Cliff,

The /boot paritition can not be in LVM, but since your system boots that is not the issue.

vg01 is not set to autoactivate.

Check /etc/lvm/lvm.conf

Also /etc/grub.conf

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
Cliff Lim Kok Hwee
Regular Advisor

Re: /dev/mapper/vg01 not appearing

Hi Steven,

Check /etc/lvm/lvm.conf

Also /etc/grub.conf

Which parameters? Can u advise?

Cliff

Cliff Lim Kok Hwee
Regular Advisor

Re: /dev/mapper/vg01 not appearing

Hi Steven,

vg01 sits on EVA storage.

Cliff