Package: cloud-utils Version: 0.27-1 Severity: normal User: [email protected] Usertags: ppc64el
Dear Maintainer, I did a ppc64el installation with the latest Jessie ; then on a 100G disk, put the prep partition, the swap and a third partition for / leaving ~90G of free space after. Then after booting, I did this : --- root@vm6:/tmp# growpart -v /dev/sda 3 max_end=0 tot=209712510 pt_end=0 pt_start=0 pt_size=0 NOCHANGE: partition 3 is size 0. it cannot be grown --- The error seems related to the fact that the output of sfdisk is unusable : growpart tries to parse : sfdisk -d /dev/sda which gives : --- root@vm6:/tmp# sfdisk -C 13054 -H 255 -S 63 -uS -d /dev/sda # partition table of /dev/sda unit: sectors /dev/sda1 : start= 1, size=209715199, Id=ee /dev/sda2 : start= 0, size= 0, Id= 0 /dev/sda3 : start= 0, size= 0, Id= 0 /dev/sda4 : start= 0, size= 0, Id= 0 --- I did some checks with the latest util-linux 2.26.2 and it seems sfdisk has now better support for gpt : --- root@vm6:/tmp/util-linux-2.26.2/.libs# LD_LIBRARY_PATH=. ./sfdisk -d /dev/sda label: gpt label-id: 98B51944-1718-4DD3-9949-7C82C5BB03E3 device: /dev/sda unit: sectors first-lba: 34 last-lba: 209715166 /dev/sda1 : start= 2048, size= 14336, type=9E1A2D38-C612-4316-AA26-8B49521E5A8B, uuid=F667C2D9-0D4D-4FA4-8027-F218887A9062 /dev/sda2 : start= 16384, size= 7813120, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=9973294F-5AA6-4BF9-950C-5E35F8041AF4 /dev/sda3 : start= 7829504, size= 5859328, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=BB1DAB6B-3455-42BC-979C-0EDBE5EF660F --- Then I adapted growpart (as sfdisk had some options changed) and ran it : --- root@vm6:/tmp/util-linux-2.26.2/.libs# growpart -v /dev/sda 3 max_end=209712510 tot=209712510 pt_end=13688832 pt_start=7829504 pt_size=5859328 CHANGED: partition=3 start=7829504 old: size=5859328 end=13688832 new: size=201883006,end=209712510 root@vm6:/tmp/util-linux-2.26.2/.libs# LD_LIBRARY_PATH=. ./sfdisk -uS -d /dev/sda label: gpt label-id: 98B51944-1718-4DD3-9949-7C82C5BB03E3 device: /dev/sda unit: sectors first-lba: 34 last-lba: 209715166 /dev/sda1 : start= 2048, size= 14336, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=F667C2D9-0D4D-4FA4-8027-F218887A9062 /dev/sda2 : start= 16384, size= 7813120, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=9973294F-5AA6-4BF9-950C-5E35F8041AF4 /dev/sda3 : start= 7829504, size= 201883006, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=BB1DAB6B-3455-42BC-979C-0EDBE5EF660F --- I looked for those needed changes and : - NEW/experimental: 2.26.2-2 : https://tracker.debian.org/pkg/util-linux - https://code.launchpad.net/~smoser/cloud-utils/growpart-sfdisk-2.26 : "initial start at sfdisk 2.26 support" Everything seems on its way. So, that'd be nice, when possible to update util-linux to 2.26.2 and have cloud-utils with growpart and support for sfdisk 2.26. Thanks, Fred -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.16.0-4-powerpc64le (SMP w/80 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages cloud-utils depends on: ii e2fsprogs 1.42.12-1.1 ii euca2ools 3.1.0-1 ii file 1:5.22+15-2 ii gnupg 1.4.19-2 ii python 2.7.9-1 ii python-paramiko 1.15.1-1 ii python-yaml 3.11-2 ii util-linux 2.25.2-6 Versions of packages cloud-utils recommends: ii distro-info 0.14 ii python-distro-info 0.14 cloud-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/20150507171651.63969.66021.report...@fruit.test.toulouse-stg.fr.ibm.com
