Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.4.5 ListDisk (Gets a List of Existing Disks)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\ListDisk - Gets a List of Existing Disks

[Linux Manager]
/opt/FJSVcfmg/bin/ListDisk.sh - Gets a List of Existing Disks


Synopsis

[Windows Manager]

ListDisk -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

[Linux Manager]

ListDisk.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

Function description

This command gets a list of existing disks.


Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> ListDisk -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com" >
  <disks>
    <disk>
      <comment>comment</comment>
      <diskResourceId>disk-1241</diskResourceId>
      <label>label</label>
      <locked>true</locked>
      <resourceName>small-disk</resourceName>
      <size>31.3</size>
      <status>normal</status>
      <storagePool>/StoragePool</storagePool>
    </disk>
  </disks>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskResponse>
[Linux Manager]
# ListDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <disks>
    <disk>
      <comment>comment</comment>
      <diskResourceId>disk-1241</diskResourceId>
      <label>label</label>
      <locked>true</locked>
      <resourceName>small-disk</resourceName>
      <size>31.3</size>
      <status>normal</status>
      <storagePool>/StoragePool</storagePool>
    </disk>
  </disks>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.