Tahoe-LAFS: Difference between revisions
imported>Mjh No edit summary |
imported>Mjh No edit summary |
||
| Line 39: | Line 39: | ||
# few 10's of GB is not useful | # few 10's of GB is not useful | ||
reserved_space = 100G | reserved_space = 100G | ||
expire.enabled = | expire.enabled = true | ||
expire.mode = age | |||
expire.override_lease_duration = 2 month | |||
# Read tahoe's docs if you want to use the other options | # Read tahoe's docs if you want to use the other options | ||
| Line 93: | Line 95: | ||
===How do I delete files?=== | ===How do I delete files?=== | ||
You can't. The nodes are not trusted and therefore cannot be relied upon to remove the file's shares when asked. To render a file inaccessible, destroy all copies of the filecap. After | You can't. The nodes are not trusted and therefore cannot be relied upon to remove the file's shares when asked. To render a file inaccessible, destroy all copies of the filecap. After 60 days, the file's lease will expire and its shares will be automatically garbage collected, or deleted, by the nodes. | ||
===Wait, files expire? But I thought...=== | ===Wait, files expire? But I thought...=== | ||
VTLUUG's grid uses a 2 month file lease to prevent the grid from filling up permanently. | |||
Don't panic. To stop a file from being deleted after 2 months, simply renew its lease. The recommended way of doing this is setting up an alias using tahoe create-alias tahoe, adding the filecap to the alias, and setting up a weekly cronjob to run tahoe deep-check --renew tahoe. This will renew the leases on all the files in the alias, which is similar to a directory. | |||
===Directory?=== | ===Directory?=== | ||