Stack Exchange Network

Stack Exchange network consists of 174 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-...

1
vote
0answers
22 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....
0
votes
0answers
13 views

Importing ZFS pool takes forever on boot

I recently moved my Gentoo (OpenRC) root to ZFS, and so far everything works great, except for one thing: importing zpool takes a long time (one-two minutes) on boot. After the import is finished it ...
3
votes
0answers
36 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
44 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
22 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
38 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
122 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
30 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
17 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
10 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 ?
0
votes
0answers
58 views

Can we install FreeBSD 11.2 with ZFS in a partition of a single hard drive, dual booting with Linux

I have a Core i3 2nd gen desktop with a hard drive which has got Devuan Linux and Windows 10 in UEFI-GPT mode installed. There is the EFI partition already created by Windows 10. I'm planning to ...
1
vote
1answer
78 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
60 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
60 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
0answers
30 views

ZFS on mdadm: Implications?

I am considering setting up a RAID array with mdadm/Linux RAID, and using the ZFS filesystem on the resulting device (ie. /dev/md0). Many would suggest using ZFS to create the RAID array directly, ...
0
votes
1answer
30 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
35 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
39 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
63 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
135 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
75 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
41 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
36 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
71 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
20 views

Report directories with contents that exist elsewhere even if scattered

This is not a "how do I deduplicate files" question. This also isn't a "how do I find duplicate directories" question. Those questions have been asked and solidly answered dozens of times on various ...
4
votes
1answer
191 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
78 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
152 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
116 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
61 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
281 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 ...
4
votes
1answer
598 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
94 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
85 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
184 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
26 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
47 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
306 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 ...
1
vote
0answers
214 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
44 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
695 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
114 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 ...
0
votes
1answer
244 views

Reading iostat utilization with ZFS zvols

First off, I asked this question 5 days ago over on Serverfault. I hope I'm not doing a bad by bringing it over here to the Unix&Linux Stack. I have also asked this question on 3 other sites not ...
2
votes
0answers
94 views

Home NAS: Best setup to ease data recovery in case of hardware failure? Should I get rid of HW raid 1?

I'm not quite sure how to formulate the question here. I built myself a low energy NAS with an Intel N4200 with 8GB RAM. For the hard drives I'm using two WD red in a Raidon GR3660-B3 which is running ...
0
votes
1answer
112 views

I mounted a ZFS dataset within an ecryptfs directory and now cannot see the contents or change the mountpoint

I'm running Ubuntu 16.04 LTS on a desktop that uses a ZFS on Linux (ZoL) pool. My home directory is encrypted using the built-in encryption setup at install time and has worked great, and ZFS has ...
0
votes
1answer
575 views

Command to list vdev device names for a ZFS pool for scripting?

I'm working on a script that requires the device name of the disks in all of the vdevs for an arbitrary pool. (All of the devices in the vdevs in my pools are disks.) zpool list -v mypoolname seems ...
1
vote
0answers
63 views

Why doesn't ZFS on Linux report a dropped drive?

I found one of my personal file servers had slowed to a crawl. On further examination it turned out that one of the drives in a ZFS pool had stopped responding. I can find no indication of this in any ...
0
votes
1answer
254 views

Configure Grub for Arch Linux ZFS

Does anybody know how to configure Grub in such a way it can mount an Arch Linux installed on a ZFS system? I have /dev/sda1 (boot partition) and /dev/sda2 (root partition). The ZFS system has one ...
1
vote
1answer
389 views

ZFS NFS export user mapping

I'm trying to use ZFS NFS export on my small home network. So far I've managed to export and to mount, but the mounted directory is mapped to user 'nobody' and it is readonly. I'd like to be able to ...
3
votes
1answer
110 views

Will writing identical data to blocks of a file under ZFS use space in snapshots?

I have a 16M file. I take a snapshot of the ZFS filesystem which contains it. If I overwrite the file with the same data, will ZFS need to store two copies of all of the blocks of the file?