WeTek Community Forum

Enigma2 error when recording: disk full /media mounted as tmpfs only 64.0K

owe.b.robertsenowe.b.robertsen Posts: 50WeTek Community Member
Enigma2 error when recording: disk full /media mounted as tmpfs only 64.0K

root@wetekplay:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 181.9M 142.4M 26.1M 85% /
devtmpfs 412.5M 4.0K 412.5M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
tmpfs 412.6M 584.0K 412.0M 0% /var/volatile


This is because script /etc/init.d/volatile-media.sh is testing if /media has been mounted.
# mountpoint -q "/media" || mount -t tmpfs -o size=64k tmpfs /media

I first try to expand 2nd partition with remaining free space using "gparted" from linux ubuntu.
But found out that the easy was to do this is to create a 3rd partition like this:

# parted --script /dev/mmcblk0 'mkpart pri ext4 226MB 100%'
# mkfs.ext4 /dev/mmcblk0p3
# echo "/dev/mmcblk0p3 /media/hdd auto defaults 0 0" >>/etc/fstab
# reboot

root@wetekplay:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 181.9M 143.7M 24.8M 85% /
devtmpfs 412.5M 4.0K 412.5M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
tmpfs 412.6M 440.0K 412.1M 0% /var/volatile
/dev/mmcblk0p3 29.0G 43.9M 27.5G 0% /media/hdd
Sign In or Register to comment.
Help Center

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

© Copyright 2014 - Creative Dreams | Powered by Vanilla
All times are UTC