gohxs / cloudmount Goto Github PK
View Code? Open in Web Editor NEWCloudmount Cloud services gdrive, dropbox linux mount tool
License: Apache License 2.0
Cloudmount Cloud services gdrive, dropbox linux mount tool
License: Apache License 2.0
I just tried go get and got the following:
runtime.main_main·f: relocation target main.main not defined
runtime.main_main·f: undefined: "main.main"
What am I doing wrong?
Listing of disk space usage with df -h
yields the following:
df: ‘/mnt’: Function not implemented
Filesystem Size Used Avail Use% Mounted on
/dev/root 412G 20G 372G 5% /
...
Expected: Dropbox storage appears alongside other filesystem and shows used / available storage.
Moving a large file (3.7 GB) to a mounted location results in:
mv: failed to close ‘/mnt/large-file.tar.gz’: Invalid argument
ls
listing with proper size, but not visible in Dropbox.Expected:
i am trying to copy lots of medium-sized (<200MB) files into dropbox-cloudmount and get very frequently "connection losts" or "mount losts" as my php script complains: "Transport endpoint is not connected" . and then unmounting and remounting is annoyingly slow, as it takes several minutes/tries to get back a working mount. and i loose it again after a bunch of files... could not find any reason...
debian jessie, fuse 2.9.3, latest cloudmount from repo, go1.9.3
i do something like this to mount as i need the mount for the www-data/33 user:
su - www-data -c '/usr/src/gostuff//bin/cloudmount -vv -t dropbox -o uid=33,gid=33,ro=false /etc/dropbox.yaml /mnt/dropbox/'
how do i debug this and as i could not find something in the logs (what to look for?)
thanx
It looks like the log package has not been imported in go.
When installation,
$ go get github.com/gohxs/cloudmount
The following error occurs.
../go-workspace/src/github.com/gohxs/cloudmount/flags.go:39:4: undefined: log
../go-workspace/src/github.com/gohxs/cloudmount/flags.go:68:4: undefined: log
../go-workspace/src/github.com/gohxs/cloudmount/flags.go:74:3: undefined: log
../go-workspace/src/github.com/gohxs/cloudmount/flags.go:79:3: undefined: log
hi
do you still maintain cloudmount?
i still rely on cloudmount to mount dropbox into fs. meanwhile i have 21k folders with a total of around 210k files in it... sometimes its impossible to get it working. i dont't know why...
i just compiled your last version...
i still start it with -vv and log shows:
... lots of "res.Entries 500" and then:
[594:2021-01-18 17:34:24.445 dropboxfs]: Loaded: res.Entries 500 +0.78/s service.go:149
[595:2021-01-18 17:34:25.616 dropboxfs]: Loaded: res.Entries 500 +1.17/s service.go:149
[596:2021-01-18 17:34:25.918 dropboxfs]: Loaded: res.Entries 14 +0.30/s service.go:149
[ 66:2021-01-18 17:34:43.344 fuse]: Op 0x00000022 connection.go:396] <- GetInodeAttributes (inode 1) +117.46/s connection.go:207
[ 67:2021-01-18 17:34:43.344 fuse]: Op 0x00000022 connection.go:479] -> OK () +0.30/ms connection.go:207
[ 68:2021-01-18 17:34:43.345 fuse]: Op 0x00000023 connection.go:396] <- OpenDir (inode 1) +0.09/ms connection.go:207
[ 69:2021-01-18 17:34:43.345 fuse]: Op 0x00000023 connection.go:479] -> OK () +0.15/ms connection.go:207
[ 70:2021-01-18 17:34:43.345 fuse]: Op 0x00000024 connection.go:396] <- ReadDir (inode 1) +0.05/ms connection.go:207
[ 71:2021-01-18 17:34:43.345 fuse]: Op 0x00000024 connection.go:479] -> OK () +0.12/ms connection.go:207
[ 72:2021-01-18 17:34:43.345 fuse]: Op 0x00000025 connection.go:396] <- ReadDir (inode 1) +0.05/ms connection.go:207
[ 73:2021-01-18 17:34:43.345 fuse]: Op 0x00000025 connection.go:479] -> OK () +0.12/ms connection.go:207
[ 74:2021-01-18 17:34:43.345 fuse]: Op 0x00000026 connection.go:396] <- ReleaseDirHandle +0.05/ms connection.go:207
[ 75:2021-01-18 17:34:43.345 fuse]: Op 0x00000026 connection.go:479] -> OK () +0.12/ms connection.go:207
[ 76:2021-01-18 17:34:46.382 fuse]: Op 0x00000027 connection.go:396] <- GetInodeAttributes (inode 1) +3.04/s connection.go:207
[ 77:2021-01-18 17:34:46.382 fuse]: Op 0x00000027 connection.go:479] -> OK () +0.20/ms connection.go:207
[ 78:2021-01-18 17:34:46.383 fuse]: Op 0x00000028 connection.go:396] <- LookUpInode (parent 1, name "0cv7n0exi3n") +0.06/ms connection.go:207
[ 79:2021-01-18 17:34:46.383 fuse]: Op 0x00000028 connection.go:481] -> Error: "no such file or directory" +0.13/ms c
(my app tries to access some folder independent of mount-status.... )
and if i ls my mountpoint:
"Loading..."
nothing happens anymore...
in strace "cloudmount -f -vv -t dropbox -o uid=33,gid=33,ro=false /etc/dropbox.yaml /mnt/dropbox/" i see never ending appearences of
10030 pselect6(0, NULL, NULL, NULL, {0, 20000}, 0) = 0 (Timeout)
...
10030 pselect6(0, NULL, NULL, NULL, {0, 10000000}, 0) = 0 (Timeout)
any ideas what is going on? do you need more logs?
thanx a lot and cheers.ivo
If your config file is .yml instead of .yaml, the command goes on but without any values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.