zfs

  1. gpw928

    Solved Relocating zroot to new disks

    I want to completely replace my existing zroot which was configured by the FreeBSD installer as a ZFS mirror on ada0p3 and ada1p3. The new zroot is to be installed as a mirror on ada2p3 and ada3p3. Adding ada2p3 and ada3p3 as additional mirrors to the zroot pool, and removing ada0p3 and...
  2. F

    ZFS SSD Tuning for a Desktop Use

    Dear All, looking for some info to tuning and extend the life of my SSD disks I couldn't find any valuable information. The documentation reports: None of these make sense for me. My knowledge of FreeBSD is still very limited and my knowledge of ZFS is even narrower. On Linux I can...
  3. B

    ZFS zfs receive cannot create snapshot with multi-snapshot stream

    Hello, Trivial task. Create backup of system bootable zfs pool with several datasets and then restore it. system: root@:~ # uname -a FreeBSD 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021...
  4. S

    Solved When does it make more sense to use multiple vdevs in a ZFS pool?

    I know for one thing that if the primary concern were protection against disk failures, raidz3 would be the way to go. In such a scenario, If I had 7 disks, I would create a pool like this: pool: tank state: ONLINE scan: none requested config: NAME STATE READ WRITE...
  5. W

    Booting From an Alternate Disk in a Mirrored ZFS Root Pool

    Following this guide I created a mirror disk for my zroot. So, I decided to disconnect the main zroot disk to see if the other one was booting (I installed the bootcode on the disc). When the system boot, ZFS cannot boot the mirrored disk and display just a series of writing errors as : ZFS...
  6. tarkhil

    My zpool exploded

    Severl hours ago my zpool suddenly exploded. The server rebooted and could not boot. root@:~ # zdb -AAA -F -d -e iile-boot zdb: can't open 'iile-boot': Integrity check failed root@:~ # zpool import pool: iile-boot id: 4380822407036168996 state: FAULTED status: One or more devices...
  7. grahamperrin@

    Improvements to sysutils/lsof

    sysutils/lsof Background – and so on. Now Good news. Significant improvements ahead: https://github.com/lsof-org/lsof/pull/184 Related FreeBSD bugs include: 253553 – sysutils/lsof: no zfs support on 13 260235 – sysutils/lsof: filenames missing on FreeBSD >= 13, due to namecache field...
  8. K

    ZFS ZFS basic questions

    Hi Everyone, I've started to use ZFS instead of the venerable UFS and would like to clarify some points about vdevs and zpools. My understanding is that the primary purpose of vdevs is to allow the combination of several disks to be used as a single virtual disk, and the primary purpose of...
  9. N

    ZFS ZFSz2 pool Faulted Unavailable cannot open

    Hello I tried a fresh install of Truenas scale (debian) and imported the pool from Truenas Core (FreeBSD) and it broke the pool disks somehow. It's a raidz2 configuration 6 disks. The 2 unavailable drives here in Core (freebsd), ARE AVAILABLE when I boot with Truenas Scale (debian), but some...
  10. K

    ZFS Chosing FS and options for Gateway/BRAS on SSD

    Hello collegues! I got a task which I cannot find a solution. There is a server wich will act as BRAS or gateway, so it will just only boot from disk and then will not use it for working purposes. The idea is to use ssd with ZFS and mounted-out logs and other rewritable data with tmpfs. This...
  11. priyadarshan

    Solved FreeBSD equivalent of Linux's ZED "ZFS Event Daemon"?

    I came to know about Linux's ZED here. Perhaps in the future it will be upstreamed to OpenZFS, and will appear in FreeBSD. Until that time, is there a way to take action when ZFS events happen? Illumos has https://illumos.org/man/1M/syseventadm which allows to runs programs in response to...
  12. tarkhil

    Solved ZFS recover: is it possible to omit importing one pool?

    Hello I'm working on the broken zpool. All attemps to import, including zpool import -F -T 12855264 -R /mnt -f rpool, resulted in Dec 4 12:56:54 freebsd kernel: Solaris: WARNING: can't open objset 1035, error 5 Dec 4 12:56:54 freebsd ZFS[10143]: pool I/O failure, zpool=rpool error=97 Dec...
  13. gpw928

    Solved ZFS and concats

    To reorganise my zfs server, I need to vacate the tank, temporarily. It's currently configured with 5 x 3 TB disks in RAID-Z1 format. These disks are nearly 10 years old. Two of the originals have failed already, and I want to move to RAID-Z2 as soon as possible. I already have two spare...
  14. G

    ZFS ZVOL (error=63)

    Hi, I know it's a known bug, but I just want to clarify a few things, because it's not clear for me. So, when the ZVOL name is too long, and volmode is set to GEOM, we see that no device is created under /dev/zvol... path, and we can see error=63 in /var/log/messages. My understanding was that...
  15. pwgcz

    stat st_birthtim show UNIX Epoch Time

    Hello, I have problem witch stat command, when create file the time stamp st_birthtim show date Jan 1 00:59:59 1970 The full command: root@pwgcz:~ # stat test.txt 100 79525 -rw-r--r-- 1 root pg 0 0 "Nov 19 15:53:20 2021" "Nov 19 15:53:20 2021" "Nov 19 15:53:20 2021" "Jan 1 00:59:59 1970"...
  16. alfikmik

    Solved create sub jails in jailed enviroment

    Hi there, I'm curious if it is possible to create sub jail in jailed enviroment (Jail + ZFS) HOST -> JAIL -> (subjail1, subjail2...) If the answer is Yes, what should I do, what to read?
  17. A

    ZFS gptzfsboot slow boot on FreeBSD13, gptzfsboot: error 128 on FreeBSD12.2

    On a FreeBSD13-p5 system with two zfs pools, each 6x18TB (ada0-ada11) with 4k sectors (sector size logical 4096, physical 4096, offset 0), gptzfsboot takes about 3 minutes to reach the bootstrap loader. There are no error messages. BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS drive E: is...
  18. J

    ZFS Recommendation for 100TB raid-z pool

    I need to provide a network drive for an SME with 100 TB usable capacity. I would like to use a ZFS raid-z3 pool consisting of 14x 12TB SAS or SATA drives (this will be a rare-write/many-reads situation). I have been looking at chassis like the SuperMicro SC846BE1C-R1K03JBOD. Given that I'll...
  19. V

    ZFS Reduce(shrink) root zfs partition

    I had this same problem some months ago over nixos with root zfs and the 'best answer i got' was it can't be done with openzfs and i should planned this and i agree but the point is not that i shouded plan this instead is i didn't, now how can i do that?. i founded this guide over vultr about...
  20. spork

    jails Can't unmount zfs datasets in jail

    I'm stumped here - trying to delegate a zfs dataset to a jail (using another pool) within iocage... My config has what appear to be all the proper settings to allow a root user in the jail to manage zfs, and it all seems to work, but I cannot unmount any datasets. Here's the config: {...
Top