Comments (4)
I'm closing this issue.
infinit network create/update
now (since 0.6.0) allows for setting an admin user (via --admin-rw
). This admin user has permissions over every files, hence, can remove the whole content of a volume.
from infinit.
Hi @Fank! Thanks for your really detailed report.
When you run infinit volume delete
, you just remove the descriptor for the volume. The --purge
option is used to update or destroy objects that depend on the object that you're deleting. For example: if you purge a volume, you will remove drives that depend on it; if you purge a network, you will remove volumes and drives that depend on it; if you purge a silo then network that uses it is unlinked; etc.
The only way to remove the volume's data is to clear the silo or silos associated with it. Note that doing this will remove all data from all volumes which use the network associated with the silo.
$ infinit network delete fankserver/cluster --purge
$ infinit silo delete <your silo name> --clear-content
From here you can rebuild your infrastructure:
$ infinit silo create filesystem <your silo name>
$ infinit network create fankserver/cluster -S <your silo name>
$ infinit volume create fankserver/test -N fankserver/cluster
from infinit.
Thanks for the info,
but there should be a option to "purge" a volume with its content.
In my example i setup some silos initial and do not want to delete them because they contains multiple volumes.
from infinit.
Unfortunately we cannot provide an option to remove the contents of a volume because of how Infinit works. Our access control in the file system relies on encrypting blocks so that only the user who wrote them (or who have permissions to read/write) can read them. This means that it's not necessarily possible for a single user to traverse the entire file system tree and find all the blocks used for a volume.
The only workaround that I can think of for your case would be to make sure that you have a user who has read/write permissions on all files who can run rm -r *
at the root of the volume.
from infinit.
Related Issues (20)
- Google Drive: silo is faulty HOT 4
- how can i reset name to reuse original account name. HOT 2
- the release tar is not update based on changelog HOT 2
- assertion error: could not determine username HOT 1
- very bad write performances HOT 4
- Assertion error: start_block == end_block - 1 HOT 2
- Will infinit implement CSI (Container Storage Interface)? HOT 1
- Docker Swarm Service HOT 9
- Issues creating Infinit volumes HOT 32
- Unexpected message for user pull HOT 7
- fixing --allow-root-creation catch 22 errors
- Does Infinit have enough performance for backing databases? HOT 1
- Pushing a volume is failing with "HTTP error Bad Gateway".
- Unable to create filesystem network v0.8.0
- Why notify Invalid "Access Key ID", try again ... HOT 1
- too few peers are available to reach consensus: 0 of 1 (offline without Hub)
- Project status? HOT 20
- infinit: fatal error: unexpected HTTP error Bad Gateway pushing network: Unknown error HOT 5
- Error message upon Mounting Volume
- Unable to mount volume
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinit.