Hi, Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface. Best, Dwayne — Dwayne Hart | Systems Administrator IV CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631
Hi Dwayne, I’m assuming you can’t just let an rsync run, possibly throttled in some way? If not, and if you’re just tapping out your network, then would it be possible to go old school? We have parts of the Medical Center here where their network connections are … um, less than robust. So they tar stuff up to a portable HD, sneaker net it to us, and we untar is from an NSD server. HTH, and I really hope that someone has a better idea than that! Kevin
On Oct 18, 2018, at 12:19 PM, Dwayne.Hart@med.mun.ca wrote:
Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Ccca728d2d61f4be06bcd08d6351f3650%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636754805507359478&sdata=2YAiqgqKl4CerlyCn3vJ9v9u%2FrGzbfa7aKxJ0PYV%2Fhc%3D&reserved=0
Sharding can also work, if you have a storage-connected compute grid in your environment: If you enumerate all of the directories, then use a non-recursive rsync for each one, you may be able to parallelize the workload by using several clients simultaneously. It may still max out the links of these clients (assuming your source read throughput and target write throughput bottlenecks aren't encountered first) but it may run that way for 1/100th of the time if you can use 100+ machines. -Paul -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Buterbaugh, Kevin L Sent: Thursday, October 18, 2018 2:26 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data Hi Dwayne, I’m assuming you can’t just let an rsync run, possibly throttled in some way? If not, and if you’re just tapping out your network, then would it be possible to go old school? We have parts of the Medical Center here where their network connections are … um, less than robust. So they tar stuff up to a portable HD, sneaker net it to us, and we untar is from an NSD server. HTH, and I really hope that someone has a better idea than that! Kevin
On Oct 18, 2018, at 12:19 PM, Dwayne.Hart@med.mun.ca wrote:
Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Ccca728d2d61f4be06bcd08d6351f3650%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636754805507359478&sdata=2YAiqgqKl4CerlyCn3vJ9v9u%2FrGzbfa7aKxJ0PYV%2Fhc%3D&reserved=0
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Other tools and approaches that we've found helpful: msrsync: handles parallelizing rsync within a dir tree and can greatly speed up transfers on a single node with both filesystems mounted, especially when dealing with many small files Globus/GridFTP: set up one or more endpoints on each side, gridftp will auto parallelize and recover from disruptions msrsync is easier to get going but is limited to one parent dir per node. We've sometimes done an additional level of parallelization by running msrsync with different top level directories on different hpc nodes simultaneously. Best, Chris Refs: https://github.com/jbd/msrsync https://www.globus.org/ On 10/18/18, 2:54 PM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Sanchez, Paul" <gpfsug-discuss-bounces@spectrumscale.org on behalf of Paul.Sanchez@deshaw.com> wrote: Sharding can also work, if you have a storage-connected compute grid in your environment: If you enumerate all of the directories, then use a non-recursive rsync for each one, you may be able to parallelize the workload by using several clients simultaneously. It may still max out the links of these clients (assuming your source read throughput and target write throughput bottlenecks aren't encountered first) but it may run that way for 1/100th of the time if you can use 100+ machines. -Paul -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Buterbaugh, Kevin L Sent: Thursday, October 18, 2018 2:26 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data Hi Dwayne, I’m assuming you can’t just let an rsync run, possibly throttled in some way? If not, and if you’re just tapping out your network, then would it be possible to go old school? We have parts of the Medical Center here where their network connections are … um, less than robust. So they tar stuff up to a portable HD, sneaker net it to us, and we untar is from an NSD server. HTH, and I really hope that someone has a better idea than that! Kevin > On Oct 18, 2018, at 12:19 PM, Dwayne.Hart@med.mun.ca wrote: > > Hi, > > Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface. > > Best, > Dwayne > — > Dwayne Hart | Systems Administrator IV > > CHIA, Faculty of Medicine > Memorial University of Newfoundland > 300 Prince Philip Drive > St. John’s, Newfoundland | A1B 3V6 > Craig L Dobbin Building | 4M409 > T 709 864 6631 > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protecti... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... ________________________________ This message is for the recipient’s use only, and may contain confidential, privileged or protected information. Any unauthorized use or dissemination of this communication is prohibited. If you received this message in error, please immediately notify the sender and destroy all copies of this message. The recipient should check this email and any attachments for the presence of viruses, as we accept no liability for any damage caused by any virus transmitted by this email.
Thank you all for the responses. I'm currently using msrsync and things appear to be going very well. The data transfer is contained inside our DC. I'm transferring a user's home directory content from one GPFS file system to another. Our IBM Spectrum Scale Solution consists of 12 IO nodes connected to IB and the client node that I'm transferring the data from one fs to another is also connected to IB with a possible maximum of 2 hops. [root@client-system]# /gpfs/home/dwayne/bin/msrsync -P --stats -p 32 /gpfs/home/user/ /research/project/user/ [64756/992397 entries] [30.1 T/239.6 T transferred] [81 entries/s] [39.0 G/s bw] [monq 0] [jq 62043] Best, Dwayne -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Christopher Black Sent: Thursday, October 18, 2018 4:43 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data Other tools and approaches that we've found helpful: msrsync: handles parallelizing rsync within a dir tree and can greatly speed up transfers on a single node with both filesystems mounted, especially when dealing with many small files Globus/GridFTP: set up one or more endpoints on each side, gridftp will auto parallelize and recover from disruptions msrsync is easier to get going but is limited to one parent dir per node. We've sometimes done an additional level of parallelization by running msrsync with different top level directories on different hpc nodes simultaneously. Best, Chris Refs: https://github.com/jbd/msrsync https://www.globus.org/ On 10/18/18, 2:54 PM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Sanchez, Paul" <gpfsug-discuss-bounces@spectrumscale.org on behalf of Paul.Sanchez@deshaw.com> wrote: Sharding can also work, if you have a storage-connected compute grid in your environment: If you enumerate all of the directories, then use a non-recursive rsync for each one, you may be able to parallelize the workload by using several clients simultaneously. It may still max out the links of these clients (assuming your source read throughput and target write throughput bottlenecks aren't encountered first) but it may run that way for 1/100th of the time if you can use 100+ machines. -Paul -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Buterbaugh, Kevin L Sent: Thursday, October 18, 2018 2:26 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data Hi Dwayne, I’m assuming you can’t just let an rsync run, possibly throttled in some way? If not, and if you’re just tapping out your network, then would it be possible to go old school? We have parts of the Medical Center here where their network connections are … um, less than robust. So they tar stuff up to a portable HD, sneaker net it to us, and we untar is from an NSD server. HTH, and I really hope that someone has a better idea than that! Kevin > On Oct 18, 2018, at 12:19 PM, Dwayne.Hart@med.mun.ca wrote: > > Hi, > > Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface. > > Best, > Dwayne > — > Dwayne Hart | Systems Administrator IV > > CHIA, Faculty of Medicine > Memorial University of Newfoundland > 300 Prince Philip Drive > St. John’s, Newfoundland | A1B 3V6 > Craig L Dobbin Building | 4M409 > T 709 864 6631 > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protecti... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... ________________________________ This message is for the recipient’s use only, and may contain confidential, privileged or protected information. Any unauthorized use or dissemination of this communication is prohibited. If you received this message in error, please immediately notify the sender and destroy all copies of this message. The recipient should check this email and any attachments for the presence of viruses, as we accept no liability for any damage caused by any virus transmitted by this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
It may be overkill for your use case but MPI file utils is very good for large datasets. https://github.com/hpc/mpifileutils Cheers, Carl. On Fri, 19 Oct 2018 at 7:05 am, <Dwayne.Hart@med.mun.ca> wrote:
Thank you all for the responses. I'm currently using msrsync and things appear to be going very well.
The data transfer is contained inside our DC. I'm transferring a user's home directory content from one GPFS file system to another. Our IBM Spectrum Scale Solution consists of 12 IO nodes connected to IB and the client node that I'm transferring the data from one fs to another is also connected to IB with a possible maximum of 2 hops.
[root@client-system]# /gpfs/home/dwayne/bin/msrsync -P --stats -p 32 /gpfs/home/user/ /research/project/user/ [64756/992397 entries] [30.1 T/239.6 T transferred] [81 entries/s] [39.0 G/s bw] [monq 0] [jq 62043]
Best, Dwayne
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto: gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Christopher Black Sent: Thursday, October 18, 2018 4:43 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data
Other tools and approaches that we've found helpful: msrsync: handles parallelizing rsync within a dir tree and can greatly speed up transfers on a single node with both filesystems mounted, especially when dealing with many small files Globus/GridFTP: set up one or more endpoints on each side, gridftp will auto parallelize and recover from disruptions
msrsync is easier to get going but is limited to one parent dir per node. We've sometimes done an additional level of parallelization by running msrsync with different top level directories on different hpc nodes simultaneously.
Best, Chris
Refs: https://github.com/jbd/msrsync https://www.globus.org/
On 10/18/18, 2:54 PM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Sanchez, Paul" <gpfsug-discuss-bounces@spectrumscale.org on behalf of Paul.Sanchez@deshaw.com> wrote:
Sharding can also work, if you have a storage-connected compute grid in your environment: If you enumerate all of the directories, then use a non-recursive rsync for each one, you may be able to parallelize the workload by using several clients simultaneously. It may still max out the links of these clients (assuming your source read throughput and target write throughput bottlenecks aren't encountered first) but it may run that way for 1/100th of the time if you can use 100+ machines.
-Paul -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org < gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Buterbaugh, Kevin L Sent: Thursday, October 18, 2018 2:26 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data
Hi Dwayne,
I’m assuming you can’t just let an rsync run, possibly throttled in some way? If not, and if you’re just tapping out your network, then would it be possible to go old school? We have parts of the Medical Center here where their network connections are … um, less than robust. So they tar stuff up to a portable HD, sneaker net it to us, and we untar is from an NSD server.
HTH, and I really hope that someone has a better idea than that!
Kevin
> On Oct 18, 2018, at 12:19 PM, Dwayne.Hart@med.mun.ca wrote: > > Hi, > > Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface. > > Best, > Dwayne > — > Dwayne Hart | Systems Administrator IV > > CHIA, Faculty of Medicine > Memorial University of Newfoundland > 300 Prince Philip Drive > St. John’s, Newfoundland | A1B 3V6 > Craig L Dobbin Building | 4M409 > T 709 864 6631 > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protecti...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
________________________________
This message is for the recipient’s use only, and may contain confidential, privileged or protected information. Any unauthorized use or dissemination of this communication is prohibited. If you received this message in error, please immediately notify the sender and destroy all copies of this message. The recipient should check this email and any attachments for the presence of viruses, as we accept no liability for any damage caused by any virus transmitted by this email. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We use parsyncfp. Our target is not GPFS, though. I was really hoping to hear about something snazzier for GPFS-GPFS. Lenovo would probably tell you that HSM is the way to go (we asked something similar for a replacement for our current setup or for distributed storage). On 10/18/2018 01:19 PM, Dwayne.Hart@med.mun.ca wrote:
Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
- -- ____ || \\UTGERS, |----------------------*O*------------------------ ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus || \\ of NJ | Office of Advanced Res. Comp. - MSB C630, Newark `' -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlvI51AACgkQmb+gadEcsb62SQCfWBAru3KkJd+UftG2BXaRzjTG p/wAn0mpC5XCZc50fZfMPRRXR40HsmEk =dMDg -----END PGP SIGNATURE-----
Thank you Ryan. I’ll have a more in-depth look at this application later today and see how it deals with some of the large genetic files that are generated by the sequencer. By copying it from GPFS fs to another GPFS fs. Best, Dwayne — Dwayne Hart | Systems Administrator IV CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631
On Oct 19, 2018, at 7:04 AM, Ryan Novosielski <novosirj@rutgers.edu> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
We use parsyncfp. Our target is not GPFS, though. I was really hoping to hear about something snazzier for GPFS-GPFS. Lenovo would probably tell you that HSM is the way to go (we asked something similar for a replacement for our current setup or for distributed storage).
On 10/18/2018 01:19 PM, Dwayne.Hart@med.mun.ca wrote: Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
- -- ____ || \\UTGERS, |----------------------*O*------------------------ ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus || \\ of NJ | Office of Advanced Res. Comp. - MSB C630, Newark `' -----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlvI51AACgkQmb+gadEcsb62SQCfWBAru3KkJd+UftG2BXaRzjTG p/wAn0mpC5XCZc50fZfMPRRXR40HsmEk =dMDg -----END PGP SIGNATURE----- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
It seems like the primary way that this helps us is that we transfer user home directories and many of them have VERY large numbers of small files (in the millions), so running multiple simultaneous rsyncs allows the transfer to continue past that one slow area. I guess it balances the bandwidth constraint and the I/O constraints on generating a file list. There are unfortunately one or two known bugs that slow it down — it keeps track of its rsync PIDs but sometimes a former rsync PID is reused by the system which it counts against the number of running rsyncs. It can also think rsync is still running at the end when it’s really something else now using the PID. I know the author is looking at that. For shorter transfers, you likely won’t run into this. I’m not sure I have the time or the programming ability to make this happen, but it seems to me that one could make some major gains by replacing fpart with mmfind in a GPFS environment. Generating lists of files takes a significant amount of time and mmfind can probably do it faster than anything else that does not have direct access to GPFS metadata.
On Oct 19, 2018, at 6:37 AM, Dwayne.Hart@med.mun.ca wrote:
Thank you Ryan. I’ll have a more in-depth look at this application later today and see how it deals with some of the large genetic files that are generated by the sequencer. By copying it from GPFS fs to another GPFS fs.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631
On Oct 19, 2018, at 7:04 AM, Ryan Novosielski <novosirj@rutgers.edu> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
We use parsyncfp. Our target is not GPFS, though. I was really hoping to hear about something snazzier for GPFS-GPFS. Lenovo would probably tell you that HSM is the way to go (we asked something similar for a replacement for our current setup or for distributed storage).
On 10/18/2018 01:19 PM, Dwayne.Hart@med.mun.ca wrote: Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
- -- ____ || \\UTGERS, |----------------------*O*------------------------ ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus || \\ of NJ | Office of Advanced Res. Comp. - MSB C630, Newark `' -----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlvI51AACgkQmb+gadEcsb62SQCfWBAru3KkJd+UftG2BXaRzjTG p/wAn0mpC5XCZc50fZfMPRRXR40HsmEk =dMDg -----END PGP SIGNATURE----- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
i am not sure if that was mentioned already but in some version of V5.0.X based on my suggestion a tool was added by mark on a AS-IS basis (thanks mark) to do what you want with one exception : /usr/lpp/mmfs/samples/ilm/mmxcp -h Usage: /usr/lpp/mmfs/samples/ilm/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 this is essentially a parallel copy tool using the policy with all its goddies. the one critical part thats missing is that it doesn't copy any GPFS specific metadata which unfortunate includes NFSV4 ACL's. the reason for that is that GPFS doesn't expose the NFSV4 ACl's via xattrs nor does any of the regular Linux tools uses the proprietary interface into GPFS to extract and apply them (this is what allows this magic unsupported version of rsync https://github.com/gpfsug/gpfsug-tools/tree/master/bin/rsync to transfer the acls and other attributes). so a worth while RFE would be to either expose all special GPFS bits as xattrs or provide at least a maintained version of sync, cp or whatever which allows the transfer of this data. Sven On Mon, Oct 22, 2018 at 10:52 AM Ryan Novosielski <novosirj@rutgers.edu> wrote:
It seems like the primary way that this helps us is that we transfer user home directories and many of them have VERY large numbers of small files (in the millions), so running multiple simultaneous rsyncs allows the transfer to continue past that one slow area. I guess it balances the bandwidth constraint and the I/O constraints on generating a file list. There are unfortunately one or two known bugs that slow it down — it keeps track of its rsync PIDs but sometimes a former rsync PID is reused by the system which it counts against the number of running rsyncs. It can also think rsync is still running at the end when it’s really something else now using the PID. I know the author is looking at that. For shorter transfers, you likely won’t run into this.
I’m not sure I have the time or the programming ability to make this happen, but it seems to me that one could make some major gains by replacing fpart with mmfind in a GPFS environment. Generating lists of files takes a significant amount of time and mmfind can probably do it faster than anything else that does not have direct access to GPFS metadata.
On Oct 19, 2018, at 6:37 AM, Dwayne.Hart@med.mun.ca wrote:
Thank you Ryan. I’ll have a more in-depth look at this application later today and see how it deals with some of the large genetic files that are generated by the sequencer. By copying it from GPFS fs to another GPFS fs.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 <(709)%20864-6631>
On Oct 19, 2018, at 7:04 AM, Ryan Novosielski <novosirj@rutgers.edu> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
We use parsyncfp. Our target is not GPFS, though. I was really hoping to hear about something snazzier for GPFS-GPFS. Lenovo would probably tell you that HSM is the way to go (we asked something similar for a replacement for our current setup or for distributed storage).
On 10/18/2018 01:19 PM, Dwayne.Hart@med.mun.ca wrote: Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Best, Dwayne — Dwayne Hart | Systems Administrator IV
CHIA, Faculty of Medicine Memorial University of Newfoundland 300 Prince Philip Drive St. John’s, Newfoundland | A1B 3V6 Craig L Dobbin Building | 4M409 T 709 864 6631 <(709)%20864-6631> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
- -- ____ || \\UTGERS, |----------------------*O*------------------------ ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 <(973)%20972-0922> ~*~ RBHS Campus || \\ of NJ | Office of Advanced Res. Comp. - MSB C630, Newark `' -----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlvI51AACgkQmb+gadEcsb62SQCfWBAru3KkJd+UftG2BXaRzjTG p/wAn0mpC5XCZc50fZfMPRRXR40HsmEk =dMDg -----END PGP SIGNATURE----- _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Rather than hack rsync or cp ... I proposed a smallish utility that would copy those extended attributes and ACLs that cp -a just skips over. This can be done using the documented GPFS APIs that were designed for backup and restore of files. SMOP and then add it as an option to samples/ilm/mmxcp Sorry I haven't gotten around to doing this ... Seems like a modest sized project... Avoids boiling the ocean and reinventing or hacking rsync. -- marc K
Can you use mmxcp with output from tsbuhelper? Becuase this would actually be a pretty good way of doing incrementals when deploying a new storage system (unless IBM wants to let us add new storage and change the block size.... Someday maybe...) Though until mmxcp supports ACLs, it's still not really a solution I guess. Simon ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of makaplan@us.ibm.com [makaplan@us.ibm.com] Sent: 22 October 2018 21:08 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp Rather than hack rsync or cp ... I proposed a smallish utility that would copy those extended attributes and ACLs that cp -a just skips over. This can be done using the documented GPFS APIs that were designed for backup and restore of files. SMOP and then add it as an option to samples/ilm/mmxcp Sorry I haven't gotten around to doing this ... Seems like a modest sized project... Avoids boiling the ocean and reinventing or hacking rsync. -- marc K
Marc, The issue with that is that you need multiple passes and things change in between, it also significant increases migration times. You will always miss something or you need to manually correct. The right thing is to have 1 tool that takes care of both, the bulk transfer and the additional attributes. Sven From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Marc A Kaplan <makaplan@us.ibm.com> Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: Monday, October 22, 2018 at 1:09 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp Rather than hack rsync or cp ... I proposed a smallish utility that would copy those extended attributes and ACLs that cp -a just skips over. This can be done using the documented GPFS APIs that were designed for backup and restore of files. SMOP and then add it as an option to samples/ilm/mmxcp Sorry I haven't gotten around to doing this ... Seems like a modest sized project... Avoids boiling the ocean and reinventing or hacking rsync. -- marc K _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Just copy the extra attributes and ACL copy immediately after the cp. The window will be small, and if you think about it, the window of vulnerability is going to be there with a hacked rsync anyhow. There need not be any additional "passes". Once you put it into a single script, you have "one tool". From: Sven Oehme <oehmes@gmail.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/22/2018 04:33 PM Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp Sent by: gpfsug-discuss-bounces@spectrumscale.org Marc, The issue with that is that you need multiple passes and things change in between, it also significant increases migration times. You will always miss something or you need to manually correct. The right thing is to have 1 tool that takes care of both, the bulk transfer and the additional attributes. Sven From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Marc A Kaplan <makaplan@us.ibm.com> Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: Monday, October 22, 2018 at 1:09 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Best way to migrate data : mmfind ... mmxcp Rather than hack rsync or cp ... I proposed a smallish utility that would copy those extended attributes and ACLs that cp -a just skips over. This can be done using the documented GPFS APIs that were designed for backup and restore of files. SMOP and then add it as an option to samples/ilm/mmxcp Sorry I haven't gotten around to doing this ... Seems like a modest sized project... Avoids boiling the ocean and reinventing or hacking rsync. -- marc K _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 18/10/2018 18:19, Dwayne.Hart@med.mun.ca wrote:
Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Be careful with rsync, it resets all your atimes which screws up any hope of doing ILM or HSM. My personal favourite is to do something along the lines of dsmc restore /gpfs/<username> Minimal impact on the user facing services, and seems to preserve atimes last time I checked. Sure it tanks your backup server a bit, but that is not user facing. What do users care if the backup takes longer than normal. Of course this presumes you have a backup :-) JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Hi JAB, We do not have either ILM or HSM. Thankfully, we have at minimum IBM Spectrum Protect (I recently updated the system to version 8.1.5). It would be an interesting exercise to see how long it would take IBM SP to restore a user's content fully to a different target. I have done some smaller recoveries so I know that the system is in a usable state ;) Best, Dwayne -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Jonathan Buzzard Sent: Friday, October 19, 2018 6:39 AM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Best way to migrate data On 18/10/2018 18:19, Dwayne.Hart@med.mun.ca wrote:
Hi,
Just wondering what the best recipe for migrating a user’s home directory content from one GFPS file system to another which hosts a larger research GPFS file system? I’m currently using rsync and it has maxed out the client system’s IB interface.
Be careful with rsync, it resets all your atimes which screws up any hope of doing ILM or HSM. My personal favourite is to do something along the lines of dsmc restore /gpfs/<username> Minimal impact on the user facing services, and seems to preserve atimes last time I checked. Sure it tanks your backup server a bit, but that is not user facing. What do users care if the backup takes longer than normal. Of course this presumes you have a backup :-) JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (10)
-
Buterbaugh, Kevin L -
Carl -
Christopher Black -
Dwayne.Hart@med.mun.ca -
Jonathan Buzzard -
Marc A Kaplan -
Ryan Novosielski -
Sanchez, Paul -
Simon Thompson -
Sven Oehme
