[CentOS] Kickstart and lvm

Lars Hecking lhecking at users.sourceforge.net
Tue Apr 12 12:12:07 UTC 2011


 It appears adding

> %pre
> ...
> lvm vgscan

 lvm lvm vgimport vol0

> lvm vgchange -a y
> ...
> if [ -d /dev/vol0 ]; then
>   # do stuff
> fi
> lvm vgremove -f vol0
 
 makes the volume group appear in /dev. That was definitely not need on
 other hw.





More information about the CentOS mailing list