---
title: "ezgh files file-systems create"
description: "Create a file system."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh files file-systems create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh files file-systems create <name> --vpc <vpc> [flags] [--wait]
```

Create a file system in a VPC (`--vpc`, its vpc\_ ID). Root on a client is squashed to an anonymous user unless `--root-squash=false`. `--require-tls` refuses mounts without TLS. Then give it a mount target (`ezgh files mount-targets create`). `--wait` waits until it's available and prints it.

Part of [`ezgh files file-systems`](/cli/reference/files-file-systems).

## Examples

```sh
ezgh files file-systems create web --vpc vpc_5p7r9s3t1vxz --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--deletion-protection` | boolean |  | refuse deletes until it's turned off |
| `--description` | string |  | what it's for |
| `--require-tls` | boolean |  | refuse mounts without TLS |
| `--root-squash` | boolean | `true` | map root on a client to an anonymous user |
| `--tag` | string, repeatable |  | a tag, key=value; repeat for more |
| `--vpc` | string |  | the VPC it's in (vpc\_…) |
| `--wait` | boolean |  | wait until it's available, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/files-file-systems-create/index.mdx
