[Gluster-users] Adding new storage nodes to existing GlusterFS network

Roland Rabben roland at jotta.no
Thu Sep 23 12:03:03 UTC 2010


Hi Craig
After unmounting the client, modifying my client vol file to include the new
storage servers and mounting the volume on my client, it does not seem that
new files written to existing folders are stored on the new servers. They
only end up on the old servers. Is this expected?

If I create a new folder and store new files here, the files are stored on
both new and old servers.

Is this where the scale-n-defrag script come into action?
Can you please describe what it does?
Does it move any files, or does it just update metadatainformation to
include the new servers?

All new files are written to existing folders, so I need a solution to this.
I also have many TB of data and millions of files, so moving files around
will take a long time.

Thanks

Roland Rabben

2010/9/22 Craig Carl <craig at gluster.com>

> Roland -
>    You can find the *scale-n-defrag* script here -
> http://ftp.gluster.com/pub/gluster/glusterfs/misc/defrag/, be sure to edit
> the script first, instructions are inline.
>
> Please let us know if you have any other questions.
>
> Thanks,
>
> Craig
>
> --
> Craig Carl
> Sales Engineer; Gluster, Inc.
> Cell - (408) 829-9953 (California, USA)
> Office - (408) 770-1884
> Gtalk - craig.carl at gmail.com
> Twitter - @gluster
> Installing Gluster Storage Platform, the movie!<http://www.youtube.com/user/GlusterStorage>
> http://rackerhacker.com/2010/08/11/one-month-with-glusterfs-in-production/
>
>
>
> ------------------------------
> *From: *"Roland Rabben" <roland at jotta.no>
>
> *To: *gluster-users at gluster.org
> *Sent: *Wednesday, September 22, 2010 7:48:23 AM
>
> *Subject: *Re: [Gluster-users] Adding new storage nodes to existing
> GlusterFS        network
>
> Hi James,
> thanks for the answer I will try this tomorrow. I am adding the new servers
> for capacity increase.
>
> Do you have any idea how to rebalance old files?
>
> Regards
> Roland Rabben
>
> 2010/9/22 Burnash, James <jburnash at knight.com>
>
> > Hi Roland.
> >
> > The short answer is - I'm not sure because I'm in the midst of doing this
> > myself, but my setup is just Replicated.
> >
> > I believe that you can do what you said with the clients because they are
> > the only entities with knowledge of what servers are in the backend, so
> > adding new servers to their configs and restarting those clients should
> work
> > just fine, assuming you get the replication/distributed part of their
> > configs correct.
> >
> > The one thing is, from what I understand, no rebalancing of old files
> will
> > take place on the new servers automatically - that's a manual procedure -
> > but any new files written by the clients will be hashed out to all
> servers -
> > including the new ones.
> >
> > Just for my information - did you add the extra servers for capacity /
> > redundancy / performance increases?
> >
> > James Burnash, Unix Engineering
> >
> > -----Original Message-----
> > From: gluster-users-bounces at gluster.org [mailto:
> > gluster-users-bounces at gluster.org] On Behalf Of Roland Rabben
> > Sent: Wednesday, September 22, 2010 7:37 AM
> > To: gluster-users at gluster.org
> > Subject: Re: [Gluster-users] Adding new storage nodes to existing
> GlusterFS
> > network
> >
> > Anyone who know this?
> >
> > Regards
> > Roland Rabben
> >
> > 2010/9/21 Roland Rabben <roland at jotta.no>
> >
> > > Hi, this is probably a newbee question, but here goes.
> > >
> > > I am adding two new servers to my existing GlusterFS network and I am
> > > wondering what the correct procedure is.
> > > I am using a Distributed / Replicated setup. My existing network has
> > > two servers.
> > >
> > > Do I need to take down the whole network with client and servers?
> > > Can I just unmount the client, update the client config file and then
> > > mount the client again with the new servers?
> > > Will new files be written to the new servers only, or both the new and
> > old?
> > >
> > > Best regards
> > >
> > > Roland Rabben
> > > Founder & CEO Jotta AS
> > > Cell: +47 90 85 85 39
> > > Phone: +47 21 04 29 00
> > > Email: roland at jotta.no
> > >
> >
> >
> >
> > --
> > Roland Rabben
> > Founder & CEO Jotta AS
> > Cell: +47 90 85 85 39
> > Phone: +47 21 04 29 00
> > Email: roland at jotta.no
> >
> >
> > DISCLAIMER:
> > This e-mail, and any attachments thereto, is intended only for use by the
> > addressee(s) named herein and may contain legally privileged and/or
> > confidential information. If you are not the intended recipient of this
> > e-mail, you are hereby notified that any dissemination, distribution or
> > copying of this e-mail, and any attachments thereto, is strictly
> prohibited.
> > If you have received this in error, please immediately notify me and
> > permanently delete the original and any copy of any e-mail and any
> printout
> > thereof. E-mail transmission cannot be guaranteed to be secure or
> > error-free. The sender therefore does not accept liability for any errors
> or
> > omissions in the contents of this message which arise as a result of
> e-mail
> > transmission.
> > NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group may, at
> > its discretion, monitor and review the content of all e-mail
> communications.
> > http://www.knight.com
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> >
>
>
>
> --
> Roland Rabben
> Founder & CEO Jotta AS
> Cell: +47 90 85 85 39
> Phone: +47 21 04 29 00
> Email: roland at jotta.no
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>



-- 
Roland Rabben
Founder & CEO Jotta AS
Cell: +47 90 85 85 39
Phone: +47 21 04 29 00
Email: roland at jotta.no


More information about the Gluster-users mailing list