Welcome! » Log In » Create A New Profile

How to make dsmc recognize drives

Posted by Loon, Eric van (ITOP NS) - KLM 
Loon, Eric van (ITOP NS) - KLM
How to make dsmc recognize drives
July 18, 2019 02:59AM
Hi guys,

For some tests I want to create separate drives in Windows and back them up with SP. I create these drives with the subst command (subst D: c:\<target directory>). The drives created are visible in the Windows GUI and accessible through the Windows command line, but the Spectrum Protect client does not recognize them.
Does anybody know how to make dsmc recognize them as a separate drive?
Thanks for any help in advance!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup

********************************************************
For information, services and offers, please visit our web site: http://www..klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************
This message was imported via the External PhorumMail Module
Andrew Raibeck
Re: How to make dsmc recognize drives
July 18, 2019 03:59AM
Hi Eric,

It seems to work for me. Example shown below. In the mean time, is it
possible that Windows UAC could be involved? Try opening a Windows OS
prompt with the "Run as Administrator" option, then try running a sequence
of commands like I show below

----------------------------------------------------------
C:\>md BaseDir\SubstDrive\dir1\dir2

C:\>echo Hello, World!> C:\BaseDir\SubstDrive\dir1\testfile1.txt

C:\>echo Hello, World!> C:\BaseDir\SubstDrive\dir1\dir2\testfile2.txt

C:\>dir BaseDir /b /s
C:\BaseDir\SubstDrive
C:\BaseDir\SubstDrive\dir1
C:\BaseDir\SubstDrive\dir1\dir2
C:\BaseDir\SubstDrive\dir1\testfile1.txt
C:\BaseDir\SubstDrive\dir1\dir2\testfile2.txt

C:\>subst t: C:\BaseDir\SubstDrive

C:\>dir T: /b /s
T:\dir1
T:\dir1\dir2
T:\dir1\testfile1.txt
T:\dir1\dir2\testfile2.txt

C:\>cd "Program Files\Tivoli\TSM\baclient"

C:\Program Files\Tivoli\TSM\baclient>dsmc i t:
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 8.5
Client date/time: 07/18/2019 06:37:56
(c) Copyright by IBM Corporation and other(s) 1990, 2019. All Rights
Reserved.

Node Name: W2012R2SQL2014
Session established with server BABYLON5: Windows
Server Version 8, Release 1, Level 8.000
Server date/time: 07/18/2019 06:38:05 Last access: 07/18/2019 06:35:18


Incremental backup of volume 't:'
Directory--> 0 \\w2012r2sql2014\t$\ [Sent]
Directory--> 0 \\w2012r2sql2014\t$\dir1 [Sent]
Directory--> 0 \\w2012r2sql2014\t$\dir1\dir2 [Sent]
Normal File--> 15 \\w2012r2sql2014\t$\dir1\dir2
\testfile2.txt [Sent]
Normal File--> 15 \\w2012r2sql2014\t$\dir1\testfile1.txt
[Sent]
Successful incremental backup of '\\w2012r2sql2014\t$'


Total number of objects inspected: 5
Total number of objects backed up: 5
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of objects encrypted: 0
Total objects deduplicated: 0
Total number of objects grew: 0
Total number of retries: 0
Total number of bytes inspected: 30 B
Total number of bytes processed: 1.18 KB
Total bytes before deduplication: 0 B
Total bytes after deduplication: 0 B
Total number of bytes transferred: 1.33 KB
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.07 KB/sec
Objects compressed by: 0%
Deduplication reduction: 0.00%
Total data reduction ratio: 0.00%
Elapsed processing time: 00:00:19
ANS1900I Return code is 0.
ANS1901I Highest return code was 0.

C:\Program Files\Tivoli\TSM\baclient>dsmc show domain
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 8.5
Client date/time: 07/18/2019 06:38:39
(c) Copyright by IBM Corporation and other(s) 1990, 2019. All Rights
Reserved.

Node Name: W2012R2SQL2014
Session established with server BABYLON5: Windows
Server Version 8, Release 1, Level 8.000
Server date/time: 07/18/2019 06:38:48 Last access: 07/18/2019 06:38:24

Domain specifications:
domain keywords: not specified
-domain : not specified
Domains in effect:
domain : \\w2012r2sql2014\c$
domain : \\w2012r2sql2014\e$
domain : \\w2012r2sql2014\t$
domain : SYSTEMSTATE
domain.image : not specified
domain.nas : not specified
domain.snapshot : not specified
ANS1900I Return code is 0.
ANS1901I Highest return code was 0.

