---
title: "Create a Primary Replicated Volume Group (RVG)"
method: POST
path: "/diskgroups/{DgId}/rvgs"
tags: ["ReplicatedVolumeGroups"]
---

# Create a Primary Replicated Volume Group (RVG)

`POST /diskgroups/{DgId}/rvgs`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/diskgroups/{DgId}/rvgs`
- Auth: none declared
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/diskgroups/:DgId/rvgs/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a Primary replicated volume group with the specified parameters

## Path parameters

- `DgId` string, required

## Query parameters

- `nodename` string

## Request body

- object
  - `RvgName` string, required: Name of the primary Replicated Volume Group (RVG) to be created
  - `VolumeList` object[], required: List of data volumes desired to be associated with the primary replicated volume group
    - `VolId` string, uri: Volume or vset to be associated with the primary replicated volume group
  - `SrlVolumeId` string, uri, required: Storage Replicator Log (SRL) volume link to be associated with the primary replicated volume group

## Response `200`

The request has succeeded.

- Response
  - `detail` string: Error details.
  - `status` integer: http code

## Other responses

- `400`: Bad request
- `401`: The requested operation requires authentication.
- `403`: Forbidden
- `404`: Object that the endpoint is working on is not found.

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
