storage partition running out of space
#1
Hi,

I am running openelec 4.21 on a raspberry pi. I have an eight Gb SD. card.
when I run login to ssh I see that 7 gb is in use on the storage partition as I do a file search I only see 700 mb used on the storage partition. could this be file corruption? and if so is there anyway to fix this without having to plugin my SD card in to a computer, which is temporarily down. any other ways of find the large files are also welcome.
Reply
#2
Run:
Code:
(cd /storage && du -sk $(ls -1) | sort -k1nr)
(cd /storage/.xbmc && du -sk $(ls -1) | sort -k1nr)
(cd /storage/.xbmc/userdata && du -sk $(ls -1) | sort -k1nr)

as this may reveal where a lot of your space has gone. My initial guess would be userdata/Thumbnails, which probably needs pruning.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#3
Hi,

thanks but but no only 85 mb there just got an accidental reset (power outage) while looking a movie in gomovies and again I loose 400 mb. just cannot find the file or files
Reply
#4
Can you post your partition layout please?

Code:
parted -l
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
#5
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 4.2.1
OpenELEC:~ # parted -l
Model: SD SDC (sd/mmc)
Disk /dev/mmcblk0: 8069MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 boot, lba
2 136MB 7672MB 7536MB primary ext4


OpenELEC:~ #
Reply
#6
It sounded like the storage partition wasn't taking up the whole disk space, but that doesn't look like it's the issues.

Please post the output of the following commands. The command will return a URL, please post that back here.
Code:
df -h | paste
Code:
du -lh -d 1 /storage | paste
Code:
du -lh -d 1 /storage/.xbmc/userdata | paste
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
#7
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 4.2.1
OpenELEC:~ # df -h | paste
http://sprunge.us/AWTc
OpenELEC:~ # du -lh -d 1 /storage | paste
http://sprunge.us/VOYe
OpenELEC:~ # du -lh -d 1 /storage/.xbmc/userdata | paste
http://sprunge.us/UIFU
OpenELEC:~ #
Reply
#8
Yes something is definitely odd here,

df reports
/dev/mmcblk0p2 6.8G 6.7G 59.9M 99% /storage

yet du reports
377.3M /storage

I would recommend running fsck manually on the sd card, You have to do this in another pc using linux or a gparted live cd.

Other than that make a backup of the /storage/.xbmc folder and reformat the storage partition.
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply

Logout Mark Read Team Forum Stats Members Help
storage partition running out of space1