iDRAC6 racadm vflashvflashpartition syntax?

Servers

Servers
Information and ideas on Dell PowerEdge rack, tower and blade server solutions.

iDRAC6 racadm vflashvflashpartition syntax?

This question is not answered

On a R710 fully updated (BIOSes, RHEL6, OpenManage, etc) with an
iDRAC6 with an 8GB vFlash I'd like to put the RHEL6 dvd iso into the
vFlash in order to be able to do a rescue boot if needed.

Inserted the Dell 8GB SD card and ran the following two commands:

# racadm config -g cfgvFlashSD -o cfgvFlashSDEnable 1
# racadm vflashSD initialize

All is good

racadm vflashpartition list
No vFlash partitions currently exist

As expected. I now want to create a partition using type image with
"cddvd" emulation.

# racadm vflashpartition create -i 1 -o RHEL6 -e cddvd -t image -l
10.1.2.3:/exportdir/rhel-server-6.2-x86_64-dvd.iso
ERROR: The syntax of the command specified is not correct.

Checking the documentation, my syntax should be valid. Checking my NFS
server, this is no attempt at mounting or accessing the file.

Please help!

As another test, If I try running the example, exactly as listed in the docs, it also emits a
syntax error, from:

http://support.dell.com/support/edocs/software/smdrac3/idrac/idrac17mono/en/clr/html/racadmsu.htm#wp88597

# racadm vflashpartition create -i 1 -o drive1 -e HDD -t image -l
//myserver/sharedfolder/foo.iso -u root -p mypassword
ERROR: The syntax of the command specified is not correct.

I tried adding a "-s 3500" to my command as well as '-u' and '-p'
(which should not be needed with NFS), and I still get the syntax
error message.

All Replies
  • Hi,

      How are you doing !

    For racadm vflashpartition command to create image partition with NFS share is

    racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l ipaddress or domainname:/share_name/pathtoimage -u username –p password

    In your case mention user name and password .

    It will work.

    With Regards :

    ANSHUL SIMLOTE

    Product Validation Group

    Dell | Bangalore Development Center

  • Same error:

    ERROR: The syntax of the command specified is not correct.

  • There is a sequence of commands you have to get just so to use vFlash with racadm.  I recommend using the web GUI since it will take care of that for you.

  • Just to make sure that we are doing create image partition through RACADM remotely not running  RACADM from the host locally.

    NOTE: Creating a partition using an image file is not supported in local RACADM.

    With Regards :

    ANSHUL SIMLOTE

    Product Validation Group

    Dell | Bangalore Development Center

  • Please tell me you are kidding? your solution to helping with a racadm command problem is to tell the user to use the web gui?? very helpful. Sometimes people need to know the answer to the question they asked, not be told to go use a different product entirely.

     

    I am currently struggling with this myself and a real answer would be helpful. No, I am not going to use the web GUI, i need to batch this out and automate it.

     

    No matter what i type, i get a syntax error trying to load an image file.

  • I have figured out what the issue was with my instance of this problem. The dell documentation says that the image file path is case sensitive, but what I figured out is that the whole path must be LOWER CASE. I renamed my path of:

    //<ip>/R910/r910.iso

    renamed to:

    //<ip>/r910/r910.iso

    and now it loads the image.

    I also upgraded to the latest version of racadm.exe which didn't fix the problem until I changed the case of the path.

  • JMCORP, thanks the for the tip.

    I tried multiple variations. I'm using NFS which the docs say will work. Still no luck.

    # racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l testbox.example.com:/isos/r62.iso
    ERROR: The syntax of the command specified is not correct.
    # racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l 10.1.2.3:/isos/r62.iso
    ERROR: The syntax of the command specified is not correct.
    # racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l //10.1.2.3:/isos/r62.iso
    ERROR: The syntax of the command specified is not correct.
    # racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l //10.1.2.3/isos/r62.iso
    ERROR: The syntax of the command specified is not correct.
    # racadm vflashpartition create -i 1 -o drive1 -e cddvd  -t image -l 10.1.2.3/isos/r62.iso
    ERROR: The syntax of the command specified is not correct.

  • The first thing I would check in your command line is the double space after cddvd before the -t. Make sure that's not in your actual command line. Also make sure on your NFS server the share is all lower case too. I had to rename the share on my server too in order to get it to work. Then I would check permissions on your server. And finally in your command I dont see where you're connecting to a remote server. Run racadm.exe with the following format:

     

    racadm -r <ip of remote rac> -u <username on rac> -p <password of user on rac> vflashpartition create -i 1 -o drive1 -e cddvd -t image -l 10.1.2.3:/isos/r62.iso -u <user on nfs server> -p <password for nfs user>

     

    Now the command is working for me in a command prompt, but gets the same syntax error when run from a script. I doubt that's completely Dell's fault, but it would be nice if the dang rac or racadm wasn't so freaking picky about the formatting of the command.

  • It seems that iso images under 1MB in size cannot be uploaded via racadm