Skip to content
AnchrasDocumentation
Browse documentation

Data and storage / User guide

Cloud block volumes

Provision provider-native block storage and attach it to eligible cloud instances.

On this page

Before you begin

Connect a supported provider account and select a region, profile, and instance placement compatible with the volume.

Get started

  1. Create a volume with the required capacity and region.
  2. Wait for provider availability before attaching it.
  3. Attach to the intended eligible instance and inspect the reported device information.
  4. Prepare and mount the filesystem using the supported guest workflow, then verify a write/read operation.

Operate the service

Inspect attachment, filesystem, mount, and last-error fields. Unmount safely before detaching. Confirm both provider capacity and guest filesystem growth after resizing; provider resize alone may not expand the filesystem.

Availability and limits

Attachment, resizing, and cross-region behavior depend on the provider. A block volume is distinct from a Kubernetes PVC and from a shared file export. Formatting a device can destroy existing data.

Troubleshooting

For attach failures, verify region/zone compatibility and the instance state. For a missing mount, inspect the guest device and filesystem state instead of repeatedly attaching the volume.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
cloud-volumes listList provider-native IaaS block volumes in one project. Flags: --project, --status, --region <region-id>, --profile, --page, --page-size. The REGION column is the volume's region id.
cloud-volumes get <id>Show one cloud volume with provider, placement, resolved SKU, filesystem, mount, lifecycle, and last-error fields.
cloud-volumes attachmentsList attachment history of one project's volumes (--project) with optional --volume-id, --instance-id, --status, --page, and --page-size filters.
cloud-volumes attachment <attachment-id>Show provider and agent observations, errors, and lifecycle timestamps for one stable attachment identity.
cloud-volumes resolveShow provider/account placement options for a requested profile and size. Requires --profile and --size-gib; optional --region.
cloud-volumes createProvision a provider-native block volume through CloudVolumeService. Requires --name, --cloud-account-id, and --size-gib; supports curated --profile or passthrough provider placement flags, and --project (the project the volume lives in). --location <location-id> places the volume in that location (it must belong to the cloud account's provider); --region-id <region-id> names the region you expect the volume in, checked against where the volume is placed and refused when it disagrees.
cloud-volumes detach <attachment-id>Detach by stable attachment identity; legacy automation may use --volume-id <volume-id>. Repeated terminal detaches are idempotent.
cloud-volumes delete <id>Delete a cloud volume; --force asks the provider to delete attached volumes where supported.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.