---
title: "Create Pool"
method: POST
path: "/zfs/pools"
tags: ["ZFS"]
---

# Create Pool

`POST /zfs/pools`

Create a new ZFS pool

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesZfsCreateZPoolRequest
  - `createForce` boolean
  - `name` string, required
  - `properties` object
  - `raidType` 'stripe' | 'mirror' | 'raidz' | 'raidz2' | 'raidz3', required
  - `spares` string[]
  - `vdevs` GithubComAlchemillahqSylveInternalInterfacesServicesZfsVdev[]
    - `devices` string[]
    - `name` string

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
