![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I have a VBox VDI with FreeBSD on ZFS.
Code:
df -h / Code:
zfs list -H -o name -t snapshot | xargs -n1 zfs destroy -R Code:
VBoxManage modifymedium --compact {UUID} On most filesystems, one can do Code:
dd if=/dev/zero of=whatever bs=16777216 Code:
rm whatever I found that i have to do Code:
zpool initialize <pool name> Code:
DE AD BE EF DE AD BE EE FreeBSD manual says that the ZFS module parameter called Code:
zfs_initialize_value Code:
set zfs:zfs_initialize_value=0 OmniOS manual says, that this line should be in Code:
/etc/system Code:
pfexec mdb -kwe 'zfs_initialize_value/z0' Code:
/etc/system Code:
pfexec OpenZFS manual says, that the parameters are available in Code:
/sys/module/zfs/parameters/ Code:
/etc/modprobe.d/zfs.conf Code:
/etc/modprobe.d Question is: where can i set Code:
zfs_initialize_value |
|
|||
![]()
Thank you very much, that worked. Unfortunately the VDI did not become smaller after initializing the pool and compacting the image, so there must be something else there, than unused blocks.
I've opened a topic for it. Last edited by TCH; 13th October 2024 at 01:24 PM. Reason: Continued in related topic. |
![]() |
Tags |
freebsd, module, omnios, parameter, zfs |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modem throws CME ERROR 50 (incorrect parameters) on ATH1 | TCH | General software and network | 5 | 17th February 2024 12:35 AM |
Shell script arguments or parameters held in '$@' and '$*' | J65nko | Guides | 2 | 12th June 2021 06:23 PM |
Where is Qt uiTools module? | gustaf | OpenBSD Packages and Ports | 2 | 10th July 2018 09:44 AM |
pf.conf(5) missing some parameters? | notooth | OpenBSD Security | 2 | 20th December 2017 12:31 AM |
Failed to load module "qxl" (module requirement mismatch) | KenJackson | NetBSD Installation and Upgrading | 3 | 10th January 2017 09:18 AM |