This is more a TSM question than GPFS but it involves GPFS to a point so I hope I'm ok asking this. I've unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a "new" fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight. GPFS 3.5 and TSM 7.1. Does anyone know? Cheers Richard
A quick Google has given me the answer I dreaded: "Attention: If you are using the TSM Backup-Archive client you must use caution when you unlink filesets that contain data backed up by TSM. TSM tracks files by pathname and does not track filesets. As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset. Therefore, the TSM Backup-Archive client inactivates the data on the TSM server which may result in the loss of backup data during the expiration process." So I need to relink it to the original place I think. Oh well. Not a disaster. From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 04 May 2016 16:33 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] TSM and re-linked filesets This is more a TSM question than GPFS but it involves GPFS to a point so I hope I'm ok asking this. I've unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a "new" fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight. GPFS 3.5 and TSM 7.1. Does anyone know? Cheers Richard
Could you do something really nasty in the tsm db2 database to update the paths? -----Original Message----- From: Sobey, Richard A [r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>] Sent: Wednesday, May 04, 2016 04:35 PM GMT Standard Time To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] TSM and re-linked filesets A quick Google has given me the answer I dreaded: “Attention: If you are using the TSM Backup-Archive client you must use caution when you unlink filesets that contain data backed up by TSM. TSM tracks files by pathname and does not track filesets. As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset. Therefore, the TSM Backup-Archive client inactivates the data on the TSM server which may result in the loss of backup data during the expiration process.” So I need to relink it to the original place I think. Oh well. Not a disaster. From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 04 May 2016 16:33 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] TSM and re-linked filesets This is more a TSM question than GPFS but it involves GPFS to a point so I hope I’m ok asking this. I’ve unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a “new” fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight. GPFS 3.5 and TSM 7.1. Does anyone know? Cheers Richard
Err, I think you’ve already answered the question with the word “nasty” heh. Thanks for all the suggestions folks. Richard From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (Research Computing - IT Services) Sent: 04 May 2016 16:59 To: 'gpfsug main discussion list' <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] TSM and re-linked filesets Could you do something really nasty in the tsm db2 database to update the paths? -----Original Message----- From: Sobey, Richard A [r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>] Sent: Wednesday, May 04, 2016 04:35 PM GMT Standard Time To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] TSM and re-linked filesets A quick Google has given me the answer I dreaded: “Attention: If you are using the TSM Backup-Archive client you must use caution when you unlink filesets that contain data backed up by TSM. TSM tracks files by pathname and does not track filesets. As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset. Therefore, the TSM Backup-Archive client inactivates the data on the TSM server which may result in the loss of backup data during the expiration process.” So I need to relink it to the original place I think. Oh well. Not a disaster. From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 04 May 2016 16:33 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] TSM and re-linked filesets This is more a TSM question than GPFS but it involves GPFS to a point so I hope I’m ok asking this. I’ve unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a “new” fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight. GPFS 3.5 and TSM 7.1. Does anyone know? Cheers Richard
My little suggestion is to put it back where it was. And then add a symlink from the desired (new) path to the TSM-needs-this actual path.
I think you found your answer: TSM tracks files by pathname. So... if a file had path /w/x/y/z on Monday. But was moved to /w/x/q/p on Tuesday, how would TSM "know" it was the same file...? It wouldn't! To TSM it seems you've deleted the first and created the second. Technically there are some other possibilities, and some backup systems may use them, but NOT TSM: 1) Record the inode number and generation number and/or creation timestamp. Within a given Posix-ish file system, that uniquely identifies the file. 2) Record a strong (cryptographic quality) checksum (hash) of the contents of the file. If two files have the same checksum (hash) then the odds are we can use the same backup data for both and don't have to make an extra copy in the backup system. To make the odds really, really "long" you want to take into account the "birthday paradox" and use lots and lots of bits. Long odds can also be compared to the probability of losing a file due to a bug or an IO error or accident or disaster... For example SHA-256, might be strong and long enough for you to believe in. Backup is not generally a cryptographic game, so perhaps you should not worry much about some evil doer purposely trying to confound your backup system. OTOH - if you have users who are adversaries, all backing up into the same system... In theory one might "destroy" another's backup. This save transmission and storage of duplicates, but of course the backup system has to read the contents of each suspected new file and compute the hash...
Hi Richard, That's correct, TSM will only look at the path and compare files it doesn't understand the file set. Once the path has changed it will then start expiring the missing files. What are you trying to achieve here as you might be able to update the expiration or fudge the DB. -- Lauz Sent from my iPad
On 4 May 2016, at 16:35, Sobey, Richard A <r.sobey@imperial.ac.uk> wrote:
A quick Google has given me the answer I dreaded:
“Attention: If you are using the TSM Backup-Archive client you must use caution when you unlink filesets that contain data backed up by TSM. TSM tracks files by pathname and does not track filesets. As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset. Therefore, the TSM Backup-Archive client inactivates the data on the TSM server which may result in the loss of backup data during the expiration process.”
So I need to relink it to the original place I think. Oh well. Not a disaster.
From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 04 May 2016 16:33 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] TSM and re-linked filesets
This is more a TSM question than GPFS but it involves GPFS to a point so I hope I’m ok asking this.
I’ve unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a “new” fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight.
GPFS 3.5 and TSM 7.1.
Does anyone know?
Cheers
Richard
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Lauz When we want to remove filesets we link them in an area that isn’t exported by CIFS or NFS. This allows us a grace period where the users most definitely cannot access the files before we delete them permanently. Normally it’s not a problem as most of our filesets are only a few hundred GB, but this particular one contains 80TB of data (160TB replicated) and I don’t fancy it getting backed up again! From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Laurence Horrors-Barlow Sent: 04 May 2016 18:50 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] TSM and re-linked filesets Hi Richard, That's correct, TSM will only look at the path and compare files it doesn't understand the file set. Once the path has changed it will then start expiring the missing files. What are you trying to achieve here as you might be able to update the expiration or fudge the DB. -- Lauz Sent from my iPad On 4 May 2016, at 16:35, Sobey, Richard A <r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>> wrote: A quick Google has given me the answer I dreaded: “Attention: If you are using the TSM Backup-Archive client you must use caution when you unlink filesets that contain data backed up by TSM. TSM tracks files by pathname and does not track filesets. As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset. Therefore, the TSM Backup-Archive client inactivates the data on the TSM server which may result in the loss of backup data during the expiration process.” So I need to relink it to the original place I think. Oh well. Not a disaster. From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 04 May 2016 16:33 To: 'gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>' <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] TSM and re-linked filesets This is more a TSM question than GPFS but it involves GPFS to a point so I hope I’m ok asking this. I’ve unlinked a fileset and relinked it at a different junction point. Will this cause TSM to see a “new” fileset and back up all its content? This is very undesireable so if I need to put it back where it belongs then I need to do this before tonight. GPFS 3.5 and TSM 7.1. Does anyone know? Cheers Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (4)
-
Laurence Horrors-Barlow -
Marc A Kaplan -
Simon Thompson (Research Computing - IT Services) -
Sobey, Richard A
