Solved -  same devices, same sd cards, not the same storage consumption?
#1
Hi,

I have 2 Kodi devices. Slave1 and Slave2 - both on the same raspberries and the same size of sd cards. Slave2 is the newest and was copied by dd-command.
Today I've checked my storage on the cards and was wondering why they are different. 

I have the latest LibreElec on both devices.

Output complete capacity Slave1:
Code:

MediaSlave1:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                338.5M         0    338.5M   0% /dev
/dev/mmcblk0p1          255.7M    141.2M    114.5M  55% /flash
/dev/mmcblk0p2            6.9G      5.2G      1.7G  75% /storage
/dev/loop0              131.1M    131.1M         0 100% /
tmpfs                   344.0M         0    344.0M   0% /dev/shm
tmpfs                   344.0M      6.0M    338.1M   2% /run
tmpfs                   344.0M         0    344.0M   0% /sys/fs/cgroup
tmpfs                   344.0M     20.0K    344.0M   0% /var
tmpfs                   344.0M         0    344.0M   0% /tmp

Output complete capacity Slave2:
Code:

MediaSlave2:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                338.5M         0    338.5M   0% /dev
/dev/mmcblk0p1          255.7M    141.2M    114.5M  55% /flash
/dev/mmcblk0p2            6.9G      2.8G      4.1G  41% /storage
/dev/loop0              131.1M    131.1M         0 100% /
tmpfs                   344.0M         0    344.0M   0% /dev/shm
tmpfs                   344.0M      6.5M    337.6M   2% /run
tmpfs                   344.0M         0    344.0M   0% /sys/fs/cgroup
tmpfs                   344.0M     20.0K    344.0M   0% /var
tmpfs                   344.0M         0    344.0M   0% /tmp

As you can see: available storage takes 2.8G vs 1.7G - why

So I wanted to get deeper:

Output /storage capacity Slave1:
Code:

MediaSlave1:/ # cd /storage/
MediaSlave1:~ # du -hs *
13.4M   Epg11.db
128.0K  TV29.db
1.0K    backup
1.0K    downloads
4.2M    fanart_own
88.0K   grab_fanart.zip
38.0K   lib
12.0K   lost+found
1.0K    music
1.0K    pictures
1.0K    recordings
1.0K    screenshots
1.0K    shutdown.py
9.5M    skin_confluence_modified.zip
1.2M    tvlogos
1.0K    tvshows
357.0K  videolanguage.zip
1.0K    videos

Output /storage capacity Slave2:
Code:

MediaSlave2:/ # cd /storage/
MediaSlave2:~ # du -hs *
13.4M   Epg11.db
128.0K  TV29.db
1.0K    backup
1.0K    downloads
4.2M    fanart_own
88.0K   grab_fanart.zip
38.0K   lib
12.0K   lost+found
1.0K    music
1.0K    pictures
1.0K    recordings
1.0K    screenshots
1.0K    shutdown.py
9.5M    skin_confluence_modified.zip
1.2M    tvlogos
1.0K    tvshows
357.0K  videolanguage.zip
1.0K    videos
It is 100% the same - I'm not new to linux but how can this output makes sense...I'm already root, nothing is hided here....where are the approx. 2,4GB are hiding itself?!

I am eager to your responses....I don't get it until now....?!?!
Reply
#2
Did you properly flush after the dd command?
Got a Kodi problem? Provide us with a full Debug log (wiki) || Usefull pages: First time user (wiki) || Troubleshooting (wiki) || Free content (wiki) || Forum rules (wiki) || VPN policy (wiki)
Reply
#3
I've used the sync command and properly disconnected the sd card(s).
Reply
#4
https://askubuntu.com/questions/356902/w...es-folders

du  won't show hidden files and folders (in linux anything starting with a . is "hidden") when called the way you did.
* is a shell glob, which won't expand to hidden dotfiles.

tldr: use 
du -ahd1
Reply
#5
(2019-01-12, 01:10)asavah Wrote: du -ahd1

Thank you very much! It was a temp file in the video screensaver. Thank you :-)
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
same devices, same sd cards, not the same storage consumption?00