Comments (6)
I do use Docker on ZFS, and use a separate data set mounted to /var/lib/docker
to keep my BE root tidy, and to keep my data seperate. You might want to do that if you want to keep things tidy.
For easy cleanup you can also delete them with:
docker system prune -a
Keep in mind this will prune various things you may not want pruned, which the prompt will warn you about.
from alez.
I guess many datasets are created but I don't understand why, how or when they are created. Can you give me some insight as to the reason for all these default datasets? Can some of them be removed?
david@bar:~$ zfs list -r zroot/ROOT | head
NAME USED AVAIL REFER MOUNTPOINT
zroot/ROOT 217G 186G 176K none
zroot/ROOT@syncoid_bar_2020-09-28:23:59:01 0B - 176K -
zroot/ROOT/default 217G 186G 135G /
zroot/ROOT/default@syncoid_bar_2020-09-28:23:59:06 1.37G - 135G -
zroot/ROOT/default/0004106facc034e1d2d75d4372f4b7f28e1aba770e715b48d0ed1dd9221f70c9 212K 186G 532M legacy
zroot/ROOT/default/0004106facc034e1d2d75d4372f4b7f28e1aba770e715b48d0ed1dd9221f70c9@620970535 8K - 532M -
zroot/ROOT/default/00114407428dc8fc68806430cc3ee24790273c29f21feed222b40676d52af064 196K 186G 322M legacy
zroot/ROOT/default/00114407428dc8fc68806430cc3ee24790273c29f21feed222b40676d52af064@11882290 8K - 322M -
zroot/ROOT/default/005ebedcb2476c7be47742af3d206ab55c1edbfa74adf318f7d62f0b35ad2580 964K 186G 201M legacy
from alez.
I'm trying to research this myself and I found the zectl tool and this issue: johnramsden/zectl#16
Here is my output with zectl list
:
david@bar:~$ zectl list
Name Active Mountpoint Creation
default NR / 2018-12-20 19:36
david@bar:~$ zectl version
0.1.2
I'm not sure if I can even use zectl
with my setup. I didn't see a migration path or issue for using zectl
for old setups.
from alez.
Docker is making all of these zroot/ROOT/default/xxxxxxxxx
datasets, so my issue has nothing to do with ALEX. For anyone else coming across this, see this question on StackOverflow. https://stackoverflow.com/questions/52387244/how-to-clean-up-docker-zfs-legacy-shares
from alez.
Thanks for explaining your issue David! I can't say I've used docker with ZFS yet myself.
from alez.
Thank you! I decided to move all the datasets into /docker
. I had about 600 datasets to move though, so I had to write a short bash script to do it. docker system prune
without the -a
was also helpful. Removed about 1000 or so unnecessary ZFS datasets.
from alez.
Related Issues (20)
- systemd-boot-system-token.service failing HOT 4
- Network is unreachable after installation HOT 2
- archzfs.com certificate not valid yet HOT 2
- can't mod probe zfs on 2020 release HOT 13
- grub-mkconfig question HOT 2
- ALEZ works great HOT 3
- Support for Asus Zenith II Extreme
- Hang on boot with the May release HOT 4
- systemd-boot not installing correctly HOT 8
- Should boot to console instead of UEFI shell
- Drops to emerghency shell if zfs-linux is not in sync with new kernel
- ArchZFS repo broken HOT 2
- unexpected behavior from useradd while chrooted HOT 4
- build.sh support removed
- zfs mirrored install failure on NVMe and UEFI HOT 3
- I miss your updates... where'd you go? HOT 4
- ALEZ build issue HOT 1
- Latest release is outdated
- File "alez-downloader.sh" referenced in ISO self-creation instructions txt no longer exists in repo HOT 24
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 alez.