【问题标题】:Can s3fs mount different bucket and different account simultaneously?s3fs可以同时挂载不同的bucket和不同的account吗?
【发布时间】:2021-09-24 09:52:44
【问题描述】:

s3fs可以同时挂载不同账号的不同bucket,这样我就可以将A账号bucket的文件夹转移到B账号bucket吗?

请告诉我该怎么做。 或者有其他方式来满足我的需求。

谢谢。

【问题讨论】:

    标签: amazon-web-services amazon-s3 mount s3fs


    【解决方案1】:

    s3fs 一次只能挂载一个桶/挂载点。但是,您可以通过以下方式使用单独的凭据同时安装两个存储桶:

    s3fs -o passwd_file=/path/to/creds1 bucket1 mnt1
    s3fs -o passwd_file=/path/to/creds2 bucket2 mnt2
    

    如果您想在同一个 passwd 或 AWS 配置文件中存储多个凭证,还有其他一些变化;请参阅man s3fs 了解更多信息。

    【讨论】:

      猜你喜欢
      • 2018-09-18
      • 1970-01-01
      • 2019-10-19
      • 2022-01-11
      • 2020-09-29
      • 1970-01-01
      • 2020-05-13
      • 2016-10-08
      • 1970-01-01
      相关资源
      最近更新 更多