25 replies to this topic
#1
Posted 22 January 2009 - 21:04
I have installed a fresh PLI jade, crated var share on NAS drive and selected move VAR to media/var.
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)
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
Posted 22 January 2009 - 21:22
Do you also get the "Not enough free space..." error message? You should get that one if there's really no space left. Otherwise, the "error installing package" error could be something mount related (for example, no write rights).
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #3
Re: Var on NAS problems #4
Posted 22 January 2009 - 21:37
First check if it's really a permission problem. In telnet type this:
touch /var/hello
Does that give an error? And is an empty file "hello" created on your NAS?
touch /var/hello
Does that give an error? And is an empty file "hello" created on your NAS?
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #5
Re: Var on NAS problems #6
Posted 22 January 2009 - 21:58
And if type in telnet:
mount
Post the output here.
mount
Post the output here.
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #7
Posted 22 January 2009 - 22:19
output is
/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)
/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
Posted 22 January 2009 - 22:31
Are you sure the username "anonymous" is right? In your other mount you use "admin".
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #9
Posted 22 January 2009 - 22:50
Not sure where 'anonymous' is coming from ? I have no passwords set on the SMB server setup screen and FTP is disabled (was enabled before so i disabled it in case it was being created from there)
its strange how it shows /var as 320gb free when i try installing an addon but /var used 85% on the dreambox settings page.
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
Posted 22 January 2009 - 22:57
I think you get "anonymous" if you don't specify a password, but I'm not sure. You could try a user name/password, maybe your NAS doesn't accept this user name.
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.
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.
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #11
Re: Var on NAS problems #12
Posted 23 January 2009 - 08:50
Strange... the mount is there, but you just can't write to it. Did you already try it to mount from your PC?
And I see you have a mount on /media/hdd. Does that one work? Try "touch /media/hdd/hello".
And I see you have a mount on /media/hdd. Does that one work? Try "touch /media/hdd/hello".
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #13
Posted 23 January 2009 - 20:19
Yes Hdd is recording fine (via timer)
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)
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
Posted 23 January 2009 - 20:23
Well, for the harddisk you used username "admin" so your mount on /media/var should be exactly the same (except for the "var" and /media/var of course).
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #15
Posted 23 January 2009 - 20:30
By the way, did you reboot the Dreambox?
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
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
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #16
Re: Var on NAS problems #17
Posted 23 January 2009 - 21:36
Are you really sure? Can you post that rcS file here, so we can check for any bugs.
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Var on NAS problems #18
Re: Var on NAS problems #19
Posted 23 January 2009 - 21:42
#!/bin/sh
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
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
Posted 23 January 2009 - 21:48
You are right... I posted the wrong rcS and yours is right. Can you check if you have a directory "/media/var/pli/.../var"? (the dots are something like "0109200901200000").
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Also tagged with one or more of these keywords: DM500
Canal digitaal probleem met kaart heractivatieStarted by Lutz, 7 Jun 2014 dm500, et9000 |
|
|||
HDD problems DM500HD!Started by Elgreco, 4 Nov 2013 DM500, HDD |
|
|||
E1 build failsStarted by pr.malek, 16 Oct 2013 build, enigma1, dm500 |
|
|||
DM500 build CDK libtool errorStarted by xalanaseon, 14 Mar 2013 DM500, CDK, LIBTOOL, ACLOCAL.M4 |
|
|||
DM500 is not workingStarted by wonder4, 12 Mar 2013 dm500 |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users