Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 2nd September 2010, 01:43
DrHappyAngry DrHappyAngry is offline
Junior Member
 
Join Date: Sep 2010
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default Glusterfs & scale-n-defrag.sh

So I'm doing some testing with glusterfs 3.0.5 before we look into deploying it into production. I basically have to do this as a rolling deployment, since servers will need to have their OSes reloaded, and some will need their RAID arrays redone. Basically, I'll have to reload the first server, setup glusterfs on it as a standalone, move some data on to it. Then, reload another server, and set it up for replication. Finally, reload 2 more servers that replicate each other, and distribute from the first 2 nodes. On 4 centos 5.4 test machines, I've gotten this scenario to work fine, for the most part. The problem is getting the files redistributed after adding the last 2 nodes. I've gotten the defrag.sh and scale-n-defrag.sh scripts from here http://ftp.gluster.com/pub/gluster/g...s/misc/defrag/ and edited the scale-n-defrag.sh script to reflect the proper mount point. When I run the script, it creates plenty of log files for each file, saying they were successfully relocated, but when I look in the /data/export directory of the second 2 nodes, I don't see any of the files replicated to either of them. New folders get distributed correctly, but the stuff existing before does not get redistributed, even after running the script.

If anyone has any ideas, I'd love to hear them. There seems to be almost zero documentation on these scripts, and this site seems to have far more docs and info on glusterfs than the gluster site does.

I can post the config files if they seem relevant, but I do already have unhashed-sticky-bit and lookup-unhashed on for the distribute volume in glusterfs.vol.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glusterfs debian admins General 2 26th July 2010 14:02
High-Availability Storage With GlusterFS - Mac Client alex_time HOWTO-Related Questions 9 2nd February 2010 10:44
glusterfs on lenny ryno HOWTO-Related Questions 1 15th January 2010 14:54
Distributed Storage Across Four Storage Nodes With GlusterFS - Expandable? c0mputernick HOWTO-Related Questions 1 2nd July 2009 15:42
GlusterFS High Availability: is it possible? miumiento HOWTO-Related Questions 1 26th June 2009 15:20


All times are GMT +2. The time now is 16:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.