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

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
2answers
39 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
17 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
42 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
20 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
12 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
47 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
83 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
42 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
30 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
27 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
0answers
47 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
56 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
63 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
101 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
44 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
106 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 ...
2
votes
1answer
348 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
33 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
19 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
13 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
90 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
95 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
0answers
106 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
34 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
83 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
55 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
189 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....
0
votes
1answer
433 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
163 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
55 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
40 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
94 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
26 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
329 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
136 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
217 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
180 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
82 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 ...
1
vote
1answer
425 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
910 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
137 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
0answers
91 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
221 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
29 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,...
0
votes
0answers
62 views

DRBD+ZFS - Import ZFS pool from config file

I have 3 disks in zfs raidz mypool at dc1. Disks are replicated via drbd in another dc2. When I export mypool and import it in dc2, everything works. Lets say, 2 disks will crashed in dc1, so I would ...
2
votes
1answer
408 views

ZFS deduplication does not work

I have created pool tank1 and fs tank/home. [root@zfs]# zfs list NAME USED AVAIL REFER MOUNTPOINT tank1 3.22G 381G 32.0K /tank1 tank1/home 3.22G 16.8G 1.95G /tank1/home I ...
2
votes
0answers
271 views

Signing a compressed kernel module for use with Secure Boot

I'm having a little trouble signing my zfs module in Fedora 27 using UEFI/Secure Boot and I hoped someone here might be able to help. As a quick explanation for how I would normally do this, I sign ...
0
votes
1answer
52 views

pacstrap refuses existing directory [closed]

I want to install archlinux with a ZFS root. pacstrap refuses to work because /mnt/var/mail already exists (because I want a dedicated zfs volume for this directory). How can I fix this ?
1
vote
3answers
773 views

ZFS on Linux (RHEL 7.5) ls: reading directory .: Not a directory

We have a Linux server that is running ZFS on Linux 0.7.8 and RHEL 7.5. The /home filesystem is ZFS. It was working fine until users reported that the filesystem was not accessible. Zpool show the ...
1
vote
0answers
135 views

Confused about using `setuid` on a FreeBSD mounted dataset to ensure all files/dirs have a fixed owner?

Initially I thought that what I'm trying to do was simple. But the more I look at FreeBSD man pages, the more confused I'm getting about whether it's even possible. I have a zfs pool that is used for ...