# 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 %}
