[GH-ISSUE #2219] Cannot convert working command into fstab record #1128

Open
opened 2026-03-04 01:51:36 +03:00 by kerem · 1 comment
Owner

Originally created by @im-n1 on GitHub (Jul 15, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2219

Additional Information

Version of s3fs being used (s3fs --version)

Amazon Simple Storage Service File System V1.90 (commit:unknown) with GnuTLS(gcrypt)

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

Version: 2.9.9-2

Kernel information (uname -r)

6.3.0-1-amd64

GNU/Linux Distribution, if applicable (cat /etc/os-release)

Debian GNU/Linux trixie/sid

How to run s3fs, if applicable

[x] command line

$ s3fs backup /media/storj_backup -o host=https://gateway.storjshare.io

[x] /etc/fstab

backup /media/storj_backup fuse.s3fs _netdev,noauto,user,host=https://gateway.storjshare.io 0 0

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

Details about issue

I can connect (and work with) my bucket via command line but I cannot convert the command into valid fstab record and mount it.

  1. if I run it from my home mount command tell me it tries to mount /home/n1/backup ("backup" is my bucket name) - that's a nonsense.
  2. if I run it from root (/) I get s3fs: could not determine how to establish security credentials.
  3. if I prepend s3fs# to the fstab record I get s3fs: BUCKET s3fs#backup -- bucket name contains an illegal character.

I miss something but I don't know what's that.

Originally created by @im-n1 on GitHub (Jul 15, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2219 <!-- -------------------------------------------------------------------------- The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all. Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) Amazon Simple Storage Service File System V1.90 (commit:unknown) with GnuTLS(gcrypt) #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) Version: 2.9.9-2 #### Kernel information (`uname -r`) 6.3.0-1-amd64 #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) Debian GNU/Linux trixie/sid #### How to run s3fs, if applicable [x] command line ``` $ s3fs backup /media/storj_backup -o host=https://gateway.storjshare.io ``` [x] /etc/fstab ``` backup /media/storj_backup fuse.s3fs _netdev,noauto,user,host=https://gateway.storjshare.io 0 0 ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` ``` ### Details about issue I can connect (and work with) my bucket via command line but I cannot convert the command into valid fstab record and mount it. 1. if I run it from my home mount command tell me it tries to mount `/home/n1/backup` ("backup" is my bucket name) - that's a nonsense. 2. if I run it from root (`/`) I get `s3fs: could not determine how to establish security credentials.` 3. if I prepend `s3fs#` to the fstab record I get `s3fs: BUCKET s3fs#backup -- bucket name contains an illegal character.` I miss something but I don't know what's that.
Author
Owner

@fbluis commented on GitHub (Apr 24, 2024):

Hey, try to run this journalctl -b -n 100 --no-pager -f in parallel when you run the command and paste it. It might throw better insights

<!-- gh-comment-id:2075455957 --> @fbluis commented on GitHub (Apr 24, 2024): Hey, try to run this `journalctl -b -n 100 --no-pager -f` in parallel when you run the command and paste it. It might throw better insights
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1128
No description provided.