<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 18.06.2014 16:59, schrieb Thomas Neumann:<br>
<span style="white-space: pre;">> Patch is attached, it was built
against the 4.2 package. I haven't checked <br>
> what happens if you try anything funny. May need some
additional adjustments <br>
> (e.g. for preserving volumes).</span><br>
Definitely needs some adjustments for preserving volumes. For me,
that's the whole point of trying to get setup-storage to work with
LVM - as long as I do not need to preserve anything, I can always do
a 'dd if=/dev/zero of=/dev/sda bs=1M count=10' in a hook for
task_partition.<br>
<br>
We're using a wheezy chroot here at the moment, with LVM 2.02.95-8,
liblinux-lvm-perl 0.17-1 plus the patch from Roland Dieterich (won't
work without it) and FAI 4.2 plus your patches.<br>
<br>
Before your patches, we always reached the wipefs bug (missing
'/dev' in device name). Now, on the second run, we get:<br>
<br>
Preserved partition /dev/sda5 does not end at a cylinder boundary,
parted may fail to restore the partition!<br>
/dev/sda5 will be preserved<br>
/dev/sda2 will be resized<br>
vg1/home will be preserved<br>
Cannot satisfy pre-depends for true:
vgchange_a_n_VG_vg1,self_cleared_/dev/vg1//dev/vg1/home,self_cleared_/dev/vg1//dev/vg1/root,self_cleared_/dev/vg1//dev/vg1/swap,self_cleared_/dev/vg1//dev/vg1/tmp,self_cleared_/dev/vg1//dev/vg1/varlog
-- system left untouched<br>
Error in task partition. Code: 710<br>
Traceback: task_error task_partition task task_install task
task_action task main<br>
<br>
Our disk_config:<br>
<br>
disk_config disk1 disklabel:msdos bootable:1 align-at:1
fstabkey:uuid<br>
primary /boot 250-300 ext4 rw<br>
logical - 15000- - -<br>
<br>
disk_config lvm preserve_lazy:vg1-home<br>
vg vg1 disk1.5<br>
vg1-root / 8192-12000 ext4
rw,errors=remount-ro<br>
vg1-swap swap 1024-2048 swap rw<br>
vg1-tmp /tmp 500-1024 ext4 rw,nosuid<br>
vg1-varlog /var/log 500-1024 ext4 rw<br>
vg1-home /home 1024- ext4 rw<br>
<br>
I can only guess from the error message that there is a '/dev/vg1/'
prepended twice to the LV names. Maybe this is easy to fix, but I am
not very familiar with perl.<br>
<br>
Bye,<br>
Andreas<br>
<br>
</body>
</html>