Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Jul 2007
#1
Hi,

my n800 runs out of memory, how can i expand the
/mnt/initfs without any data loss?

When I try to install a new application, it says: "No more memory left on device /tmp".

/mnt/initfs $ df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 2048 2048 0 100% /mnt/initfs
none 512 64 448 13% /mnt/initfs/tmp
/dev/mtdblock4 257536 133712 123824 52% /
none 512 64 448 13% /tmp
none 1024 64 960 6% /dev
/dev/mmcblk1p1 2009216 307296 1701920 15% /media/mmc1
/dev/mmcblk0p1 122912 65552 57360 53% /media/mmc2
/mnt/initfs $

Many thanks in advance!

cheerz!! ;-)
 
Posts: 1,038 | Thanked: 737 times | Joined on Nov 2005 @ Helsinki
#2
delete all files from your Images, Documents, Audio and Video folders. That should help to easen the load on the fs.
 
Posts: 6 | Thanked: 0 times | Joined on Jul 2007
#3
Hi,

this has already been done.
Further the instruction manuals are deleted,
but still out of memory ;-(

Could I expand the space without data impact?

Thanks ;-)
 
Posts: 191 | Thanked: 29 times | Joined on Sep 2007 @ Ottawa
#4
Originally Posted by useR View Post
Hi,

this has already been done.
Further the instruction manuals are deleted,
but still out of memory ;-(

Could I expand the space without data impact?

Thanks ;-)
As a temporary measure you could probably remount /tmp onto one of your mmc cards (assuming it is formatted ext2 or ext3). But this will become a problem when you reboot.

Not sure why you are geting this error. Here is what my df looks like:
Code:
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4            2048      2048         0 100% /mnt/initfs
none                       512       140       372  27% /mnt/initfs/tmp
/dev/mtdblock4          257536    116160    141376  45% /
none                       512       140       372  27% /tmp
none                      1024        60       964   6% /dev
/dev/mmcblk0p1         7873928     80864   7393092   1% /media/mmc2
So you can see, my root partition is also at 100%, but it doesn't prevent me from installing software. I suspect there is something else going on (not all that helpful, sorry).

Craig...
__________________
N800, Think Outside Kbd, 8GB SDHC Card (OCZ, ext2), and 8GB SD Card (Patriot formatted as VFAT)
Zaurus SL-6000, IR Keyboard, 1GB SD Card
 
Posts: 6 | Thanked: 0 times | Joined on Jul 2007
#5
Hi,

thanks for the reply,

When I try to install a new application, it says: "No more memory left on device /tmp".

Can I clean /tmp or will something stop to work?
In other systems, it does not make any affect,
but how is it here on the n800?

Many thanks in advance!

bye :-)
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#6
/tmp is mounted to ramdisk ans is limited to 0.5MB, just reboot the device to free up /tmp. if this happens again then complain to author of the package, /tmp is limited on both N770 and N800 and no package should use it and try to create big files there.

BTW /mnt/initfs is not your root device and it is normal that it is 100%full, correct lines to check are

useR:
Code:
/dev/mtdblock4 257536 133712 123824 52% /
cvmiller:
Code:
/dev/mtdblock4  257536    116160    141376  45% /
both are OK
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 6 | Thanked: 0 times | Joined on Jul 2007
#7
HI,

thanks for the reply....buuut.... can I
make /tmp bigger in order to have
more space there?

It is not possible to change the application...

Many thx!
 
claws's Avatar
Posts: 88 | Thanked: 24 times | Joined on Jul 2007
#8
Consider getting a large MMC card and boot from that. The instructions can be found here http://maemo.org/community/wiki/HowT..._From_MMC_card

It's well worth it and is easy to do. If you want bigger and faster, this is for you!
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#9
Well, booting from mmc won't help you with small /tmp at all.


Originally Posted by useR View Post
can I
make /tmp bigger in order to have
more space there?
Well, yes but you should loudly complain to the author of the app to not to use /tmp in that way on Nokia tablets. Having said that, you can remount /tmp and increase the limit at runtime

This is example how to raise the limit to 2MB
Code:
mount -t tmpfs none -o remount,size=2M /tmp
You must run it at each boot as root or modify /mnt/initfs/linuxrc where /tmp is mounted for N800 with size=512K parameter. Or you can remount it somewhere in boot scripts (like /etc/init.d/rcS).
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:51.