This has been fixed in Bionic by pulling partman-partitioning-120 from
debian (artful has version -114). The newer version has a more
comprehensive fix, i.e.:
--- partman-partitioning-114/lib/resize.sh 2014-09-04 01:45:57.000000000
-0400
+++ partman-partitioning-120/lib/resize.sh 2017-06-24 23:04:17.000000000
-0400
@@ -18,15 +18,12 @@
num=$(sed 's/^[^0-9]*\([0-9]*\)[^0-9].*/\1/'
$backupdev/$oldid/view)
bdev=$(cat $backupdev/device)
case $bdev in
- */disc)
- bdev=${bdev%/disc}/part$num
+ /dev/*[0-9])
+ bdev=${bdev}p$num
;;
- /dev/[hsv]d[a-z]|/dev/xvd[a-z])
+ /dev/*)
bdev=$bdev$num
;;
-
/dev/cciss/c[0-9]d[0-9]|/dev/cciss/c[0-9]d[0-9][0-9]|/dev/ida/c[0-9]d[0-9]|/dev/ida/c[0-9]d[0-9][0-9]|/dev/mmcblk[0-9])
- bdev=${bdev}p$num
- ;;
*)
log "get_real_device: strange device name $bdev"
return
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1733276
Title:
Cannot resize partitions on NVME devices due to bad device name
parsing
To manage notifications about this bug go to:
https://bugs.launchpad.net/partman-partitioning/+bug/1733276/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs