Microsoft Virtualization Discussions

Powershell for Volume Reallocate

davidrnexon
4,567 Views

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
4,567 Views

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
4,567 Views

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
4,568 Views

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.

davidrnexon
4,567 Views

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 ?

Public