Project

General

Profile

Bug #3429

Storage space is not accurately reported with FTP mounts

Added by John Doe almost 9 years ago. Updated almost 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2015-12-21
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-1228~g07f77f6-dirty
Affected Versions:

Description

Similar to the 'df' command TVH also doesn't report the size of the FTP mount correctly. It shows 7629GB for my FTP mounted 2 TB HDD and it never changes. I just found out that you can use the 'du' command which does report the storage space of FTP mounted directories accurately. As this will probably wake the HDD, it might be useful to only do this when accessing the finished/failed recordings section of TVH.

Your work is much appreciated, hope this can be implemented as well.

Cheers

History

#1

Updated by Jaroslav Kysela almost 9 years ago

  • Status changed from New to Invalid

It's fault of the VFS backend (FUSE FTP ?). It should report the filesystem size correctly, but I think that's impossible for FTP, because this protocol does not pass this information. Use NFS or any other real network filesystem.

#2

Updated by John Doe almost 9 years ago

Jaroslav Kysela wrote:

It's fault of the VFS backend (FUSE FTP ?). It should report the filesystem size correctly, but I think that's impossible for FTP, because this protocol does not pass this information. Use NFS or any other real network filesystem.

The thing is, it is possible to get accurate storage info of FTP mounts using the 'du' command, surely this can be implemented?

Aside from that, my HDD is attached to my router and a NFS mount is simply not stable, if I try to record to a NFS mount it'll eventually crash during the recording. FTP on the other hand is quite stable.

Also available in: Atom PDF