Reply
Thread Tools
Posts: 118 | Thanked: 45 times | Joined on Dec 2009 @ Germany
#1
I was just playing around with my new N900 and at some point of time - after installing a lot of apps - I ran into the problem, that I couldn't install apps anymore. So I started uninstalling. At some point of time i figured out that rootfs "/" is quite full (2k left or so ).

And it also looks like that how much is stored on rootfs is variable. That means some applications use that space. Which is bad because there is not much left.

So is there a way to increase the rootfs? Or is there a way to get things away from rootfs?

Last edited by emesem; 2009-12-13 at 17:36.
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#2
No, you can't increase it as it's on a separate 256MB flash chip. If you installed apps from extras-testing or extras-devel, they are probably the culprits here. Apps above 500kB are supposed to install to /opt, which is checked before apps are moved from extras-testing to extras. Keep uninstalling and do check which apps make a difference in space on /, then file bugs against these in bugzilla.
 
Posts: 118 | Thanked: 45 times | Joined on Dec 2009 @ Germany
#3
Sord, back-breaking-work.

Anyway. Wrong installation doesn't cause variable usage of rootfs. Is rootfs somehow a tmp-dir for applications?

Or how can I find out which apps are installed on rootfs?
Or how can I find out which directories are on which filesystem?

Last edited by emesem; 2009-12-13 at 19:18.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#4
If you've just installed a load of apps then it may be you've run into the bug where the downloaded install files aren't properly cleared up until the next reboot.
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#5
Perhaps you could do an apt-get clean and see if that helps?
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 203 | Thanked: 375 times | Joined on Nov 2009
#6
Originally Posted by emesem View Post
Or how can I find out which apps are installed on rootfs?
Or how can I find out which directories are on which filesystem?
ssh into your N900 (or use xterm on the device):
To know which directories are on which filesystem use
Code:
mount
To see the available free space on each filesystem use
Code:
df -h
To find large directories do this:
Code:
cd /
du -d 1 -h
 

The Following 2 Users Say Thank You to mzanetti For This Useful Post:
Posts: 93 | Thanked: 30 times | Joined on Sep 2009 @ Sydney, Australia
#7
Originally Posted by floffe View Post
Apps above 500kB are supposed to install to /opt, which is checked before apps are moved from extras-testing to extras.
How do apps get promoted from Extras-devel to Extras-testing ?

Why isnt the /OPT check done before apps get promoted to Extras-testing ?

That way all apps in Extras and Extras-testing would be OPTIFIED and only apps in Extras-devel could cause this problem.
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#8
Originally Posted by Zelig87 View Post
How do apps get promoted from Extras-devel to Extras-testing ?
The maintainer presses a button to promote it, when they feel it's ready to be used by a wider audience. Some basic sanity checks are automated (all dependencies must be available etc). See https://wiki.maemo.org/Extras-devel#...extras-testing for the details.

Originally Posted by Zelig87 View Post
Why isnt the /OPT check done before apps get promoted to Extras-testing ?
Because optification is rather new. There's certainly been discussions of having the build bot (that builds packages for extras-*) optify them unless developers opt out (pun not intended), but it's not implemented yet.
 

The Following User Says Thank You to floffe For This Useful Post:
Posts: 93 | Thanked: 30 times | Joined on Sep 2009 @ Sydney, Australia
#9
Originally Posted by floffe View Post
Because optification is rather new. There's certainly been discussions of having the build bot (that builds packages for extras-*) optify them unless developers opt out (pun not intended), but it's not implemented yet.
I understand there may already be a number of packages in Extras-testing that are not yet optified, but surely now that we know about the problem, we should be preventing any NEW packages making it to Extras-testing without being Optified.

I'm not a developer, so I don't know about the build bot optifying things automatically.

I was just thinking more along the lines that one of the Promotion Checks the package interface could do is to check if it is Optified or not. If it is not Optified, the promotion fails.

Last edited by Zelig87; 2009-12-14 at 16:41.
 
Posts: 118 | Thanked: 45 times | Joined on Dec 2009 @ Germany
#10
Originally Posted by mzanetti View Post
ssh into your N900 (or use xterm on the device):
To know which directories are on which filesystem use
Code:
mount
To see the available free space on each filesystem use
Code:
df -h
To find large directories do this:
Code:
cd /
du -d 1 -h
Sadly, that wasn't exactly I was looking for. At least, I know this commands, but I want is to cd into I directory then send a command which tells me, to which fs this directory belongs to.

Back to the topic: Rebooting did help free some space on rootfs. My next step was to continue installing a bunch of apps combined with several reboots. That didn't improve the situation, but also with rebooting it also didn't went worse. So I continued until my devices froze on rebooting. So I had to flash my device (no backups of course ). And of course I didn't remember the last application I installed. So I continue with the next topic - how to keep rootfs clean/empty?

Btw. I only managed to flash my N900 under windows. Linux somehow didn't work (resource busy or can't get usb address or something alike where the error messages).

Last edited by emesem; 2009-12-15 at 03:54.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:20.