Skip to content

flexblock show

flexblock show [DEVICE] [flags]

show prints the device, volume, ownership and connection state without starting anything. It takes no exclusive lock, so it is safe at any time, including against a live daemon, whose figures it labels as point-in-time estimates. When a daemon is serving, show reports its PID.

The device is optional when --remote is given. Output goes to stdout. show needs no current grant.

FlagDefaultDescription
--json—Machine-readable output on stdout.
--remote—Also fetch the volume superblock and ownership marker from object storage.
-v, --verbose—Include region offsets, WAL head and generation. Needs a device.

Inspect a cache device:

Terminal window
sudo flexblock show /dev/nvme1n1p1

Compare local state with the volume in object storage, with layout detail:

Terminal window
sudo flexblock show /dev/nvme1n1p1 --remote -v

Query only the volume in object storage, as JSON:

Terminal window
sudo flexblock show --remote --json