zfs

  1. 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...
  2. 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)]...
  3. 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...
  4. 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...
  5. 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...
  6. 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 /
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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?
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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... | \ ______ ____ _____...
  18. Snubbi

    Solved Recommendations UFS or UFS on workstation

    I'm new to FreeBSD, and right now I'm practicing installing and setting it up in VirtualBox on a Linux machine. What are the disadvantages e.g. by using UFS. So far I have used Clonezilla for Bcakup of my computers. Clonezilla cannot backup ZFS. What do I do if I choose ZFS file system. I have...
  19. Sergei_Shablovsky

    ZFS Complete tool for automated backups (to Amazon AWS, Google Cloud, or Microsoft Azure or INTERNAL storage)

    Hi FreeBSD Gurus! Please suggest me tool (ready-to-use package with webGUI for tuning and operation, would be perfect) to automate/schedule backup (whole ZFS drive or part of it) on the fly to cloud drive like AWS. Ability to making backup on external mass storage (USB/SATA/FC-connected) would...
  20. JozanOfAstora

    Solved ZFS not loading pool in multi-user

    Hi, after reboot I was surprised with a "no pools available to import" error during boottime, leaving my system stuck with a failed /etc/rc script. I have only one zpool, geli encrypted, pretty much the defaults zfs settings on install. The problem does not exist in single-user mode and I am...
Back
Top