Hi,
I need help fixing this. Volumio2 on cubix-i4. Partition expansion seems to correctly put the rest of the space to partition 3 but overlayfs is still very small and when I transfer files to /data/INTERNAL it confirms that it is indeed very small (only able to put in about one album of flac files, and then no more space).
volumio@volumio:/data/INTERNAL$ df
Filesystem Size Used Avail Use% Mounted on
overlayfs 415M 362M 27M 94% /
/dev/mmcblk0p2 2.4G 534M 1.7G 25% /imgpart
/dev/loop0 265M 265M 0 100% /static
…
volumio@volumio:/data/INTERNAL$ sudo parted -s /dev/mmcblk0 unit MB print free
[sudo] password for volumio:
Model: SD SU32G (sd/mmc)
Disk /dev/mmcblk0: 31915MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
0.03MB 1.05MB 1.02MB Free Space
1 1.05MB 64.0MB 62.9MB primary fat16 boot, lba
64.0MB 65.0MB 1.05MB Free Space
2 65.0MB 2500MB 2435MB primary ext4
3 2500MB 31915MB 29415MB primary ext4
Please enlighten me as what could be the problem since I am not too familiar with the advanced filesystem with the dynamic part.
No I did not.
I did try to turn off wifi thru the web menu but it came back on and I have not tried to turn it off again.
Other than that I tried to enable ssh (succeed), but I only used it to investigate the partition (using df for example).
Is there any config file that I can report to diagnose the issue?
I am at work now so can’t look at it directly but it was downloaded last Sat/Sun, and on Sun I checked for update and it said that it was the newest version.
I use another 32GB sdcard and redo from start. This time doing nothing other than loggin in directly using usb keyboard and hdmi out to tv.
Did df and fdisk -l.
Same result as above only 415 M overlay
seems like the overlayfs did not get connected to the #GB partition that is mounted as /dev/mmcblk0p3
This is getting stranger by the day.
I will show what I get after flashing and booting from an 8Gb SD card on a cubox-i2ex.
There is no reason why it should be different on a cubox-i4.
Can you please compare this with yours, so we are absolutely sure we’re looking at the same versions:
I am typing mine since ssh does not work. Don’t know why and it’s very late now.
essentially the same as yours except for the memory amount part. My cubox-i4 has more memory, but overlayfs is smaller (the confusing stuff).
and you really just flashed the image to an SD, synced (linux) or properly ejected (pc), took it, stuck it immediately in the Cubox and booted, nothing like manually resizing?
That would be as good as impossible (but I guess there is a first for everything).
First thing happening at boot time is creating the factory backup, resize the data partition and mount it all as part of the overlay fs. I don’t get why overlayfs does not span the rest of the disk in your case…
Correct. Even tried it the second time to make sure that I did not do to much (for the first one I enabled ssh, and tried to turn off wifi from the local html interface). Seceond one I did not do any of those. The result is the same.
Is there any way to check what is wrong with overlayfs form other file(s)?
fdisk -l shows the 27.4GB partition on /dev/mmcblk0p3. Is this the expected behavior?
df does not show this partition.
Or is there any way to tell it to redo the expansion manually (libreelec will redo the expansion if we touch a certain file - /storage/.please_resize_me). Is there a way to do this in volumio.
Can you tell me if the resize partition step has actually been done (from the fdisk -l result) ?
More info:
Looking at /etc/mtab I see this:
/dev/mmcblk0p3 /mnt/ext …
…
overlayfs / overlayfs rw, relative, lowerdir=/mnt/static, upperdir=/mnt/ext/dyn
…
So I am expecting to be able to do this:
cd /mnt/ext but the directory is not there.
Does this mean that mmcblk0p3 did not really got mounted?
BTW which process / config did the mounting of mmcblk0p3?
Neither 0p2 nor 0p3 are in /etc/fstab.
Same issue, gparted under my ubuntu 18.04 laptop and run Partition menu then check (Vérifier in french) and it is solved, more than 50Gb of my 64Gb SD card intead of 245Mb