[CentOS] lvm and device nodes

Thu Nov 12 13:03:47 UTC 2009
nate <centos at linuxpowered.net>

Karanbir Singh wrote:
> On 11/12/2009 12:47 PM, Götz Reinicke - IT-Koordinator wrote:
>> my iscsi volumes are all lvm created :-) But the server(s) dont have the
>> device nodes any more.
>
> once the blockdev is visible to the os:
>
> vgchange -ay

You me lvchange -ay ?

What I do is vgimport then lvchange -ay

Here's the init script I use to mount SAN LVM volumes -

http://portal.aphroland.org/~aphro/mount_san.init

Back from RHEL 4.x days when it didn't support iSCSI for mounting
at boot, I still use it even now since it works, so have no reason
to change.

nate