Score:0

aws s3 bucket mounting on CentOS

th flag
GID

I need to change the AWS credentials I use for mounting an S3 bucket to a CentOS 7.7 instance. As root, I un-mount the FS and change the contents of the /etc/passwd-s3fs file to reflect the new credentials. Then I run "mount -a" (since the proper entry is in place in /etc/fstab), and get no error, but the bucket is not mounted. The new credentials I'm using are already used for bucket mounting on another instance, so there is no issue of them being problematic in some way. And when I restore the previous password file above, the mounting works again.

Is there a step I'm missing here? Do I need to restart fuse or something? It's as if the credentials need to be refreshed within some system process.

Thanks

Andrew Gaul avatar
cn flag
Can you try mounting without fstab and running it in the foreground via: `s3fs -f`? This should allow you to see the error in the logs. If this still doesn't work you might try adding `-d` to get debug logs.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.