On 28 January 2016 at 13:53, David Brown <david.brown@linaro.org> wrote:
I've found even just trying to resize the partition manually with resize2fs results in an error:

root@linaro-alip:~# resize2fs /dev/mmcblk0p9

I could be wrong. But is it good to resize rootfs which is in eMMC in a linux system? When we consider the resize requirement, we focus on resize the SD card partition actually (/dev/mmcblk1px), not eMMC.


resize2fs 1.42.12 (29-Aug-2014)
[  198.540333] EXT4-fs (mmcblk0p9): resizing filesystem from 819200 to 1757691 blocks
Filesystem at /dev/mmcblk0p9 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
[  198.603678] EXT4-fs warning (device mmcblk0p9): reserve_backup_gdb:969: reserved block 192 not at offset 191
[  198.613577] EXT4-fs (mmcblk0p9): resized filesystem to 1757691
Performing an on-line resize of /dev/mmcblk0p9 to 1757691 (4k) blocks.
[  198.688748] EXT4-fs warning (device mmcblk0p9): reserve_backup_gdb:969: reserved block 192 not at offset 191
resize2fs: Invalid argument While trying to add group #25


On Wed, Jan 27, 2016 at 10:36 PM, Guodong Xu <guodong.xu@linaro.org> wrote:
+Akira and Ricardo.

Akira, yes we met the same problem in Lemaker. Bruce Zou from lemaker just reported a similar issue here:

On 27 January 2016 at 11:41, Guodong Xu <guodong.xu@linaro.org> wrote:
Hi, Nico and Fathi

Bruce from Lemaker reported this issue when he tries to use 'resize-helper.sh' to resize his SD card on HiKey. Here is his log.

Would you please have a check? Does his procedure correct?


On 27 January 2016 at 10:19, bruce.zou <bruce.zou@lemaker.com> wrote:





root@linaro-alip:~# lsblk


mmcblk0boot0 179:64   0    4M  1 disk

mmcblk0boot1 179:128  0    4M  1 disk

mmcblk0      179:0    0  7.3G  0 disk

├─mmcblk0p1  179:1    0    1M  0 part

├─mmcblk0p2  179:2    0    1M  0 part

├─mmcblk0p3  179:3    0    1M  0 part

├─mmcblk0p4  179:4    0    8M  0 part

├─mmcblk0p5  179:5    0    2M  0 part

├─mmcblk0p6  179:6    0   64M  0 part /boot/efi

├─mmcblk0p7  179:7    0  256M  0 part

├─mmcblk0p8  179:8    0  256M  0 part /media/linaro/cache

└─mmcblk0p9  179:9    0  6.7G  0 part

mmcblk1      179:192  0  7.4G  0 disk

├─mmcblk1p1  179:193  0   68M  0 part /media/linaro/boot

└─mmcblk1p2  179:194  0    2G  0 part /

root@linaro-alip:~# ./resize-helper.sh

Warning: The kernel is still using the old partition table.

The new table will be used at the next reboot.

The operation has completed successfully.

Error: Partition doesn't exist.

resize2fs 1.42.12 (29-Aug-2014)

The filesystem is already 506880 (4k) blocks long.  Nothing to do!




Bruce Zou

Making Innovation Easy
LeMaker Team -- The Professional Makers for Hardware and Software Customization.

Address: B1002, SIAT campus, Shenzhen University Town, Shenzhen, China 
Post Code: 518055 

support@lemaker.org (Technical Support) 
product@lemaker.org (Product Distribution) 



Dev mailing list