Message boards : Questions and problems : Incorrect "Total disk space" detection
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
I can't get FUSE to actually mount an NTFS image without root privileges :( Got that one sorted out. Normally FUSE allows only the mounting user to access the mounted filesystem. Allowing everybody to access the filesystem would open door to some security issues. Just in case you know what you are doing FUSE provides allow_other mount option that you can use to override the default mode. Since security is in question using allow_other is allowed only to root or root can set it in fuse.conf to allow non-root users to use it. For some reason the front end program to ntfs-3g sets allow_other by default and, as far as I can tell, doesn't provide any way to not set it. I patched the ntfs-3g binary so that the option isn't set and now I can mount NTFS images without root privileges. Quite a few distros install FUSE and ntfs-3g by default so this could still be an option. |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
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. Initially, I was misinformed. BOINC has not been compiled on the cluster. This is the regular version. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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. I see, thanks for clarifying that. Erm... That raises the question is there something else that's different from what you have told us (no offense intended.) Could you run these two commands: stat -c "%m" /path/to/boincdata/client_state.xml stat -f /path/to/boincdata/client_state.xml |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Hello! :-) Could you run these two commands: Output from host that run BOINC: -sh-4.1$ stat -c "%m" client_state.xml Strange... Total Blocks * Block size = 6G but real volume size is terabytes... |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
-sh-4.1$ stat -c "%m" client_state.xml Bummer, your stat is too old to know about %m. That command was supposed to tell the mountpoint for the filesystem that contains BOINC's data directory - is it /home2 or something else. You could dig that from output of mount or from /proc/mounts, picking the one that's closest to /path/to/boincdata or run the following commands: cd /path/to/boincdata while ! mountpoint `pwd`; do cd ..; done -sh-4.1$ stat -f client_state.xml Well, that does tell one thing: BOINC wasn't lying when it told you it was running on 6GB filesystem. At least not more than OS... Back in February I peeked into source code of both df and stat to see if they do anything different from what BOINC does. I'm not sure anymore but I think df and stat fetched the filesystem details in essentially the same way. |
Send message Joined: 1 Feb 14 Posts: 11 ![]() |
Juha, yes, it is "unexpected behavior" of OS on this computing system. Thank you! |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
Not sure if that means case closed, but glad I could be of help. |
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.