create_dataset
Create a new dataset on TrueNAS Core by specifying pool, name, compression, and optional quota for efficient storage management.
Instructions
Create a new dataset
Args:
pool: Pool name where dataset will be created
name: Dataset name
compression: Compression algorithm (default: lz4)
quota: Optional quota in bytes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compression | No | lz4 | |
name | Yes | ||
pool | Yes | ||
quota | No |
Input Schema (JSON Schema)
{
"properties": {
"compression": {
"default": "lz4",
"title": "Compression",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"pool": {
"title": "Pool",
"type": "string"
},
"quota": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Quota"
}
},
"required": [
"pool",
"name"
],
"title": "create_datasetArguments",
"type": "object"
}