Results 1 to 4 of 4

Thread: Mount CIFS on Azure

  1. #1
    Join Date
    Jan 2020
    Beans
    2

    Mount CIFS on Azure

    Hello,
    I'm trying to test a share mounted on a Ubuntu Linux VM (Azure Cloud).


    The mounted share works well with this options:


    Code:
    rw,relatime,vers=3.0,cache=strict,username=XXXXXX,uid=0,noforceuid,gid=0,noforcegid,addr=YYYYYYY,file_mode=0777,dir_mode=0777,soft,persistenthandles,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,bsize=1048576,echo_interval=60,actimeo=1

    The problem I have encountered is when I try to use a script to copy files from an external FTP server on this share.


    All the copied files report the local timestamp (at the moment fo FTP script starts) and not the FTP server timestamp.


    If It works with the remote timestamp if I set the local disk as destination.


    Can you help me to understand how to obtain the original timestamp? Maybe some modification on the cifs mount option?

    Thank you.
    Last edited by kinto2; January 3rd, 2020 at 12:16 PM.

  2. #2
    Join Date
    Jan 2020
    Beans
    2

    Re: Mount CIFS on Azure

    No suggestions?

    Thank you.

  3. #3
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Mount CIFS on Azure

    Thread moved to Server Platforms for a better fit

  4. #4
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Mount CIFS on Azure

    How are you copying files to the mounted location? There might be optional flags that can be specified to ensure that the timestamp is preserved.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •