Univention Bugzilla – Bug 13936
Profilebasierte Managed_Client PXE Installation: mount point lvm does not exist
Last modified: 2012-12-12 21:10:57 CET
Während einer profilebasierten Managed_Client PXE Installation kommt die Meldung I: Base system installed successfully. Setting up devices, this may take a while. / mount: mount point lvm does not exist mount: /dev/sda1 already mounted or /boot busy installation_profile und fstab folgen.
Created attachment 1586 [details] /tmp/installation_profile, generiert aus Profil Managed_Profile
Created attachment 1587 [details] /instmnt/etc/fstab
*** Bug 18488 has been marked as a duplicate of this bug. ***
Tritt auch noch mit UCS 2.4 auf. An Bug #18488 hängt noch ein Beispiel.
Auch berichtet an Ticket#2010100710018207
Das Verhalten sollte mit UCS 3 geprüft werden.
UCS 3.1 will be the next release.
Das Problem war, dass der Installer im Profil Modus beim Erstellen des Installations-Profil (das ist nicht das Profil das vom Benutzer übergeben wurde, sondern das "ausgewertete" Profil, das die Installations-Scripte verwenden) bei den Partitionen Leere Felder nicht auf None gesetzt hat. Damit kamen dann die Installations-Scripte nicht klar. Profil vom Benutzer: dev_1='PHY /dev/vda3 0 1 none 625.12128M 8587.191808M None lvm' Vom Installer ausgewertetes und erzeugtes Profil: dev_1='PHY /dev/vda3 0 1 none 625.12128M 8587.191808M lvm' None wurde hier intern als leerer Wert interpretiert, später aber nicht wieder auf None gemappt. Damit ist diese Konfiguration falsch und es wurde eine unkorrekte fstab geschrieben. Das passierte nur im Profil Modus, im normalen Modus gab es ein Mapping von '' auf 'None' für MountPoint und FileSystem. Dies wurde nun auch im Profil-Teil ergänzt.
Partitionierung im Profil-Modus kann erst mit interim-3 richtig getestet werden.
(In reply to comment #8) > None wurde hier intern als leerer Wert interpretiert, später aber nicht wieder > auf None gemappt. Damit ist diese Konfiguration falsch und es wurde eine > unkorrekte fstab geschrieben. > ergänzt. ==> /profmnt/Basesystem [...] dev_1='PHY /dev/sda1 0 0 None 16MiB 24MiB None bios_grub' dev_2='PHY /dev/sda2 0 0 ext4 24MiB 536MiB /boot none' dev_3='PHY /dev/sda3 0 0 linux-swap 536MiB 2492MiB None linux-swap' dev_4='PHY /dev/sda4 0 0 None 2493MiB 92272MiB None lvm' dev_5='LVM /dev/vg_ucs/rootfs LVMLV 0 ext4 0MiB 87760MiB / None' [...] ==> /tmp/installation_profile [...] dev_4='PHY /dev/sda2 0 0 ext4 24MiB 536MiB /boot none' dev_1='PHY /dev/sda3 0 0 linux-swap 536MiB 2492MiB None linux-swap' dev_0='PHY /dev/sda1 0 0 none 16MiB 24MiB None bios_grub' dev_3='LVM /dev/vg_ucs/rootfs LVMLV 0 ext4 0MiB 87760MiB / none' dev_2='PHY /dev/sda4 0 0 none 2493MiB 92272MiB None lvm' [...] Changelogeintrag ist ok → VERIFIED
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".