zfs

  1. C

    ZFS dedicated zfs disk and gpart : what good practices ?

    Hi all. Using ZFS raidz quite a lot in my work; I used to give zfs whole disks as it is told ZFS love to manage itself entire disks. Unfortunately this way of managing disks leads to disks without labels/partitions scheme : the partition table remains clear , so it not clearly visible to...
  2. Keve

    Solved Modifying ada0 ZFS /boot/loader.conf booting from rescue USB

    I have a playground FreeBSD system, single disk, 12.1R/amd64 installed on ZFS. Two GPT partitions on ada0. An 512k freebsd-boot, followed by a zfs partition covering the rest of the disk. Absolutely no valuable data on disk. It really is just my playground. Here is what mount shows on the...
  3. scotia

    ZFS Preventing automatic import of pool

    Hi, Is there a ZFS pool property that can prevent its automatic import? I have a geli-backed mirror and when I manually attach the first provider, ZFS imports the pool (degraded, obviously). When I attach the second provider, ZFS re-silvers the pool. Is there a toggle to prevent the...
  4. decuser

    New FreeBSD safe updates using ZFS BE's video

    I posted a new video in my FreeBSD video playlist about using ZFS BE's for doing safe (and unsafe) updates and changes. The videos aren't studio productions, by a long shot, but they should be instructive... Having been a newb, I'm hoping to make the videos I put up be useful for relative...
  5. M

    ZFS Create RAID-Z1 pool in degraded mode?

    Can I create a RAID-Z1 pool consisting of five vdevs (each a physical disk) but using four vdevs (each a physical disk) attached and marking one as missing and then later add that one disk to make the pool online instead of degraded? I'm trying to fit 9 disks into 8 slots, and without a hammer...
  6. M

    ZFS Convert root dataset into a child one?

    I have mistakenly copied 10M+ files onto a spinning mirror (copy process took two days, deletion process from old source still going on and probably going to take four days) that is the root dataset of a 2-vdev mirror pool. The mistake is that I did not create a specific dataset in the...
  7. dave

    ZFS Permanent Errors on Disk Replacement Resilvering

    pool: tank state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A...
  8. decuser

    ZFS Unable to chflags on ZFS filesystem

    I tried to chflags a newly minted file in my home directory and got "operation not supported". I tried it as sudo and as owner to no avail. I have tried it on my ufs systems and it worked, but now, on my ZFS system, it doesn't. I'm not sure ZFS is the issue, but would appreciate some...
  9. T

    Slow network performance on WAN

    I have multiple laptops running FreeBSD 12.1 (used as a router, only 1 is active at a time) and all are maxing out at < 100 Mbps and I should be getting 200 Mbps. I tried the same hardware booted up to Ubuntu and it is seeing > 200 Mbps, so I am sure it isn't hardware. I also have tried...
  10. joel.bodenmann

    ZFS ZFS snapshot root

    Is it possible to create & rollback a snapshot directly on the pool level? Or does this need to happen on the dataset level. Basically: zfs snapshot -r zpool@mybackup I noticed behavior on my "new" FreeBSD laptop that I would currently describe as "unexpected". My procedure: $> zfs snapshot -r...
  11. N

    ZFS Force to import -f zpools on boot in dual boot machine

    I have Linux and FreeBSD installations on two different disks (Ext4 and UFS) and I keep my data on a separate hard disk (zfs). When I switch from Linux to FreeBSD the pool is not loaded on startup so I have to run: zpool import -f mypool as FreeBSD understands that the pool was used in a...
  12. vrurg

    ZFS VMWare+bareos == ZFS problems after restore

    My question is going to have some prelude because any step of those leading to the final situation could be important. We're using bareos with vmware plugin to backup our VMs from ESXi hosts. Not so long ago we totally lost a data center and I got a weird backup at my hands. Because the vCenter...
  13. gladiola

    Solved Planning ZFS encrypted swap and clearing it later

    My main questions are: - What is the best way to clear a ZFS encrypted swap if it fills up? - If we allocate swap space at the rate of twice the available RAM, then how will we have enough memory to clear the swap? It seems like, during a situation where we intervene to maintenance or clear...
  14. A

    ZFS Update: HDD went offline while resilvering is in progress || Is this a valid & up2date guide for replacing existing disks with larger disks?

    Hi @all, I want to replace my old small disks with larger ones in a VDEV (RAID-Z1). Is this guide valid and the easiest way of doing this? https://madaboutbrighton.net/articles/2016/increase-zfs-pool-by-adding-larger-disks Maybe there are any features that might be implemented since 2016 which...
  15. repcsi

    Solved ZFS Pool got corrupted, kernel panic after import

    I'm just guessing now but I probably had an issue with my main storage machine, probably a faulty power supply. The issue is that it rebooted multiple times despite connected to UPS. I believe my pool got corrupted, and the machine just constantly rebooted, tried to import/mount then panic, then...
  16. H

    ZFS How do I make sure usb external disks added without raid to zpool are properly seen by the system?

    Last time I tried this, I had trouble where the box would not boot. I think the device id of the usb external disks changes on reboot. I wonder if this is solved by plugging all the external drives in and rebooting before I add anything. Should there be a way that ZFS just knows which drive is...
  17. F

    Solved Deleting ZFS datasets

    I set up a couple of jails and ports trees with iocage and pot and poudriere, which all use zfs. I'm done using these jails and have unmounted and deleted them from the /usr/local/poudriere .etc but in the output of zfs list there are still a great number of datasets beginning in zroot that are...
  18. T

    Unlock GELI on boot with USB stick

    My system is encrypted with GELI and uses the AUTOZFS partition schema. I can successfully boot up without issues. I would like to make a backup system that boots up with a USB key, and then after booted, I will remove the USB key. The backup system is completely headless, but if needed, I...
  19. M

    ZFS Snapshot rollback question

    Greetings all, let us say that a snapshot of a data-set has been created, e.g. zfs snapshot tank/data-set@today . The snapshot has then been transferred to a different server, e.g., /storage/backup/data-set@today. With zfs rollback storage/backup/data-set@today, the resulting mount-point will...
  20. A

    Boot splash kills geli encrypted FreeBSD

    Hello, Just installed in VM FreeBSD on geli encrypted ZFS. All went well however after installing Xorg password prompt is hidden behind splash screen so no way to enter password. Unfortunately there is nothing to unset at boot prompt (option 3). I could just remove splash picture from single...
Top