zfs

  1. S

    bectl & upgrade with full rollback ability

    Hi I'd like to figure out how to do an upgrade with the ability to rollback fully if anything goes wrong. Taking into account the info from the following topics: https://forums.freebsd.org/threads/what-is-the-proper-way-to-take-snapshots-and-do-rollbacks-of-zroot.61297/...
  2. Hermann

    Solved Doubts about ZFS dataset properties setuid and exec.

    Hi all, I'm a newbie looking for an answer I've not found: I'm trying to block executable files running in a ZFS dataset. So I set setuid=off and exec=off in a data ZFS dataset root@LUNA:/opt/test # zfs get setuid,exec DEPO_LUNA/data/test NAME PROPERTY VALUE SOURCE...
  3. danbanta

    jails Mounting nullfs in jails causes empty directories for parent mount

    Good morning, evening, or afternoon. I currently treat my jails as stateless. I do this by mounting host zfs datasets into the jail using nullfs to store state. Sometimes this leaves the data directory on the host empty although the data is present. Why do I see this behavior? What am I doing...
  4. Hermann

    Solved System stop working after snapshot rollback.

    Hi all, I'm just a FreeBSD learner. Learning and practicing about ZFS filesystem , snapshots, rollback...; System: FreeBSD LUNA 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 If I do a rollback from snapshot, first time all runs OK; But Second time I rollback, system hangs, no...
  5. mtu

    /boot directory deleted: How to recover with ZFS backups

    While testing the capabilities of beadm and boot environments on a spare machine, I deleted the /boot directory, and the system would no longer boot. With competent help from IRC, I was able to recover without booting a rescue system (except in case 3c) as defined below). I'm here to describe...
  6. J

    ZFS Best practice for specifying disks (vdevs) for ZFS pools in 2021?

    This started out as a "why isn't this working?" question, but after a full day of trial and error, I think it might help more people to discuss "what's the best approach in today's world? (FreeBSD 12.2)" How should disks (or vdev's) be identified when creating ZFS pools in 2021? (and...
  7. T

    ZFS poudriere jail - not mounting filesystem

    I have a minor problem with my jail configuration for poudriere builder. Everything works, except poudriere jail dataset is not getting mounted on jail start filesystems hierarchy is : fbsd/usr/jails/JAIL_NAME for jails root / fbsd/pdr/w0 poudriere jail filesystem. zfs set jailed=on fbsd/pdr/w0...
  8. R

    ZFS Boot issues when creating raidz zpool storage.

    I have 3 disk attached to the system and I wanted to setup it as raidz, after running set commands by gpart show output looks like below (vtpd0 , da0 and da1 are disk attached to system ) root@mfsbsd:/temp # gpart show => 40 167772080 vtbd0 GPT (80G) 40 1024 1...
  9. M

    ZFS LOG device on an encrypted pool = single point of failure? Can't unlock pool anymore after loosing SLOG...

    Hi, I am running TrueNAS 12 on my server and had some issues with data corruption recently which caused me to temporarily remove my Intel Optane from my server. After finding out the issues were caused by a broken CPU, I replaced the CPU and wanted to re-include my Intel Optane. But something...
  10. B

    ZFS Extreme slow copy speeds ZFS

    My SMB copy speed server to client is 10 mb/s and upload to server 200 mb. My connection is 10gbits over fiber and server connected via qsfp+ 40gbit. zpool get all rz8tb size 29T - rz8tb capacity 74%...
  11. M

    ZFS zfs: how to clear an unavailable pool?

    setup: an 8x6TB raidz1 pool I want to delete/clear/remove a pool label from my disks (which might be best explained with an example). The sample below is similar for da1 to da8 # zdb -l /dev/da1 -snip- name: mypool pool_guid: 157xxxxxxxxxxx -snip- # zdb -l /dev/da1p1 -snip- name: my-pool...
  12. B

    ZFS ZFS - Interpreting output of "zpool status"

    I have set up a home fileserver, using 3 drives in a raidz1 configuration. It's all working great, but I'd like some confirmation that I'm interpreting the output of "zpool status" correctly. Here it is: pool: keg2 state: ONLINE status: One or more devices has experienced an unrecoverable...
  13. Tartafione

    Solved Is it possible to replace a disk in a mirror by booting from the outside.

    My machine can't boot anymore. After showing some errors in zpool status ZFS put briefly the mirror in a degraded mode and after a while the system slowly stopped or better stalled. Then I could reboot and after some errors printed on the console screen finally resilvered. I decided to do a...
  14. S

    Solved Can not add vdev to zfs pool, zfs can not find the zpool but it exists

    I added a PCIe card with 2 SSDs on it to extend my storage. This seems to work /dev/nvme0 and /dev/nvme1 showed up. But adding them as a mirrored vdev to my existing zpool does not work. ll /dev/nvme* crw------- 1 root wheel 0x40 Jan 18 16:17 /dev/nvme0 crw------- 1 root wheel 0x55...
  15. K

    ZFS Dual boot ubuntu with freebsd

    Hi, I recently installed FreeBSD in my computer from the scratch, the whole was formatted from the installer with no stripes and no redundancy. Is there a way to create a partition, lets say 40-50 gigs, and install linux there as well? Thanks in advance!
  16. acunha

    Solved Disk burst write to ZFS/NFS share

    Hi everybody! Happy & healthy 2021 ! My newly assembled FreeBSD server is now up and running. 🥳 Summary of the setup: CPU: Intel(R) Pentium(R) CPU G4560 @ 3.50GHz (3504.17-MHz K8-class CPU) Storage: ZFS RAIDZ2 using 5 Toshiba N300 7.2K 4TB Memory: 32GB, I limited ARC to 16GB in...
  17. Watitsthis

    ZFS ZFS Drive cannot be remove

    So I have been playing around with ZFS on my test computer before changing all my servers to ZFS. Currently BOOT device is nvd1p4. gpart list nvd1 1. Name: nvd1p1 Mediasize: 209715200 (200M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 20480 Mode: r0w0e0 efimedia...
  18. B

    ZFS zfs Snapshot of FileSystem Doesn't Contain Data of FileSystems Below It

    Question. I have a zpool called "zjail", with a zfs file system mounted on it at /zjail. Other file systems are created and mounted at /zjail/jail1 /zjail/jail2 etc. So zfs list -t all looks something like this: root@dom0:~ # zfs list -t all | grep zjail zjail 2.08G...
  19. Morris

    ZFS How to get OpenZFS 2.0 working on FreeBSD 12.2?

    As OpenZFS 2.0 has now been released some people will be interested in getting it up and running to play around with in FreeBSD 12.2 instead of waiting for it being included in FreeBSD 13 by default. What would be required to get this working? The old ZFS system needs to be disabled and...
  20. S

    ZFS ZFS warning about minimum kmem_size

    Hi! During boot I see message with text: ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in /boot/loader.conf. I added those line to /boot/loader.conf...
Top