New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount from fstab runs in foreground #36
Comments
That's odd, it worked fine for me. Could you double check that you are at the latest revision? sudo mount /mnt/mountpoint mounted the volume with the following messages left open in foreground: 2015/11/07 21:34:10.777609 s3.INFO Switching from region 'us-west-2' to 'us-east-1' CTRL-C unmounted the volume. —Reply to this email directly or view it on GitHub. |
goofys -v Same after running: go get github.com/kahing/goofys |
What's the git revision? —Reply to this email directly or view it on GitHub. |
Sorry, I don't know how to tell. Tried "git pull" from within the src directory and it says "Already up-to-date." |
The -f option shows in --help but makes no difference |
I cannot reproduce this issue. Could you verify that go install is installing goofys to the same place mount is running it from? |
which goofys shows /home/ubuntu/.gvm/pkgsets/go1.5.1/global/bin/goofys I delete all trace of goofys from the go directories, then ran get and install again. Same problem. Should I send you my binary? |
How does mount run goofys from /home/ubuntu/.gvm/pkgsets/go1.5.1/global/bin/goofys ? |
"/home/ubuntu/.gvm/pkgsets/go1.5.1/global/bin/goofys bucketname /mnt/mountpoint" ran in background. Copy or symlink goofys binary to /usr/bin or /bin so that I am able to use fstab and it runs in foreground. |
This is my fstab entry: goofys#bucketname /mnt/mountpoint fuse allow_other,--file-mode=0777,--dir-mode=0777,--uid="33,--gid="33",--storage-class="REDUCED_REDUNDANCY" 0 0 |
so if you run |
no run from the commandline it is working fine, only when I add the entry above to fstab and type "sudo mount /mnt/mountpoint" it runs in foreground. |
Sounds like you are not running the same goofys then. Try
and compare the goofys |
ubuntu@archive:~$ sudo strace -f mount /mnt/cpirepsarchive.s3/ >& xout ^Cubuntu@archive: I see a problem here "/home/ubuntu/goofys" There is no goofys in the home directory. I'll check paths, and reboot. |
What's |
/bin/goofys is where I copied /home/ubuntu/.gvm/pkgsets/go1.5.1/global/bin/goofys. |
So what's launching /home/ubuntu/goofys? I pushed another commit for additional error check, could you rebuild and try again? |
I've rebooted go get and go install again and no longer get any output from: $ sudo strace -f mount /mnt/mountpoint >& xout |
Correction. I get: execve("/bin/mount", ["mount", "/mnt/mountpoint"], [/* 15 vars */]) = 0 |
The new build returns: ubuntu@ip-10-0-0-27:~$ sudo mount /mnt/mountpoint/ goroutine 1 [running]: goroutine 17 [syscall, locked to thread]: goroutine 5 [runnable]: |
I just built and ran on another ubuntu 14.04 server and got the same problem: ubuntu@devrs:~$ sudo mount /mnt/cpisyndicationarchive.goofys Maybe how I'm installing go? http://www.hostingadvice.com/how-to/install-golang-on-ubuntu/ |
Thanks for helping me debug this issue! I couldn't reproduce this problem because I do all my test in the source dir, where the original binary exists. The issue is due to sevlyar/go-daemon#8 |
Thanks for open sourcing this much needed alternative to the unreliable S3FS and RIOFS. |
Hello, I have the same issue. debug shows: 2018/06/07 12:47:03.534282 s3.INFO Switching from region 'us-east-1' to 'eu-west-1' but ls /mnt/goofys/panthermedia-test/ not returning |
Getting the same thing, oddly it worked great for about a week, not sure what could have changed but im in the same boat as everyone else here now, everything i've tried results in this same error. |
What's "the same thing"? This issue was fixed 3 years ago. Could you elaborate more since you are likely not having the exact same issue (even though the symptom maybe similar) |
s3.INFO Switching from region 'us-east-1' to 'us-west-2' the same error's as stated above. |
if you run |
@kahing Thank you, yes I just had to unmount with fusermount -u /path/to/mnt and rerun goofys. Thanks again for such a timely reponse. |
used goofys#bucketname /mnt/mountpoint fuse allow_other,--file-mode=0777,--dir-mode=0777,--uid="33,--gid="33",--storage-class="REDUCED_REDUNDANCY" in /etc/fstab.
sudo mount /mnt/mountpoint mounted the volume with the following messages left open in foreground:
2015/11/07 21:34:10.777609 s3.INFO Switching from region 'us-west-2' to 'us-east-1'
2015/11/07 21:34:10.816434 main.INFO File system has been successfully mounted.
CTRL-C unmounted the volume.
The text was updated successfully, but these errors were encountered: