Antwort: Re: [suse-autoinstall] LVM with autoyast
Hi, I handle this problem this way: entry in template.xml before vg - creation: insmod lvm-mod vgscan XX=/etc/lvmtab.d find $XX -type f | while read VG_PATH do echo "VG_PATH: >$VG_PATH<" VG=`basename $VG_PATH` echo ">$VG<" vgchange -a y $VG lvscan | grep $VG | while read COMMAND HIPHEN STATUS PATH SIZEA SIZEB do echo "------------------------" echo "PATH: $PATH" LV_PATH=`echo "$PATH" | /bin/sed s/\"//g` echo "LV_PATH: >$LV_PATH<" /sbin/lvremove -f $LV_PATH done vgchange -a n $VG vgremove $VG done Good luck and have a lot of fun! __________________________________ Peter Bergmann ISD/P - D40 / 109 Merck KGaA Frankfurter Strasse 250 D 64271 Darmstadt Phone: +49 (0)6151 72 4833 Mail: peter.j.bergmann@merck.de
participants (1)
-
Peter.J.Bergmann@merck.de