Start a Conversation

Unsolved

This post is more than 5 years old

20091

November 18th, 2009 18:00

virtualDisk name error

When I run the following script:

Smcli -c “show diskgroup [XS];”

I receive the following result:

Name: XS

Status: Optimal

Capacity 3.541 TB

RAID level: 5

Physical Disk type: Serial Attached SCSI (SAS)

Enclosure loss protection: No

Current owner: RAID Controller Module in slot 0

Associated virtual disks and free capacity

Virtual Disk Capacity

1 1.907 TB

Free Capacity 1.634 TB

Associated physical disks - present (in piece order)

Enclosure Slot 0 0

0 1

0 2

0 3

0 4

0 5

0 6

0 7

0 9

0 8

0 13

0 11

0 10

0 12

As you can see my VirtualDisk name is 1

So why when I run the following script do I get an error :

Smcli -c “show virtualdisk [“1”];”

Performing syntax check…

Encountered “1” at line 1, column 33.

Was expecting one of:

STRING_LITERAL…

IDENTIFIER…

Smcli failed.

Is VM naming restricted to starting with an alpha character, or am I doing something else wrong?

I need to be able to address the virtual disk so that I can add the free capacity noted above.

175 Posts

November 18th, 2009 19:00

The CLI Guide can be found here:

http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/CLI/PDF/CLIMR2g.pdf

Specifically see "Formatting Considerations".

How you're using the CLI requires a backslash as a virtual disk name is a string literal. so... SMcli -c "show virtualdisk[\"1\"];"

No Events found!

Top