Package: fai-setup-storage
Version: 5.10.3

At 
https://github.com/faiproject/fai/blob/dc83bb502a9af5666fa4344ba8b710bbbd5c827d/lib/setup-storage/Exec.pm#L97
fai-setup-storage turns an "overlapping partitions" error into an
"internal error".

The problem we ran into with this is that this also appears to happen
if the disk used has pre-existing partitions that overlap. We were
able to work around this by using

dd if=/dev/zero bs=1024 count=64 of=<blockdevice>

And rebooting, then re-running fai-setup-storage.

Basically, we had two issues here:

1) The "internal error" obfuscated the fact that the pre-existing
partition layout was broken.

2) Since our fai-setup-storage configuration throws away any existing
partitions, it would be nice if fai-setup-storage would allow to clear
such broken partitions automatically.

Cheers,
Sven

Reply via email to