Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.
--- Begin Message ---
I'm seeing a strange problem when partitioning disks for some new
machines we recently purchased. We have previously not had any
problems with machines of the same model, the only difference with the
latest version is a different brand of SSD (older have SSSTC, new are
Samsung), the disks are the same capacity.

Here's the error from parted:

Executing: parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B
parted -s /dev/nvme0n1 mkpart '" "' "" 16602181633B 46602178560B had exit code 1
(STDERR) Error: You requested a partition from 16.6GB to 46.6GB (sectors 
32426136..91019880).
(STDERR) The closest location we can manage is 16.6GB to 46.6GB (sectors 
32426137..91019880).

Note that the first value of the range of sectors is off by 1.

I've tried changing the alignment (we normally use 4096 for SSDs),
varying the order in which the partitions are specified and varying
the sizes of the partitions, nothing helps. Attached is my
setup-storage.conf file.

I was using FAI version 6.2.3 but this also happens with version
6.4.3. Can anyone suggest anything else I can try or where I should
start poking to hunt for a bug?


Thanks,

Stephen Quinney
# LCFG managed configuration for setup-storage(8)

# Physical disk partitioning

# LCFG: primary
disk_config /dev/nvme0n1 disklabel:gpt align-at:4096B bootable:1 fstabkey:uuid

primary /boot/efi 538 vfat defaults,umask=0077
primary - 16037MB - -
primary - 30GB - -
primary - 400GB - -

# LVM Configuration

# LCFG: vg0
disk_config lvm
vg vg0 /dev/nvme0n1p4

vg0-root / 130GB ext4 defaults,acl
vg0-var /var/cache/afs 8GB ext4 defaults,nosuid,noexec,nodev
vg0-local /disk/scratch 100GB ext4 defaults,nosuid,nodev

# Encryption Configuration

disk_config cryptsetup

swap swap /dev/nvme0n1p2 swap defaults
tmp /tmp /dev/nvme0n1p3 ext4 defaults,nosuid,nodev

# EOF



--- End Message ---

Antwort per Email an