GNU bug report logs -
#25813
Alignment check should not be done to the end of the partition
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi folks,
parted 3.2-17 (Debian Unstable) doesn't tell which partition
is misaligned. Sample session:
# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) u s p
Model: AVAGO MR9361-8i (scsi)
Disk /dev/sda: 23438819328s
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 63s 2047s 1985s bios_grub bios_grub
2 2048s 524287s 522240s fat16 efi_boot
3 524288s 67108863s 66584576s ext4 root
4 67108864s 603979775s 536870912s linux-swap(v1) swap
5 603979776s 671088639s 67108864s ext4 none
6 671088640s 23438817279s 22767728640s ext4 export
(parted) rm 6
(parted) mkpart export 671088640s -2049s
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? i
(parted) q
Information: You may need to update /etc/fstab.
Partition 6 is perfectly aligned (320 MiB), so the warning
is very misleading. How about a message like
Warning: Partition 1 is not properly aligned for best performance.
Regards
Harri
This bug report was last modified 8 years and 60 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.