# Metricbeat 7.17.1 error getting filesystem list: open /etc/mtab

**URL:** https://discuss.elastic.co/t/metricbeat-7-17-1-error-getting-filesystem-list-open-etc-mtab/300625
**Category:** Beats
**Tags:** metricbeat
**Created:** [March 24, 2022, 7:14pm UTC](https://discuss.elastic.co/t/metricbeat-7-17-1-error-getting-filesystem-list-open-etc-mtab/300625 "2022-03-24T19:14:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kbujold\_wr](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kbujold\_wr](https://discuss.elastic.co/u/kbujold_wr)
#### Post date: [March 24, 2022, 7:14pm UTC](https://discuss.elastic.co/t/metricbeat-7-17-1-error-getting-filesystem-list-open-etc-mtab/300625/1 "2022-03-24T19:14:49Z")

</div>

Hi we have recently upgraded from 7.9.3 to 7.17.1. We now get this error in the Metricbeat logs

```auto
2022-03-24T19:02:27.030Z ERROR module/wrapper.go:259 Error fetching data for metricset system.filesystem: error getting filesystem list: open /etc/mtab: no such file or directory

```

Our /etc/mtab is a sym link

```auto
ll /etc/mtab
lrwxrwxrwx. 1 root root 17 Jan 31 15:24 /etc/mtab -> /proc/self/mounts

```

Anyone knows how to fix this? I have already tried using `filesystem.ignore_types: [] ` and it removed these logs but still getting the /etc/mtab error

```auto
2022-03-24T18:23:25.615Z INFO filesystem/filesystem.go:58 Ignoring filesystem types: sysfs, tmpfs, bdev, proc, cgroup, cgroup2, cpuset, devtmpfs, configfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, ramfs, hugetlbfs, devpts, autofs, mqueue, pstore, rpc_pipefs, overlay, nfsd, binfmt_misc
2022-03-24T18:23:25.704Z INFO filesystem/filesystem.go:58 Ignoring filesystem types: sysfs, tmpfs, bdev, proc, cgroup, cgroup2, cpuset, devtmpfs, configfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, ramfs, hugetlbfs, devpts, autofs, mqueue, pstore, rpc_pipefs, overlay, nfsd, binfmt_misc

```

We also see this error in the Kibana Discovery panel.

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8ac3c59d71f9badea4132ae0e492383eb1cc804a.png)

Thank you,  
Kris

---

<div class="post-metadata">

### Author: ![kbujold\_wr](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kbujold\_wr](https://discuss.elastic.co/u/kbujold_wr)
#### Post date: [March 25, 2022, 6:25pm UTC](https://discuss.elastic.co/t/metricbeat-7-17-1-error-getting-filesystem-list-open-etc-mtab/300625/2 "2022-03-25T18:25:37Z")

</div>

After more investigation this appears to be an upstream issue.

> <https://github.com/elastic/beats/issues/30590>
>
> \- Version: 8.0
> 
> Metricbeats system module expects the \`/etc/mtab\` symlink to \`…/proc/mounts\` be present for example for the fsstat metricset. When running in a containerised environment this symlink is not present on all container runtimes. For example \`containerd\` and \`cri-o\` do not create this symlink. 
> 
> We noticed this because ECK e2e tests started failing. https://github.com/elastic/cloud-on-k8s/issues/5345#issuecomment-1049024021 is the related issue where we track and analysed the build failures. 
> 
> We are using the following manifest for our e2e tests: https://github.com/elastic/cloud-on-k8s/blob/4bbfdd8dc14544db7926486afba92855f146b38a/config/recipes/elastic-agent/system-integration.yaml

Anyone can suggest a work around?

/etc/mtab is not linked in 7.17.1  
ls -rtl /etc/mtab  
ls: cannot access '/etc/mtab': No such file or directory

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 22, 2022, 8:25pm UTC](https://discuss.elastic.co/t/metricbeat-7-17-1-error-getting-filesystem-list-open-etc-mtab/300625/3 "2022-04-22T20:25:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
