none
Mounted drives disappear/reappear constantly

    Question

  • Hi,

    we've several Linux based (Ubuntu 14.04 LTS) VMs using File Storage mounts.

    Earlier today our system monitoring alerted us that the mounts were not available. I've checked the systems and the mounted storages are disappearing and later reappearing constantly.

    $ ls -l

    drwxrwxrwx  2 root root    0 Jan 18  2016 activemq/
    d?????????  ? ?    ?       ?            ? media/

    $ ls -l

    drwxrwxrwx  2 root root    0 Jan 18  2016 activemq/
    drwxrwxrwx  2 root root    0 Jan 18  2016 media/

    $ ls -l

    d?????????  ? ?    ?       ?            ? activemq/
    drwxrwxrwx  2 root root    0 Jan 18  2016 media/

    and so on. Our VMs are hosted in Northern Europe and the storage account is configured as locally redundent.

    For our system this is mission critical, because it's depeding on those mounting points.

    Hope you can help!

    Kind Regards,

    Thomas


    • Edited by x.news Thursday, October 13, 2016 10:22 AM
    Thursday, October 13, 2016 10:20 AM

Answers

  • Today I've unmounted all shared folders on all servers and rebootet the machines.

    After that, I've checked wether the mounts were up. Because of the entries in /etc/fstab file they were.

    I monitored the connections and the symptoms seem to be no longer present and the mounting points are stable.

    That's a good thing, but I'm worried about the underlining issue and that I don't know what might have caused the issue in the first place.

    • Marked as answer by x.news Friday, October 14, 2016 11:33 AM
    Friday, October 14, 2016 11:33 AM

All replies

  • Hi,

    Thank you for posting here!

    Kindly refer the below article to create a persistent connection to an Azure File share so that after a VM reboots, the share will be available for your scheduled tasks, applications, or logged in user:

    https://blogs.msdn.microsoft.com/windowsazurestorage/2014/05/26/persisting-connections-to-microsoft-azure-files/

    If it doesn’t help, please let us know, we are happy to assist you further.

     

    Regards,

    Vikranth S.

     

     

    Kindly click "Mark as Answer" on the post that helps you, this can be beneficial to other community members reading the thread. And Vote as Helpful.

    Thursday, October 13, 2016 3:29 PM
    Moderator
  • Hi,

    thank you for your response.

    The issue is not that the mounting points are gone when we reboot the VM. The fstab entries from the article you've linked are in place and it's working just fine.

    The issue is, that I've done the three ls -l commands mentioned above within 10 seconds of each other.

    The connection doesn't seem to be stable. We're using this setup since January and the problems started earlier today. Never had this before.

    In total we've 5 VMs connected to 6 different file storages and the problem occurs on every single VM :-(

    here's another example (including date commands):

    $ date;ll
    Thu Oct 13 15:58:18 UTC 2016
    total 12
    drwxr-xr-x  5 root root 4096 May 11 01:50 ./
    drwxr-xr-x 23 root root 4096 Oct 13 15:58 ../
    drwxrwxrwx  2 root root    0 Jan 18  2016 activemq/
    drwxrwxrwx  2 root root    0 Jan 18  2016 media/
    drwxr-xr-x  4 root root 4096 May 11 01:34 mysql/
    $ date;ll
    Thu Oct 13 15:58:21 UTC 2016
    ls: cannot access media: Input/output error
    total 12
    drwxr-xr-x  5 root root 4096 May 11 01:50 ./
    drwxr-xr-x 23 root root 4096 Oct 13 15:58 ../
    drwxrwxrwx  2 root root    0 Jan 18  2016 activemq/
    d?????????  ? ?    ?       ?            ? media/
    drwxr-xr-x  4 root root 4096 May 11 01:34 mysql/
    $ date;ll
    Thu Oct 13 15:58:25 UTC 2016
    total 12
    drwxr-xr-x  5 root root 4096 May 11 01:50 ./
    drwxr-xr-x 23 root root 4096 Oct 13 15:58 ../
    drwxrwxrwx  2 root root    0 Jan 18  2016 activemq/
    drwxrwxrwx  2 root root    0 Jan 18  2016 media/
    drwxr-xr-x  4 root root 4096 May 11 01:34 mysql/

    Regards,

    Thomas





    • Edited by x.news Thursday, October 13, 2016 4:04 PM
    Thursday, October 13, 2016 3:54 PM
  • Today I've unmounted all shared folders on all servers and rebootet the machines.

    After that, I've checked wether the mounts were up. Because of the entries in /etc/fstab file they were.

    I monitored the connections and the symptoms seem to be no longer present and the mounting points are stable.

    That's a good thing, but I'm worried about the underlining issue and that I don't know what might have caused the issue in the first place.

    • Marked as answer by x.news Friday, October 14, 2016 11:33 AM
    Friday, October 14, 2016 11:33 AM
  • Hello x.news,

    I'm glad to hear that your issue is resolved.

    Regards,

    Vikranth S.

    Friday, October 14, 2016 12:11 PM
    Moderator