Jump to content


Photo

How to reduce VAR size on 5620


  • Please log in to reply
9 replies to this topic

#1 t_g

  • Member
  • 5 posts

0
Neutral

Posted 10 October 2011 - 15:42

Hi

I have installed a PLI image for the first time after years of using GP ones. Must say, I am very pleased, only problem is that I don't have enough space in the VAR to install 2 cams, for instance CCCam and mgcamd.

I tried to delete some stuff, but still nt enough.

Is there a way to remove the skins for instance? I tried but it won't let me do it.

Thanks, TG

Re: How to reduce VAR size on 5620 #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 10 October 2011 - 17:45

Welcome on this forum.

The DM5620 has a very very limited /var space. So, all extras you see like the skins and CCcam are not in /var but in the image itself. They don't take any /var space. That's why we already included them in the image.

If you want to be sure, just check the /var directory. I don't have a DM5620 here, but I expect there's nothing to delete. Just type "ls -rl /var" (that's an "L") in telnet and post the output here, so I can check if there's anything to be removed.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: How to reduce VAR size on 5620 #3 t_g

  • Member
  • 5 posts

0
Neutral

Posted 11 October 2011 - 10:32

Hi

This is what I got:

Connecting to '192.168.2.5'
Connected

PLi dm56x0 OpenPLi 20111010 (based on 1.08)
welcome on your dreambox! - Kernel 2.6.9 (11:29:40).
dm56x0 login: root
Password:


BusyBox v1.01 (2011.08.18-02:39+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@dm56x0 ~ # cd /
root@dm56x0 ~ # ls -rl /var
dr-xr-xr-x 2 2 2 0 Jan 17 2010 uninstall
dr-xr-xr-x 5 2 2 0 Oct 10 18:14 tuxbox
lrwxrwxrwx 1 root root 4 Jan 1 1970 tmp -> /tmp
drwxr-xr-x 3 root root 0 Oct 10 04:19 spool
drwxr-xr-x 3 root root 0 Oct 10 04:19 share
dr-xr-xr-x 2 2 2 0 Jan 17 2010 script
drwxr-xr-x 2 root root 0 Oct 9 04:20 scce
drwxr-xr-x 2 root root 0 Jan 1 1970 run
lrwxrwxrwx 1 root root 4 Jan 1 1970 mnt -> /mnt
drwxr-xr-x 2 root root 0 Oct 10 04:19 log
drwxr-xr-x 2 root root 0 Oct 10 04:19 lib
dr-xr-xr-x 2 2 2 0 Oct 10 18:15 keys
drwxr-xr-x 2 root root 0 Oct 10 04:19 iptables
drwx------ 4 root root 0 Oct 10 18:31 etc
drwx------ 2 root root 0 Oct 10 18:31 bin

Re: How to reduce VAR size on 5620 #4 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 11 October 2011 - 11:57

I think it should be "ls -Rl" (so, uppercase R, my fault).

Anyway, I already see file which belong to Gemini: /var/script. There may be more Gemini stuff left over. The best solution would be to do a flash erase in Dreamup before you flash your box again. That will erase all files in /var.

I think the "restore factory settings" in the system menu would be sufficient too, if you don't want to flash again.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: How to reduce VAR size on 5620 #5 t_g

  • Member
  • 5 posts

0
Neutral

Posted 17 October 2011 - 09:35

OK I done as you suggested and have a fresh image on the box. Is this "clean" now?

Connecting to '192.168.2.5'
Connected

PLi dm56x0 OpenPLi 20111017 (based on 1.08)
welcome on your dreambox! - Kernel 2.6.9 (01:08:00).
(none) login: root
Password:


BusyBox v1.01 (2011.08.18-02:39+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@(none) ~ # cd /
root@(none) ~ # ls -rl /var
drwxr-xr-x 5 root root 0 Oct 17 2011 tuxbox
lrwxrwxrwx 1 root root 4 Jan 1 01:00 tmp -> /tmp
drwxr-xr-x 3 root root 0 Oct 17 2011 spool
drwxr-xr-x 3 root root 0 Oct 17 2011 share
drwxr-xr-x 2 root root 0 Oct 17 2011 scce
drwxr-xr-x 2 root root 0 Jan 1 01:00 run
lrwxrwxrwx 1 root root 4 Jan 1 01:00 mnt -> /mnt
drwxr-xr-x 2 root root 0 Oct 17 2011 log
drwxr-xr-x 2 root root 0 Oct 17 2011 lib
drwxr-xr-x 2 root root 0 Oct 17 2011 keys
drwxr-xr-x 2 root root 0 Oct 17 2011 iptables
drwxr-xr-x 4 root root 0 Jan 1 01:06 etc
drwxr-xr-x 2 root root 0 Oct 17 2011 bin
root@(none) ~ #


Re: How to reduce VAR size on 5620 #6 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 17 October 2011 - 19:50

Hmm sorry, I still can't see if there are files which could be removed. I'm afraid the "ls -lR" still doesn't work, but it doesn't matter. If you really did a clean flash (including "clear flash" in DreamUp to remove all in /var) you should have the maximal /var space.
Still, the DM5620 really has a very limited /var space. By the way, why would you like to install CCcam if it's already in the image?
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: How to reduce VAR size on 5620 #7 t_g

  • Member
  • 5 posts

0
Neutral

Posted 17 October 2011 - 22:40

I am trying to connect my Qboxhd to the dreambox for homesahring, for some reason it only connects to the older version of cccam...

Re: How to reduce VAR size on 5620 #8 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 18 October 2011 - 01:30

If you don't have enough room in /var to do what you want, you're probably going to have to look into moving /var to a network drive or something similar.


--
hemi

Re: How to reduce VAR size on 5620 #9 t_g

  • Member
  • 5 posts

0
Neutral

Posted 18 October 2011 - 14:49

By the way, why would you like to install CCcam if it's already in the image?


When I just install a fresh PLI image, it has a pre-installed CCcam. In the pulldown menu of the softcam setup it is listed as CCcam 2.1.4 - is this correct? Why would an old version ccam be pre-installed?

Thanks, TG

Re: How to reduce VAR size on 5620 #10 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 18 October 2011 - 17:26

Does the CCcam web interface also show version 2.1.4? See http://<ip-address-of-your-box>:16001
If it's really an old version, I can update it to the latest version (as long it fits in the image).
Many answers to your question can be found in our wiki: http://openpli.org/wiki


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users