> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/os/linux/fallocate/generate-dummy-file-with-actual-size.md).

# Generate dummy file with actual size

* This can be used for testing different types of thresholds
* It generates a dummy file with actual size that occupies space&#x20;

### Steps:

* Create the file on disk partition you want:

```bash
touch file_name
```

* Then allocate actual disk size:

```bash
fallocate -l 200G file_name
```

* This will add 200 GB from the disk space to the `file_name`

{% hint style="info" %}
To increase the size of an already existing filename you can use the same command:

```bash
fallocate -l 300G file_name
```

* This will modify the size to 300 GB
  {% endhint %}
