To start replication from the primary disk 'example-disk-1' in zone us-east1-a to the secondary disk 'example-disk-2' in zone us-west1-a, run:
gdcloud compute disks start-async-replication example-disk-1 \
--project example-project \
--zone us-east1-a \
--secondary-disk example-disk-2 \
--secondary-zone us-west1-a
必需标志
--secondary-zone string Zone of the secondary disk for asynchronous replication.
可选标志
--secondary-disk string Secondary disk for asynchronous replication.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-31。"],[[["This command `gdcloud compute disks start-async-replication` initiates asynchronous replication for a virtual machine disk, requiring invocation on the primary disk."],["The command mandates the specification of the secondary disk using the `--secondary-disk` flag, along with its corresponding zone via `--secondary-zone`."],["To start replication, the primary disk name, project, primary zone, secondary disk name, and secondary zone must be provided as demonstrated in the example."],["The `--zone` flag is required and specifies the primary zone, while the `--secondary-zone` flag is also required and specifies the secondary zone."],["Common gdcloud flags such as `--configuration`, `--format`, `--help`, `--project`, and `--quiet` are accessible with this command."]]],[]]