[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25813: parted should tell which partition is misaligned
From: |
Harald Dunkel |
Subject: |
bug#25813: parted should tell which partition is misaligned |
Date: |
Mon, 20 Feb 2017 16:50:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#25813: parted should tell which partition is misaligned,
Harald Dunkel <=