[GH-ISSUE #455] Set storage type per folder #246

Closed
opened 2026-03-04 01:43:38 +03:00 by kerem · 3 comments
Owner

Originally created by @cowmix88 on GitHub (Jul 27, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/455

Feature Request: It would be nice to be able to override the default storage type per directory.

For example:
/s3 - standard (default)
/s3/folder1 - redundant (override default)
/s3/folder1/folder3 - standard (override redundant)
/s3/folder2 - standard ia (override default)

Maybe this could be done using the key metadata?

I guess one way that I can currently achieve this is to create multiple mounts with the nonempty option to override the existing default storage type?

Originally created by @cowmix88 on GitHub (Jul 27, 2016). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/455 Feature Request: It would be nice to be able to override the default storage type per directory. For example: /s3 - standard (default) /s3/folder1 - redundant (override default) /s3/folder1/folder3 - standard (override redundant) /s3/folder2 - standard ia (override default) Maybe this could be done using the key metadata? I guess one way that I can currently achieve this is to create multiple mounts with the nonempty option to override the existing default storage type?
kerem 2026-03-04 01:43:38 +03:00
Author
Owner

@ggtakec commented on GitHub (Sep 19, 2016):

@cowmix88
Current s3fs can not be set the strage class to each folder.
I think this requirement is needed to consider at the future, then please wait.

The following is a proposed workaround:
You can mount on two mount point for same S3 bucket by s3fs.
One is with normal strage class, the other is with redundancy class.
And you create the directory to combine these into one, and you link sub directories as symbolic to the directories in these mountpoint.
Then I think that it is possible that you want to your realization.

Thanks in advance for your assistance.

<!-- gh-comment-id:247939905 --> @ggtakec commented on GitHub (Sep 19, 2016): @cowmix88 Current s3fs can not be set the strage class to each folder. I think this requirement is needed to consider at the future, then please wait. The following is a proposed workaround: You can mount on two mount point for same S3 bucket by s3fs. One is with normal strage class, the other is with redundancy class. And you create the directory to combine these into one, and you link sub directories as symbolic to the directories in these mountpoint. Then I think that it is possible that you want to your realization. Thanks in advance for your assistance.
Author
Owner

@gaul commented on GitHub (Feb 2, 2019):

@cowmix88 Could you accomplish this by using an S3 lifecycle policy applied to given prefixes? This seems outside the scope of s3fs.

<!-- gh-comment-id:459933705 --> @gaul commented on GitHub (Feb 2, 2019): @cowmix88 Could you accomplish this by using an S3 lifecycle policy applied to given prefixes? This seems outside the scope of s3fs.
Author
Owner

@gaul commented on GitHub (Feb 3, 2020):

Closing due to inactivity. Please reopen if symptoms persist.

<!-- gh-comment-id:581295341 --> @gaul commented on GitHub (Feb 3, 2020): Closing due to inactivity. Please reopen if symptoms persist.
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#246
No description provided.