Disks GUI - /proc/mounts too long - aborting

Discussion in 'Proxmox VE: Installation and configuration' started by valeech, Sep 7, 2018.

  1. valeech

    valeech Member

    Joined:
    May 4, 2016
    Messages:
    39
    Likes Received:
    5
    Running pve 5.2-2 (and also previous versions)

    When I select the "Disks" option in the GUI I get an error

    file '/proc/mounts' too long - aborting (500)​

    On the nodes where I receive this message, I have a large number of ZFS datasets with subsequent mountpoints. I believe this is interfering with the Disk display in the GUI. If I remove most of the ZFS datasets, there error goes away.
     
  2. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,118
    Likes Received:
    89
    Seems you hit a limit in our codebase.
    Could you open a bugreport on https://bugzilla.proxmox.com/ ?
    also could you please paste the output of `wc /proc/mounts` (when the ZFS datasets are mounted) - in the bug-report

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kroem

    kroem Member

    Joined:
    Jul 12, 2016
    Messages:
    44
    Likes Received:
    0
    I have the same problem, did you file a bug that I can attach to maybe?
     
  4. mira

    mira Proxmox Staff Member
    Staff Member

    Joined:
    Feb 25, 2019
    Messages:
    109
    Likes Received:
    9
    The limit is increased in libpve-common-perl 5.0-41 and newer. See https://bugzilla.proxmox.com/show_bug.cgi?id=1311
    If you're on a newer version and still run into this error, please post the output of 'wc /proc/mounts' as Stoiko mentioned above.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kroem

    kroem Member

    Joined:
    Jul 12, 2016
    Messages:
    44
    Likes Received:
    0
    Actaully this is fine after a reboot it seems, but the output was (before reboot):
    root@cat:~# wc /proc/mounts
    5966 35796 1072539 /proc/mounts

    Right now it is
    root@cat:~# wc /proc/mounts
    137 822 12225 /proc/mounts
     
  6. mira

    mira Proxmox Staff Member
    Staff Member

    Joined:
    Feb 25, 2019
    Messages:
    109
    Likes Received:
    9
    Could you post the content of /proc/mounts the next time you run into this limit? It would be interesting to see what's filling the file this much.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice