Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a delete command #71

Open
da2x opened this issue Jun 7, 2020 · 1 comment
Open

Add a delete command #71

da2x opened this issue Jun 7, 2020 · 1 comment

Comments

@da2x
Copy link
Contributor

da2x commented Jun 7, 2020

There is no command for deleting a Hyperdrive. I created a couple to experiment on and now I want them gone. hyperdrive help lists cleanup which seams related but does something different.

@da2x da2x changed the title No command to delete a Hyperdrive Add a delete command Jun 7, 2020
@andrewosh
Copy link
Member

The story around deletions is indeed very incomplete right now. There's one cleanup command that can be run when the daemon's offline (hyperdrive cleanup:remove-readonly-drives) that will remove all readonly drives. That command's pretty unobjectionable because you can always restore readonly drives from the network.

Adding deletion for writable drives is hairier (can lead to irreparable data loss), so I've been hesitant to go down that road. Think we'll want to have the backup command in place and battle-tested before we introduce that, but it's indeed extremely important to have. Append-only filesystems can get big quickly!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants