Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs)
the largest of the filesets has 52TB and 63 million files
Are you using NFS as the transport path between the home and cache? If you are using NFS, how are you producing the list of files to migrate? mmafmctl with the prefetch option? If so, I would measure the time it takes for that command (with that option) to produce the list of files it intends to prefetch. From my experience, this is very important as a) it can take a long time if you have >10 million of files and b) I've seen this operation crash when the list grew large. Does anyone else on this thread have any experiences? I would love to hear positive experiences as well. I tried so hard and for so long to make AFM work with one customer, but we gave up as it was not reliable and stable for large scale (many files) migrations. If you are using GPFS as the conduit between the home and cache (i.e. no NFS), I would still ask the same question, more with respect to stability for large file lists during the initial prefetch stages. As far as I could tell, from GPFS 3.5 to 4.2, the phases of prefetch where the home and cache are compared (i.e. let's make a list of what is ot be migrated over) before the data transfer begins only runs on the GW node managing that cache. It does not leverage multiple gw nodes and multiple home nodes to speed up this 'list and find' stage of prefetch. I hope some AFM developers can clarify or correct my findings. This was a huge impediment for large file migrations where it is difficult (organizationally, not technically) to split a folder structure into multiple file sets. The lack of stability under these large scans was the real failing for us. Bill Pappas 901-619-0585 bpappas@dstonline.com [1466780990050_DSTlogo.png] [http://www.prweb.com/releases/2016/06/prweb13504050.htm] http://www.prweb.com/releases/2016/06/prweb13504050.htm ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> on behalf of gpfsug-discuss-request@spectrumscale.org <gpfsug-discuss-request@spectrumscale.org> Sent: Thursday, October 20, 2016 2:07 PM To: gpfsug-discuss@spectrumscale.org Subject: gpfsug-discuss Digest, Vol 57, Issue 53 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: Using AFM to migrate files. (Peter Childs) (Peter Childs) ---------------------------------------------------------------------- Message: 1 Date: Thu, 20 Oct 2016 19:07:44 +0000 From: Peter Childs <p.childs@qmul.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) Message-ID: <5qv6d7inj2j1pa94kqamk2uf.1476989646711@email.android.com> Content-Type: text/plain; charset="iso-8859-1" Yes, most of the filesets are based on research groups, projects or departments, with the exception of scratch and home, hence the idea to use a different method for these filesets. There are approximately 230 million files, the largest of the filesets has 52TB and 63 million files. 300TB in total. Peter Childs Research Storage ITS Research and Teaching Support Queen Mary, University of London ---- Bill Pappas wrote ---- I have some ideas to suggest given some of my experiences. First, I have some questions: How many files are you migrating? Will you be creating multiple file sets on the target system based off of business or project needs? Like, file set a is for "department a" and file set b is for "large scale project a" Thanks. Bill Pappas 901-619-0585 bpappas@dstonline.com [1466780990050_DSTlogo.png] [http://www.prweb.com/releases/2016/06/prweb13504050.htm] http://www.prweb.com/releases/2016/06/prweb13504050.htm ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> on behalf of gpfsug-discuss-request@spectrumscale.org <gpfsug-discuss-request@spectrumscale.org> Sent: Wednesday, October 19, 2016 3:12 PM To: gpfsug-discuss@spectrumscale.org Subject: gpfsug-discuss Digest, Vol 57, Issue 49 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. Using AFM to migrate files. (Peter Childs) 2. subnets (Brian Marshall) 3. Re: subnets (Simon Thompson (Research Computing - IT Services)) 4. Re: subnets (Uwe Falke) 5. Will there be any more GPFS 4.2.0-x releases? (Buterbaugh, Kevin L) ---------------------------------------------------------------------- Message: 1 Date: Wed, 19 Oct 2016 14:12:41 +0000 From: Peter Childs <p.childs@qmul.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] Using AFM to migrate files. Message-ID: <HE1PR0701MB2554710DD534587615543AE5A4D20@HE1PR0701MB2554.eurprd07.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" We are planning to use AFM to migrate our old GPFS file store to a new GPFS file store. This will give us the advantages of Spectrum Scale (GPFS) 4.2, such as larger block and inode size. I would like to attempt to gain some insight on my plans before I start. The old file store was running GPFS 3.5 with 512 byte inodes and 1MB block size. We have now upgraded it to 4.1 and are working towards 4.2 with 300TB of files. (385TB max space) this is so we can use both the old and new storage via multi-cluster. We are moving to a new GPFS cluster so we can use the new protocol nodes eventually and also put the new storage machines as cluster managers, as this should be faster and future proof The new hardware has 1PB of space running GPFS 4.2 We have multiple filesets, and would like to maintain our namespace as far as possible. My plan was to. 1. Create a read-only (RO) AFM cache on the new storage (ro) 2a. Move old fileset and replace with SymLink to new. 2b. Convert RO AFM to Local Update (LU) AFM pointing to new parking area of old files. 2c. move user access to new location in cache. 3. Flush everything into cache and disconnect. I've read the docs including the ones on migration but it's not clear if it's safe to move the home of a cache and update the target. It looks like it should be possible and my tests say it works. An alternative plan is to use a Independent Writer (IW) AFM Cache to move the home directories which are pointed to by LDAP. Hence we can move users one at a time and only have to drain the HPC cluster at the end to disconnect the cache. I assume that migrating users over an Independent Writer is safe so long as the users don't use both sides of the cache at once (ie home and target) I'm also interested in any recipe people have on GPFS policies to preseed and flush the cache. We plan to do all the migration using AFM over GPFS we're not currently using NFS and have no plans to start. I believe using GPFS is the faster method to preform the migration. Any suggestions and experience of doing similar migration jobs would be helpful. Peter Childs Research Storage ITS Research and Teaching Support Queen Mary, University of London ------------------------------ Message: 2 Date: Wed, 19 Oct 2016 13:46:02 -0400 From: Brian Marshall <mimarsh2@vt.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] subnets Message-ID: <CAD0XtKRDTXe9Y5qQB5-qVRdo_RTbv9WctoJKf+CB97kNkmss0g@mail.gmail.com> Content-Type: text/plain; charset="utf-8" All, We are setting up communication between 2 clusters using ethernet and IPoFabric. The Daemon interface is running on ethernet, so all admin traffic will use it. We are still getting the subnets setting correct. Question: Does GPFS have a way to query how it is connecting to a given cluster/node? i.e. once we have subnets setup how can we tell GPFS is actually using them. Currently we just do a large transfer and check tcpdump for any packets flowing on the high-speed/data/non-admin subnet. Thank you, Brian Marshall
---- Bill Pappas wrote ----
the largest of the filesets has 52TB and 63 million files
Are you using NFS as the transport path between the home and cache?
No plans to was planning to use gpfs multi-cluster, as transport.
If you are using NFS, how are you producing the list of files to migrate? mmafmctl with the prefetch option? If so, I would measure the time it takes for that command (with that option) to produce the list of files it intends to prefetch. From my experience, this is very important as a) it can take a long time if you have >10 million of files and b) I've seen this operation crash when the list grew large. Does anyone else on this thread have any experiences? I would love to hear positive experiences as well. I tried so hard and for so long to make AFM work with one customer, but we gave up as it was not reliable and stable for large scale (many files) migrations. If you are using GPFS as the conduit between the home and cache (i.e. no NFS), I would still ask the same question, more with respect to stability for large file lists during the initial prefetch stages.
I was planning to use a gpfs policy to create the list, but I guess a find should work, I'm guessing your saying don't migrate the files in bulk by using a find onto cache. It would be nice to see some examples recipes to prefetch files into afm.
As far as I could tell, from GPFS 3.5 to 4.2, the phases of prefetch where the home and cache are compared (i.e. let's make a list of what is ot be migrated over) before the data transfer begins only runs on the GW node managing that cache. It does not leverage multiple gw nodes and multiple home nodes to speed up this 'list and find' stage of prefetch. I hope some AFM developers can clarify or correct my findings. This was a huge impediment for large file migrations where it is difficult (organizationally, not technically) to split a folder structure into multiple file sets. The lack of stability under these large scans was the real failing for us.
Interesting.
Bill Pappas
901-619-0585<tel:901-619-0585>
bpappas@dstonline.com<mailto:bpappas@dstonline.com>
Peter Childs Research Storage ITS Research and Teaching Support Queen Mary, University of London
http://www.prweb.com/releases/2016/06/prweb13504050.htm
From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> <gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>> on behalf of gpfsug-discuss-request@spectrumscale.org<mailto:gpfsug-discuss-request@spectrumscale.org> <gpfsug-discuss-request@spectrumscale.org<mailto:gpfsug-discuss-request@spectrumscale.org>> Sent: Thursday, October 20, 2016 2:07 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: gpfsug-discuss Digest, Vol 57, Issue 53
Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org<mailto: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<mailto:gpfsug-discuss-request@spectrumscale.org>
You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org<mailto: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: Using AFM to migrate files. (Peter Childs) (Peter Childs)
----------------------------------------------------------------------
Message: 1 Date: Thu, 20 Oct 2016 19:07:44 +0000<tel:+0000> From: Peter Childs <p.childs@qmul.ac.uk<mailto:p.childs@qmul.ac.uk>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) Message-ID: <5qv6d7inj2j1pa94kqamk2uf.1476989646711@email.android.com<mailto:5qv6d7inj2j1pa94kqamk2uf.1476989646711@email.android.com>> Content-Type: text/plain; charset="iso-8859-1"
Yes, most of the filesets are based on research groups, projects or departments, with the exception of scratch and home, hence the idea to use a different method for these filesets.
There are approximately 230 million files, the largest of the filesets has 52TB and 63 million files. 300TB in total.
Peter Childs Research Storage ITS Research and Teaching Support Queen Mary, University of London
---- Bill Pappas wrote ----
I have some ideas to suggest given some of my experiences. First, I have some questions:
How many files are you migrating?
Will you be creating multiple file sets on the target system based off of business or project needs? Like, file set a is for "department a" and file set b is for "large scale project a"
Thanks.
Bill Pappas
901-619-0585<tel:901-619-0585>
bpappas@dstonline.com<mailto:bpappas@dstonline.com>
[1466780990050_DSTlogo.png<http://DSTlogo.png>]
[http://www.prweb.com/releases/2016/06/prweb13504050.htm]
http://www.prweb.com/releases/2016/06/prweb13504050.htm
________________________________ From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> <gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>> on behalf of gpfsug-discuss-request@spectrumscale.org<mailto:gpfsug-discuss-request@spectrumscale.org> <gpfsug-discuss-request@spectrumscale.org<mailto:gpfsug-discuss-request@spectrumscale.org>> Sent: Wednesday, October 19, 2016 3:12 PM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> Subject: gpfsug-discuss Digest, Vol 57, Issue 49
Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org<mailto: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<mailto:gpfsug-discuss-request@spectrumscale.org>
You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org<mailto: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. Using AFM to migrate files. (Peter Childs) 2. subnets (Brian Marshall) 3. Re: subnets (Simon Thompson (Research Computing - IT Services)) 4. Re: subnets (Uwe Falke) 5. Will there be any more GPFS 4.2.0<tel:4.2.0>-x releases? (Buterbaugh, Kevin L)
----------------------------------------------------------------------
Message: 1 Date: Wed, 19 Oct 2016 14:12:41 +0000<tel:+0000> From: Peter Childs <p.childs@qmul.ac.uk<mailto:p.childs@qmul.ac.uk>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] Using AFM to migrate files. Message-ID: <HE1PR0701MB2554710DD534587615543AE5A4D20@HE1PR0701MB2554.eurprd07.prod.outlook.com<mailto:HE1PR0701MB2554710DD534587615543AE5A4D20@HE1PR0701MB2554.eurprd07.prod.outlook.com>>
Content-Type: text/plain; charset="iso-8859-1"
We are planning to use AFM to migrate our old GPFS file store to a new GPFS file store. This will give us the advantages of Spectrum Scale (GPFS) 4.2, such as larger block and inode size. I would like to attempt to gain some insight on my plans before I start.
The old file store was running GPFS 3.5 with 512 byte inodes and 1MB block size. We have now upgraded it to 4.1 and are working towards 4.2 with 300TB of files. (385TB max space) this is so we can use both the old and new storage via multi-cluster.
We are moving to a new GPFS cluster so we can use the new protocol nodes eventually and also put the new storage machines as cluster managers, as this should be faster and future proof
The new hardware has 1PB of space running GPFS 4.2
We have multiple filesets, and would like to maintain our namespace as far as possible.
My plan was to.
1. Create a read-only (RO) AFM cache on the new storage (ro) 2a. Move old fileset and replace with SymLink to new. 2b. Convert RO AFM to Local Update (LU) AFM pointing to new parking area of old files. 2c. move user access to new location in cache. 3. Flush everything into cache and disconnect.
I've read the docs including the ones on migration but it's not clear if it's safe to move the home of a cache and update the target. It looks like it should be possible and my tests say it works.
An alternative plan is to use a Independent Writer (IW) AFM Cache to move the home directories which are pointed to by LDAP. Hence we can move users one at a time and only have to drain the HPC cluster at the end to disconnect the cache. I assume that migrating users over an Independent Writer is safe so long as the users don't use both sides of the cache at once (ie home and target)
I'm also interested in any recipe people have on GPFS policies to preseed and flush the cache.
We plan to do all the migration using AFM over GPFS we're not currently using NFS and have no plans to start. I believe using GPFS is the faster method to preform the migration.
Any suggestions and experience of doing similar migration jobs would be helpful.
Peter Childs Research Storage ITS Research and Teaching Support Queen Mary, University of London
------------------------------
Message: 2 Date: Wed, 19 Oct 2016 13:46:02 -0400<tel:02%20-0400> From: Brian Marshall <mimarsh2@vt.edu<mailto:mimarsh2@vt.edu>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] subnets Message-ID: <CAD0XtKRDTXe9Y5qQB5-qVRdo_RTbv9WctoJKf+CB97kNkmss0g@mail.gmail.com<mailto:CAD0XtKRDTXe9Y5qQB5-qVRdo_RTbv9WctoJKf+CB97kNkmss0g@mail.gmail.com>> Content-Type: text/plain; charset="utf-8"
All,
We are setting up communication between 2 clusters using ethernet and IPoFabric.
The Daemon interface is running on ethernet, so all admin traffic will use it.
We are still getting the subnets setting correct.
Question:
Does GPFS have a way to query how it is connecting to a given cluster/node? i.e. once we have subnets setup how can we tell GPFS is actually using them. Currently we just do a large transfer and check tcpdump for any packets flowing on the high-speed/data/non-admin subnet.
Thank you, Brian Marshall
On 21/10/2016 20:46, Bill Pappas wrote: [...]
If you are using GPFS as the conduit between the home and cache (i.e. no NFS), I would still ask the same question, more with respect to stability for large file lists during the initial prefetch stages.
Hello, I'm in the final stage of what the AFM documentation calls an "incremental migration", for a filesystem with 100 million files. (GPFS 4.1.1, single cluster migration, "hardware/filesystem refresh" use case) I initially tried to use the NFS transport but found it too unreliable (and, in my opinion, very poorly documented). As I was about to give up on AFM, I tried using the GPFS transport (after seeing a trivially simple example on slides by someone from ANL) and things just started to work (almost) as I expected. For the files lists, I use data produced for our monitoring system that relies on snapshots fast scans (we do daily statistics on all objects in our GPFS filesystems). Our data gathering tool encodes object names in the RFC3986 (URL encoding) format which is what I found "mmafmctl prefetch" expects for "special" filenames. I understand that the policy engine does this too which, I guess, is what the documentation means by "generate a file list using policy" (sic), yet "mmafmctl prefetch" does not seem to accept/like files produced by a simple "LIST" policy (and the documentation lacks an example). As you did, I found that trying to prefetch large lists of files does not work reliably. I remember reading on that list someone (from IBM Germany, I think) recommanding to limit the number of a files in a single prefetch to 2 millions. This appears to be the sweet spot for my needs, as I can split the files list in 2 millions parts (the largest fileset in the "home" filesystem has 26 million files) and at the same time manage the issues I mention below. To keep up with the updates on the "home" filesystem (modified files), I rely on the "gpfs_winflags" GPFS extended attribute (the GPFS_WINATTR_OFFLINE bit is on for modified files, see "mmlsattr -L /cachefs/objectname" output). By chance, this attribute is included in the files produced for our statistics. This allows us to avoid doing a prefetch of all the files "continuously", since the file scan indeed appears to use only the (single) gateway node for the fileset being prefetched. In my specific configuration/environment, there are still several issues: . There is a significant memory and "slab" leak on the gateway nodes which can easily lead to a completely unreachable gateway node. These leaks appear directly related to the number of files prefetched. Stoping GPFS on the gateway node only releases some of the memory but none of the "slab", which requires a node reboot. . There is also a need to increase the "fs.file-max" sysctl on the gateway nodes to a value larger than the default (I use 10M), to avoid the kernel running out of file descriptors, since this leads to node being unreachable too. . Sometimes, an AFM association will go to the "Unmounted" state (for no apparent reason). The only reliable way to bring it back to "Active" state I found is to : unmount the "cache" filesystem from all nodes mouting it, unmounting/remounting the "home" filesystem on the gateway nodes, then remounting the "cache" filesystem where it is needed (gateway nodes, etc.) and finally using "ls -la" in the "cache" filesystem to bring the AFM associations back into the Active state. As I'm doing an "incremental migration", the "home" fileystem is still actively used and unmounting it on all nodes (as suggested by the documentation) is not an option. . I include directories and symlinks in the file lists for the prefetch. This ensures symlinks targets are there without needing a "ls" or "stat" in the "cache" filesystem ("incremental migration"). . The only reliable way I found to have "mmafmctl prefetch" accept files lists is to use the "--home-list-file" & "--home-fs-path" options. In my experience, in my environment, using AFM for migrations requires a significant amount of work and hand-holding to get a useful result. Since this migration is actually only the first step in a extensive multiple filesystems migration/merge plan, I'm pondering wether I'll use AFM for the rest of the operations. Sorry, this mail is too long, Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |
RULE .... EXTERNAL LIST ... ESCAPE '%' will direct mmapplypolicy to encode pathnames following RFC3986. Use ESCAPE '%/@' or similar for a more "relaxed" encoding. See the "Information lifecycle management" chapter of the official pubs for more details. Read the section that begins ... ESCAPE '%SpecialCharacters' Specifies that path names and the SHOW('string') expressions within the associated file lists are encoded with a scheme based on RFC3986 URI percent encoding.
On 22/10/2016 15:05, Marc A Kaplan wrote:
RULE .... EXTERNAL LIST ... ESCAPE '%' will direct mmapplypolicy to encode pathnames following RFC3986. Use ESCAPE '%/@' or similar for a more "relaxed" encoding.
See the "Information lifecycle management" chapter of the official pubs for more details. Read the section that begins ...
ESCAPE '%SpecialCharacters' Specifies that path names and the SHOW('string') expressions within the associated file lists are encoded with a scheme based on RFC3986 URI percent encoding.
Hello, I've read (and used many times) that part of the fine documentation. My issue is with the documentation of what "mmafcmtl prefetch" expects. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |
Hmmm.... Peeking into the script, it looks like some of AFM uses the simple \\ and \n file list escaping convention (the mmapplypolicy default with no ESCAPE specified) ... And other parts use ESCAPE '%'. Is this inconsistency hidden or does the CLI user have to deal with it? From: Loic Tortay <tortay@cc.in2p3.fr> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/22/2016 09:15 AM Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs) - URL encoding for pathnames Sent by: gpfsug-discuss-bounces@spectrumscale.org On 22/10/2016 15:05, Marc A Kaplan wrote:
RULE .... EXTERNAL LIST ... ESCAPE '%' will direct mmapplypolicy to encode pathnames following RFC3986. Use ESCAPE '%/@' or similar for a more "relaxed" encoding.
See the "Information lifecycle management" chapter of the official pubs for more details. Read the section that begins ...
ESCAPE '%SpecialCharacters' Specifies that path names and the SHOW('string') expressions within the associated file lists are encoded with a scheme based on RFC3986 URI percent encoding.
Hello, I've read (and used many times) that part of the fine documentation. My issue is with the documentation of what "mmafcmtl prefetch" expects. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre | [attachment "smime.p7s" deleted by Marc A Kaplan/Watson/IBM] _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Loic, mmafmctl prefecth expects encoded list file, and it is not documented correctly. Issues like memory leak, file descriptor leak, and fileset going into Unmounted state were fixed in later releases (4.2.1/4.2.2). All your points are correct with respect to AFM migration. There is manual intervention required. Also prefetch does not give list of files which were failed during data read. Users need to run policy to find all uncached files today. ~Venkat (vpuvvada@in.ibm.com) From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/23/2016 12:54 AM Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs) - URL encoding for pathnames Sent by: gpfsug-discuss-bounces@spectrumscale.org Hmmm.... Peeking into the script, it looks like some of AFM uses the simple \\ and \n file list escaping convention (the mmapplypolicy default with no ESCAPE specified) ... And other parts use ESCAPE '%'. Is this inconsistency hidden or does the CLI user have to deal with it? From: Loic Tortay <tortay@cc.in2p3.fr> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/22/2016 09:15 AM Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs) - URL encoding for pathnames Sent by: gpfsug-discuss-bounces@spectrumscale.org On 22/10/2016 15:05, Marc A Kaplan wrote:
RULE .... EXTERNAL LIST ... ESCAPE '%' will direct mmapplypolicy to encode pathnames following RFC3986. Use ESCAPE '%/@' or similar for a more "relaxed" encoding.
See the "Information lifecycle management" chapter of the official pubs for more details. Read the section that begins ...
ESCAPE '%SpecialCharacters' Specifies that path names and the SHOW('string') expressions within the associated file lists are encoded with a scheme based on RFC3986 URI percent encoding.
Hello, I've read (and used many times) that part of the fine documentation. My issue is with the documentation of what "mmafcmtl prefetch" expects. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre | [attachment "smime.p7s" deleted by Marc A Kaplan/Watson/IBM] _______________________________________________ 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 10/24/2016 11:44 AM, Venkateswara R Puvvada wrote:
mmafmctl prefecth expects encoded list file, and it is not documented correctly. Issues like memory leak, file descriptor leak, and fileset going into Unmounted state were fixed in later releases (4.2.1/4.2.2). All your points are correct with respect to AFM migration. There is manual intervention required. Also prefetch does not give list of files which were failed during data read. Users need to run policy to find all uncached files today.
Hello, For the record, I have completed today my AFM migration of a filesystem with 100 million files. Users are now accessing the new filesystem. After disabling user access and a last "prefetch", the AFM filesets were converted to independent filesets. Less than 600 files were then found to be different between the "home" and the "cache" filesystems with a metadata comparison (I just copied the files from the old filesystem to the new one). I have compared the MD5 of a few thousand randomly selected files and found no differences between the "home" and the "cache" filesystems. I expect the users to let us know if they find something different (they have been instructed to do so). We'll keep the "home" filesystem around for some time, just in case there is a problem. Maybe something else that should be mentionned in the documentation is what to do with the ".ptrash" directories after the AFM filesets have been converted. I removed them since they contained files that had clearly been deleted by the users. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |
Hi Maybe worth also to check if there are any orphan files in the NEW fs ? Regards Yaron Daniel 94 Em Ha'Moshavot Rd Server, Storage and Data Services - Team Leader Petach Tiqva, 49527 Global Technology Services Israel Phone: +972-3-916-5672 Fax: +972-3-916-5672 Mobile: +972-52-8395593 e-mail: yard@il.ibm.com IBM Israel From: Loic Tortay <tortay@cc.in2p3.fr> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/24/2016 07:50 PM Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs) - URL encoding for pathnames Sent by: gpfsug-discuss-bounces@spectrumscale.org On 10/24/2016 11:44 AM, Venkateswara R Puvvada wrote:
mmafmctl prefecth expects encoded list file, and it is not documented correctly. Issues like memory leak, file descriptor leak, and fileset going into Unmounted state were fixed in later releases (4.2.1/4.2.2).
All
your points are correct with respect to AFM migration. There is manual intervention required. Also prefetch does not give list of files which were failed during data read. Users need to run policy to find all uncached files today.
Hello, For the record, I have completed today my AFM migration of a filesystem with 100 million files. Users are now accessing the new filesystem. After disabling user access and a last "prefetch", the AFM filesets were converted to independent filesets. Less than 600 files were then found to be different between the "home" and the "cache" filesystems with a metadata comparison (I just copied the files from the old filesystem to the new one). I have compared the MD5 of a few thousand randomly selected files and found no differences between the "home" and the "cache" filesystems. I expect the users to let us know if they find something different (they have been instructed to do so). We'll keep the "home" filesystem around for some time, just in case there is a problem. Maybe something else that should be mentionned in the documentation is what to do with the ".ptrash" directories after the AFM filesets have been converted. I removed them since they contained files that had clearly been deleted by the users. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre | _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 10/24/2016 07:05 PM, Yaron Daniel wrote:
Maybe worth also to check if there are any orphan files in the NEW fs ?
Hello, I ran a online "dry run" (-n) mmfsck which found a few lost blocks, but I'm not sure orphan files are detected with an online mmfsck. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |
Loic, It is good to hear that migration is completed. Did you find any prefetch errors in mmfs.log for the files which are different between cache and home ? Not all errors are logged, there is a plan to generate the list of read failed file names after prefetch completion. Informaion about files moving to .ptrash is documented @ http://www.ibm.com/support/knowledgecenter/STXKQY_4.2.1/com.ibm.spectrum.sca... ~Venkat (vpuvvada@in.ibm.com) From: Loic Tortay <tortay@cc.in2p3.fr> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/24/2016 10:20 PM Subject: Re: [gpfsug-discuss] Using AFM to migrate files. (Peter Childs) (Peter Childs) - URL encoding for pathnames Sent by: gpfsug-discuss-bounces@spectrumscale.org On 10/24/2016 11:44 AM, Venkateswara R Puvvada wrote:
mmafmctl prefecth expects encoded list file, and it is not documented correctly. Issues like memory leak, file descriptor leak, and fileset going into Unmounted state were fixed in later releases (4.2.1/4.2.2).
All
your points are correct with respect to AFM migration. There is manual intervention required. Also prefetch does not give list of files which were failed during data read. Users need to run policy to find all uncached files today.
Hello, For the record, I have completed today my AFM migration of a filesystem with 100 million files. Users are now accessing the new filesystem. After disabling user access and a last "prefetch", the AFM filesets were converted to independent filesets. Less than 600 files were then found to be different between the "home" and the "cache" filesystems with a metadata comparison (I just copied the files from the old filesystem to the new one). I have compared the MD5 of a few thousand randomly selected files and found no differences between the "home" and the "cache" filesystems. I expect the users to let us know if they find something different (they have been instructed to do so). We'll keep the "home" filesystem around for some time, just in case there is a problem. Maybe something else that should be mentionned in the documentation is what to do with the ".ptrash" directories after the AFM filesets have been converted. I removed them since they contained files that had clearly been deleted by the users. Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre | _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 25/10/2016 06:53, Venkateswara R Puvvada wrote:
Loic,
It is good to hear that migration is completed. Did you find any prefetch errors in mmfs.log for the files which are different between cache and home ? Not all errors are logged, there is a plan to generate the list of read failed file names after prefetch completion.
Hello, Indeed, I had missed those messages: $GATEWAY1: Mon Oct 24 10:44:05.725 2016: [E] AFM: Read file system $FS fileset juno file IDs [469826991.470473596.-1.-1,N] name CMakeFiles local error 21 $GATEWAY1: Mon Oct 24 10:50:05.655 2016: [E] AFM: Read file system $FS fileset mnm file IDs [637555582.-1.-1.-1,N] name Mn_G4_SansTube local error 21
From what I can see, for the previous runs of "mmafmctl prefetch", there are much less error messages logged than the values of the "asyncReadFailed" counters displayed by "mmafmctl prefetch -j $FILESET -Y".
Loïc. -- | Loïc Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |
participants (6)
-
Bill Pappas -
Loic Tortay -
Marc A Kaplan -
Peter Childs -
Venkateswara R Puvvada -
Yaron Daniel