C:\Program Files\Tivoli\TSM\baclient>
----------------------------------------------------------

Best regards,

Andy

____________________________________________________________________________

Andrew Raibeck | IBM Spectrum Protect Level 3 | storman@us.ibm.com

"ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> wrote on 2019-07-18
05:36:36:

> From: "Loon, Eric van (ITOP NS) - KLM" <Eric-van.Loon@KLM.COM>
> To: ADSM-L@VM.MARIST.EDU
> Date: 2019-07-18 05:37
> Subject: [EXTERNAL] How to make dsmc recognize drives
> Sent by: "ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU>
>
> Hi guys,
>
> For some tests I want to create separate drives in Windows and back
> them up with SP. I create these drives with the subst command (subst
> D: c:\<target directory>). The drives created are visible in the
> Windows GUI and accessible through the Windows command line, but the
> Spectrum Protect client does not recognize them.
> Does anybody know how to make dsmc recognize them as a separate drive?
> Thanks for any help in advance!
>
> Kind regards,
> Eric van Loon
> Air France/KLM Storage & Backup
>
> ********************************************************
> For information, services and offers, please visit our web site:
> https://urldefense.proofpoint.com/v2/url?
> u=http-3A__www.klm.com&d=DwIFAg&c=jf_iaSHvJObTbx-
>
siA1ZOg&r=Ij6DLy1l7wDpCbTfcDkLC_KknvhyGdCy_RnAGnhV37I&m=yM2viQdCtneGSbZB2Gl8EDPWy0lboH_Vl_R8isBnb5M&s=BknPhe5Lp4XeaVSAmZfFobMlYPgKHHBwD-

> n4gQRlFL8&e= . This e-mail and any attachment may contain
> confidential and privileged material intended for the addressee
> only. If you are not the addressee, you are notified that no part of
> the e-mail or any attachment may be disclosed, copied or
> distributed, and that any other action related to this e-mail or
> attachment is strictly prohibited, and may be unlawful. If you have
> received this e-mail by error, please notify the sender immediately
> by return e-mail, and delete this message.
>
> Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/
> or its employees shall not be liable for the incorrect or incomplete
> transmission of this e-mail or any attachments, nor responsible for
> any delay in receipt.
> Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
> Dutch Airlines) is registered in Amstelveen, The Netherlands, with
> registered number 33014286
> ********************************************************
>
This message was imported via the External PhorumMail Module
Loon, Eric van (ITOP NS) - KLM
Re: How to make dsmc recognize drives
July 18, 2019 04:59AM
Hi Andy,

That was it! As soon as I open an elevated cmd, a backup works fine.
Thanks again for your help!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Andrew Raibeck
Sent: donderdag 18 juli 2019 12:43
To: ADSM-L@VM.MARIST.EDU
Subject: Re: How to make dsmc recognize drives

Hi Eric,

It seems to work for me. Example shown below. In the mean time, is it possible that Windows UAC could be involved? Try opening a Windows OS prompt with the "Run as Administrator" option, then try running a sequence of commands like I show below

----------------------------------------------------------
C:\>md BaseDir\SubstDrive\dir1\dir2

C:\>echo Hello, World!> C:\BaseDir\SubstDrive\dir1\testfile1.txt

C:\>echo Hello, World!> C:\BaseDir\SubstDrive\dir1\dir2\testfile2.txt

C:\>dir BaseDir /b /s
C:\BaseDir\SubstDrive
C:\BaseDir\SubstDrive\dir1
C:\BaseDir\SubstDrive\dir1\dir2
C:\BaseDir\SubstDrive\dir1\testfile1.txt
C:\BaseDir\SubstDrive\dir1\dir2\testfile2.txt

C:\>subst t: C:\BaseDir\SubstDrive

C:\>dir T: /b /s
T:\dir1
T:\dir1\dir2
T:\dir1\testfile1.txt
T:\dir1\dir2\testfile2.txt

C:\>cd "Program Files\Tivoli\TSM\baclient"

C:\Program Files\Tivoli\TSM\baclient>dsmc i t:
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 8.5
Client date/time: 07/18/2019 06:37:56
(c) Copyright by IBM Corporation and other(s) 1990, 2019. All Rights Reserved.

Node Name: W2012R2SQL2014
Session established with server BABYLON5: Windows
Server Version 8, Release 1, Level 8.000
Server date/time: 07/18/2019 06:38:05 Last access: 07/18/2019 06:35:18


