zfs

  1. kr0m

    Solved Question about ZIL/SLOG

    I have been reading about ZFS-ZIL/SLOG, I understand how it works and the benefits it provides, but I am confused when ZIL is used. When an application needs a sync write, data is written to ZIL which if I have understood correctly is located in pool disks, so why don't use the pool directly if...
  2. dnb

    Solved Very slow performance on Thinkpad T440p (ZFS?)

    On my Thinkpad T440p laptop performance is very poor. Even xterm opens with a slight lag. And this despite the fact that the xmonad window manager is used. I must say that in general this is a pretty peppy laptop with top configuration for 2015 (i7 haswell + 16gb ram + ssd samsung pro), if you...
  3. C

    ZFS ZFS for encrypted home directory decrypted at login?

    I'd like to set up a FreeBSD installation with only my home directory encrypted. I've fiddled with GELI, and I'd like the machine to be one I can reboot remotely, so typing a password in at boot is a non-starter. I'm aware that it's possible to do an encrypted user directory that is...
  4. 0

    ZFS NVMe / controller trouble

    Hello everybody, I've set up a storage server with the following ZFS pool configuration: NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT storage ***** ***** ***** - - 7% 16% 1.00x ONLINE - raidz1 ***** ***** *****...
  5. tanis

    Solved pefs with ZFS on FreeBSD 13.1-RELEASE-p2

    Hi @ll, Is anyone experiencing any issues with pefs with ZFS on 13.1-RELEASE-p2? I just upgraded to 13.1-RELEASE-p2, all packages have been upgraded as well. I'm using pefs to encrypt my home directory, but now I get some really strange behavior on every file operation. When I login using...
  6. 174bpm

    bhyve Bhyve vm folders empty on reboot, but `init 1` fixes it

    Hey all, Somewhat new to freeBSD here. Apologies in advance if this question is already answered somewhere (I have looked) or if this isn't the right venue. If that is the case, kindly let me know! Anyhow, so I have a FreeBSD 13.1 server hosting a bunch of jails and some Bhyve VMs. I created...
  7. spmzt

    Solved How to move the entire OS to another disk?

    Hi, I want to move the entire OS (GELI+ZFSOnRoot) to another disk. I had execute these commands to make this happen: Setup my new disk partition table (similar to old one): gpart create -s gpt nvd0 gpart add -a 1M -s 260M -t efi -l efiboot1 nvd0 gpart add -a 1M -s 4G -t freebsd-swap -l swap1...
  8. iyoti

    ZFS Help with tuning ZFS settings for large media files?

    Hey, I'm looking for help to make good use of the hardware I have on my media server, which stores lots of large files: primarily 4k video, but also lots of VM backup and OS images. This is a read-heavy system, so read throughput to the network is my main goal. Any hints you can give me on...
  9. S

    Solved Issue with ZFS remote replication of snapshots...

    I am trying to write a script in Python 3.7 that will run at night and keep an exact replica of a source ZFS pool on a remote machine, all datasets and snapshots included. Of course, it has to an incremental replication. I know for one thing that I can use the subprocess module, but that has...
  10. Alain De Vos

    ccache problem

    I've had problems with ccache. I don't know why. In one of the directories I have stats.lock. And I am unable to remove that file. a:root: /tmp/ccache_old/4 #rm stats.lock rm: stats.lock: No such file or directory a:root: /tmp/ccache_old/4 #aa [./stats: No such file or directory (os error 2)]...
  11. T

    ZFS ZFS reported space

    Hi, I have a Netgate 6100 pfSense appliance with ZFS. Everything is working fine and I know there is nothing wrong here but I am just trying to understand how the space is reported by each of the tools. diskinfo reports 477GB in bytes and the pfSense zpool list is 472GB. Where are the missing 5...
  12. M

    FreeBSD 13.1 : ZFS NFS : .zfs/snapshot : Stale file handle

    Hi, since upgrading to 13.1-RELEASE of FreeBSD I can't anymore access to .zfs/snapshot folder over NFS. On Ubuntu or Debian client when I tried to acces do .zfs/snapshot I obtain : Stale file handle medic:/home/user1 on /home/user1 type nfs...
  13. iyoti

    Solved ZFS: Trying to replace faulted drive with new, getting "cannot zero first 4096 bytes"

    Hey everyone I have a zpool in raidz2 configuration. One of the drives faulted, so I took it offline and replaced the drive in the space. Now I'm trying to zpool replace {poolname} /dev/ada0 and I'm getting cannot zero first 4096 bytes of '/dev/ada0': Input/output error. Taking a look at...
  14. spmzt

    Solved Enable Multi Label in ZFS?

    Hi, How can I enable the multi-label (Mandatory Access Control) in ZFS? Equivalent to this command: tunefs -l enable /
  15. goshanecr

    ZFS Increase maximum 127 of ACL entries

    Hi Friends! I'm built a ZFS+Samba+ACL+AD scheme for using at work. All works, but I'm found that maximum ACL entries on FS item are 127. Since my scheme uses final AD-users, not groups - I see that this limit can be theoretically a problem for me. So can this maximum be extended? And if not...
  16. K

    Weird disk usage/free space in ZFS?

    Greetings. In my root "/", I type; du -hsx * | sort -rh | head -10 and get; # cd / # du -hsx * | sort -rh | head -10 476G root 84G usr 3.1G var 119M boot 8.7M lib 8.3M rescue 4.3M sbin 3.9M tmp 2.2M etc 960K bin being totally 563,1 GB disk usage in my system...
  17. K

    ZFS optimization for MariaDB/MySQL server?

    I'm planning to set my MariaDB SQL server with the following options on FreeBSD 13.1 + ZFS. I'm planning a modest, non-dangerous set of options: skip-innodb_doublewrite symbolic-links=0 max_allowed_packet=512M max_connections=250 innodb_io_capacity=15000 innodb_doublewrite = 0...
  18. K

    Single sqlserver jail+ZFS for other jails, but how?

    Greetings. I have few jails running nginx on my FreeBSD 13.1 host. I'd like to create another jail for their SQL database needs. I'd like to create ZFS dataset for this purpose (for MySQL jail) but should I create it on host? If the dataset is created within the host, could the Jail access it...
  19. K

    Nginx: sendfile or aio on FreeBSD 13.1+ZFS?

    Greetings. Nginx states (Changes with nginx 1.21.5 - 28 Dec 2021): Change: now nginx always uses sendfile(SF_NODISKIO) on FreeBSD. So it seems, it uses "sendfile: on;" by the default on FreeBSD. Afaik, sendfile should be off for FreeBSD and ZFS, to avoid redundant data caching. I'm on ZFS...
  20. R

    ZFS exclude zfs pool from boot

    man for gptzfsbool says "The first pool seen during probing is used as a default boot pool." Is there any way to boot from another pool?
Back
Top