Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

50198

March 22nd, 2009 16:00

MD3000 addCapacity

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?

154 Posts

March 27th, 2009 14:00

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 healthStatus;)

Thanks

Mohan.

9.3K Posts

March 23rd, 2009 07:00

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)

11 Posts

March 23rd, 2009 13:00

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.

175 Posts

March 23rd, 2009 18:00

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.

 

 

 

11 Posts

March 25th, 2009 15:00

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.

 

11 Posts

March 30th, 2009 16:00

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.

847 Posts

March 30th, 2009 16:00

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.

4 Posts

August 12th, 2019 18:00

Hi duanef. WOuld it be possible for you to provide a little bit more info on how you were able to resolve the problem?

Thank you much!!!

 

 

Moderator

 • 

6.9K Posts

August 13th, 2019 15:00

Hello rits69,

What is the issue that you are having with your MD3000?  Are you trying to add more drives or adding a new enclosure?

Please let us know if you have any other questions

No Events found!

Top