Incremental backup of volume 't:'
Directory--> 0 \\w2012r2sql2014\t$\ [Sent]
Directory--> 0 \\w2012r2sql2014\t$\dir1 [Sent]
Directory--> 0 \\w2012r2sql2014\t$\dir1\dir2 [Sent]
Normal File--> 15 \\w2012r2sql2014\t$\dir1\dir2
\testfile2.txt [Sent]
Normal File--> 15 \\w2012r2sql2014\t$\dir1\testfile1.txt
[Sent]
Successful incremental backup of '\\w2012r2sql2014\t$'


Total number of objects inspected: 5
Total number of objects backed up: 5
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of objects encrypted: 0
Total objects deduplicated: 0
Total number of objects grew: 0
Total number of retries: 0
Total number of bytes inspected: 30 B
Total number of bytes processed: 1.18 KB
Total bytes before deduplication: 0 B
Total bytes after deduplication: 0 B
Total number of bytes transferred: 1.33 KB
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.07 KB/sec
Objects compressed by: 0%
Deduplication reduction: 0.00%
Total data reduction ratio: 0.00%
Elapsed processing time: 00:00:19
ANS1900I Return code is 0.
ANS1901I Highest return code was 0.

C:\Program Files\Tivoli\TSM\baclient>dsmc show domain IBM Tivoli Storage Manager Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 8.5
Client date/time: 07/18/2019 06:38:39
(c) Copyright by IBM Corporation and other(s) 1990, 2019. All Rights Reserved.

Node Name: W2012R2SQL2014
Session established with server BABYLON5: Windows
Server Version 8, Release 1, Level 8.000
Server date/time: 07/18/2019 06:38:48 Last access: 07/18/2019 06:38:24

Domain specifications:
domain keywords: not specified
-domain : not specified
Domains in effect:
domain : \\w2012r2sql2014\c$
domain : \\w2012r2sql2014\e$
domain : \\w2012r2sql2014\t$
domain : SYSTEMSTATE
domain.image : not specified
domain.nas : not specified
domain.snapshot : not specified
ANS1900I Return code is 0.
ANS1901I Highest return code was 0.

C:\Program Files\Tivoli\TSM\baclient>
----------------------------------------------------------

Best regards,

Andy

____________________________________________________________________________

Andrew Raibeck | IBM Spectrum Protect Level 3 | storman@us.ibm.com

"ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> wrote on 2019-07-18
05:36:36:

> From: "Loon, Eric van (ITOP NS) - KLM" <Eric-van.Loon@KLM.COM>
> To: ADSM-L@VM.MARIST.EDU
> Date: 2019-07-18 05:37
> Subject: [EXTERNAL] How to make dsmc recognize drives Sent by: "ADSM:
> Dist Stor Manager" <ADSM-L@VM.MARIST.EDU>
>
> Hi guys,
>
> For some tests I want to create separate drives in Windows and back
> them up with SP. I create these drives with the subst command (subst
> D: c:\<target directory>). The drives created are visible in the
> Windows GUI and accessible through the Windows command line, but the
> Spectrum Protect client does not recognize them.
> Does anybody know how to make dsmc recognize them as a separate drive?
> Thanks for any help in advance!
>
> Kind regards,
> Eric van Loon
> Air France/KLM Storage & Backup
>
> ********************************************************
> For information, services and offers, please visit our web site:
> https://urldefense.proofpoint.com/v2/url?
> u=http-3A__www.klm.com&d=DwIFAg&c=jf_iaSHvJObTbx-
>
siA1ZOg&r=Ij6DLy1l7wDpCbTfcDkLC_KknvhyGdCy_RnAGnhV37I&m=yM2viQdCtneGSbZB2Gl8EDPWy0lboH_Vl_R8isBnb5M&s=BknPhe5Lp4XeaVSAmZfFobMlYPgKHHBwD-

> n4gQRlFL8&e= . This e-mail and any attachment may contain confidential
> and privileged material intended for the addressee only. If you are
> not the addressee, you are notified that no part of the e-mail or any
> attachment may be disclosed, copied or distributed, and that any other
> action related to this e-mail or attachment is strictly prohibited,
> and may be unlawful. If you have received this e-mail by error, please
> notify the sender immediately by return e-mail, and delete this
> message.
>
> Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/ or
> its employees shall not be liable for the incorrect or incomplete
> transmission of this e-mail or any attachments, nor responsible for
> any delay in receipt.
> Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
> Dutch Airlines) is registered in Amstelveen, The Netherlands, with
> registered number 33014286
> ********************************************************
>
********************************************************
For information, services and offers, please visit our web site: http://www..klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************
This message was imported via the External PhorumMail Module
Rick Adamson
Re: How to make dsmc recognize drives
July 18, 2019 05:59AM
Eric,
My understanding is the substitute (subst) command is only defining an alias for the full path to a location on a drive not actually creating a new drive or file space. Think about it in the context of creating a share except using a drive letter versus an alpha-numeric string.
The data in both cases is backed under the full path, or actual location, and not as a separate file system.

