HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Glusterfs & scale-n-defrag.sh (http://www.howtoforge.com/forums/showthread.php?t=48464)

DrHappyAngry 2nd September 2010 00:43

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.


All times are GMT +2. The time now is 07:38.

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