zfs

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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)]...
  6. 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...
  7. 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...
  8. 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...
  9. 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 /
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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?
  16. R

    ZFS 2x3tb as one raidz member

    Hello) Now i have raidz1 of 4x3tb disks. I want to upgrade it to raidz2 6x6tb disks. 3tb disks are good and functional, and i want to use them in new array. Is there a way to make 2x3tb disks to be 6tb member of raidz2? man says: Virtual devices cannot be nested, so a mirror or raidz virtual...
  17. iyoti

    ZFS Advice on configuring existing media server (ZFS)

    Hey all I've a media server with: 2 × 466GB NVMe drives for OS 12 × 5TB HDDs for storage 1 × 699GB SSD for "performance" (Crucial CT750MX300SSD1, which may be relevant for questions below) 32GB RAM 12-core CPU All are SATA drives. I have 2 zpools set up, the first in a mirror for OS which is...
  18. W

    Cleaning up after zfs send|recv on my zroot

    Hi I recently decided to move my FreeBSD installation onto a new drive. Since I was using ZFS, I achieved this by inserting the new drive, and then using the memstick installer on a USB drive to perform a basic install. After this I dropped to a shell, unmounted all the destination datasets...
  19. I

    ZFS What is the relavance of the "passphase" (to create/generate the "master key") for ZFS encryption when it (the "passphrase") can be changed later?

    When we encrypt the ZFS disk (whole volume), we need to enter a "passphrase". However, a "master key" is created to encrypt the data. The "passphrase" is the key to unlock the "master key". So, we can change the "passphrase" later and the "master key" remains the same but will be secured by the...
  20. dave

    Solved freebsd-update to 13.1-RELEASE Fails to Boot

    I was using freebsd-update to upgrade a box to 13.1-RELEASE. Here is the command I used to start the process... freebsd-update upgrade -r 13.1-RELEASE I followed the usual process and when prompted to reboot the first time, rebooted. Now I get this... | \ ______ ____ _____...
Top