The actual substitute definition is a part of the registry and captured as a part of the system-state.
It can be found at:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]



Thank you,
-Rick Adamson


-----Original Message-----
From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Loon, Eric van (ITOP NS) - KLM
Sent: Thursday, July 18, 2019 5:37 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [ADSM-L] How to make dsmc recognize drives

* This email originated outside of the organization. Use caution when opening attachments or clicking links. *

----------------------------------------------------------------------
Hi guys,

For some tests I want to create separate drives in Windows and back them up with SP. I create these drives with the subst command (subst D: c:\<target directory>). The drives created are visible in the Windows GUI and accessible through the Windows command line, but the Spectrum Protect client does not recognize them.
Does anybody know how to make dsmc recognize them as a separate drive?
Thanks for any help in advance!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup

********************************************************
For information, services and offers, please visit our web site: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwIFAg&c=AzgFQeXLLKhxSQaoFCm29A&r=eqh5PzQPIsPArLoI_uV1mKvhIpcNP1MsClDPSJjFfxw&m=dj20QDHfN5SvqtQjKCoU7xMCV4xw9YeaXV5iBjKU2xU&s=DIt_WzG3MBdJ8xb8La15vpJr9CftWc7Z5_tYTsDVPvE&e= . This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************

**CONFIDENTIALITY NOTICE** This electronic message contains information from Southeastern Grocers, Inc and is intended only for the use of the addressee. This message may contain information that is privileged, confidential and/or exempt from disclosure under applicable Law. This message may not be read, used, distributed, forwarded, reproduced or stored by any other than the intended recipient. If you are not the intended recipient, please delete and notify the sender.
This message was imported via the External PhorumMail Module
Rick Adamson
Re: How to make dsmc recognize drives
July 18, 2019 05:59AM
Eric,
Just seen Andy's reply and learned something new. Thanks Andy.
Sorry for the misinfo.

Thank you,
-Rick Adamson


-----Original Message-----
From: Rick Adamson
Sent: Thursday, July 18, 2019 7:59 AM
To: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU>
Subject: RE: How to make dsmc recognize drives

Eric,
My understanding is the substitute (subst) command is only defining an alias for the full path to a location on a drive not actually creating a new drive or file space. Think about it in the context of creating a share except using a drive letter versus an alpha-numeric string.
The data in both cases is backed under the full path, or actual location, and not as a separate file system.

The actual substitute definition is a part of the registry and captured as a part of the system-state.
It can be found at:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]



Thank you,
-Rick Adamson


-----Original Message-----
From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Loon, Eric van (ITOP NS) - KLM
Sent: Thursday, July 18, 2019 5:37 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [ADSM-L] How to make dsmc recognize drives

* This email originated outside of the organization. Use caution when opening attachments or clicking links. *

----------------------------------------------------------------------
Hi guys,

For some tests I want to create separate drives in Windows and back them up with SP. I create these drives with the subst command (subst D: c:\<target directory>). The drives created are visible in the Windows GUI and accessible through the Windows command line, but the Spectrum Protect client does not recognize them.
Does anybody know how to make dsmc recognize them as a separate drive?
Thanks for any help in advance!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup

********************************************************
For information, services and offers, please visit our web site: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwIFAg&c=AzgFQeXLLKhxSQaoFCm29A&r=eqh5PzQPIsPArLoI_uV1mKvhIpcNP1MsClDPSJjFfxw&m=dj20QDHfN5SvqtQjKCoU7xMCV4xw9YeaXV5iBjKU2xU&s=DIt_WzG3MBdJ8xb8La15vpJr9CftWc7Z5_tYTsDVPvE&e= . This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************

**CONFIDENTIALITY NOTICE** This electronic message contains information from Southeastern Grocers, Inc and is intended only for the use of the addressee. This message may contain information that is privileged, confidential and/or exempt from disclosure under applicable Law. This message may not be read, used, distributed, forwarded, reproduced or stored by any other than the intended recipient. If you are not the intended recipient, please delete and notify the sender.
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login