Subject: bug#42244:

From: "Brian C. Lane" <[email-masked]>
Date: Tue, 7 Jul 2020 10:41:35 -0700

On Tue, Jul 07, 2020 at 05:47:07AM -0700, Brad McClung wrote:
> $ sudo parted /dev/sdb

[snip]

> (parted) align-check opt 1
> 1 aligned
> (parted) align-check opt 2
> 2 aligned
> (parted) align-check opt 3
> 3 not aligned: 97677310s % 2048s != 0s
> (parted) align-check opt 4
> Error: Partition doesn't exist.
> (parted) resizepart 3
> Warning: Partition /dev/sdb3 is being used. Are you sure you want to continue?
> Yes/No? no
> (parted) align-check opt 5
> 5 aligned
> (parted) print devices
> /dev/sdb (120GB)
> (parted) print free
> Backtrace has 11 calls on stack:
>   11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x49) [0x7f1212d6e6a9]
>   10: /lib/x86_64-linux-gnu/libparted.so.2(+0x236ea) [0x7f1212d846ea]
>   9: /lib/x86_64-linux-gnu/libparted.so.2(+0x237e3) [0x7f1212d847e3]
>   8: /lib/x86_64-linux-gnu/libparted.so.2(+0x24f4b) [0x7f1212d85f4b]
>   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x122fa) [0x7f1212d732fa]
>   6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_flag+0x69)
> [0x7f1212d73929]
>   5: parted(+0x8bcb) [0x563d15d14bcb]
>   4: parted(interactive_mode+0x12c) [0x563d15d1acac]
>   3: parted(main+0x139b) [0x563d15d1380b]
>   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)
> [0x7f1212b160b3]
>   1: parted(_start+0x2e) [0x563d15d1389e]

What happens if you rerun it and just do `print devices` without trying
resizepart first?

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart