description "Initialize Logical Volume Manager (LVM)" author "Harald Kueller " version 1.0 emits none special start on stopped virtualfs console output script echo "Initializing volumes" source /etc/init/functions if [ -f /sbin/vgscan ]; then /sbin/vgscan >/dev/null 2>&1 status_message "Scanning of Volumes....." for i in `vgdisplay|grep "VG Name"|awk '{print $3}'`; do vgchange -a y $i status_message "Volume Aktivation of $i ..." done fi end script