#1
Geplaatst op 22 januari 2009 - 21:04
it copied all the files onto the NAs drive in var: pli/
When i look at it shows as network drive is selected.
Whne i install a plugin i get
yet it shows free space in var/: 312477496 kb
Package needs 8 kb
error installing package
it appears to be half using the var i.e it has it mapped as /var but isn`t actually using it but using the internal memory of the DM
anyone any ideas?
Box is DM500S (original)
Re: Var on NAS problems #2
Geplaatst op 22 januari 2009 - 21:22
Re: Var on NAS problems #3
Re: Var on NAS problems #4
Geplaatst op 22 januari 2009 - 21:37
touch /var/hello
Does that give an error? And is an empty file "hello" created on your NAS?
Re: Var on NAS problems #5
Re: Var on NAS problems #6
Geplaatst op 22 januari 2009 - 21:58
mount
Post the output here.
Re: Var on NAS problems #7
Geplaatst op 22 januari 2009 - 22:19
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
/proc on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock/1 on /var type jffs2 (rw,noatime)
none on /tmp type ramfs (rw)
/dev/mtdblock/1 on /var_flash type jffs2 (rw,noatime)
//192.168.1.67/moviw on /media/hdd type cifs (rw,nodiratime,unc=\192.168.1.67\movie,username=admin,rsize=8192,wsize=8192)
//192.168.1.67/var on /media/var type cifs (rw,nodiratime,unc=\192.168.1.67\var,username=anonymous,rsize=8192,wsize=8192)
Re: Var on NAS problems #8
Geplaatst op 22 januari 2009 - 22:31
Re: Var on NAS problems #9
Geplaatst op 22 januari 2009 - 22:50
its strange how it shows /var as 320gb free when i try installing an addon but /var used 85% on the dreambox settings page.
Re: Var on NAS problems #10
Geplaatst op 22 januari 2009 - 22:57
I don't know why it shows 85% used. I do know in file mode the percent used is wrong (until you reboot your Dreambox). That's fixed in the next image.
Re: Var on NAS problems #11
Re: Var on NAS problems #12
Geplaatst op 23 januari 2009 - 08:50
And I see you have a mount on /media/hdd. Does that one work? Try "touch /media/hdd/hello".
Re: Var on NAS problems #13
Geplaatst op 23 januari 2009 - 20:19
I reinstalled PLI fresh last night and deleted all my shares and restarted from scratch
I just made on folder PUBLIC and then set up the mounts again and they made dirs movie and var within the folder,
did the test with touch and it created the files in each dir.
Tried a recording via timer that recoeded fine and played back
moved var to NAS and it copied all the files over into pli folder
but will still not install new plugins to the var on NAS
really confused with this as it obviously can write to the var folder as it has copied contents of var to it and it reports space available on the NAS when it fails to install a plugin due to no room in var (as it is installing to the flash var)
Re: Var on NAS problems #14
Geplaatst op 23 januari 2009 - 20:23
Re: Var on NAS problems #15
Geplaatst op 23 januari 2009 - 20:30
I just checked the file /etc/init.d/rcS:
elif [ -e /media/var/pli/$VERSION/var ] ; then
echo "Mounting /var on Network"
umount /var
/bin/mount -o bind /media/var/pli/$VERSION/var /var
So, after a reboot your /var should be mounted on /media/var/pli/..../var
Re: Var on NAS problems #16
Re: Var on NAS problems #17
Geplaatst op 23 januari 2009 - 21:36
Re: Var on NAS problems #18
Re: Var on NAS problems #19
Geplaatst op 23 januari 2009 - 21:42
echo rcS starting
/bin/mount -n -t proc proc /proc
/bin/mount -n -t devpts devpts /dev/pts
/etc/init.d/init1
mount -t cramfs /dev/mtdblock/6 /root
/bin/showlogo /root/root/platform/kernel/bild
umount /root
#set environment variables ( mID )
. /proc/bus/dbox.sh
export LD_LIBRARY_PATH=/tmp:/var/lib:/lib:$LD_LIBRARY_PATH
export PATH=/tmp:/var/bin:$PATH
echo Mounting /var
/bin/mount -t jffs2 /dev/mtdblock/1 /var
PLI_VERSION=0310
eval `grep ^version /.version`
VERSION=`echo $version |sed -e 's/^00*20\(......\).*$/\1/'`
mount -t ramfs none /tmp
chmod 1777 /tmp
# set a hostname, mounting will otherwise fail
[ ! -e /var/etc/hostname ] && cp /var_init/etc/hostname /var/etc/hostname
/bin/hostname -F /var/etc/hostname
# bring up loopback interface
/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up
# we are now trying to get up eth0 so we can do mountings!
/bin/setupnetwork > /tmp/iplog.log 2>&1
init=0
[ -e /var/.pli_init-$PLI_VERSION ] || init=1
if [ $init -eq 1 ] ; then
echo First boot
# first make a backup to tempdir
/bin/backupflash.sh
echo Unmounting /var
umount /var
echo Flash erasing
/bin/eraseall /dev/mtd/1
echo Mounting /var
/bin/mount -t jffs2 /dev/mtdblock/1 /var
cp -a /var_init/* /var
touch /var/.pli_init-$PLI_VERSION
/bin/movevar.sh unmove
else
echo Not first boot, no flash erase is needed
fi
#check if a dir /media/var/pli/removeatnextboot is present, if so delete it now
[ -d /media/var/pli/removeatnextboot ] && rm -rf /media/var/pli/removeatnextboot
# Check where /var has to be mounted
echo "Booting version : "$VERSION >> /tmp/boot.log
if [ -d /media/var/pli/$VERSION/var ] ; then
echo "Mounting /var on Network" >> /tmp/boot.log
umount /var
/bin/mount -o bind /media/var/pli/$VERSION/var /var
if [ $init -eq 1 ] ; then
rm -rf /var/*
fi
else
echo "starting in flash" >> /tmp/boot.log
fi
# allways mount var_flash
mount -t jffs2 /dev/mtdblock/1 /var_flash
# If there are backup files now is the time to copy them back ;-)
[ -d "/tmp/var_backup" ] && /bin/restoreflash.sh
#create empty keyfile for keyfile updater
[ ! -f "/var/keys/irdeto" ] && touch /var/keys/irdeto
[ ! -f "/var/keys/SoftCam.Key" ] && touch /var/keys/SoftCam.Key
[ ! -d "/var/tuxbox/scce" ] && ln -s /var/scce /var/tuxbox/scce
ln -s /dev/dvb/card0/demux0 /dev/dvb/card0/demux1
ln -s /dev/dvb/card0/dvr0 /dev/dvb/card0/dvr1
ln -sf sound/dsp /dev/dsp
ln -sf fb/0 /dev/fb0
ln -s /dev/input/mice /dev/psaux
ln -s /dev/input/mice /dev/mouse
[ -e /var/etc/rc.config ] && . /var/etc/rc.config || . /var_init/etc/rc.config
/sbin/inetd &
[ -e /var/etc/init ] && . /var/etc/init
swapon -a &
# If Inadyn is installed and enabled start it
if [ "$INADYN" = enabled ] ; then
echo "Going to start Inadyn"
/var/bin/inadyn --input_file /var/etc/inadyn.config
fi
# If firewall needs to be started do it now
if [ "$FIREWALL" = enabled -a -x "/var/bin/firewall.sh" ] ; then
( /var/bin/firewall.sh start ) &
fi
# If Cron is enabled start it
if [ "$CRON" = enabled ] ; then
crond &
fi
if [ "$SYSLOG_LOG" = enabled ] ; then
if [ -n "$SYSLOG_HOST" ] ; then
syslogd -R $SYSLOG_HOST
else
syslogd
fi
klogd
fi
if [ "$GSUB" = enabled ] ; then
/var/bin/gSUB &
fi
if [ -x /var/bin/pli_ecmhelper ] ; then
/var/bin/pli_ecmhelper
else
/bin/pli_ecmhelper
fi
if [ -x /var/bin/dropbear.sh ] ; then
/var/bin/dropbear.sh
fi
exec /bin/start_enigma
exit 0
Re: Var on NAS problems #20
Geplaatst op 23 januari 2009 - 21:48
Also tagged with one or more of these keywords: DM500
Canal digitaal probleem met kaart heractivatieBegonnen door Lutz, 7 jun 2014 dm500, et9000 |
|
|||
HDD problems DM500HD!Begonnen door Elgreco, 4 nov 2013 DM500, HDD |
|
|||
E1 build failsBegonnen door pr.malek, 16 okt 2013 build, enigma1, dm500 |
|
|||
DM500 build CDK libtool errorBegonnen door xalanaseon, 14 mrt 2013 DM500, CDK, LIBTOOL, ACLOCAL.M4 |
|
|||
DM500 is not workingBegonnen door wonder4, 12 mrt 2013 dm500 |
|
1 gebruiker(s) lezen dit onderwerp
0 leden, 1 bezoekers, 0 anonieme gebruikers