Hi All, So in trying to prove Jaime wrong I proved him half right … the cron job is stopped: #13 22 * * 5 /root/bin/gpfs_migration.sh However, I took a look in one of the restore directories under /gpfs23/ RESTORE using mmlsattr and I see files in all 3 pools! So that explains why the capacity pool is filling, but mmlspolicy says: Policy for file system '/dev/gpfs23': Installed by root@gpfsmgr on Wed Jan 25 10:17:01 2017. First line of policy 'gpfs23.policy' is: RULE 'DEFAULT' SET POOL 'gpfs23data' So … I don’t think GPFS is doing this but the next thing I am going to do is follow up with our tape software vendor … I bet they preserve the pool attribute on files and - like Jaime said - old stuff is therefore hitting the gpfs23capacity pool. Thanks Jaime and everyone else who has responded so far… Kevin
On Jun 7, 2018, at 9:53 AM, Jaime Pinto <pinto@scinet.utoronto.ca> wrote:
I think the restore is is bringing back a lot of material with atime > 90, so it is passing-trough gpfs23data and going directly to gpfs23capacity.
I also think you may not have stopped the crontab script as you believe you did.
Jaime
Quoting "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu>:
Hi All,
First off, I?m on day 8 of dealing with two different mini-catastrophes at work and am therefore very sleep deprived and possibly missing something obvious ? with that disclaimer out of the way?
We have a filesystem with 3 pools: 1) system (metadata only), 2) gpfs23data (the default pool if I run mmlspolicy), and 3) gpfs23capacity (where files with an atime - yes atime - of more than 90 days get migrated to by a script that runs out of cron each weekend.
However ? this morning the free space in the gpfs23capacity pool is dropping ? I?m down to 0.5 TB free in a 582 TB pool ? and I cannot figure out why. The migration script is NOT running ? in fact, it?s currently disabled. So I can only think of two possible explanations for this:
1. There are one or more files already in the gpfs23capacity pool that someone has started updating. Is there a way to check for that ? i.e. a way to run something like ?find /gpfs23 -mtime -7 -ls? but restricted to only files in the gpfs23capacity pool. Marc Kaplan - can mmfind do that?? ;-)
2. We are doing a large volume of restores right now because one of the mini-catastrophes I?m dealing with is one NSD (gpfs23data pool) down due to a issue with the storage array. We?re working with the vendor to try to resolve that but are not optimistic so we have started doing restores in case they come back and tell us it?s not recoverable. We did run ?mmfileid? to identify the files that have one or more blocks on the down NSD, but there are so many that what we?re doing is actually restoring all the files to an alternate path (easier for out tape system), then replacing the corrupted files, then deleting any restores we don?t need. But shouldn?t all of that be going to the gpfs23data pool? I.e. even if we?re restoring files that are in the gpfs23capacity pool shouldn?t the fact that we?re restoring to an alternate path (i.e. not overwriting files with the tape restores) and the default pool is the gpfs23data pool mean that nothing is being restored to the gpfs23capacity pool???
Is there a third explanation I?m not thinking of?
Thanks...
? Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
************************************ TELL US ABOUT YOUR SUCCESS STORIES https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.scinethp... ************************************ --- Jaime Pinto - Storage Analyst SciNet HPC Consortium - Compute/Calcul Canada https://na01.safelinks.protection.outlook.com/?url=www.scinet.utoronto.ca&da... - https://na01.safelinks.protection.outlook.com/?url=www.computecanada.ca&data... University of Toronto 661 University Ave. (MaRS), Suite 1140 Toronto, ON, M5G1M1 P: 416-978-2755 C: 416-505-1477
---------------------------------------------------------------- This message was sent using IMP at SciNet Consortium, University of Toronto.
However, I took a look in one of the restore directories under /gpfs23/ RESTORE using mmlsattr and I see files in all 3 pools!
So ? I don?t think GPFS is doing this but the next thing I am going to do is follow up with our tape software vendor ? I bet they preserve the pool attribute on files and - like Jaime said - old stuff is therefore hitting the gpfs23capacity pool.
Hm, then the backup/restore must be doing very funny things. Usually, GPFS should rule the placement of new files, and I assume that a restore of a file, in particular under a different name, creates a new file. So, if your backup tool does override that GPFS placement, it must be very intimate with Scale :-). I'd do some list scans of the capacity pool just to see what the files appearing there from tape have in common. If it's really that these files' data were on the capacity pool at the last backup, they should not be affected by your dead NSD and a restore is in vain anyway. If that doesn't help or give no clue, then, if the data pool has some more free space, you might try to run an upward/backward migration from capacity to data . And, yeah, as GPFS tends to stripe over all NSDs, all files in data large enough plus some smaller ones would have data on your broken NSD. That's the drawback of parallelization. Maybe you'd ask the storage vendor whether they supply some more storage for the fault of their (redundant?) device to alleviate your current storage shortage ? Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
Hi Uwe, Thanks for your response. So our restore software lays down the metadata first, then the data. While it has no specific knowledge of the extended attributes, it does back them up and restore them. So the only explanation that makes sense to me is that since the inode for the file says that the file should be in the gpfs23capacity pool, the data gets written there. Right now I don’t have time to do an analysis of the “live” version of a fileset and the “restored” version of that same fileset to see if the placement of the files matches up. My quick and dirty checks seem to show files getting written to all 3 pools. Unfortunately, we have no way to tell our tape software to ignore files from the gpfs23capacity pool (and we’re aware that we won’t need those files). We’ve also determined that it is actually quicker to tell our tape system to restore all files from a fileset than to take the time to tell it to selectively restore only certain files … and the same amount of tape would have to be read in either case. Our SysAdmin who is primary on tape backup and restore was going on vacation the latter part of the week, so he decided to be helpful and just queue up all the restores to run one right after the other. We didn’t realize that, so we are solving our disk space issues by slowing down the restores until we can run more instances of the script that replaces the corrupted files and deletes the unneeded restored files. Thanks again… Kevin
On Jun 7, 2018, at 1:34 PM, Uwe Falke <UWEFALKE@de.ibm.com> wrote:
However, I took a look in one of the restore directories under /gpfs23/ RESTORE using mmlsattr and I see files in all 3 pools!
So ? I don?t think GPFS is doing this but the next thing I am going to do is follow up with our tape software vendor ? I bet they preserve the pool attribute on files and - like Jaime said - old stuff is therefore hitting the gpfs23capacity pool.
Hm, then the backup/restore must be doing very funny things. Usually, GPFS should rule the placement of new files, and I assume that a restore of a file, in particular under a different name, creates a new file. So, if your backup tool does override that GPFS placement, it must be very intimate with Scale :-). I'd do some list scans of the capacity pool just to see what the files appearing there from tape have in common. If it's really that these files' data were on the capacity pool at the last backup, they should not be affected by your dead NSD and a restore is in vain anyway.
If that doesn't help or give no clue, then, if the data pool has some more free space, you might try to run an upward/backward migration from capacity to data .
And, yeah, as GPFS tends to stripe over all NSDs, all files in data large enough plus some smaller ones would have data on your broken NSD. That's the drawback of parallelization. Maybe you'd ask the storage vendor whether they supply some more storage for the fault of their (redundant?) device to alleviate your current storage shortage ?
Mit freundlichen Grüßen / Kind regards
Dr. Uwe Falke
IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
If your restore software uses the gpfs_fputattrs() or gpfs_fputattrswithpathname methods, notice there are some options to control the pool. AND there is also the possibility of using the little known "RESTORE" policy rule to algorithmically control the pool selection by different criteria than the SET POOL rule. When all else fails ... Read The Fine Manual ;-) From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 06/07/2018 03:37 PM Subject: Re: [gpfsug-discuss] Capacity pool filling Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi Uwe, Thanks for your response. So our restore software lays down the metadata first, then the data. While it has no specific knowledge of the extended attributes, it does back them up and restore them. So the only explanation that makes sense to me is that since the inode for the file says that the file should be in the gpfs23capacity pool, the data gets written there. Right now I don’t have time to do an analysis of the “live” version of a fileset and the “restored” version of that same fileset to see if the placement of the files matches up. My quick and dirty checks seem to show files getting written to all 3 pools. Unfortunately, we have no way to tell our tape software to ignore files from the gpfs23capacity pool (and we’re aware that we won’t need those files). We’ve also determined that it is actually quicker to tell our tape system to restore all files from a fileset than to take the time to tell it to selectively restore only certain files … and the same amount of tape would have to be read in either case. Our SysAdmin who is primary on tape backup and restore was going on vacation the latter part of the week, so he decided to be helpful and just queue up all the restores to run one right after the other. We didn’t realize that, so we are solving our disk space issues by slowing down the restores until we can run more instances of the script that replaces the corrupted files and deletes the unneeded restored files. Thanks again… Kevin
On Jun 7, 2018, at 1:34 PM, Uwe Falke <UWEFALKE@de.ibm.com> wrote:
However, I took a look in one of the restore directories under /gpfs23/ RESTORE using mmlsattr and I see files in all 3 pools!
So ? I don?t think GPFS is doing this but the next thing I am going to do is follow up with our tape software vendor ? I bet they preserve the pool attribute on files and - like Jaime said - old stuff is therefore hitting the gpfs23capacity pool.
Hm, then the backup/restore must be doing very funny things. Usually, GPFS should rule the placement of new files, and I assume that a restore of a file, in particular under a different name, creates a new file. So, if your backup tool does override that GPFS placement, it must be very intimate with Scale :-). I'd do some list scans of the capacity pool just to see what the files appearing there from tape have in common. If it's really that these files' data were on the capacity pool at the last backup, they should not be affected by your dead NSD and a restore is in vain anyway.
If that doesn't help or give no clue, then, if the data pool has some more free space, you might try to run an upward/backward migration from capacity to data .
And, yeah, as GPFS tends to stripe over all NSDs, all files in data large enough plus some smaller ones would have data on your broken NSD. That's
the drawback of parallelization. Maybe you'd ask the storage vendor whether they supply some more storage
for the fault of their (redundant?) device to alleviate your current storage shortage ?
Mit freundlichen Grüßen / Kind regards
Dr. Uwe Falke
IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Kevin, gpfsug-discuss-bounces@spectrumscale.org wrote on 07/06/2018 21:36:59:
From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu>
So our restore software lays down the metadata first, then the data. While it has no specific knowledge of the extended attributes, it does back them up and restore them. So the only explanation that makes sense to me is that since the inode for the file says that the file should be in the gpfs23capacity pool, the data gets written there. Hm, fair enough. So it seems to extract and revise information from the inodes of backed-up files (since it cannot reuse the inode number, it must do so ...). Then, you could ask your SW vendor to include a functionality like "restore using GPFS placement" (ignoring pool info from inode), "restore data to pool XY" (all data restored,, but all to pool XY) or "restore only data from pool XY" (only data originally backed up from XY, and restored to XY), and LBNL "restore only data from pool XY to pool ZZ". The tapes could still do streaming reads, but all files not matching the condition would be ignored. Is a bit more sophisticated than just copying the inode content except some fields such as inode number. OTOH, how often are restores really needed ... so it might be over the top ...
We?ve also determined that it is actually quicker to tell our tape system to restore all files from a fileset than to take the time to tell it to selectively restore only certain files ? and the same amount of tape would have to be read in either case. Given that you know where the restored files are going to in the file system, you can also craft a policy that deletes all files which are in pool Capacity and have a path into the restore area. Running that every hour should keep your capacity pool from filling up. Just the tapes need to read more, but because they do it in streaming mode, it is probably not more expensive than shoe-shining. And that could also be applied to the third data pool which also retrieves files. But maybe your script is also sufficient
Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
participants (3)
-
Buterbaugh, Kevin L -
Marc A Kaplan -
Uwe Falke
