IBM DS3400 expand Logical Drive (LUN)

I have always liked IBM DS series management suite. I have claimed once that your first storage (and with it – your way of thinking about storage abstraction, I assume) is your favorite storage. I have been using the Storage Manager 9 for years now, even before it was 9 (I think that it was 7 then), and way before it has become 10-something version.

SM9 is the tool to manage the DS4xxx storage series (previously fastT series, if you can remember…), however, their “smaller” brothers, the DS3xxx series have arrived with something else claimed to be “Storage Manager” as well. It has began as SM2, and I was sure surprised to see it under the name “Storage Manager 10″ today.

It seems as if someone wanted to make life easy, so everything is hidden behind some messy-looking dashboard. Finding the so-well-known abstraction logic is almost impossible for me, no matter how many times I will use this disaster of a product. Can’t complain about the storage devices – they are rather good, and although IBM has recently had some firmware issues and stability issues with some of its storage products – I can’t say I hate this device. Storage Manager 2 (or 10, today), however, is something I prefer to avoid.

After all this ranting and crying, I can share this piece of technical information. Storage Manager 10 (2, whatever) does not allow for Logical Drive to be expanded. You can expand the Raid Array – no problem. Just add some more disks to it, however, the free space created in that specific array will not be available for your reallocation pleasure – you cannot expand any of your existing Logical Drives with it.

Google has pointed me to that specific post which enlightened me with a new understanding of the DS series – the SM10, while being nothing more than a limited GUI for the storage-handicap IT persons, does not completely cancel the storage device’s abilities. The device can expand LUNs, so SM10 can allow it, secretly.

You need to know what you’re doing. I will copy/paste the contents of that blog entry for future use:

Expanding LUNs on a DS3000 series disk system:

First make sure you have enough space in your array. Next go to the script editor in the Storage Manager gui. Choose script editor. Type in a command like this:

set logicalDrive ["FINKOPAS01-BOOT"] addCapacity=50GB;

This would add 50GB’s to the disk “FINKOPAS01-BOOT”.

Now choose run command from the menu. After the disk system has expanded your LUN you should see the extra capacity in the disk management console window.

*NOTE*: This information was originally found here: http://www.systemx.co.nz/xcelerator/?q=node/99

The target link is dead there, unfortunately, however, the “secret” information is available for all.

Do not forget the semi-comma at the end of the line. It won’t work otherwise. IBM… :-)

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , ,

