-
Notifications
You must be signed in to change notification settings - Fork 25
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
how to install or compile proxyfs on ubuntu #549
Comments
Hi m-amir-ir, A couple of comments: In the ProxyFS directory, there is a Makefile... Assuming you have your Golang setup, this should be sufficient. The default "all" target builds everything you need. Your question was about building for Ubuntu - specifically 18.04. Therein lies a challenge. One aspect of ProxyFS is support for SMB. The way this is accomplished is via Samba of course. But, importantly, ProxyFS uses the "vfs" mechanism to integrate a C library (2 actually) into the Samba program (smbd). Such support for arbitrary versions of Samba is limited. Indeed, Samba version 4.4 is targeted...well behind the version that ships with Ubuntu 18.04. The currently supported Samba integration is keyed to CentOS 7.4. you should do a "git submodule update --recursive" to fetch the C code for the Samba integration. Make should do the rest by default. If you are not in need of SMB, ProxyFS is far more portable. Ubuntu and even macOS work fine. You can look in the Makefile to see what targets are needed...basically you want to avoid the "c-*" targets for anything other than CentOS. Indeed, look at what "all" defaults to under macOS for your guide. For NFS, things are easier. ProxyFS includes support for a local FUSE mount point for a volume. You can simply use that locally...or set up nfsd to export it (i.e. in /etc/exports). Finally, a path under heavy development is PFSAgent (the pfsagentd/ subdir). PFSAgent is designed to run on any client (except Windows...though it works well inside WSL 2). PFSAgent basically replaces the client's SMB or NFS Client mount mechanism. This path truly makes ProxyFS scale out for file reads & writes...though, as I said, it's still maturing (1.16.9 works well but 1.17.0 is currently unstable). Come over to the Slack group (proxyfs.slack.com) to discuss more...love to engage. |
Let me add one more tidbit... Under the saio directory, there is a Vagrantfile for launching a VM environment that can build and deploy both a single node Swift ("saio" stands for "Swift All In One") plus all of ProxyFS (indeed, including PFSAgent). There is even a Dockerfile (in saio/container) to do the same. In the Dockerfile case, you should see the startup shell file that even launches everything (look for CMD). This setup is sufficient to expose SMB, NFS, and even PFSAgent to your host or another VM/Container. |
dear "edmc-ss" |
Hmm... Does your Docker HostOS have a /dev/loop0 device? Is it possibly in use by some other process? I've not seen this one... |
Ok... I think I have one theory why you might have had trouble. Fortunately, the fix was already ready-to-go... and I've just merged it to development. BTW, I there is also a default One reason you might want to use Please let us know if you've gotten past the "No /dev/loop" issue with or without these proposed updates... |
thanks a million, I successfully build and run my docker container. |
hello members.
I am thinking about installing or compiling proxyfs on Ubuntu 18.04 and after that connect to exist openstack swift in my server form , but this project doesn't have user manual for it .
do you have any suggestion for me ?
The text was updated successfully, but these errors were encountered: