Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [zfs]

ZFS is a combined file system and logical volume manager designed by Sun Microsystems The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.. -Wikipedia

1
vote
0answers
64 views

How to dual boot FreeBSD and Linux on the same Hard disk?

I tried installing FreeBSD 12 release version on my system which already had 3 Linux OS installed. It was the minimal install iso image. My internal HDD with GPT partition table. I tried using the ...
3
votes
1answer
55 views

Can ZFS subvolumes contain other filesystems?

I want to format a subvolume with a filesystem other than ZFS, since a program I use needs certain File System features ZFS doesn't have (Portal 2 on macOS has File System constraints). APFS has a ...
0
votes
0answers
13 views

How change device name into a zpool?

I removed two disks from a freranas system. These two disks are formatted in ZFS. These two discs are configured in Mirror (RAID1). I have inserted these two disks on another system but I did not ...
0
votes
0answers
31 views

Recommended recordsize for a zfs dataset hosting a Netatalk CNID backend database? (.AppleDB)

Which is the recommended record size for a zfs dataset hosting a Netatalk CNID backend database?? (.AppleDB) The plan is to use a zfs dataset exclusively for the Netatalk CNID backend, and configure ...
2
votes
1answer
43 views

ZFS incremental snapshot send/recv without first snapshot

I have the following ZFS dataset: pool/dataset pool/dataset@snap1 pool/dataset@snap2 pool/dataset@snap3 Which has been replicated to a backup pool, using ZFS send/recv backupPool/dataset backupPool/...
3
votes
1answer
100 views

ZFS on Linux: cannot destroy snapshot, dataset is busy

I'm trying to delete a bunch of old ZFS snapshots but I get errors saying that the datasets are busy: [root@pool-01 ~]# zfs list -t snapshot -o name -S creation | grep ^pool/nfs/public/mydir | xargs -...
1
vote
2answers
65 views

Most ironclad way to make root installation redundant and maximize uptime? RAID, ZFS or something else?

I would like to set up my desktop computer (which is actually a server for the KVM guests I do my actual work in) to have a redundant root installation. If one drive dies I want to quickly get back ...
2
votes
1answer
19 views

Unable to explain zfs referenced after rsync

I have an aging Centos NFS server with a few different ZFS datasets. I've been migrating the data to a newer NFS server using rsync. The new server is also a Centos ZFS host. My issue is that for one ...
1
vote
1answer
54 views

task z_iput blocked more than 120 second

I using zfs to store VMs backup , but when i run multiple Jobs at the same time sometimes this appear in dmesg INFO: task z_iput:63527 blocked for more than 120 seconds. "echo 0 > /proc/sys/...
1
vote
1answer
34 views

Can ZFS onlinux be upgraded to newer versions

I want to install zfs on linux on a clean NAS installation, but I would really like the native encrytion feature that comes with the next (0.8) release. My question is; If I install the current ...
0
votes
0answers
15 views

System created desktop icon won't access zfs mirrored pool

I had my Linux Mint 19.1 installation put icons (links) to my filesystem and removable drives by right-clicking the Desktop, clicking Desktop Settings > Icons tab then checking Removable Devices in ...
0
votes
1answer
108 views

FreeBSD can't mount home partition

I've been having an issue with my first installation of FreeBSD. As I always do in GNU/Linux I created separate home and root partitions. The issue I've been having is that my home partition doesn't ...
2
votes
1answer
114 views

What are data integrity / bit-rot protection options on CentOS 7?

I have a 2 disk CentOS 7 machine build that that I need data integrity / bitrot protection on. How can I achieve this? Note from my reading btrfs,zfs and DM-Integrity does not seem to be options. ...
2
votes
1answer
57 views

ZFS: How could my file got permanently corrupted?

I'm trying to understand what could have gone wrong. for context: I have a mirrored set with 3 drives and non-ECC memory. Not sure what else to share. I was under assumption that having a 3-way ...
2
votes
1answer
34 views

ZFS *file* backed zpool for snapshots… safe in production?

Are there any disadvantages of single file vdev zpool other than absence of fault tolerance which make it dangerous or impractical for production use? e.g performance or stability concerns? The man ...
0
votes
0answers
52 views

ZFS zpool failures on boot-up

I am using ZFS on Ubuntu 16.04 which uses systemd. My boot drive is an SSD and sometimes I have USB drives attached. The ZFS volume is 10 raidz2 drives with 2 hot spares. On my most recent reboot ...
1
vote
1answer
71 views

ZFS cannot delete directory tree

Debian 9 (stretch) with ZFS 0.7.12 on kernel 4.15.18-9-pve. I have a ZFS pool with a dataset: zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 2.81T 39.3T ...
1
vote
0answers
81 views

