nf disks
The nf disks command shows the disk inventory across all registered nodes.
Use this command to find disk IDs before creating Ceph OSDs with nf ceph osd or monitors with nf ceph mon. Each disk shows its node, device path, and capacity.
Usage
$ nf disks list
Options
nf disks list
nf disks listList all disks across all nodes with their ID, node hostname, device path, and capacity in GB.
| Flag | Description |
|---|---|
--json | Output results as JSON |
Examples
$ nf disks list DISKS: 12 (12 disks)ID NODE DEVICE CAPACITY a1b2c3d4 worker-01 /dev/sda 960 GB e5f6a7b8 worker-01 /dev/sdb 960 GB c9d0e1f2 worker-01 /dev/sdc 1920 GB f3a4b5c6 worker-02 /dev/sda 960 GB