17 Responses to “IBM DS3400 expand Logical Drive (LUN)”

  1. Rich Says:

    I agree.

    This is a terrible design. Not only can you not add your free space to an existing lun as you can on the 4300 and 4500 series but you have no way of monitoring how far along your lun creation is progressing.

    This new interface is total cumbersome and extremely crippled.

  2. ez-aton Says:

    Yes. It sux.
    I don’t really get this whole “dashboard which shows you everything” trend. I prefer the old way of solid logic and understandable structure.
    Probably shouldn’t be GUI designer, right?

  3. Apricot Says:

    Totally agree.

    DS4300 Was my first SAN experience and I found the original Storage Manager logical and simple, I thought actually helped a new comer understand the process.

    It only has 2 tabs, 1 for your array and logical drives and 1 for your hosts and the logical drives you have assigned to them. That’s it! That’s all you need, why make it so messy with all the new tabs and screens and wizards.

    I think it was aimed at the less techincal but I really don’t think it helps. And not being able to grow a logical drive! How basic and crucial is that!

    Phew, I feel better now.

  4. ez-aton Says:

    I could have not said it better. The old Storage Manger was an excellent tool, with simple logic and defined flow. Other tools nowadays (other vendors) are far inferior to it, and still – the have replaced it to SM2 with its terrible wizard interface.
    IBM are IBM, you know. Let them do whatever they deem right, and try to live around it :-)

  5. mie Says:

    Agreed with the rest. The GUI sux big time. I managed to expand the LUN using the command but actual syntax should be something like this

    set logicalDrive ["FINKOPAS01-BOOT"] addCapacity=50 GB ;

    You need to put a space after the value & then specify the unit either bytes/MB/GB/. Default unit, if you’re not specifying the unit, should be in bytes.

    If you don’t put a space & only specify like 50GB, you’ll be getting syntax error

  6. mie Says:

    In regards to the statement “the free space created in that specific array will not be available for your reallocation pleasure – you cannot expand any of your existing Logical Drives with it.”

    You can re-allocate the free space via this command with some performance degradation. Again, launch the script editor & execute this command,

    Start Array[N] Defragment ;

    Replace N with your array number. Till then!!!

  7. Lundbye Says:

    DS3000 and DS4000 are two different storage systems from two different manufactures. You can not use the DS4000 storage manager on a DS3000 and visa versa.

  8. ez-aton Says:

    Of course, and sadly, this is true.
    It’s pity they did not develop some common API for their storage subsystems. I would have been happier if I could use the SM9 with DS4xxx, DS3xxx and even the 3 digit series, like DS300 and DS400. Would be nice, even if unreal :-)

  9. PHiney Says:

    Just upgraded to SM 10.60. It now has “Show Logical Drive Action Progress”. no equiv ‘show array progress’ command tho for the ‘
    sudo /opt/IBM_DS/client/SMcli xxx-da02a xxx-da02b -c “set array [2] addDrives=(1,6 1,7);” -p xxxxx’ command.

    p

  10. PHiney Says:

    I’d like to add to what i just said ‘sudo /opt/IBM_DS/client/SMcli xxx-da02a xxx-da02b -c “show logicalDrive ["MAIN"] actionProgress;” -p xxxxxxxx’ does indeed report the progress of the array operation. I have two logical drives on this array, MAIN and VMWARE. MAIN is reporting 24% at the moment and VMWARE is reporting ‘No action in progress’. So on a test case of one instance, this must mean that when MAIN is finished, VMWARE will start and when it gets to 100%, the operation will be finished. Pity is discovered the add multiple drives to the array command (mentioned above) after starting this operation (did it thru the gui so i’m only adding one drive).

    PH

  11. PHiney Says:

    Bash script time :

    ####################################################
    #!/bin/bash

    DRIVE=$1
    PASSWD=xxxxxx
    DA=xxx-da02

    if [ -z "$DRIVE" ];then
    echo “$0 ”
    exit
    fi

    LINE=`/opt/IBM_DS/client/SMcli “$DA”a “$DA”b -c “show logicalDrive ["$DRIVE"] actionProgress;” -p $PASSWD | grep -i ‘No action in progress’`

    while [ -z "$LINE" ];do
    sleep 1800
    LINE=`/opt/IBM_DS/client/SMcli “$DA”a “$DA”b -c “show logicalDrive ["$DRIVE"] actionProgress;” -p $PASSWD | grep -i ‘No action in progress’`
    done
    if [ "$LINE" = "No action in progress" ];then
    /opt/IBM_DS/client/SMcli “$DA”a “$DA”b -c “show logicalDrive ["$DRIVE"] actionProgress;” -p $PASSWD | mail -s “$DRIVE complete” somebody@domain.com.country
    fi
    ####################################################

    I’ve hard coded the Disk Array name but that could be handed in as a variable too.
    I also ran the following in /opt/IBM_DS directory so as to stop needing to sudo
    chown -R :users *
    chmod -R g+rw *
    chmod -R g+x client/SMcli*

  12. Jeffrey Says:

    Can the drive be usable after i run the add capacity command or do i have to wait until the whole operation is over?
    Urgent respone needed.
    Thanks

  13. ez-aton Says:

    The drive is usable, yes.
    However, somewhat slow. Usable, still.

  14. Andy E. Says:

    Windows based question…
    Does this command automatically increase the size of the drive presented in Windows Explorer?

    Cheers!

  15. ez-aton Says:

    No, as far as I know. This command will increase the physical disk size, as you would be able to see through the ‘Disk Manager’. You might be required to rescan the disks (right-click on the ‘Disk Manager’ icon and select ‘rescan’ and then ‘refresh’), but still – the partition (with the drive letter) would have to grow manually. You could perform this task using ‘diskpart.exe’ command. Search about it on the net. You will find helpful info there.

  16. Andy E. Says:

    many thanks ez-aton – worked perfectly!

  17. walt_jabsco Says:

    thankyoutankyouthankyou, a most useful post. I absolutely detest this new Santricity, old versh was much better, easier to use and more logical.

Leave a Reply