List disks

View Disk information for Disks associated with this Linode.

linode-cli linodes disks-list 123
Learn more...
linodes:read_only
Learn more...
Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

integer
required

ID of the Linode to look up.

Query Params
integer
≥ 1
Defaults to 1

The page of a collection to return.

integer
25 to 500
Defaults to 100

The number of items to return per page.

Responses

Response body
object
data
array of objects
data
object
date-time

Read-only When this disk was created.

string
Defaults to enabled

Read-only Displays if encryption is enabled on this disk. This setting is based on the disk_encryption setting of the Linode.

string

The disk's format or file system. A value of raw indicates no file system, just a raw binary stream. A value of swap indicates a Linux swap area. The values ext3 or ext4 represent these Linux journaling file systems. The value ext2 is the deprecated ext2 Linux file system. Finally, initrd indicates the disk is formatted as an uncompressed initial RAM disk.

📘

The ext2 file system doesn't properly support timestamps and will be removed from Linux support in the near future. Also, initrd is a legacy format that no longer applies to most use cases. As a best practice, use the other supported formats or file systems instead.

raw swap ext2 ext3 ext4 initrd

integer

Read-only This disk's ID. You need this value to run other operations that interact with the disk.

string
length between 1 and 48

Filterable The name of the disk. This is for display purposes only.

integer

Filterable The size of the disk in MB.

string

Read-only The current state of the disk.

ready not ready deleting

date-time

Read-only When this disk was last updated.

integer

Read-only The current page.

integer

Read-only The total number of pages.

integer

Read-only The total number of results.

Language
Credentials