Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3480

Re: SnapCenter 4.2 cmdlet to connect to a LUN in a snapshot copy

$
0
0

If you haven't found anything yet, you can take a look at this Kb.

 

I don't know if it is still relevant or valid for your version.

 

KBID:
https://kb.netapp.com/app/answers/answer_view/a_id/1030517


Here is the extract of kb:

Note: To start a PS session with SnapCenter server:
Open-SmConnection -SMSbaseurl <snapcenter server URL>
Example: Open-SmConnection -SMSbaseurl https://scserver.com:8146/

 

1) Create a snapshot:
New-SdSnapshot -path <disk path> -snapshot <snapshot name>
Example:
New-SdSnapshot -path Z:\ -snapshot Test

 

2) Mount a snapshot:
Mount-SdSnapshot -path <original disk where snapshot was taken> -snapshot <snapshot name> -storagesystem <svm name> -mountpath <clone disk path>
Example:
Mount-SdSnapshot -path Z:\ -snapshot Test -storagesystem svm_snapcenter -mountpath C:\mount1


3) Dismount snapshot:
Dismount-SdSnapshot -path <disk path to be dismounted>
Example:
Dismount-SdSnapShot -path C:\mount1


Viewing all articles
Browse latest Browse all 3480

Trending Articles