Hallo Liste,ich habe ein Problem wenn ich ein reinstall auf einem System machen will, und dabei eine LV behalten möchte.
Es sieht so aus als ob setup-storage die Anfrage korrekt versteht, aber nachdem alle anderen LVs entfernt wurden die Partitionstabelle neu erstellt wird. Da aber noch ein LV vorhanden ist, kann die neue Partitionstabelle nicht mehr gelesen werden und das Skript stoppt.
Hier der Log-Auszug
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.3
Using config file: /var/lib/fai/config/disk_config/FAIBASE
Executing: parted -s /dev/sda unit TiB print
Executing: parted -s /dev/sda unit B print free
Executing: parted -s /dev/sda unit chs print free
Finding all volume groups
Finding volume group "volumes"
Finding all volume groups
Finding volume group "volumes"
Finding all volume groups
Finding volume group "volumes"
Finding all volume groups
Finding volume group "volumes"
Executing: mdadm --examine --scan --verbose -c partitions
Preserved partition /dev/sda3 retains size 64420392960B
/dev/sda3 will be preserved
volumes/work will be preserved
Executing: vgchange -a n
Executing: lvremove -f volumes/var
Executing: lvremove -f volumes/root
Executing: lvremove -f volumes/usr
Executing: lvremove -f volumes/tmp
Executing: parted -s /dev/sda mklabel msdos
Command had non-zero exit code
Error in task partition. Traceback: task_error task_partition task
task_install task task_action task main
FATAL ERROR. Installation stopped.
bash: no job control in this shell
dircolors: no SHELL environment variable, and no shell type option given
Hier die entsprechende disk_config:
disk_config disk1 bootable:1 preserve_reinstall:3 primary /boot 5G ext4 rw primary swap 4G swap rw primary - 60G - - vg volumes disk1.3 disk_config lvm preserve_reinstall:volumes-work volumes-root / 10G ext4 rw volumes-usr /usr 15G ext4 rw volumes-var /var 10G ext4 rw volumes-tmp /tmp 10G ext4 rw volumes-work /work 4G ext4 rw
Danke für Hinweise Quirin Lohr -- --------------------------------------------------------- Technische Universität München Quirin Lohr Systemadministration Lehrstuhl für Informatik 9 Boltzmannstr. 3 85748 Garching Tel: + 49.89.289.17769 [email protected] www.tum.de ---------------------------------------------------------
smime.p7s
Description: S/MIME Kryptografische Unterschrift
