zfs

  1. lockna

    ZFS FreeBSD ZFS-on-root shrink partition

    Hello! I've had a little mishap :oops: So far nothing bad happened. The initial situation: I have the following hard drives installed in my PC. 2 TB NVMe (EFI boot partition and the rest Windows) 1 TB NVMe (NTFS formatted, data grave) 2 TB SATA SSD (FreeBSD-ZFS and FreeBSD-Swap) 1 TB SATA SSD...
  2. J

    ZFS Security issues with snapshots for (longer term) backups

    I use ZFS snapshots and mirroring (both on a harddrive that is permanently connected and on harddrives that aren't always connected) as a means of keeping backups of my data. Using the snapshots, I can go back in time if I accidentally delete files or something else happened to my data on the...
  3. Eric A. Borisch

    ZFS Don’t enable block cloning just yet.

    14.0 shipped with ZFS 2.2 and block cloning disabled (behind a sysctl). ZFS 2.2.1 was just released with the same (default to disabled) change, due to corruption issues people are running into. It appears there is still a bug that can be hit with some combination of sysctls. I would recommend...
  4. grahamperrin

    Solved FreeBSD sysctl vfs.zfs.dmu_offset_next_sync and openzfs/zfs issue #15526 (errata notice, FreeBSD bug 275308)

    https://old.reddit.com/r/freebsd/comments/182pgki/freebsd_sysctl_vfszfsdmu_offset_next_sync_and/ From the pinned comment: Please see the pinned comment, which has changed, and may change again.
  5. M

    Solved "After a system upgrade, but before doing a zpool upgrade, the boot loader on the ESP must be updated, or the system may become unbootable."

    Dear Everyone, The release notes for 14.0-RELEASE state, "After a system upgrade, but before doing a zpool upgrade, the boot loader on the ESP must be updated, or the system may become unbootable." My question, in great brevity, is, "How?" (when the system is purely UEFI GPT) Having looked at...
  6. K

    Upgrading ZFS/zpool under FreeBSD 14?

    Hello there. Just upgraded from 13.2 to 14.0 RELEASE, via freebsd-update tool. I guess I manually need to execute command for ZFS update/upgrade, after FreeBSD upgrade from 13.2 to 14, right? I'd like to be careful on this step because this is a remote dedicated server with no physical access...
  7. D

    ZFS Why does periodic(8) scrub ZFS every 35 days by default?

    In /etc/defaults/periodic.conf, there's this part about periodic ZFS scrubs: # 800.scrub-zfs daily_scrub_zfs_enable="NO" daily_scrub_zfs_pools="" # empty string selects all pools daily_scrub_zfs_default_threshold="35" # days between scrubs...
  8. D

    ZFS What is the purpose of daily ZFS backups?

    In /etc/defaults/periodic.conf, there's this part about daily ZFS backups: # 223.backup-zfs daily_backup_zfs_enable="NO" # Backup output from zpool/zfs list daily_backup_zfs_props_enable="NO" # Backup zpool/zfs filesystem properties...
  9. Y

    Default FreeBSD installer datasets on remaining free disk space?

    Hello, I'm trying to create a FreeBSD/Windows dual-boot setup on one of my machines (I know, I know, but I need Windows for certain tasks at my job). I have done this before by installing Windows first, leaving some free space, and then creating zfs-root and zfs-swap slices/datasets by hand in...
  10. M

    ZFS Can't boot from zroot pool for no apparent reason

    Hello to all, unfortunately I'm facing infamous messages when booting, when I'm trying to recover friend's NAS, which I installed last year. zio_read error: 5 ZFS: i/o error - all block copies unavailable ZFS can't read MOS of pool zroot It seems, it reaches up to stage 2, but gptzfsboot...
  11. M

    ZFS Does ZFS on FreeBSD Support WORM Storage?

    For various reasons including regulatory compliance, I would like to have a Write Once, Read Many (WORM) storage partition and wanted to know if ZFS can enable this.
  12. M

    Other Advice on how to structure the storage for dual-boot FreeBSD and Linux and common ZFS home

    With the release 14.0, I plan to switch to FreeBSD as my main OS. Unfortunately, some of the programs I use work only on Linux, so I will still have to boot to Linux from time to time. I am wondering how to structure my storage. In my notebook, I can place 4 disks in total, 3 SSDs (2 NVMe M.2 +...
  13. monaco87

    ZFS ZFS dataset encryption and AES-NI

    Hi, Is there any way to verify that my native encryption ZFS datasets are benefiting from CPU AES-NI support? I can't see anything in dmesg regarding CPU capabilities, though installed processor is Intel Xeon CPU E5-2620 v4 which supports AES-NI instructions. Thanks
  14. X

    ZFS Root mount waiting for CAM

    Hi, My server has problems booting : Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root...
  15. avgwst

    Pool 'zroot' has encountered an uncorrecrable I/O failure and has been suspended (Encrypted SSD can't resume from sleep)

    Hi! I have a problem with resuming, after one more upgrade to newer sources. System version: FreeBSD bsdlap 14.0-STABLE FreeBSD 14.0-STABLE #0 stable/14-n265656-4671836d7ba3: Sat Oct 28 13:44:15 CEST 2023 root@bsdlap:/usr/obj/usr/src/amd64.amd64/sys/MINI amd64 After resuming system seems...
  16. rwv37

    Replace a drive having a partition in a ZFS pool - how do I deal with the REST of the drive?

    I have a 13.2-RELEASE-p4 machine with four hard drives. They are all partitioned just like this one: # gpart show ada0 => 40 35156656048 ada0 GPT (16T) 40 532480 1 efi (260M) 532520 2008 - free - (1.0M) 534528 33554432 2...
  17. F

    ZFS Discrepancy in 'Used' Space on ZFS Volumes Post Send/Receive on Same Server with Different Pool Topologies

    Hey folks, I've stumbled upon a strange issue on my server concerning a discrepancy in 'used' space between two ZFS volumes after a ZFS send/receive operation. I transferred data from basia-ssd/vm-118-disk-0 to basia-nvme/vm-118-disk-0. Initially, the source volume basia-ssd/vm-118-disk-0...
  18. S

    Solved Strange issue with folder size on ZFS...

    I must destroy and recreate a ZFS pool. Please don't ask me why; it's a long story. The pool contains just one volume, named "depo". Of course, I had to back up the whole volume. Since ZFS replication won't work (long story...), I decided to mount two NTFS-formatted (ada0 and da0) drives and...
  19. freebsd_user

    Failed to authenticate error... during geli attach

    I have been testing my setup on an Oracle Virtual Box, Virtual Machine Manager, and VMware with EFI turned on. I have continued FreeBSD setup up to the Partitioning step, then selected shell and entered the following, # sysctl kern.disks # gpart destroy -F ada0 # gpart create -s gpt ada0 #...
  20. freebsd_user

    Solved Shutdown stuck for dual booting Windows10 + FreeBSD with ZFS and GELI

    My goal was to install FreeBSD with GELI and ZFS alongside of currently installed Windows 10. I am testing it on an Oracle Virtual Box with EFI turned on. I have continued FreeBSD setup up to the Partitioning step, then selected shell and entered the following, gpart add -t freebsd-swap -s...
Top