Hi,
mmbackup with scope fileset works with independent filesets only. The reason is the independent inode space and the ability to run the policy engine separated from the rest of the file system. With dependent inode space this is not possible, so there is no benefit moving to the scope of the fileset.
Please try the following:
- modify your Spectrum Protect server stanza in the dsm.sys file and exclude the fileset you won't backup
- run mmbackup on file system level (mmbackup /gpfs/sgfs1 --scope filesystem ...)
--> the fileset you don't want to protect should be excluded now.
NOTE: if you have a backup of the fileset from previous runs of mmbackup all the files in the server will be expired when the data is excluded now.
Tip: With this method you can split dependent filesets (or large directories) to different Protect servers. Just modify the server stanza in a way that only one fileset is NOT excluded for each server. Then run mmbackup on file system level against one server after the other by using argument --tsm-servers. Each server you specify will get the content of exactly one of your filesets (or large directories). If you have independent filesets run mmbackup on fileset level for sure.
One more hint: Using snapshots to prevent backup failures for long running backups is a good practice.
Greetings, Dominic from Spectrum Protect
----- Original message -----
From: gpfsug-discuss-request@spectrumscale.org
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: gpfsug-discuss@spectrumscale.org
Cc:
Subject: gpfsug-discuss Digest, Vol 64, Issue 39
Date: Thu, May 18, 2017 3:44 AM
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. mmbackup with fileset : scope errors (Jaime Pinto)
2. Re: mmbackup with fileset : scope errors (Luis Bolinches)
3. Re: mmbackup with fileset : scope errors (Jaime Pinto)
4. Re: mmbackup with fileset : scope errors (Jaime Pinto)
----- Message from "Jaime Pinto" <pinto@scinet.utoronto.ca> on Wed, 17 May 2017 16:44:47 -0400 -----
| To: | "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org> |
| Subject: | [gpfsug-discuss] mmbackup with fileset : scope errors |
I have a g200 /gpfs/sgfs1 filesystem with 3 filesets:
* project3
* scratch3
* sysadmin3
I have no problems mmbacking up /gpfs/sgfs1 (or sgfs1), however we
have no need or space to include *scratch3* on TSM.
Question: how to craft the mmbackup command to backup
/gpfs/sgfs1/project3 and/or /gpfs/sgfs1/sysadmin3 only?
Below are 3 types of errors:
1) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--tsm-errorlog $logfile -L 2
ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
cannot be specified at the same time.
2) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--scope inodespace --tsm-errorlog $logfile -L 2
ERROR: Wed May 17 16:27:11 2017 mmbackup:mmbackup: Backing up
dependent fileset sysadmin3 is not supported
Wed May 17 16:27:11 2017 mmbackup:This fileset is not suitable for
fileset level backup. exit 1
3) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--scope filesystem --tsm-errorlog $logfile -L 2
ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
cannot be specified at the same time.
These examples don't really cover my case:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adm_mmbackup.htm#mmbackup__mmbackup_examples
Thanks
Jaime
************************************
TELL US ABOUT YOUR SUCCESS STORIES
http://www.scinethpc.ca/testimonials
************************************
---
Jaime Pinto
SciNet HPC Consortium - Compute/Calcul Canada
www.scinet.utoronto.ca - www.computecanada.ca
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.
----- Message from Luis Bolinches <luis.bolinches@fi.ibm.com> on Wed, 17 May 2017 23:49:35 +0300 -----
| To: | gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> |
| Subject: | Re: [gpfsug-discuss] mmbackup with fileset : scope errors |
Hi
have you tried to add exceptions on the TSM client config file?
Assuming your GPFS dir is /IBM/GPFS and your fileset to exclude is linked on /IBM/GPFS/FSET1
dsm.sys
...
DOMAIN /IBM/GPFS
EXCLUDE.DIR /IBM/GPFS/FSET1
From: "Jaime Pinto" <pinto@scinet.utoronto.ca>
To: "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>
Date: 17-05-17 23:44
Subject: [gpfsug-discuss] mmbackup with fileset : scope errors
Sent by: gpfsug-discuss-bounces@spectrumscale.org
I have a g200 /gpfs/sgfs1 filesystem with 3 filesets:
* project3
* scratch3
* sysadmin3
I have no problems mmbacking up /gpfs/sgfs1 (or sgfs1), however we
have no need or space to include *scratch3* on TSM.
Question: how to craft the mmbackup command to backup
/gpfs/sgfs1/project3 and/or /gpfs/sgfs1/sysadmin3 only?
Below are 3 types of errors:
1) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--tsm-errorlog $logfile -L 2
ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
cannot be specified at the same time.
2) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--scope inodespace --tsm-errorlog $logfile -L 2
ERROR: Wed May 17 16:27:11 2017 mmbackup:mmbackup: Backing up
dependent fileset sysadmin3 is not supported
Wed May 17 16:27:11 2017 mmbackup:This fileset is not suitable for
fileset level backup. exit 1
3) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--scope filesystem --tsm-errorlog $logfile -L 2
ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
cannot be specified at the same time.
These examples don't really cover my case:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adm_mmbackup.htm#mmbackup__mmbackup_examples
Thanks
Jaime
************************************
TELL US ABOUT YOUR SUCCESS STORIES
http://www.scinethpc.ca/testimonials
************************************
---
Jaime Pinto
SciNet HPC Consortium - Compute/Calcul Canada
www.scinet.utoronto.ca - www.computecanada.ca
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.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ellei edellä ole toisin mainittu: / Unless stated otherwise above:
Oy IBM Finland Ab
PL 265, 00101 Helsinki, Finland
Business ID, Y-tunnus: 0195876-3
Registered in Finland
----- Message from "Jaime Pinto" <pinto@scinet.utoronto.ca> on Wed, 17 May 2017 19:48:58 -0400 -----
| To: | "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>, "Luis Bolinches" <luis.bolinches@fi.ibm.com> |
| Subject: | Re: [gpfsug-discuss] mmbackup with fileset : scope errors |
Quoting "Luis Bolinches" <luis.bolinches@fi.ibm.com>:
> Hi
>
> have you tried to add exceptions on the TSM client config file?
Hey Luis,
That would work as well (mechanically), however it's not elegant or
efficient. When you have over 1PB and 200M files on scratch it will
take many hours and several helper nodes to traverse that fileset just
to be negated by TSM. In fact exclusion on TSM are just as
inefficient. Considering that I want to keep project and sysadmin on
different domains then it's much worst, since we have to traverse and
exclude scratch & (project|sysadmin) twice, once to capture sysadmin
and again to capture project.
If I have to use exclusion rules it has to rely sole on gpfs rules,
and somehow not traverse scratch at all.
I suspect there is a way to do this properly, however the examples on
the gpfs guide and other references are not exhaustive. They only show
a couple of trivial cases.
However my situation is not unique. I suspect there are may facilities
having to deal with backup of HUGE filesets.
So the search is on.
Thanks
Jaime
>
> Assuming your GPFS dir is /IBM/GPFS and your fileset to exclude is linked
> on /IBM/GPFS/FSET1
>
> dsm.sys
> ...
>
> DOMAIN /IBM/GPFS
> EXCLUDE.DIR /IBM/GPFS/FSET1
>
>
> From: "Jaime Pinto" <pinto@scinet.utoronto.ca>
> To: "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>
> Date: 17-05-17 23:44
> Subject: [gpfsug-discuss] mmbackup with fileset : scope errors
> Sent by: gpfsug-discuss-bounces@spectrumscale.org
>
>
>
> I have a g200 /gpfs/sgfs1 filesystem with 3 filesets:
> * project3
> * scratch3
> * sysadmin3
>
> I have no problems mmbacking up /gpfs/sgfs1 (or sgfs1), however we
> have no need or space to include *scratch3* on TSM.
>
> Question: how to craft the mmbackup command to backup
> /gpfs/sgfs1/project3 and/or /gpfs/sgfs1/sysadmin3 only?
>
> Below are 3 types of errors:
>
> 1) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
> --tsm-errorlog $logfile -L 2
>
> ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
> cannot be specified at the same time.
>
> 2) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
> --scope inodespace --tsm-errorlog $logfile -L 2
>
> ERROR: Wed May 17 16:27:11 2017 mmbackup:mmbackup: Backing up
> dependent fileset sysadmin3 is not supported
> Wed May 17 16:27:11 2017 mmbackup:This fileset is not suitable for
> fileset level backup. exit 1
>
> 3) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
> --scope filesystem --tsm-errorlog $logfile -L 2
>
> ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
> cannot be specified at the same time.
>
> These examples don't really cover my case:
> https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adm_mmbackup.htm#mmbackup__mmbackup_examples
>
>
> Thanks
> Jaime
>
>
> ************************************
> TELL US ABOUT YOUR SUCCESS STORIES
> http://www.scinethpc.ca/testimonials
> ************************************
> ---
> Jaime Pinto
> SciNet HPC Consortium - Compute/Calcul Canada
> www.scinet.utoronto.ca - www.computecanada.ca
> 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.
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
>
>
>
>
> Ellei edellä ole toisin mainittu: / Unless stated otherwise above:
> Oy IBM Finland Ab
> PL 265, 00101 Helsinki, Finland
> Business ID, Y-tunnus: 0195876-3
> Registered in Finland
>
************************************
TELL US ABOUT YOUR SUCCESS STORIES
http://www.scinethpc.ca/testimonials
************************************
---
Jaime Pinto
SciNet HPC Consortium - Compute/Calcul Canada
www.scinet.utoronto.ca - www.computecanada.ca
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.
----- Message from "Jaime Pinto" <pinto@scinet.utoronto.ca> on Wed, 17 May 2017 21:43:29 -0400 -----
| To: | "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>, "Jaime Pinto" <pinto@scinet.utoronto.ca> |
| Subject: | Re: [gpfsug-discuss] mmbackup with fileset : scope errors |
There is hope. See reference link below:
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.1.1/com.ibm.spectrum.scale.v4r11.ins.doc/bl1ins_tsm_fsvsfset.htm
The issue has to do with dependent vs. independent filesets, something
I didn't even realize existed until now. Our filesets are dependent
(for no particular reason), so I have to find a way to turn them into
independent.
The proper option syntax is "--scope inodespace", and the error
message actually flagged that out, however I didn't know how to
interpret what I saw:
# mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
--scope inodespace --tsm-errorlog $logfile -L 2
--------------------------------------------------------
mmbackup: Backup of /gpfs/sgfs1/sysadmin3 begins at Wed May 17
21:27:43 EDT 2017.
--------------------------------------------------------
Wed May 17 21:27:45 2017 mmbackup:mmbackup: Backing up *dependent*
fileset sysadmin3 is not supported
Wed May 17 21:27:45 2017 mmbackup:This fileset is not suitable for
fileset level backup. exit 1
--------------------------------------------------------
Will post the outcome.
Jaime
Quoting "Jaime Pinto" <pinto@scinet.utoronto.ca>:
> Quoting "Luis Bolinches" <luis.bolinches@fi.ibm.com>:
>
>> Hi
>>
>> have you tried to add exceptions on the TSM client config file?
>
> Hey Luis,
>
> That would work as well (mechanically), however it's not elegant or
> efficient. When you have over 1PB and 200M files on scratch it will
> take many hours and several helper nodes to traverse that fileset just
> to be negated by TSM. In fact exclusion on TSM are just as inefficient.
> Considering that I want to keep project and sysadmin on different
> domains then it's much worst, since we have to traverse and exclude
> scratch & (project|sysadmin) twice, once to capture sysadmin and again
> to capture project.
>
> If I have to use exclusion rules it has to rely sole on gpfs rules, and
> somehow not traverse scratch at all.
>
> I suspect there is a way to do this properly, however the examples on
> the gpfs guide and other references are not exhaustive. They only show
> a couple of trivial cases.
>
> However my situation is not unique. I suspect there are may facilities
> having to deal with backup of HUGE filesets.
>
> So the search is on.
>
> Thanks
> Jaime
>
>
>
>
>>
>> Assuming your GPFS dir is /IBM/GPFS and your fileset to exclude is linked
>> on /IBM/GPFS/FSET1
>>
>> dsm.sys
>> ...
>>
>> DOMAIN /IBM/GPFS
>> EXCLUDE.DIR /IBM/GPFS/FSET1
>>
>>
>> From: "Jaime Pinto" <pinto@scinet.utoronto.ca>
>> To: "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>
>> Date: 17-05-17 23:44
>> Subject: [gpfsug-discuss] mmbackup with fileset : scope errors
>> Sent by: gpfsug-discuss-bounces@spectrumscale.org
>>
>>
>>
>> I have a g200 /gpfs/sgfs1 filesystem with 3 filesets:
>> * project3
>> * scratch3
>> * sysadmin3
>>
>> I have no problems mmbacking up /gpfs/sgfs1 (or sgfs1), however we
>> have no need or space to include *scratch3* on TSM.
>>
>> Question: how to craft the mmbackup command to backup
>> /gpfs/sgfs1/project3 and/or /gpfs/sgfs1/sysadmin3 only?
>>
>> Below are 3 types of errors:
>>
>> 1) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
>> --tsm-errorlog $logfile -L 2
>>
>> ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
>> cannot be specified at the same time.
>>
>> 2) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
>> --scope inodespace --tsm-errorlog $logfile -L 2
>>
>> ERROR: Wed May 17 16:27:11 2017 mmbackup:mmbackup: Backing up
>> dependent fileset sysadmin3 is not supported
>> Wed May 17 16:27:11 2017 mmbackup:This fileset is not suitable for
>> fileset level backup. exit 1
>>
>> 3) mmbackup /gpfs/sgfs1/sysadmin3 -N tsm-helper1-ib0 -s /dev/shm
>> --scope filesystem --tsm-errorlog $logfile -L 2
>>
>> ERROR: mmbackup: Options /gpfs/sgfs1/sysadmin3 and --scope filesystem
>> cannot be specified at the same time.
>>
>> These examples don't really cover my case:
>> https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adm_mmbackup.htm#mmbackup__mmbackup_examples
>>
>>
>> Thanks
>> Jaime
>>
>>
>> ************************************
>> TELL US ABOUT YOUR SUCCESS STORIES
>> http://www.scinethpc.ca/testimonials
>> ************************************
>> ---
>> Jaime Pinto
>> SciNet HPC Consortium - Compute/Calcul Canada
>> www.scinet.utoronto.ca - www.computecanada.ca
>> 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.
>>
>> _______________________________________________
>> gpfsug-discuss mailing list
>> gpfsug-discuss at spectrumscale.org
>> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>>
>>
>>
>>
>>
>> Ellei edellä ole toisin mainittu: / Unless stated otherwise above:
>> Oy IBM Finland Ab
>> PL 265, 00101 Helsinki, Finland
>> Business ID, Y-tunnus: 0195876-3
>> Registered in Finland
>>
>
>
>
>
>
>
> ************************************
> TELL US ABOUT YOUR SUCCESS STORIES
> http://www.scinethpc.ca/testimonials
> ************************************
> ---
> Jaime Pinto
> SciNet HPC Consortium - Compute/Calcul Canada
> www.scinet.utoronto.ca - www.computecanada.ca
> 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.
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
************************************
TELL US ABOUT YOUR SUCCESS STORIES
http://www.scinethpc.ca/testimonials
************************************
---
Jaime Pinto
SciNet HPC Consortium - Compute/Calcul Canada
www.scinet.utoronto.ca - www.computecanada.ca
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.