However, be aware that GNU xargs has the -P
x option, which will try to keep
x batches running. It’s a good way to optimize the number of threads for anything you’re multiprocessing in the shell. So you can build a list and have xargs fork
x copies of rsync or cp at a time (with -n
y items in each batch). Not waiting to start the next batch when one finishes can add up to lots of MB*s very quickly.
This is not the answer to anything, and is probably a waste of your time:
I started to comment that if GPFS did provide such a “data path shortcut”, I think I’d want it to work between any two allocation areas — even two independent filesets in the same file system. Then I started working though the possibilities for just doing that… and it devolved into the realization that we’ve got to copy the data most of the time (unless it’s in the same filesystem *and* the same storage pool — and maybe even then depending on how the allocator works). Realizing that I decide that sometimes it just sucks to have data in the wrong (old) place. :)
Maybe what we want is to be able to split an independent fileset (if it is 1:1 with a storage pool) from a filesystem and graft it onto another one — that’s probably easier and it almost mirrors vgsplit, et al.
I should go do actual work...
Liberty,
All,
I am in the same boat. I'd like to copy ~500 TB from one filesystem to another. Both are being served by the same NSD servers.
We've done the multiple rsync script method in the past (and yes it's a bit of a pain). Would love to have an easier utility.
Best,
Brian Marshall
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at
spectrumscale.orghttp://gpfsug.org/mailman/listinfo/gpfsug-discuss