maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Tried to free up rootfs space, problem happened (https://talk.maemo.org/showthread.php?t=44703)

maemo.it 2010-02-24 10:02

Re: Tried to free up rootfs space, problem happened
 
well guys, thanks to your advices.. I installed storage usage and Rob1n's pkgs (thank you). Now I'm able to see details about few rootfs memory but...what can I do now?
For example I've only 27,8mb free on rootfs and bigger problem is in usr (245mb).
inside usr I found bigger directory is lib 161mb. what can I delete in lib to free rootfs mem?
eg. locale-archive 28,4mb..I think I can't delete it;
microb-engine 21,9mb..same, I think I can't delete it..
Third bigger in lib/ libqtgui.so.4.5.3 10.2mb, I can't delete it too..
so, what can I do?
:(

ossipena 2010-02-24 10:14

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by maemo.it (Post 543980)
well guys, thanks to your advices.. I installed storage usage and Rob1n's pkgs (thank you). Now I'm able to see details about few rootfs memory but...what can I do now?
For example I've only 27,8mb free on rootfs and bigger problem is in usr (245mb).
inside usr I found bigger directory is lib 161mb. what can I delete in lib to free rootfs mem?
eg. locale-archive 28,4mb..I think I can't delete it;
microb-engine 21,9mb..same, I think I can't delete it..
Third bigger in lib/ libqtgui.so.4.5.3 10.2mb, I can't delete it too..
so, what can I do?
:(

remove something that isn't in rootfs as default? like some extras-testing/dev -software?

F2thaK 2010-02-24 10:27

Re: Tried to free up rootfs space, problem happened
 
WARNING: THIS INFO MAY BE DANGEROUS TO YOUR N900's HEALTH

POWER USERS ONLY



Ive got access through WinSCP over SSH. I can search my enitre device for large files in rootfs.

Ive moved (SYMLINKED) 5 files and saved 46.7 MB on my root.

http://talk.maemo.org/showthread.php?t=43349

This has caused me no trouble has been tested.



the thread below also helps free about another 30-50 MB
but havent tested this as thoroughly:

http://maemo-experience.blogspot.com...on-rootfs.html

maemo.it 2010-02-24 12:09

Re: Tried to free up rootfs space, problem happened
 
my curiosity (I tried to find it in search but nothing) what is rootfs?
egual / in linux desktop distros?
I'd like to know logical structure of maemo filesystem

Rob1n 2010-02-24 12:43

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by maemo.it (Post 544202)
my curiosity (I tried to find it in search but nothing) what is rootfs?
egual / in linux desktop distros?
I'd like to know logical structure of maemo filesystem

rootfs is the filesystem that the root directory is on. The N900 has a 256M OneNAND chip that's used for rootfs, and a (slower) 32GB eMMC flash that's partitioned for 768M swap space, 2G /home, and 27G /home/user/MyDocs. The other key directory you'll read about is /opt which is actually a symlink to /home/opt.

late666 2010-02-24 13:12

Re: Tried to free up rootfs space, problem happened
 
Rootfs is limited to 256mb of memory on a separate chip that's attached to the processor if I'm not mistaken.
Every program installs a bit of itself in rootfs, some more than others, and the rest of it it installs on other parts of the device.
Now, it runs out real quick, so you have to be aware of it, a good way to keep track is to download conky (or the desktop command widget) and check it out once in a while.
If you run out of space, you can't install anything else.. Firmware updates require huge amounts of rootfs space (Just for installation) and updating can be extremely problematic.

Not sure if you know all that already or not, but maybe it will be helpful to anyone else who comes in here.

Edit: Alright, I've created a wiki page for rootfs, I put your explanation in it too rob1n, I hope you don't mind.
http://wiki.maemo.org/Rootfs

maemo.it 2010-02-25 13:16

Re: Tried to free up rootfs space, problem happened
 
thank you guys, following your advices I disabled some repos (eg. extras-devel, extras-testing,..) and now I'd like uninstall all apps in my n900 that aren't optified. There's a way?

Yes: there's a way: http://wiki.maemo.org/Free_up_rootfs_space
;)

nielsvg 2010-02-25 22:58

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by maemo.it (Post 545790)
thank you guys, following your advices I disabled some repos (eg. extras-devel, extras-testing,..) and now I'd like uninstall all apps in my n900 that aren't optified. There's a way?

Yes: there's a way: http://wiki.maemo.org/Free_up_rootfs_space
;)

i almost uninstalled every app on my phone and dit apt-get clean and deactivated some repos but there is still only 37mb free? how can i get more memory free? in the program i see a lot of memory in use under lbs but what more can i do r may i delete without any problems? i am a noob :)

i read somewhere you need a minimum of 45mb for installing a big update?

sifo 2012-04-14 17:35

Re: Tried to free up rootfs space, problem happened
 
1 Attachment(s)
Hi i used the "moveroot.sh" script by Thomas Tanner to free up some space in " / " and the commands in the FAQ i also played around and searched then moved some files (Ringing msg email......tunes and some icoms ) this is what i exactly moved it freed more than 10 MB just you will need a basic knowledge and some time :D

im not responsable about any damage do it at your own risk

well for me nothing happend :D !!

just make the directories (mkdir) then move (mv) then link (ln -s).
I suggest using Filbox to move multiple files then remove them then link them



from To

/usr/include /home/usr/
/usr/lib/gstreamer-0.10 /home/usr/lib/
/usr/share/google-search-widget /home/usr/share/
/usr/share/bookmark-manager /home/usr/share/
/usr/share/calendar /home/usr/share/
/usr/share/rtcom-messaging-ui /home/usr/share/rtcom-messaging-ui/
/usr/share/sounds/(unlinked files) /home/usr/share/sounds/
/usr/share/zenmap/pixmap/ /home/usr/share/zenmap/pixmap

example :
root
mkdir /home/usr/share/
mv /usr/share/google-search-wiget /home/usr/share/
ln -s /home/usr/share/google-search-wiget /usr/share/

"if anybody want all of the commands i will write it no problem im here to help and get helped l:D"

hope this help.,
All respect.
Sifo:cool:
*******************

immi.shk 2012-04-14 18:10

Re: Tried to free up rootfs space, problem happened
 
remove Firefox & icedtea(i.e microemulator)..


All times are GMT. The time now is 19:33.

vBulletin® Version 3.8.8