none
Problems with Ubuntu 16.04 and a permanently mounted Azure Files Storage

    Question

  • Hello,

    we encountered a problem with Ubuntu 16.04 and a permanently mounted Azure Files Storage.

    This is the setup:

    • 3 loadbalanced azure VMs mounting a Azure Files Storage using a 'mount cifs' script hooked in /etc/network/if-up.d
    • all machines are using the same share
    • for mounting the share we followed this link
    • each VM uses proftp with mod_sftp to present the share to the internet
    • 2 of the 3 machine are not running permanently and therefore they're started and stopped daily by automation
    • 1 machine runs 24/7 and causes the problem

    This is the problem:

    • sometimes several proftp processes freeze, logged in kern.log
    • if this happens a 'ls /path/to/the/mountpoint' freezes also
    • only a restart of the machine solves the problem
    • the restart of the machine hangs at unmounting the share
    • the restart is often timed out after 59 minutes and a reboot is forced

    At the very beginning of setting the whole environment up I noticed messages like this in kern.log:

    MYMACHINE kernel: [ 5827.834812] CIFS VFS: Autodisabling the use of server inode numbers on \\mycustomstorage.file.core.windows.net\myshare. This server doesn't seem to support them properly. Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message."

    Therefore we used the 'noserverino' mount option to suppress this message.

    The concrete questions now are:

    • did we possibly introduce a problem by using the 'noserverino' option?
    • would it be better to use the 'nounix' mount option?
    • or shall we use neither the one nor the other and live with the message above?
    • could the freezing be related to inodes / lfs problems?
    • has Microsoft new findings regarding best practice of mounting their Files Storage with Linux?
    • did anybody ever encounter a similar freeze problem, and what has been the solution?

    Sounds also related to this problem

    Cheers Greg







    Tuesday, August 16, 2016 12:38 PM

All replies