Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

14.33 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" >
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <disks>
    <disk>
      <resourceName>small-disk</resourceName>
      <diskResourceId>disk-1241</diskResourceId>
      <label>disk-0001</label>
      <locked>true</locked>
      <comment>comment</comment>
      <size>30.0</size>
      <storagePool>/StoragePool</storagePool>
      <status>normal</status>
    </disk>
  </disks>
</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">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <disks>
    <disk>
      <resourceName>small-disk</resourceName>
      <diskResourceId>disk-1241</diskResourceId>
      <label>disk-0001</label>
      <locked>true</locked>
      <comment>comment</comment>
      <size>30.0</size>
      <storagePool>/StoragePool</storagePool>
      <status>normal</status>
    </disk>
  </disks>
</ListDiskResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.