Ad Widget

Collapse

Getting vfs.fs.discovery to ignore docker mounts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drmikecrowe
    Junior Member
    • Apr 2016
    • 2

    #1

    Getting vfs.fs.discovery to ignore docker mounts

    Hi folks,

    How can I get vfs.fs.discovery to ignore certain mounts? For example, vfs.fs.discovery returns (on a host running Docker):

    Code:
    {
      "data": [
        {
          "{#FSNAME}": "/",
          "{#FSTYPE}": "ext4"
        },
        {
          "{#FSNAME}": "/var/lib/docker/devicemapper/mnt/8ce38f7ebae0fd1925cbf863bb0c1e5f87b465393bc83a0c7902b26457be955f",
          "{#FSTYPE}": "ext4"
        }
      ]
    }
    I don't think it's possible to filter by both #FSTYPE and #FSNAME.

    Is there another method I could use to ignore anything with /devicemapper/ in the name? My dashboard is showing:
    Attached Files
Working...