Package: fai-setup-storage
Version: 4.3.1
Severity: grave
When FAI uses a disk_config that tries to preserve a partition, data
will be lost because of new parted command. This happens when FAI uses
a jessie nfsroot. When using a wheezy nfsroot you are not affected by
this bug.
Here's the log:
Starting setup-storage 1.7
Using config file: /var/lib/fai/config/disk_config/xfcehost
DEGRADED MODE. Incomplete RAID LVs will be processed.
Creating directory "/run/lock/lvm"
Finding all volume groups
No volume groups found
Preserved partition /dev/vda6 does not end at a cylinder boundary, parted may
fail to restore the partition!
/dev/vda6 will be preserved
/dev/vda2 will be resized
Executing: wipefs -a /dev/vda1
Executing: wipefs -a /dev/vda5
Executing: wipefs -a /dev/vda7
Executing: parted -s /dev/vda mklabel msdos
Executing: parted -s /dev/vda mkpart extended "" 14309602304B 120034123775B
Executing: parted -s /dev/vda mkpart logical "" 17705784832B 104546809343B
Executing: parted -s /dev/vda resize 1 14308868096B 126022057983B
Command had non-zero exit code
parted 3.0 does not have the resize command any more. Since this
fails, FAI does not created a correct partition table, and so
the data on all remaining partitions is lost.
setup-storage needs to support the new resizepart command of parted.
--
regards Thomas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]