When I upgrade ports (not packages) I saw that CPU is working a lot, expecially when decompressing dist files. Some threads here talk about disabling compression but I'm not a ZFS expert at all, I do not really know how ZFS works.
My intention is to make things works that way:
There is a zroot/usr/ports, can I temporarily disable that only or I have to disable all the zroot and what commands are appropriate? Thaks for your intrest.
My intention is to make things works that way:
- disable ZFS compression
- install one or more ports / upgrade some or all ports
- remove all /usr/ports/*/*/work directories and content (eventually)
- re-enable ZFS compression
Code:
root at elopao-vm
~> gpart show
=> 40 167772080 ada0 GPT (80G)
40 532480 1 efi (260M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 8388608 3 freebsd-swap (4.0G)
8923136 158846976 4 freebsd-zfs (76G)
167770112 2008 - free - (1.0M)
root at elopao-vm
~> df -achT
Filesystem Type Size Used Avail Capacity Mounted on
zroot/ROOT/default zfs 32G 18G 14G 56% /
devfs devfs 1.0K 0B 1.0K 0% /dev
/dev/gpt/efiboot0 msdosfs 260M 1.3M 259M 1% /boot/efi
procfs procfs 8.0K 0B 8.0K 0% /proc
zroot/tmp zfs 14G 2.5M 14G 0% /tmp
zroot zfs 14G 96K 14G 0% /zroot
zroot/home zfs 14G 96K 14G 0% /home
zroot/usr/ports zfs 41G 27G 14G 66% /usr/ports
zroot/var/log zfs 14G 4.3M 14G 0% /var/log
zroot/usr/src zfs 15G 853M 14G 6% /usr/src
zroot/var/audit zfs 14G 96K 14G 0% /var/audit
zroot/var/crash zfs 14G 96K 14G 0% /var/crash
zroot/var/mail zfs 14G 136K 14G 0% /var/mail
zroot/var/tmp zfs 14G 96K 14G 0% /var/tmp
zroot/home/paolo zfs 15G 1.2G 14G 8% /home/paolo
fdescfs fdescfs 1.0K 0B 1.0K 0% /var/run/samba4/fd
total 214G 47G 168G 22%
There is a zroot/usr/ports, can I temporarily disable that only or I have to disable all the zroot and what commands are appropriate? Thaks for your intrest.