Out of Space on JFFS - Need to understand OpenWRT underpinnings

Ok, so I’m pulling my hair out on this one. There is only one related post out there about this issue but I wanted to start a new thread to specifically understand the Open WRT underpinnings of the Vera. Here are my issues, I hope someone can help me explain.

  1. I have not installed anything on my Vera other than the Vera firmware. Yet I am out memory on the JFFS partition. Therefore I can’t install any other software. I’ve deleted all my temp directories, does anyone know how else I can make room?

I am also concerned if running an always-on OS with a full filesystem is stable? I do not believe so, and would like to free up space for that reason alone.

I am thinking of mounting a USB stick to install apps? Has anyone tried this?

  1. I tried to do a MiCasa directed factory reset by pushing the black button twice. As promised, It wiped out all my Vera rooms, scenes , and passwords; but, my JFFS is still full. What I’m confused about is that I did a “factory reset” and the Vera layer reset, but when I go into my MAC filter table in Open WRT, they are still there! So I’m guessing, a Factory Reset only means Vera Reset. How do I do a full reset of Open WRT? and is MiCasa shipping the vera with a full JFFS on purpose? I tried looking for a reset function within Open WRT and it says it needs some type of file.

  2. I tried to get support from MiCasa and they said they would ONLY support the Vera software and not Open WRT, and the WIKI is quite lacking in technical details. So now I’m trying to understand how Vera sits on top of Open WRT. Can I install my own fresh Open WRT and then put Vera on top? Or does the Vera reinstall Open WRT with it’s “firmware?”

  3. Backup files. There are two places to make backup config files. One is in Vera, one is in Open WRT. Does anyone know if one supercedes the other? Do I need both? If so, what orrder should they be restored in.

I hope someone can enlighten me, I’m starting to regret using this setup.

Well, this takes care of one of questions

Re: Booting off a separate drive…
« Reply #3 on: December 11, 2008, 08:54:53 pm »
Yes. Any changes made in the router management stays even after at Vera firmware update.

This is what it looks like at my system:

root@Vera7092:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 15248 7036 8212 46% /tmp
mini_fo:/tmp/root 6272 6272 0 100% /tmp/root
/dev/mtdblock/4 1280 588 692 46% /jffs
mini_fo:/jffs 6272 6272 0 100% /

du -a / and then sorted by size provided the following list on my system.

YMMV, Kamikaze pilot

20621 /tmp
20085 /tmp/root
20007 /rom
11793 /rom/usr
11793 /tmp/root/usr
11790 /usr
5626 /rom/usr/lib
5626 /tmp/root/usr/lib
5624 /usr/lib
4875 /rom/usr/bin
4875 /tmp/root/usr/bin
4875 /usr/bin
3894 /lib
3894 /rom/lib
3894 /tmp/root/lib
3319 /www
3254 /rom/www
3254 /tmp/root/www
2808 /www/cmh
2741 /rom/www/cmh
2741 /tmp/root/www/cmh
2591 /lib/modules
2591 /rom/lib/modules
2591 /tmp/root/lib/modules
2590 /lib/modules/2.4.35.4
2590 /rom/lib/modules/2.4.35.4
2590 /tmp/root/lib/modules/2.4.35.4
1366 /rom/usr/bin/ZWave
1366 /tmp/root/usr/bin/ZWave
1366 /usr/bin/ZWave
1209 /rom/usr/sbin
1209 /tmp/root/usr/sbin
1209 /usr/sbin
1129 /rom/www/cmh/images
1129 /tmp/root/www/cmh/images
1129 /www/cmh/images
1058 /rom/usr/lib/libxml2.so.2.6.20
1058 /tmp/root/usr/lib/libxml2.so.2.6.20
1058 /usr/lib/libxml2.so.2.6.20
1023 /rom/usr/lib/libcrypto.so.0.9.8
1023 /tmp/root/usr/lib/libcrypto.so.0.9.8
1023 /usr/lib/libcrypto.so.0.9.8

thanks for the snap shot, have you been able to install anything permanently?

Also when I say JFFS, I think I mean root. I’m not near my router right now so I can’t do a direct compare, but it looks like your root is at 100% as well.

I wonder if any one knows how the memory is broken down in the Open WRT install across RAM and Flash. I can see the benefit of limiting flash space to prevent unnecessary rewrite and wear and tear on the Flash.

No I haven’t tried to install any programs. I’ve just created a few scripts only. Did not have a need to install anything yet, since it’s not my f/w. (It’s behind my router on the LAN.)

HF, Kamikaze pilot.

Setting up another router may be my last resort.