# Adding DAS to /etc/fstab

You may want to automatically mount your DAS during reboots (e.g., \`reboot\`, \`shutdown -r\`, \`systemctl reboot\`). In these cases, the host will not be released and your DAS will remain intact. However, for safety purposes we recommend using the following \`/etc/fstab\` entry.

<pre data-full-width="false"><code># device    mount                           fs-type      options                                       dump pass
<strong>/dev/vdc    /home/ubuntu/direct-attached    ext4         defaults,nofail,x-systemd.device-timeout=5    0    2
</strong></code></pre>

#### Explanation

* device -\`/dev/vdc\`
* mount - \`/home/ubuntu/direct-attached\` (example)
* fs-type - ext4 (example)
* options:
  * defaults - start with the filesystem defaults
  * **no-fail** - DAS volume cannot block system boot
  * **x-systemd.device-timeout=5** - only wait 5s on filesystem during boot
* dump (0) - do not run backup
* pass (2) - run fsck after boot

The **\`no-fail\`** and **\`x-systemd.device-timeout=5\`** options are particularly important since stopping and restarting a VM on another host would cause mounting the DAS to fail and block the VM boot process.  Make sure not to set the timeout to 0, as this translates to infinite timeout.

#### Tip

To validate your \`/etc/fstab\` changes run a \`mount -a\` before trying a reboot.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.denvrdata.com/docs/additional-information/faqs/adding-das-to-etc-fstab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
