作者allimontti (王小咪)
看板Cloud
标题[问题] S3 s3fs: remote mountpath * not found.
时间Thu Sep 6 18:57:23 2012
▽目前 s3fs 将 AWS-S3-Bucket mount 在 EC2上面使用
▽一般的 mount 都没有问题
但是 mount 後 Bucket 底下的资料夹都看不见
只能显示 Bucket 根目录的档案
▽後来发现可以用 : [PATH] 直接 mount 资料夹
>Usage: s3fs BUCKET:[PATH] MOUNTPOINT [OPTION]...
但是怎麽样都不成功
>ubuntu@ip-1-2-3-4://$ sudo s3fs bucketname:folder /mountpoint
试过 -o allow_other
试过 -o url=
http://s3-ap-southeast-1.amazonaws.com 指定地区
试过 -o use_cache=/tmp
...
所得到的结果都是 :
>s3fs: remote mountpath folder not found.
▽
http://code.google.com/p/s3fs/issues/detail?id=240
发现还有其他人也遇到相同问题 ,
想请问有没有人能成功挂载S3 bucket:path ,
再请您好心的指导一下吧 ~ 感谢 !!
--
现在东西有保固到2012...
我都看作终保~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.193.17.184
还是没有找到方法解决 只好使用 官方的 s3 cmd
▼有需要的朋友可以参考 :
http://s3tools.org/repositories (小弟是使用 Ubuntu 如内文三行打完就装好了)
http://s3tools.org/s3cmd (安装完成 - 设定 - 指令介绍)
▼设定过程 :
username@computer://home/user$ s3cmd --configure ▼开始设定▼
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3
Access Key: ----------**********
Secret Key: **********----------**********----------
▼参考图片
http://i.imgur.com/pvv77.gif▼
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password: ********** ▼这个我不确定 我是输入 AWS密码▼
▼参考图片
http://i.imgur.com/WELAR.gif▼
Path to GPG program [/usr/bin/gpg]: ▼GPG 程式路径 可使用预设 不输入▼
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]: ▼使用HTTPS ? 可使用预设 不输入▼
On some networks all internet access must go through a HTTP proxy.
Try setting it here if you can't conect to S3 directly
HTTP Proxy server name: ▼使用PROXY连线 ? 可使用预设 不输入▼
New settings:
Access Key: ----------**********
Secret Key: **********----------**********----------
Encryption password: **********
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] Y ▼确定 测试连线▼
Please wait...
Success. Your access key and secret key worked fine :-)
Now verifying that encryption works...
Success. Encryption and decryption worked fine :-)
Save settings? [y/N] y ▼确定 储存设定▼
Configuration saved to '/home/user/.s3cfg'
username@computer://home/user$ s3cmd ls ▼测试 List Bucket▼
2012-02-22 00:29 s3://busket01 ▼建立时间 s3://Bucket Name▼
2012-03-21 12:01 s3://busket02
2012-01-30 10:34 s3://busket03
username@computer://home/user$ ▼完成设定▼
※ 编辑: allimontti 来自: 123.193.17.184 (09/10 17:46)
1F:→ dearlove:Encryption password感觉是加密档案用的 我没有打 09/18 10:32
谢谢 : )
※ 编辑: allimontti 来自: 123.193.17.184 (09/24 08:17)