View Issue Details

IDProjectCategoryView StatusLast Update
0018371CentOS-7util-linuxpublic2021-12-07 14:31
Reporterjamgames2 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version7.9.2009 
Summary0018371: sfdisk bug when extend disk partition with auto fill unallocate space
DescriptionThis will cuz disk extend too larger than maximum, and then make disk hang, fail, or died in sometime
Steps To Reproducesfdisk /dev/xvda -N 2 --no-reread
,+

sfdisk /dev/xvda -N 2 --no-reread
,+,8e

sfdisk /dev/xvda -N 2 --no-reread
,+ 8e

partx -u /dev/xvda
pvresize /dev/xvda2
lvextend -r /dev/mapper/centos-root /dev/xvda2
Additional Informationafter this will have show error on every minute second ... etc ..

> buffer i/o error on device /dev/xvda2 logical .... asynz page read

after reboot and type command
`pvs`

> Device /dev/xvda2 has size of 20971377 sectors which is smaller than corresponding PV size of 20971520 sectors. Was device resized?
Tagssfdisk-2.23.2
abrt_hash
URL

Activities

jamgames2

jamgames2

2021-12-07 14:27

reporter   ~0038761

pick one of "sfdisk" reproduce step
jamgames2

jamgames2

2021-12-07 14:31

reporter   ~0038762

there have some case that need to run in running machine

sfdisk /dev/xvda -N 2 --force
,+

Issue History

Date Modified Username Field Change
2021-12-07 14:26 jamgames2 New Issue
2021-12-07 14:26 jamgames2 Tag Attached: sfdisk-2.23.2
2021-12-07 14:27 jamgames2 Note Added: 0038761
2021-12-07 14:31 jamgames2 Note Added: 0038762