Highlighted
duanef
1 Nickel

MD3000 addCapacity

Jump to solution

We have one Disk Group that has a chunk of free capacity available. Read up on the addCapacity command in the CLI guide and tried to execute.

Set virtualDisk ["File_Data_01"] addCapacity=10000000000;

to try and add 10GB.

The command runs and we get:

Executing script...

An error occurred while attempting to increase virtual disk capacity for virtual disk File_Data_01 at line 1.
Error 2 - The operation cannot complete because either (1) the current state of a component does not allow the operation
 to be completed, (2) the operation has been disabled in NVSRAM (example, you are modifying media scan parameters when t
hat option (offset 0x31, bit 5) is disabled), or (3) there is a problem with the storage array.

Please check your storage array and its various components for possible problems and then retry the operation.
The command at line 1 that caused the error is:

Hmmm......I would guess we are dealing with (1) current state of a component...

 

Any suggestions on what to try next? Does the addCapacity command need to be run with the disk group offline?

Tags (1)
0 Kudos
7 Replies
Dev Mgr
6 Gallium

Re: MD3000 addCapacity

Jump to solution

The first option (the one you're suspecting) basically means the disk group is working on something (e.g. rebuilding to a hotspare, adding a disk to the diskgroup, etc).

 

One command to try to see what it's working on is:

smcli -n nameofarray -c "show virtualdisk [\"virtualdisknamethatisonthisdiskgroup\"] actionprogress";

(this is the way you'd run it in a Windows command prompt box)

Member since 2003

0 Kudos
duanef
1 Nickel

Re: MD3000 addCapacity

Jump to solution

Unfortunately, seems like it must be something else...

smcli 127.0.0.1 -c "show virtualdisk [\"File_Data_01\"] actionprogress";

Executing script...

Virtual Disk File_Data_01

No action in progress

Script execution complete.

SMcli completed successfully.

0 Kudos
dzenz
2 Iron

Re: MD3000 addCapacity

Jump to solution

Try this. On the disk group on which the virtual disk resides run: "start diskGroup [diskGroupNumber] defragment" and once completed (no operations will be in progress) rerun the addCapacity.

 

 

 

Dave

0 Kudos
duanef
1 Nickel

Re: MD3000 addCapacity

Jump to solution

Nice thought, but.....

C:\Program Files\Dell\MD Storage Manager\client>SMcli 127.0.0.1 -c "start diskGroup [1] defragment;" -p xxxxxxxxxxx
Performing syntax check...

Syntax check complete.

Executing script...

Script execution complete.

SMcli completed successfully.


C:\Program Files\Dell\MD Storage Manager\client>SMcli 127.0.0.1 -c "Set virtualDisk ["File_Data_01"] addCapacity=1000000
0000;" -p xxxxxxxxxxx
Performing syntax check...

Syntax check complete.

Executing script...

An error occurred while attempting to increase virtual disk capacity for virtual disk File_Data_01 at line 1.
Error 2 - The operation cannot complete because either (1) the current state of a component does not allow the operation
 to be completed, (2) the operation has been disabled in NVSRAM (example, you are modifying media scan parameters when t
hat option (offset 0x31, bit 5) is disabled), or (3) there is a problem with the storage array.

Please check your storage array and its various components for possible problems and then retry the operation.
The command at line 1 that caused the error is:

Set virtualDisk [File_Data_01] addCapacity=10000000000;

Script execution halted due to error.

SMcli failed.

 

0 Kudos
mrokkam
2 Iron

Re: MD3000 addCapacity

Jump to solution

Duanef,

Is this host connected to both controllers of the MD3000? do you have out-of-band access to the management ports of the MD3000? If yes, can you try using both out-of-band IP addresses to try the command again. Changes like this can only be made by the controller that owns the virtual disk. The above method would be the easiest way to verify that.
(show storageArray virtualDiskDistribution; can be used to determine the owners)

Also, how much free space is available in the disk group? I'm reaching out here... but it's worth a shot..right? :-D

Is the storage array optimal? (show storageArray healthStatusSmiley Wink

Thanks

Mohan.

duanef
1 Nickel

Re: MD3000 addCapacity

Jump to solution

Just to clarify what worked, I had been using SMcli 127.0.0.1 .....  

When I switched to SMcli with the IP associated with that controller (in this case controller 0 owned that disk)  the free space was added !! Magic. Thanks all.

0 Kudos
JOHNADCO
4 Tellurium

Re: MD3000 addCapacity

Jump to solution

Interesting...

 

We have run into many commands now that do not even seem to work with DNS / hard host entries.   We have to call the owning controller by IP address to make them work.    

 

Thanks for posting back, timely for sure in our case.

0 Kudos