Basically yes. If you can't find the scripts in 4.2 samples... You can copy them over from 5.x to the 4.2 system... Should work except perhaps for some of the more esoteric find conditionals... From: "Edward Boyd" <eboyd@us.ibm.com> To: gpfsug-discuss@spectrumscale.org Date: 03/06/2019 10:42 AM Subject: Re: [gpfsug-discuss] gpfsug-discuss mmxcp Sent by: gpfsug-discuss-bounces@spectrumscale.org Curious if this command would be suitable for migration from Scale 4.2 file system to 5.x file system? What is lost or left behind? Edward L. Boyd ( Ed ), Client Technical Specialist IBM Systems Storage Solutions US Federal 407-271-9210 Office / Cell / Office / Text eboyd@us.ibm.com email -----gpfsug-discuss-bounces@spectrumscale.org wrote: ----- To: gpfsug-discuss@spectrumscale.org From: gpfsug-discuss-request@spectrumscale.org Sent by: gpfsug-discuss-bounces@spectrumscale.org Date: 03/06/2019 10:03AM Subject: gpfsug-discuss Digest, Vol 86, Issue 11 Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org To subscribe or unsubscribe via the World Wide Web, visit http://gpfsug.org/mailman/listinfo/gpfsug-discuss or, via email, send a message with subject or body 'help' to gpfsug-discuss-request@spectrumscale.org You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..." Today's Topics: 1. Re: Migrating billions of files? mmfind ... mmxcp (Marc A Kaplan) ---------------------------------------------------------------------- Message: 1 Date: Wed, 6 Mar 2019 10:01:57 -0500 From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] Migrating billions of files? mmfind ... mmxcp Message-ID: < OF18FDF6D8.C850134F-ON852583B5.005243D0-852583B5.0052961B@notes.na.collabserv.com
Content-Type: text/plain; charset="us-ascii" mmxcp may be in samples/ilm if not, perhaps we can put it on an approved file sharing service ... + mmxcp script, for use with mmfind ... -xargs mmxcp ... Which makes parallelized file copy relatively easy and super fast! Usage: /gh/bin/mmxcp -t target -p strip_count source_pathname1 source_pathname2 ... Run "cp" in a mmfind ... -xarg ... pipeline, e.g. mmfind -polFlags '-N all -g /gpfs/tmp' /gpfs/source -gpfsWeight DIRECTORY_HASH -xargs mmxcp -t /target -p 2 Options: -t target_path : Copy files to this path. -p strip_count : Remove this many directory names from the pathnames of the source files. -a : pass -a to cp -v : pass -v to cp
