ATV2 internal HDD full
#1
hi,

I tried searching but couldnt understand the other threads, please try to answer in a noob friendly manner.

ATV2 is full.
I cant unistall it so i deleted the thumbnails folder from via xbmc.

How can i store the thumbnails on my SMB folder?

i use putty to ssh into atv2.

Thanks in advance
Reply
#2
Wow, are you only using your ATV2 for XBMC? Or are you renting movies/TV shows as well using the apple software?

The harddrive running full is pretty odd as it has 7-7.5Gb space and that should be more than enough for thumbnails and other data.

Please log in to your ATV2 using putty and issue the following command: df -h

My output of the command:
Code:
jr-htpc:~ root# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/disk0s1s1        750M  399M  344M  54% /
devfs                  27K   27K     0 100% /dev
/dev/disk0s1s2        6.7G  924M  5.8G  14% /private/var

As you can see /private/var (where xbmc keeps it's stuff) has 5.8Gb available space.
After you have done this you can use the command "du -sh" to find the directory where the space is used. I.e.:
Code:
jr-htpc:~ root# du -sh /private/var/*
112K    /private/var/Keychains
0       /private/var/Managed Preferences
0       /private/var/MobileDevice
0       /private/var/audit
0       /private/var/backups
67M     /private/var/cache
16K     /private/var/db
0       /private/var/ea
0       /private/var/empty
0       /private/var/folders
8.0K    /private/var/keybags
24M     /private/var/lib
0       /private/var/local
0       /private/var/lock
112M    /private/var/log
64K     /private/var/logs
286M    /private/var/mobile
0       /private/var/msgs
48K     /private/var/preferences
200M    /private/var/root
24K     /private/var/run
0       /private/var/spool
209M    /private/var/stash
16K     /private/var/tmp
0       /private/var/vm
0       /private/var/wireless

This way I can see how much space each folder inside /private/var takes up on the disk. I can now choose the folder that takes up most space (mobile):

Code:
jr-htpc:~ root# du -sh /private/var/mobile/*
0       /private/var/mobile/Applications
286M    /private/var/mobile/Library
0       /private/var/mobile/Media
0       /private/var/mobile/Updates


And follow this practice (now Library inside mobile inside /private/var):
Code:
jr-htpc:~ root# du -sh /private/var/mobile/Library/*
0       /private/var/mobile/Library/AddressBook
104K    /private/var/mobile/Library/Application Support
101M    /private/var/mobile/Library/Caches
0       /private/var/mobile/Library/Cookies
0       /private/var/mobile/Library/Inboxes
0       /private/var/mobile/Library/Keyboard
3.5M    /private/var/mobile/Library/Logs
0       /private/var/mobile/Library/MobileInstallation
182M    /private/var/mobile/Library/Preferences
0       /private/var/mobile/Library/Safari
0       /private/var/mobile/Library/WebClips
0       /private/var/mobile/Library/WebKit


This turned out rather lengthy.. I hope it helped Smile Just remember everything on the ATV2 is case sensitive, so if a letter is uppercase it needs to be uppercase in your commands as well.

If this doesn't help, there's plenty of threads about synchronizing ATV2's, where you basically store your thumbnails and movie info on the server together with media instead of on the ATV2. Have a looksie on the forum Smile
Reply
#3
After deleting the whole thumbnail folder, i have only 1 gb free. how can i free up the memory ?


Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/disk0s1s1        750M  398M  346M  54% /
devfs                  27K   27K     0 100% /dev
/dev/disk0s1s2        6.7G  5.7G 1007M  86% /private/var

Code:
Apple-TV:~ root# du -sh /private/var/*
168K    /private/var/Keychains
0       /private/var/Managed Preferences
0       /private/var/MobileDevice
0       /private/var/audit
0       /private/var/backups
63M     /private/var/cache
16K     /private/var/db
0       /private/var/ea
0       /private/var/empty
0       /private/var/folders
8.0K    /private/var/keybags
24M     /private/var/lib
0       /private/var/local
0       /private/var/lock
4.1M    /private/var/log
128K    /private/var/logs
5.4G    /private/var/mobile
0       /private/var/msgs
56K     /private/var/preferences
38M     /private/var/root
24K     /private/var/run
0       /private/var/spool
170M    /private/var/stash
16K     /private/var/tmp
0       /private/var/vm
0       /private/var/wireless

the mobile folder is 5.4 gb and i deleted the thumbnails, how can i delete its contents?
Reply
#4
Storing thumbs over SMB: http://forum.xbmc.org/showpost.php?p=837103&postcount=2

This can be done independently from mysql.

While there is something odd here, I would still store thumbs over the server. Even after the mystery files have been found, it's still not unusual to run out of space due to thumbs/fan art.
Reply
#5
du -h /private/var/mobile and see where the log jam is.
Reply
#6
Thx Ned,

But i dont know how to create a txt file and inject it to atv2
Reply
#7
ramiy Wrote:Thx Ned,

But i dont know how to create a txt file and inject it to atv2

Filezilla for windows
Cyberduck for mac
Reply
#8
Thank you very Much!!!
Reply
#9
i logged into atv2 with filezilla but was totally confused on how to do it. Is there a tutorial on how to store the data over smb.

I appologize in advance if i am asking to be spoonfed but i am not a programmer nor have that kind of knowledge of code, although i am learning!!!

thanks in advance
Reply
#10
ramiy Wrote:i logged into atv2 with filezilla but was totally confused on how to do it. Is there a tutorial on how to store the data over smb.

I appologize in advance if i am asking to be spoonfed but i am not a programmer nor have that kind of knowledge of code, although i am learning!!!

thanks in advance

I use a mac, but if Filezilla is anything like the GUI in Cyberduck then all you have to do is navigate to the location we told you about before:

var/mobile/Library/Preferences/XBMC/userdata/

On your desktop make a text file with the <advancedsettings> stuff, and save it as advancedsettings.xml. Drag this file over to the open window in Filezilla when it is pointed to the userdata folder.
Reply

Logout Mark Read Team Forum Stats Members Help
ATV2 internal HDD full0