question

samsamsamsamsam avatar image
samsamsamsamsam asked

More memory for /dev/root

Hello

I have a Cerbo GX with 8GB memory instead of 4GB.

I would like to have more memory for /dev/root.

With the script

/opt/victronenergy/swupdate-scripts/resize2fs.sh

I have tried to free up more memory.

However, only 1.3 GB is enabled for /dev/root.


root@einstein:~# fdisk -l

Disk /dev/mmcblk1: 7.29 GiB, 7818182656 bytes, 15269888 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0x564e5553


Device Boot Start End Sectors Size Id Type

/dev/mmcblk1p1 * 2048 18431 16384 8M c W95 FAT32 (LBA)

/dev/mmcblk1p2 18432 2639871 2621440 1.3G 83 Linux

/dev/mmcblk1p3 2639872 5261311 2621440 1.3G 83 Linux

/dev/mmcblk1p4 5261312 15269887 10008576 4.8G 5 Extended

/dev/mmcblk1p5 5263360 15269887 10006528 4.8G 83 Linux



root@einstein:~# df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/root 1202464 1087480 39112 97% /

devtmpfs 465376 4 465372 0% /dev

tmpfs 515040 848 514192 0% /run

tmpfs 515040 284 514756 0% /var/volatile

/dev/mmcblk1p5 4859040 138628 4453868 3% /data

tmpfs 515040 848 514192 0% /service

overlay 515040 284 514756 0% /var/lib


Thank you

Sam

cerbo gxVenus OSroot
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources