Question on VG activation
What is the best way to have LVM auto-activate the VG's on bootup?
Tas Papadopoulos
BEGIN:VCARD
VERSION:2.1
N:Papadopoulos;Anastasios
FN:Anastasios Papadopoulos
NICKNAME:Tas
ORG:Digex, Inc.;Infrastructure Engineering
TITLE:SE
TEL;WORK;VOICE:240-456-3207
TEL;HOME;VOICE:410-633-5029
TEL;CELL;VOICE:410-340-9435
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;14400 Sweitzer Lane=0D=0A2V54;Laurel;MD;20707;USA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:14400 Sweitzer Lane=0D=0A2V54=0D=0ALaurel, MD 20707=0D=0AUSA ADR;HOME:;;;Baltimore;MD;21224;USA LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Baltimore, MD 21224=0D=0AUSA URL;HOME:http://papadopoulos.webhop.net
URL;WORK:http://www.digex.com
EMAIL;PREF;INTERNET:[email protected]
REV:20030521T152211Z
END:VCARD
Quoted 1 line · Anastasios A. Papadopoulos Tas
What is the best way to have LVM auto-activate the VG's on bootup?
Put "vgchange -ay" into your pre-fsmount startup script (if your distributor didn't do it for you already).
If your HW-configuration changes (e.g. new disk drives), you need to run vgscan as well (in case of LVM2 tools, you eant to check, if your device name filters are still ok in /etc/lvm/lvm.conf).
^
Quoted 2 lines
Tas Papadopoulos
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-