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-09-04。"],[],[],null,["# gdcloud compute disks start-async-replication\n\nNAME\n----\n\ngdcloud compute disks start-async-replication - Start async replication on a virtual machine disk. This command must be invoked on the primary disk and --secondary-disk must be provided.\n\nSYNOPSIS\n--------\n\n gdcloud compute disks start-async-replication DISK_NAME [flags]\n\n### EXAMPLES\n\n 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:\n\n gdcloud compute disks start-async-replication example-disk-1 \\\n --project example-project \\\n --zone us-east1-a \\\n --secondary-disk example-disk-2 \\\n --secondary-zone us-west1-a\n\n### REQUIRED FLAGS\n\n --secondary-zone string Zone of the secondary disk for asynchronous replication.\n\n### OPTIONAL FLAGS\n\n --secondary-disk string Secondary disk for asynchronous replication.\n --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.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]