This post is more than 5 years old
6 Posts
0
92996
January 9th, 2009 00:00
Powervault Modular Disk Storage Manager add free space together
Hello,
In the Powervault Modular Disk Storage Manager i've deleted a virtual disk. But i want to create a new vdisk with the remaing free space. But i can't put the free capacity together in the console, is there a text based command to do this or another solution?
No Events found!



dzenz
175 Posts
1
January 9th, 2009 05:00
Yes, there is a CLI command to defragment a disk group.
The command is "start diskGroup [diskGroupNumber] defragment" and the details can be found in the CLI Guide:
http://support.dell.com/support/edocs/systems/md3000/en/CLI/PDF/CLIMR2g.pdf
Dave
harry dutch
6 Posts
0
January 13th, 2009 23:00
Thanks voor the info! But i've one question about the defragmentation, in the manual there's a note "Defragmenting a disk group starts a long-running operation". Can i do this when the storage still is in use, i don't want performance drop in production time.
dzenz
175 Posts
0
January 14th, 2009 14:00
All modification operations, including defragmentation, are online meaning they can be run when the storage is still in use.
Modification operations do use I/O resources on the array and as such can impact performance. The priority of modification operations can be set using the "modificationPriority=(highest |high | medium | low | lowest)" option of the "set virtualDisk" CLI command.
Dave
harry dutch
6 Posts
0
January 16th, 2009 01:00
I've started the following commands;
smcli [ip adress storage]
Entering interactive mode. Please type desired command.
start diskgroup [1] defragment
But it runs now for 2 hours, i don't see a progress bar or something like that, only a blinking _
Can i see the progress anywhere?
dzenz
175 Posts
0
January 16th, 2009 09:00
Very good, the defragment is running! The blinking _ is because the shell is in interactive mode and the CLI is waiting for the next command. The cmd shell can be closed if desired.
The length of the operation is dependent on the priority, the amount of I/O the array is servicing, and the size of the virtual disks. The status of the operation can be looked at via the "show virtualDisk ["virtualDiskName"] actionProgress" command. Please note that you will need to provide the name of the virtual disk that is being relocated as part of the defragment operation. Since the array has two virtual disks between the free capacity areas both will need to be moved to coalesce the free space. The array will relocate one of the virtual disks at a time.
Dave
harry dutch
6 Posts
0
January 22nd, 2009 00:00
I did something wrong, because nothing happened after the execute of the command.
But i've read in the documentation that you need to connect on a different way;
smcli ip node -n name storage
But then it immediately tries to run a script, but how i manually can put the script after the connection command?
Never mind;
This commando works fine for me it took 2 seconds;
smcli -n hostname -c "start diskgroup [1] defragment;"
tfljyan
4 Posts
0
September 3rd, 2010 00:00
yes, have a text based commande to do it?
How can I do it?
Dev Mgr
4 Operator
•
9.3K Posts
0
September 3rd, 2010 07:00
Like harry dutch mentioned;
smcli -n hostname -c "start diskgroup [1] defragment;"
Where:
- hostname = SAN name
- 1 = diskgroup name
tfljyan
4 Posts
0
September 4th, 2010 05:00
How can I use smcli ?
Dev Mgr
4 Operator
•
9.3K Posts
0
September 7th, 2010 08:00
SMcli = Storage Manager Command Line Interface.
So you need to be in a dos-window (Windows) or command shell (linux). In Windows the default location is C:\Program Files\Dell\MD Storage Manager\client. In linux I think the default location is /opt/dell/md storage manager/client.
vicsparrow
2 Posts
0
September 9th, 2010 12:00
hi,
I do this action, but i have a next error :
Performing syntax check...
Syntax check complete.
Executing script...
Unable to defragment disk group "1" at line 1.
Error 30 - The operation cannot complete because you did not provide a valid pas
sword.
The command at line 1 that caused the error is:
start diskgroup [1] defragment;
Script execution halted due to error.
SMcli failed.
Can you help me, please.
tanks a lot
Dev Mgr
4 Operator
•
9.3K Posts
0
September 9th, 2010 15:00
The easiest is to temporarily remove the password from the array (setup tab), but I think you can also add a "-password password" to the command that you enter.
vicsparrow
2 Posts
0
September 9th, 2010 15:00
Good,
I removed temporally the array pasword and work very fast, now i have more free space in my array.
tanks a lot.
Regards.