Can't import online zfs pools (zfsonlinux)

I am running a home NAS alongside my desktop (I'm dual booting windows and Fedora 29) and for some reason, I couldn't import my zpools today. I'm trying to access via Fedora 29 or a Ubuntu Server 18....
3
votes
0answers
90 views

FreeBSD 11.2: how to resize the boot options menu on a UEFI/GPT/ZFS machine?

Is there a way to resize the boot options menu in Freebsd 11.2 on a UEFI/GPT/ZFS machine (zfs-on-root)? On multiple machines, the installation resulted in the boot options menu being rendered in a ...
0
votes
1answer
157 views

UFS2 file system in FreeBSD - reliability in case of recovering from power outages?

I am planning a bare metal installation of FreeBSD 12-rc3 in my desktop with 6GB DDR3 non-ECC RAM and core i3-2120 based system. My concern is in a rare case of power failure, how well UFS2 will work? ...
1
vote
0answers
70 views

How to back up two ZFS pools to a backup pool with regular snapshots and incremental send/recv

I'm running ZFS on my home studio machine. I have two pools: ssdtank - holding the operating system datasets, swap zvol etc. hddtank - holding user data I have a backup USB HDD that I want to use ...
0
votes
1answer
233 views

Restore ZFS Pool and storage data after a system re-install

I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online. I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive ...
3
votes
1answer
578 views

How to create a GRUB entry for a FreeBSD on ZFS installation?

To be clear what I want is a FreeBSD GRUB2 entry that boots FreeBSD on a ZFS (name: zroot) with BIOS firmware (not UEFI). The operating system GRUB is installed on is Arch Linux if it helps, Arch is ...
0
votes
2answers
46 views

ZFS magically vanishing available storage space

Running zfs on a system, and my root partition has been shrinking with seeming no explanation. I have now run out of space and can't find where it all went. A simple df shows the following (You can ...
0
votes
0answers
20 views

Choosing a ZFS dataset I want to boot from

I have a machine running Linux Mint from a ZFS root filesystem. Recently I had a serious performance problem that I wasn't able to fix. I've created a clone from an older snapshot of my root dataset, ...
0
votes
1answer
15 views

How do I create ZFS pool with 4 drives and mirrors

Is it possible to create ZFS pool with 4 drives (sda, sdb, sdc, sdd) where sda and sdb are mirroring each other and sdc with sdd do the same ?
1
vote
1answer
111 views

How do I control whether ZFS arrays show in the devices pane in Ubuntu?

I am using Ubuntu Bionic 18.04 with XFCE as my DE. I have mounted a zfs array 'big-tank' to /media/big-tank, however, it does not show up in the devices pane. Additionally, the leftover space from a ...
1
vote
1answer
133 views

Why does ZFS on Linux not read from the cache?

I have a test zpool set up with a single, USB-attached 4TB spinning disk which reads at about 40MB/sec. I have four ~300GB fast SATA2 internal SSDs set up as cache for this disk. I can read about ...
1
vote
1answer
179 views

Mounting nested ZFS filesystems exported via NFS

I have a linux (ubuntu) server with a zfs pool containing nested fileystem. E.g.: zfs_pool/root_fs/fs1 zfs_pool/root_fs/fs2 zfs_pool/root_fs/fs3 I have enabled NFS sharing on the root filesystem (...
0
votes
1answer
40 views

What FS can reclaim unused blocks to VirtualBox when dynamically allocated image is used?

I like to use dynamically allocated images in VirtualBox. It is preferred way if you like to distribute you image (remember Vagrant?). What Linux FS can reclaim unused blocks to VirtualBox when ...
1
vote
1answer
113 views

Freebsd11-2: zpool import not surviving reboot

I have a FreeBSD 11.2-RELEASE install on a SSD and a zpool mirror named tank consisting of 2 hard drives. There is no problem importing it manually: zpool import -R /mnt tank then zfs get all tank ...
-1
votes
1answer
69 views

is it normal that there are a lot of zfs related kernel threads in ubuntu trusty

I have tow native zfs pools of a 2T harddisk of mirror 1 on my home desktop pc. But there are 658 kernel threads of z_fr_iss1,z_ioctl_iss z_ioctl_int z_zvol z_iput z_rd_int z_null_iss z_null_int ...
0
votes
1answer
234 views

How can I install a Windows 10 KVM VM on a ZVOL: pick the correct virtio drivers

I was trying to install windows 10 on an NTFS formatted zvol, but I kept getting BSODs: user@ubuntu:~$ virt-install \ > --name myWINVM1 \ > --ram 4096 \ > --disk path=/guest_images2/myWINVM1....
1
vote
1answer
828 views

How do I create a zpool using uuid or truly unique identifier?

I created my first zpool the other day, assigning by drive letter, and found that when I rebooted it was degraded. Upon closer inspection, I realized that my drive letters had changed with reboot, so ...
3
votes
1answer
252 views

Replacing disk when using FreeBSD ZFS zroot (ZFS on partition)?

How to replace broken disk with new when using ZFS on root? I have 4 disk RAIDZ2 pool using zroot. This means that ZFS is running on separate partition instead of using whole disk. I didn't find any ...
0
votes
1answer
74 views

zfs linux file level disk usage confusion

I am using ZFS on linux and I am confused on why the actual disk usage of files (as reported by 'du') seems so all over the place. I created a pool called 'vault' on a hardware Dell PERC RAID (just /...
2
votes
2answers
42 views

How to stop people disturbing a ZFS dataset which is only used to receive?

I have two machines, "sender" and "receiver". Sender runs the following command each night: zfs send -i bpool/backups@2018-09-04 bpool/backups@2018-09-05 | ssh receiver /sbin/zfs receive bpool/...
0
votes
0answers
119 views

Mountpoint for multiple ZFS rootfs datasets (on Arch Linux, with sd-zfs)

I am using ArchLinux on a ZFS root file system, booting with systemd and sd-zfs (mkinitcpio-sd-zfs). I am experimenting with multiple root filesysem datasets, either cloned from snapshots or created ...
0
votes
1answer
27 views

Report directories with contents that exist elsewhere even if scattered

I want to generate a report of directories that I know I can safely delete (even if requiring a quick manual verification), because I know that the full contents all the way down, exist elsewhere--...
4
votes
1answer
410 views

How do I install FreeBSD alongside Linux, with the ZFS file system for the root?

The installer of FreeBSD 11.2 makes it fairly easy to install FreeBSD with a UFS root partition alongside Linux, using the Auto (UFS) option in the following dialogue: Next it gives me the option to ...
0
votes
1answer
190 views

Understanding smartctl and hard-drive errors

I have a raidz2 ZFS pool and my 2 disks started to give I/O error and after that zfs marked them as faulted. click for dmesg log I removed the disks and I ran some test on them. Smartctl says; DISK ...
1
vote
1answer
254 views

Cannot create poolname : no such pool or dataset

I destroyed an existing zpool by running zpool destroy -f poolname Now I try to create a new pool sudo zpool create -f poolname xbd0 xbd1 xbd2 xbd3 cannot create 'poolname': no such pool or ...
1
vote
1answer
231 views

Adding ZFS to a Preseeded Debian Installer

I'm looking to create an (internal, for legal reasons) preseeded debian (stretch) installer that will automatically create a root zpool from all available HDs instead of going through (whether ...
0
votes
1answer
94 views

Zfs send snapshot to different server with different layout

So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet. But i have two servers, and i want one to be the backup server of main server. I moved disks ...
2
votes
1answer
543 views

Why is fio seq_writes so much faster than dd?

I have a zfs server, where I ran a couple of dumb tests just for understanding, and it puzzles me. Context:- FreeBSD 11.2, ZFS with Compression enabled, SAS HDDs, RAIDz2, 768GB of memory. Both ...
5
votes
1answer
1k views

How to create a ZFS zpool that GRUB can read

The Arch Linux ZFS wiki page explains grub-compatible pool creation, as does this page about booting Fedora, but I have not been able to create a pool that is readable by Grub. The Arch Linux wiki ...
0
votes
0answers
171 views

Recover deleted container or snapshop from ZFS

I am using LXD to manage Linux containers, and deleted a running container using lxd delete --force test. LXD is using a ZFS pool. The container was snapshoted periodically, is it possible to recover ...
3
votes
1answer
115 views

How to force OmniOS (illumos) “format” properly recognize disk geometry?

I have a FreeBSD-initialised 8-disk vdev, all 10TB WD RED, now on a server with OmniOS r151026, connected via LSI 3008 HBA. At POST, the card shows all disks with right geometry (I can post picture ...
1
vote
0answers
244 views

Fedora accessing SMB Share - Every file has x flag set

i have a fileserver with samba that shares 2 zfs datasets. uname -a Linux pve 4.13.16-1-pve #1 SMP PVE 4.13.16-45 (Wed, 28 Mar 2018 15:47:11 +0200) x86_64 GNU/Linux cat /etc/samba/smb.conf [global] ...
0
votes
0answers
36 views

ZFS on Linux after update falsely claims that pool is damaged

Until yesterday, I have run Linux kernel 4.9 with zfs / spl 0.6.9.5 (I believe). zpool status and other diagnostic commands did not show any error with the ZFS pool (I am only having one pool). Today,...