---
title: "Create a filesystem"
method: POST
path: "/diskgroups/{DgId}/vsets/{VsetId}/filesystems"
tags: ["Filesystems"]
---

# Create a filesystem

`POST /diskgroups/{DgId}/vsets/{VsetId}/filesystems`

## Request

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

Create filesystem on the volume set

## Path parameters

- `DgId` string, required
- `VsetId` string, required

## Request body

- FilesystemDetailsV2v0
  - `BlockSize` 1024 | 2048 | 4096 | 8192: Size of each filesystem block
  - `LogSize` integer: Number of blocks allocated for logging area
  - `InodeSize` 256 | 512: Size of each on-disk inode
  - `RcqSize` integer: Number of blocks allocated for reference count queue
  - `DLVersion` integer: Disk Layout version of the filesystem
  - `LargeFiles` boolean: Support for files having size greater than 2 gb
  - `MaxLinkSupport` boolean: Support for having more than 64K sub-directories
  - `NodeName` string: Filesystem creation will be triggered from the indicated node if the volume is present on the node.

## 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)
