Installation of FineFS

91 views
Skip to first unread message

amaury

unread,
Jul 26, 2009, 6:14:24 AM7/26/09
to finemedia-oss
I added a new wiki page with installation instructions:
http://code.google.com/p/finefs/wiki/InstallationInstructions

This thread is opened to discuss about your FineFS install problems
(or success!).

Amaury Bouchard

unread,
Mar 7, 2013, 9:25:37 AM3/7/13
to fineme...@googlegroups.com
Hi David,

Thanks for the RedHat install scripts.

But FineFS is not a replication software; it's a filesystem. In order to be used, your application(s) must use the given library to read and write files. Then, these files will be replicated across the cluster. It is not designed to replicate a "cold" folder on your hard disk. Sorry if it wasn't clear.

Best regards,

Amaury


On Wednesday, March 6, 2013 8:47:02 PM UTC+1, David Bompart wrote:

Hi Amaury,

Straight to my point, I was looking for a veeery easy and simple replication software without rsync problems, and this finefs seems to be the one; glusterfs or gfs2 have serious performance and locking problems. I already followed the installation instructions, here are my observations:

- Even though I'm a debian user, for RedHat derivated distros (fedora, centos, etc), before running the init script:

(SHOULD BE ADDED TO INSTALLATION README FILE) bash#> chown -R apache /opt/finemedia/finefs/bin /opt/finemedia/finefs/var

(SHOULD BE ADDED TO INSTALLATION README FILE)       bash#> sed -i 's/FINEFS_USER=www-data/FINEFS_USER=apache/g' /etc/init.d/finefs

(SHOULD BE ADDED TO INSTALLATION README FILE)       bash#> sed -i 's/www-data/apache/g' /etc/cron.d/finefs

Because the apache user is not the same and this command should make it simpler for others who want a straight forward installation process.

- On CentOS 6.3 I failed to run the script, because of the following error: "Unable to set group. Aborting."

- After running the "exec.FineFSDaemon.php" and checking that the service was actually assigned to the right port and a pid file was created, etc etc, I Still couldn't file where to put the files I wanted to replicate since its nowhere in the documentation, I was figuring out some place inside the same folder /opt/finemedia/finefs/... so I decided to stop right there


David Bompart

unread,
Mar 7, 2013, 1:19:15 PM3/7/13
to fineme...@googlegroups.com
You're welcome.

Indeed, my bad I didnt read the part where it says that I have to use the libraries and stuff, thanks for pointing that for me.

Yup, I meant FS instead of software, I was generally refering to anything that could replicate data comparing utilities vs fs, and a fs was the best option for me.

I'm still in the quest for a stable and simple FS then, thanks excellent work anyway.

Regards,
Sorry for my bad english.

Amaury Bouchard

unread,
Jun 5, 2013, 4:43:01 AM6/5/13
to fineme...@googlegroups.com
Hi Amarnath,

I don't know which user identity is used for Apache on Fedora.
FineFS's daemon is usually run under the "www-data" identity, because it's the Apache's user on Debian/Ubuntu.


Imagine you want to run FineFS under the "apache" identity. You'll have to modify two files:

- In the "etc/finefs.rc" file (which is symlinked as "/etc/init.d/finefs"), change the line
        FINEFS_USER=www-data
    by
        FINEFS_USER=apache
- In the "etc/finefs.ini" file, uncomment and change the line
        ;user="www-data"
    by
        user="apache"

Then everything should be fine.


Le mercredi 5 juin 2013 08:02:50 UTC+2, Amarnath V a écrit :
Hi All,
I am getting the below error while doing the installation.

[root@pravalika finefs]# /etc/init.d/finefs start
Unable to set group. Aborting.

Please let me know what i am doing wrong.As let me how to add the user "www-data".
I am using fedora OS.

Thanks,
Amarnath
Reply all
Reply to author
Forward
0 new messages