Re: [vdr] Problem with very large filesystem

2009-08-12 Thread Klaus Schmidinger
On 12.08.2009 14:32, Marco Göbenich wrote: > Hi! > > Tried to use > > DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > as added in vdr-1.7.4 make.config.template, but this causes other > warnings/errors: > > recording.c: In constructor ‘cIndexFile::cIndexFile(const c

Re: [vdr] Problem with very large filesystem

2009-08-12 Thread Marco Göbenich
Hi! Tried to use DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE as added in vdr-1.7.4 make.config.template, but this causes other warnings/errors: recording.c: In constructor ‘cIndexFile::cIndexFile(const char*, bool)’: recording.c:1207: warning: format ‘%ld’ expects

Re: [vdr] Problem with very large filesystem

2009-08-12 Thread Marco Göbenich
Hi! Seems that if (statfs(Directory, &statFs) == 0) returns false. I changed struct statfs64 statFs; if (statfs64(Directory, &statFs) == 0) { This works. Recordings are now stored. Is there a better fix for that. Regards Marco Marco Göbenich schrieb: > Hi! > > Some more log output > > Au

Re: [vdr] Problem with very large filesystem

2009-08-12 Thread Marco Göbenich
Hi! Some more log output Aug 12 10:10:40 rec-ism-1 vdr: [12960] ERROR: /video: Value too large for defined data type Aug 12 10:10:40 rec-ism-1 last message repeated 181 times Aug 12 10:10:40 rec-ism-1 vdr: [12960] ...no old recording found, giving up Aug 12 10:10:40 rec-ism-1 vdr: [12960] ERROR:

Re: [vdr] Problem with very large filesystem

2009-08-11 Thread Marco Göbenich
Hi! I'm no C++ programmer but can read the code so I will try to add some output. Regards Marco Klaus Schmidinger schrieb: On 11.08.2009 22:25, Marco Göbenich wrote: Hi! I got a 11 TB NFS storage here to store my recordings, but VDR (1.6.0) states when trying to record "no diskspace a

Re: [vdr] Problem with very large filesystem

2009-08-11 Thread Marco Göbenich
Hi! I have two storage systems here, one has some data ~ 2 TB stored at the storage and one that is empty and that produces this error on the recording machine. 192.168.254.21:/share/tmpvideo 12732465152 11426749952 1305715200 90% /mnt/tmpvideo The other system is only reachable per VPN a

Re: [vdr] Problem with very large filesystem

2009-08-11 Thread Thomas Netousek
Marco Göbenich wrote: > Hi! > > I got a 11 TB NFS storage here to store my recordings, but VDR (1.6.0) > states when trying to record "no diskspace available". > > Does anybody know how to fix this. > > Regards > > Marco > I have a 13TB xfs filesystem and that works fine. I would suspect that the p

Re: [vdr] Problem with very large filesystem

2009-08-11 Thread Klaus Schmidinger
On 11.08.2009 22:25, Marco Göbenich wrote: > Hi! > > I got a 11 TB NFS storage here to store my recordings, but VDR (1.6.0) > states when trying to record "no diskspace available". > > Does anybody know how to fix this. Please add some debug output to FreeDiskSpaceMB() in tools.c to see whether