Is anyone using AutoYaST to build/rebuild machines using LVM when those machines may already have LVs/VGs on the existing hard disks? I'm currently hitting an annoying problem with 9.2 and was wondering if anyone using a newer version of SuSE can verify whether or not this particular problem has been fixed. Essentially, it's the same problem previously reported here: http://lists.suse.com/archive/suse-autoinstall/2006-Mar/0005.html Unfortunately the recommended fix (using a pre-script instead of initialize=true) isn't working for me; I've tried using parted to "mklabel msdos" on the disks, I've even tried manually "lvremove" followed by "vgremove" and then parted's "mklabel msdos" (all according to the logs, have been successful) - all these in a pre-script, but the dreaded "lvremove" error keeps reappearing. It's as if AutoYaST has learnt the LVs very early on in the boot process and remembers them up to that point (despite the fact that the pre-script has removed them by this time), then insists on trying to remove them _after_ having already removed all the partitions (rather than the reverse). I've managed to work around just about every other bug/problem I've so far hit with AutoYaST, except this one. If someone can confirm that this is fixed in newer versions then I'll just sit tight 'til 10.2 is released. :-) Thanks..
No problem at all using 10.1. Problem was there in 9.3. Haven't really tried 10.0. /Lars David J N Begley wrote:
Is anyone using AutoYaST to build/rebuild machines using LVM when those machines may already have LVs/VGs on the existing hard disks? I'm currently hitting an annoying problem with 9.2 and was wondering if anyone using a newer version of SuSE can verify whether or not this particular problem has been fixed.
Essentially, it's the same problem previously reported here:
http://lists.suse.com/archive/suse-autoinstall/2006-Mar/0005.html
Unfortunately the recommended fix (using a pre-script instead of initialize=true) isn't working for me; I've tried using parted to "mklabel msdos" on the disks, I've even tried manually "lvremove" followed by "vgremove" and then parted's "mklabel msdos" (all according to the logs, have been successful) - all these in a pre-script, but the dreaded "lvremove" error keeps reappearing.
It's as if AutoYaST has learnt the LVs very early on in the boot process and remembers them up to that point (despite the fact that the pre-script has removed them by this time), then insists on trying to remove them _after_ having already removed all the partitions (rather than the reverse).
I've managed to work around just about every other bug/problem I've so far hit with AutoYaST, except this one. If someone can confirm that this is fixed in newer versions then I'll just sit tight 'til 10.2 is released. :-)
Thanks..
participants (2)
-
David J N Begley
-
Lars Stavholm