[TriLUG] Question for you LVM users
Joseph Tate
jtate at dragonstrider.com
Wed Jan 15 14:33:01 EST 2003
Steven Blanchard wrote:
> Redhat linux has a catch-22 for LVM in the init scripts, it will not
> initialize lvm unless it is present in the kernel, since lvm is loaded
> as a module, it is not initalized... the easiest way i have found is
> to add the following lines to /etc/modules.conf:
>
> alias block-major-58 lvm-mod
> post-install block-major-58 /sbin/vgscan && /sbin/vgchange -a y
> pre-remove block-major-58 /sbin/vgchange -a n
> alias block-major-109 lvm-mod
> post-install block-major-109 /sbin/vgscan && /sbin/vgchange -a y
> pre-remove block-major-109 /sbin/vgchange -a n
>
Is that redundant? Why the two different blocks? 58 and 109? Are they
for two different LVM volumes?
Joseph
More information about the TriLUG
mailing list