Navigation
You were redirected from a different version of the documentation. Click here to go back.

Disks

Retrieves the disks and disk partitions on which MongoDB runs.

Endpoints

Get All Disk Partitions

GET /api/public/v1.0/groups/GROUP-ID/hosts/HOST-ID/disks

Get a Disk Partition

GET /api/public/v1.0/groups/GROUP-ID/hosts/HOST-ID/disks/PARTITION-NAME

Sample Entity

 {
   "partitionName" : "xvdf",
   "links" : [ ... ]
}

Entity Fields

Name Type Description
partitionName string The name of a partition on the disk.

Examples

Get All Disk Partitions

Request

curl -i -u "username:apiKey" --digest "https://<ops-manager-host>/api/public/v1.0/groups/533c5895b910306f21033a/hosts/814e70da8167883b9939608a12a/disks"

Response

HTTP/1.1 200 OK

{
  "results" : [ {
    "links" : [ ... ],
    "partitionName" : "xvdf"
  }, ... ],
  "links" : [ ... ],
  "totalCount" : 4
}

Get a Disk Partition

Request

curl -i -u "username:apiKey" --digest "https://<ops-manager-host>/api/public/v1.0/groups/533c5895b910306f21033a/hosts/814e70da8167883b9939608a12a/disks/xvdf"

Response

HTTP/1.1 200 OK

{
  "links" : [ ... ],
  "partitionName" : "xvdf"
}
←   Delete a Host Databases  →