Microsoft Virtualization Discussions

Powershell for Volume Reallocate

davidrnexon

Hi, I've had a search around and cannot find a Data Ontap powershell command to reallocate volumes.

Has this been included or is it not available yet ?

Thanks

1 ACCEPTED SOLUTION

colin_graham

Ive seen the following reallocate cmdlets:

get-nareallocatejobs  (lists status of running and scheduled jobs)

start-nareallocate  (start a job)

stop-nareallocate (stop a job)

guess it should be quite straightforward for someone who knows powershell to script something.

View solution in original post

3 REPLIES 3

davidrnexon

Hi guys, anyone have an answer on this ? Would be very handy to script up something like:

1. dump vols

2. for each vol run reallocate

3. has previous reallocate finished ? Yes Go to step 4

4. Run next reallocate

colin_graham

Ive seen the following reallocate cmdlets:

get-nareallocatejobs  (lists status of running and scheduled jobs)

start-nareallocate  (start a job)

stop-nareallocate (stop a job)

guess it should be quite straightforward for someone who knows powershell to script something.

View solution in original post

davidrnexon

Hi Colin, this worked great in 7-mode, however there is no Start-NcReallocate for clustered mode, actually there are no reallocate commands for cluster mode. Have you found any ?

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public