Message boards : Questions and problems : Incorrect "Total disk space" detection
Message board moderation
Author | Message |
---|---|
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Hello! I runing BOINC under Linux without any installation and encountered with incorrect detection of volume size and free space. BOINC reports that total disk space is 6 Gbytes only but real size of volumes much bigger. Output from terminal: -sh-4.1$ ./boinccmd --version BOINC directory located on /home2 with ~10 Tbytes of total space and ~3.5 Tbytes free. Why BOINC detect disk size as only 6 Gbytes? Can i change this behavior? Incorrect detection of drive space does not allow me consume of computing resources of host. |
Send message Joined: 23 Apr 07 Posts: 1112 ![]() |
Output from terminal: That is an almost three year old Alpha version, as in a work in progress, the recommended version was around the Boinc 6.12.34/.35 area, why even use that recommended version when you could use Boinc 7.2.33 the latest recommended, there have been a huge amount of fixes since April 2011. Claggy |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
6.12.22 is quite old. Could you try a newer version in case this is fixed already? For a temporary workaround you could allow BOINC to use 100% of disk space. I would expect BOINC to use up to 6 GB in that case. |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
6.12.22 is quite old. Could you try a newer version in case this is fixed already? A command line version only is need for me, because, for example, "my host" does not have a usual user PC libraries - libXss.so for example. For a temporary workaround you could allow BOINC to use 100% of disk space. I would expect BOINC to use up to 6 GB in that case. Now is 95% and 100% doesn't solve the problem... |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
6.12.22 is quite old. Could you try a newer version in case this is fixed already? Even if you don't run X is installing the libraries completely out of question? If yes, I suppose the only option you have is to compile your own client. What distro is this anyway? For a temporary workaround you could allow BOINC to use 100% of disk space. I would expect BOINC to use up to 6 GB in that case. Yeah I didn't think it would. I just figured 6 GB ought to be enough... |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Some past fixes: Preliminary Change Log 7.0.44 --> 7.0.45: - client: show available disk space correctly on startup. Preliminary Change Log 7.0.47 --> 7.0.48: - client: check return value of the function (statfs or statvfs) used to find disk space and usage. This may be failing for in-memory filesystems on Linux. Is the 6 GB limit enforced or is just a cosmetic bug? |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Yeah I didn't think it would. I just figured 6 GB ought to be enough... Volume - 10 Tbytes, Free - 3 Tbytes, BOINC catalogue ~190 Мbytes. But BOINC client reports that disk space is only 6 Gbytes and free - 400 Mbytes. I don't understand from where it takes this number. Chaos. BOINC without usage of any external libraries and packages with only command-line interface and without any "intelligent features" - is a strongly needed... Is the 6 GB limit enforced or is just a cosmetic bug? No disk quotas. No RAM drives. BOINC starts from huge volume. |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
6.12.22 is quite old. Could you try a newer version in case this is fixed already? The OP needs to think through the client-manager duality of BOINC. The client always runs in the background, with no user interface whatsoever - neither X nor command line (except for initial startup). So at that level, every client release should meet his requirements: if any dependencies on libX.. have crept into the client, they should be found and eradicated. And the design philosophy of BOINC has always been that any management tool - command line or graphical, from BOINC or a third party - will be compatible with any version of the client. Some quirks have crept in over the years, and (perhaps inevitably) older managers can't cope fully with newer features: but the basic functions have remained intact. So updating the client to bring over the bug fixes shouldn't be a problem, even if he retains his old command line management tool. |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
Yeah I didn't think it would. I just figured 6 GB ought to be enough... Does this large volume span multiple physical disks? Edit - BOINC does talk about 'disk' space, rather than 'volume' space - though I don't know whether that distinction was intended to be semantically significant. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Volume - 10 Tbytes, Free - 3 Tbytes, BOINC catalogue ~190 Мbytes. Probably overflow somewhere. Is the 6 GB limit enforced or is just a cosmetic bug? I meant, does BOINC enforce the limit. Has BOINC ever told you it needs more disk space? Open the latest sched_request_*.xml and find <d_total> and <d_free> tags. Does the numbers there match what the client is telling you? |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
The client always runs in the background, with no user interface whatsoever - neither X nor command line (except for initial startup). So at that level, every client release should meet his requirements: if any dependencies on libX.. have crept into the client, they should be found and eradicated. It does depend on X libraries. It needs those to detect how long the user has been idle. edit: That's the stock Berkeley version. The client can be compiled without X libraries but since everybody runs with X these days I'd say Berkeley is distributing the right version. It might be possible to dynamically load the libraries if they exist but it's a nightmare to figure out where they are in the 100+ different distros. |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
Is the 6 GB limit enforced or is just a cosmetic bug? Now, I've done this on my Windows box, where the programs directory lives on a whole different drive, let alone partition, from the actual data directory. The Programs directory lives on a 984.50GB partition on a 2TB drive. The Data directory lives on a 244.14GB partition on a 1TB drive. Output of boinccmd --get_disk_usage: ======== Disk usage ======== total: 262147145728.000000 free: 150990749696.000000 Now, depending on how you installed BOINC (Berkeley installer, repositories, or self-built), you'll have to check whether the data directory (/home/boinc/, /var/lib/boinc-client/, /var/lib/boinc, or elsewhere) doesn't live on a partition that's 6GB big that sits on /vol/home2 So on /vol/home2 do fdisk -l (explanation command) (manpage fdisk)(that's an 'el', not a 'one'). |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Yeah I didn't think it would. I just figured 6 GB ought to be enough... Yes. It is the "network volume" shared by several hosts. I meant, does BOINC enforce the limit. Has BOINC ever told you it needs more disk space? Yes. For example: 01-Feb-2014 18:30:15 [LHC@home 1.0] Computation for task sd_sixt33_390_1.8_6D_err_cc__1__s__62.31_60.32__4_6__6__25_1_sixvf_boinc22_1 finished Open the latest sched_request_*.xml and find <d_total> and <d_free> tags. Does the numbers there match what the client is telling you? Yes: <host_info> Now, depending on how you installed BOINC (Berkeley installer, repositories, or self-built), you'll have to check whether the data directory (/home/boinc/, /var/lib/boinc-client/, /var/lib/boinc, or elsewhere) doesn't live on a partition that's 6GB big that sits on /vol/home2 BOINC is not installed. "BOINC instance" copied to network storage and runs from cataloge /home2/<user>/.../ . I have a permission to run BOINC on host, but I cannot install any software. So on /vol/home2 do fdisk -l (explanation command) (manpage fdisk)(that's an 'el', not a 'one'). No any output... |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
So the 10TB drive is a network storage, not a local one? |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
So the 10TB drive is a network storage, not a local one? Yes. It's true. Most volumes "visible" through network. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Ok. I made a 10 TB sparse file, created ext4 filesystem in the file and dropped 6.12.22 "compat", 6.12.22 x86_64 "ubuntu" and 7.2.33 x86_64 versions in there. All reported the filesystem size correctly. Sooo, NFS? |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Sooo, NFS? Volume, from which I start BOINC "attached" to several hosts in the network. I think that is "NFS volume". |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Back to this one. The size of the volume reported by BOINC is a bit odd. It's not about 6 GB, it's exactly 6 GB. Also the percentage of free space is different, 33% vs 6%. I'm having trouble coming up with an explanation for these. Are you sure there isn't any quotas in place? If you have it installed, what "quota" says? Or actually, can you create a large file, say 10 GB, there? (If you can create that file please tell me BOINC then reports negative free space :P ) Anyway. The version of BOINC you are using is a 32-bit binary. I'm guessing there's some kind of bug in the 64->32 bit conversion. The best way to get BOINC working would be compiling it for your system. Another option might be creating a file system image in a smaller 1-2 GB file and running BOINC from there. Drawback is that mounting the image requires root privileges or FUSE and suitable FUSE-filesystem (like ntfs-3g) installed. |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Back to this one. Thank you! Are you sure there isn't any quotas in place? If you have it installed, what "quota" says? Or actually, can you create a large file, say 10 GB, there? (If you can create that file please tell me BOINC then reports negative free space :P ) No quotas. I simply operate files with total size of tens of gigabytes. Anyway. The version of BOINC you are using is a 32-bit binary. I'm guessing there's some kind of bug in the 64->32 bit conversion. The best way to get BOINC working would be compiling it for your system. It is compiled on the same server that runs and... Another option might be creating a file system image in a smaller 1-2 GB file and running BOINC from there. Drawback is that mounting the image requires root privileges or FUSE and suitable FUSE-filesystem (like ntfs-3g) installed. I have no privileges for administrative actions. Resource owner allows me to run BOINC but only as standalone application. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
No quotas. I simply operate files with total size of tens of gigabytes. Ok. Does creating/deleting large files show in any way in BOINC's disk space report? Anyway. The version of BOINC you are using is a 32-bit binary. I'm guessing there's some kind of bug in the 64->32 bit conversion. The best way to get BOINC working would be compiling it for your system. Wait what? I thought you were running the version you downloaded from here. If you compiled it yourself you can compile any version, including the latest recommended. And if you can compile it yourself you can simply hardcode BOINC to report 10 PB of free disk space... (get_filesystem_info(), at the end of lib/filesys.cpp) Another option might be creating a file system image in a smaller 1-2 GB file and running BOINC from there. Drawback is that mounting the image requires root privileges or FUSE and suitable FUSE-filesystem (like ntfs-3g) installed. Ok, that rules out more native filesystems and I can't get FUSE to actually mount an NTFS image without root privileges :( |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.