mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #455] Set storage type per folder #246
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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.
@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.
@gaul commented on GitHub (Feb 3, 2020):
Closing due to inactivity. Please reopen if symptoms persist.