Samba - WARNING: dfree is broken on this system

Samba - WARNING: dfree is broken on this system

Postby hotzl » 19 Nov 2011, 15:50

I bought a O!Play HDP R1 in order to play films that were recorded on my ET9000 (that is in the living room) on the TV that is in the dining area over the network. The ET9000 is a linux Sat receiver running the (Dreambox) Enigma2 software. It is running a Samba server to which I can connect with the O!Play and from windows machines. The O!Play also has a 500 GB external USB hard drive attached to it, NTFS. The O!Play plays files from this USB no problem.

I installed HD 2 1.12.06 rev4, and it is great. It is much faster that the original firmware in loading the films and the installed moservices are also a nice touch.

Many thanks for this effort, I know to appreciate the hard work!

In particular the Samba 0.03.8 server is nice because I can now see the O!Play in network and copy files from the ET9000 to to an attached USB 500 GB drive on the O!Play in this manner, und use the O!Play as a NAS in my windows network.

But I have one problem:
I can see the O!Play and the ET9000 in my windows network and transfer files from pc to O!Play and from ET9000 to O!Play over the windows machine.
The O!Play sees the Samba server on the ET9000 and is able to play these files, BUT I have problems seeing files on the O!Play from the ET9000.
The O!Play shows up on the network config screen in Enigma2 on the ET9000.
The ET also logs into the Samba server on the O!Play when Enigma starts, as seen in the log file generated for this IP (192.168.178.55 is the ET9000):

[2011/11/19 10:58:32, 1] smbd/service.c:make_connection_snum(648)
192.168.178.55 (192.168.178.55) connect to service Media initially as user root (uid=0, gid=0) (pid 5538)

So I made a bookmark on the ET9000 and try to open this in the enigma2 media player.
I get an empty directory and the message "0 GB free space" - no subdirectories and no files are listed.
After this attempt there is this entry in the samba log:

[2011/11/19 11:00:42, 0] smbd/dfree.c:disk_free(138)
WARNING: dfree is broken on this system

I think that this might have something to do with "0GB free" and the empty directory listing?

I've googled but didn't really get any further - my Linux is too weak and it doesn't seem to be such a so common problem.

Any ideas what I might be able to change in order to list the files on the O!Play from the ET9000?

BTW I have set up bookmarks on the ET9000 to shared folders on local windows machines attached USB drives and I can list and play files from these folders on the ET9000.
hotzl
 
Posts: 3
Joined: 19 Nov 2011, 15:39

Re: Samba - WARNING: dfree is broken on this system

Postby FarVoice » 19 Nov 2011, 20:30

Try to login to O!Play's samba as Guest
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: Samba - WARNING: dfree is broken on this system

Postby hotzl » 19 Nov 2011, 22:55

Hi FarVoice,

Thanks for the tip - and thanks again for the awesome software.

I can mount Media on the O!Play as guest. Below is the result of mount on the et9000:

Code: Select all
root@et9000:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/sda1 on /media/hdd type ext3 (rw,data=ordered)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /var/volatile type tmpfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
//192.168.178.30/Music on /media/net/music type cifs (rw,mand,unc=\\192.168.178.30\Music,username=XXXXX,rsize=16384,wsize=57344)
//192.168.178.77/Media on /media/net/Media type cifs (rw,mand,unc=\\192.168.178.77\Media,username=guest,rsize=16384,wsize=57344)
//192.168.178.30/DVD on /media/net/dvd type cifs (rw,mand,unc=\\192.168.178.30\DVD,username=XXXXX,rsize=16384,wsize=57344)


I see cd to /media/net/music, /media/net/dvd and /media/net/Media

I can see disk1 inside of Media, but it is a simlink and I am unable to cd to it, so this might be a bit of a problem:
Code: Select all
root@et9000:/media/net# ls
Media  dvd    music
root@et9000:/media/net# cd Media
root@et9000:/media/net/Media# ls
disk1
root@et9000:/media/net/Media# cd disk1
-sh: cd: can't cd to disk1


If I dig into another mount (a WindowsXP shared folder eg. dvd) the subfolders are not simlinks and I can cd into them:

Code: Select all
root@et9000:/media/net# ls
Media  dvd    music
root@et9000:/media/net# cd dvd
root@et9000:/media/net/dvd# ls
CamCorder                      MiniDV DVDs
DVD_from_TV                    tue_0945_306_edited_512kb.mp4
root@et9000:/media/net/dvd# cd CamCorder
root@et9000:/media/net/dvd/CamCorder# ls
June05


So I guess this simlink to disk1 (/tmp/ramfs/volumes/C:) is the difference to the the windoze mounts that are working?
I think that the "WARNING: dfree is broken on this system" is perhaps a false alarm, because I now notice that I see this warning in the pc.ip.number.log when I login to the O!Play Samba from windoze, and everything works anyways.

Does anything come to mind for you how I might be able to get around the simlink to disk1?
hotzl
 
Posts: 3
Joined: 19 Nov 2011, 15:39

Re: Samba - WARNING: dfree is broken on this system

Postby FarVoice » 19 Nov 2011, 23:49

Edit Samba config - set your shares manually, like
Code: Select all
[MyDisk]
path=/tmp/usbmounts/sda1
hide dot files=yes
guest ok=yes
writable=yes
browseable=yes
force create mode=0775
force directory mode=0775
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: Samba - WARNING: dfree is broken on this system

Postby hotzl » 20 Nov 2011, 16:10

FarVoice, YOU ROCK!!!!!!

That did the trick - many, many thanks!
hotzl
 
Posts: 3
Joined: 19 Nov 2011, 15:39


Return to About moServices

Who is online

Users browsing this forum: Google [Bot] and 10 guests

cron