Please point me to where I'm sure it's been discussed. And will SOMEONE PLEASE FIX YOUR DOCUMENTATION!!! I'm using CentOS 5.4, and just installed glusterfs, version says 2.0.8. There is no manpage for glusterfs-volgen. The doc on your site is WRONG: I followed the exact instructions for raid 1... and it fails, immediately, telling me '--export-directory' option not given, exiting Another complaint: I had to go to wikipedia to find that I needed to install glusterfs-server on the servers that will make up the volume, and the client on only one (apparently), and not everything on every server. mark
Mark, Wow this is a really aggressive e-mail. I also struggled (I am new to glusterfs as well) with everything on your list, and wish some things were improved. However I would prefer that the developers create a better product than spend time creating docs during their development cycle. They have been releasing new versions and probably have not had the time needed to create the documentation yet. I hope you will get the answers you need, but you did not really ask any questions. How can the gluster community help you? ^C m.roth at 5-cent.us wrote:> Please point me to where I'm sure it's been discussed. > > And will SOMEONE PLEASE FIX YOUR DOCUMENTATION!!! > > I'm using CentOS 5.4, and just installed glusterfs, version says 2.0.8. > There is no manpage for glusterfs-volgen. The doc on your site is WRONG: I > followed the exact instructions for raid 1... and it fails, immediately, > telling me '--export-directory' option not given, exiting > > Another complaint: I had to go to wikipedia to find that I needed to > install glusterfs-server on the servers that will make up the volume, and > the client on only one (apparently), and not everything on every server. > > mark > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > >
> I'm using CentOS 5.4, and just installed glusterfs, version says 2.0.8.You may should go with the 3.0.X verisons and you are going to have glusterfs-volgen.
Ok, here is what I did (I am also using CentOS): 1. mkdir /usr/src/glusterfs on my primary data server. 2. wget the following packages: glusterfs-client-3.0.2-1.x86_64.rpm glusterfs-common-3.0.2-1.x86_64.rpm glusterfs-debuginfo-3.0.2-1.x86_64.rpm glusterfs-devel-3.0.2-1.x86_64.rpm glusterfs-server-3.0.2-1.x86_64.rpm 3. rsync the /usr/src/glusterfs dir to all server and client machines 4. On the servers install everything, on the clients install glusterfs-client, glusterfs-common, and glusterfs-debuginfo 5. mkdir /etc/glusterfs on all machines 6. Create a partition to share 7. run the following (if you have more data servers you can list more than 2): /usr/bin/glusterfs-volgen -n <cluster_name> -r 1 -c /etc/glusterfs <ip of the primary server>:<path to mount point of the partition to share> <ip of the secondary server>:<path to mount point of the partition to share> 7. rsync the .vol files to all machines. 8. Start glusterfsd on the servers (I have 2) 9. add this to your /etc/fstab (even on the servers if you want access to the partitions from the servers) /etc/glusterfs/<cluster_name>.vol /<gluster client mount_point> glusterfs defaults 0 0 10. run mount -a That is it. Please feel free to ask me more questions if this is to terse or unclear in some way. ^C m.roth at 5-cent.us wrote:>> Mark, >> Wow this is a really aggressive e-mail. > > Well, the documentation is insufficient. And I would have assumed that > there would be a man page for glusterfs-volgen, not just a usage. > <snip> >> They have been releasing new versions and probably have not had the time >> needed to create the documentation yet. >> I hope you will get the answers you need, but you did not really ask any >> questions. > > Excuse me? > a) what do I do with the option --export-directory? > b) I installed via package - on each server, do I have to edit a > configuration file, or will glusterfs-volgen do that for me? > > In short, I was trying to follow the directions the community has up, and > I can't get to generate the volume. Therefore, since my manager wants to > play with it asap, I'm somewhat irritated that I can't just follow the > directions... which was why I was assuming that people had complained > about this before, and so I asked for a link to either documentation or a > thread that told me what to do. > > mark > > >
Well, my manager wants me to try to get glusterfs working from the rpms that the CentOS team has, so it's try to get 2.0.8 working. I started to follow Chad's process... and ran into the same thing that started me on this: his glusterfs-volgen has *no* --export-directory in the command. Googling, I found <http://www.cs.cmu.edu/~ewalter/gluster/> which is, in fact, 2.0.8. However, there's things I still don't get. Now, I've installed the server and common on all my nodes. I've only installed common and client on my head node (this is an HPC cluster that I'm building this on). 1) where do I run the glusterfs-volgen command, on the head (client) box, or on each of the servers? 2) if the latter, why does the command offer the option of listing multiple hosts? I have, as the link I posted recommends, symlinked /etc/glusterfs with /usr/local/etc/glusterfs. I've created the directories I want as part of this on each of my nodes, all with the same name. Once I get this part, then I'll get to the client side... mark
volgen will generate the files. Its like generating RPC stubs for client and server. You can do that on any machine, actually. Then you take the server and client files and put them on server. The client will fetch specification file from the server. Alternately you can also copy the vol file to the client, without turning on fetch spec. ----- Original Message ----- From: "m roth" <m.roth at 5-cent.us> To: gluster-users at gluster.org Sent: Saturday, March 6, 2010 12:26:43 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi Subject: Re: [Gluster-users] glusterfs-volgen Well, my manager wants me to try to get glusterfs working from the rpms that the CentOS team has, so it's try to get 2.0.8 working. I started to follow Chad's process... and ran into the same thing that started me on this: his glusterfs-volgen has *no* --export-directory in the command. Googling, I found <http://www.cs.cmu.edu/~ewalter/gluster/> which is, in fact, 2.0.8. However, there's things I still don't get. Now, I've installed the server and common on all my nodes. I've only installed common and client on my head node (this is an HPC cluster that I'm building this on). 1) where do I run the glusterfs-volgen command, on the head (client) box, or on each of the servers? 2) if the latter, why does the command offer the option of listing multiple hosts? I have, as the link I posted recommends, symlinked /etc/glusterfs with /usr/local/etc/glusterfs. I've created the directories I want as part of this on each of my nodes, all with the same name. Once I get this part, then I'll get to the client side... mark _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users