Questions tagged [zfs]
An advanced file system that can span multiple disks, heal itself from data corruption, deduplicate data, encrypt, etc.
127
questions with no upvoted or accepted answers
5
votes
0
answers
2k
views
How to deal with the "Some supported features are not enabled" warning in zfs?
I have been running zfs on root in ubuntu 18.04 and recently did a release-upgrade to 22.04. With it, zfs was upgraded from 0.8.something to 2.1.4.
Now, my zpool on the laptop prominently informs me ...
4
votes
3
answers
2k
views
Expanding a FreeNAS/ZFS pool by migrating to Storage Spaces Parity
I currently have 3x4TB drives in a RAID-Z1 configuration using FreeNAS, which give me approx. 8TB of usable space in a single volume. I'm approaching 6TB, so I'm considering my options for expansion/...
3
votes
1
answer
3k
views
How to zfs send an entire filesystem
I am trying to copy an entire filesystem between 2 machines.
Based on documentation -R on zfs send should
"Generate a replication stream package, which will replicate the specified file system, ...
3
votes
0
answers
591
views
Does ZFS support something like "nodatacow" of BTRFS?
This is a follow up to a former question about BTRFS and in the end I want to have a file system supporting at least the manual creation of snapshots for backup and test purposes. The data I'm hosting ...
3
votes
2
answers
592
views
Is it possible to run a virtualized instance of windows on a server with native ZFS?
I am intersted in setting up a home server / render pc. My goal is to have 8 or more HDDs for storage and redundancy and to use the available processing power of the server to render videos in Adobe ...
3
votes
1
answer
82
views
Managing disk in a VM
I'm replacing my two old rack servers with a new one that has plenty of power to take over the functionality my current servers. The server is a 4U rack mount with 16 3.5" SAS drive bays, two 2.5" ...
2
votes
0
answers
541
views
How to copy an encrypted zfs filesystem without preserving the encryption key
I want to copy an encrypted filesystem (z/enc/a) from one computer (source) to another, and have it inherit the encryption key from the parent filesystem of the target system. I also want to compress ...
2
votes
0
answers
49
views
Can ZFS and BtrFS handle files larger than physical discs?
Are ZFS and BtrFS able to handle files that are larger than one physical disk so that such a huge file spans over multiple physical discs?
I consider lifting up my file server to a VM. Currently the ...
2
votes
0
answers
435
views
Replace ZFS in use hot spare
Here is the current status of my zpool
NAME STATE READ WRITE CKSUM
store ONLINE 0 0 0
mirror-0 ...
2
votes
0
answers
195
views
ZFS convert from RAID10 to RAID1 (mirror)
I have a ZFS array with 4x4TB, configured in a RAID10 so that it's two mirrors striped together. I want to convert this to 2x10TB, so I want only one mirror that consists of the two disks.
Is there a ...
2
votes
1
answer
2k
views
ZFS zpool cannot be imported, cause panic if not imported as readonly
After a reboot, ZFS pool never stopped trying to import the pool. It was blocking the boot-sequence and I had to rename the /etc/zfs/zpool.cache to another name, in order to boot the system.
There was ...
2
votes
0
answers
303
views
Retain xattrs in files (macOS files on Linux SMB server)
I run an SMB4 server on Ubuntu Server 19.04 using ZFS as the server file system (separate from the boot drive). I use this server to store files from my Macs (10.7, 10.8, 10.11, 10.12, 10.13, 10.14). ...
2
votes
0
answers
157
views
Solaris 11.3 can't import a pool
I had some reboots last days and guess it's something to do with the SAS controller. But maybe I'm wrong.
Any idea why the zpool import and zdb -e [pool] aborted or crashed with core dumps?
...
2
votes
0
answers
418
views
A clear explanation of metaslab groups and gangs, in ZFS?
I'm trying to troubleshoot a problem related to metaslab and spacemaps in ZFS on FreeBSD, for which I'd like to have a clear understanding of how these work. Most of the docs make sense. But I keep ...
2
votes
0
answers
914
views
beginner issues with ZFS on OS X: how to re-mount?
I hope someone might be able to help me with this. I am using ZFS to create a 4 external hard drive raid system under OS X. I was able to set everything up and copy data to it. But then I think I made ...
2
votes
0
answers
811
views
How to decrypt, create, and mount LUKS encrypted zfs raidz pool at startup?
I have an Ubuntu-18.04 box running the OS off an SSD which I do NOT want to encrypt. I have 3 additional 2TB drives which I would like to use as encrypted (via LUKS) RAID-Z1 additional storage. I ...
2
votes
0
answers
1k
views
Why is my ZFS pool spending 97% of its time reading the target and only about 3% writing, on a write operation?
This perplexes me and I don't know a way to drill down into what ZFS is actually doing.
I'm using a clean install of FreeNAS 11.1 with a fast ZFS pool (imported mirrors on fast 7200s) plus a ...
2
votes
1
answer
954
views
How to create a GRUB boot CD to boot Debian with root on ZFS?
I installed Debian on ZFS following the following guide:
https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS
I would like to avoid partitioning my hard disk and give ZFS the whole disk. ...
2
votes
0
answers
808
views
Import zpool with one unknown missing vdev_children.
My raid-z zpool was in degraded mode, I have added a new disk in the zpool with the command:
zpool add -f uhuru-test da3
The problem is that da3 have been accidentaly erased and now uhuru-test pool ...
2
votes
0
answers
709
views
Why does ZFS slow down making large files after 2.4 gig?
Zfs on linux, I'm making a large tar file, I'm watching it add to the file, and it goes very quickly, until it hits 2.4gig in size, then it just crawls, for hours.
The same file on ext4 has no ...
2
votes
0
answers
314
views
ZFS not writing continuously to array
Preface: I'm by no means an expert Linux user, but I've played with Linux enough to be dangerous.
I'm building a personal server, basically just to use as storage for video and photos. Current specs ...
2
votes
1
answer
3k
views
How can I get the ID of an online disk in a ZFS pool?
I rotate physical disks in and out of my mirrored ZFS zpool (using ZoL) to use for offsite backups; to help streamline the process I've been using udev rules to respond to the drives being swapped.
...
2
votes
0
answers
1k
views
Ubuntu hangs at startup due to zfs
I installed zfs-on-linux to my virtual Ubuntu LTS server years ago via PPA. The system resides on a VMware Workstation 10 in Windows 8.1.
The working ZFS/SPL versions installed are 0.6.3. It has ...
2
votes
0
answers
3k
views
FreeBSD - Samba4 ignoring ZFS ACLs
I have a server running PC-BSD (FreeBSD) 10 and purely ZFS storage. I have created a jail with Warden and installed Samba 4. I have provisioned a domain, using the options for ntvfs and rfc2307 as ...
2
votes
1
answer
244
views
Access MacZFS via network from XBMC
I have a ZFS RAID (zpool with three drives) hooked up to my Mac that I want to share in my LAN so that the XBMC client on my OUYA console hooked up to the television can read the drive and use it to ...
2
votes
0
answers
387
views
Can't compile static ZFS binaries on Gentoo
My kernel: geek-sources-3.11.1 from init6 overlay with zfs and couple other patches.
Right now I'm using SysRescCD and doing everything in a chroot.
My last try was:
$ grep static-libs /etc/portage/...
1
vote
0
answers
27
views
Listing a directory (and entering) on ZFS takes a few seconds the first time? (re: sleep/idle?)
I have a few ZFS ZPOOLs configured:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
backup 1.81T 1.41M 1.81T - - 0% 0% 1.00x ...
1
vote
0
answers
273
views
ZFS I/O Error, Kernel Panic during import
I'm running a raidz1-0 (RAID5) setup with 4 data 2TB SSDs.
During midnight, somehow 2 of my data disks experience some I/O error (from /var/log/messages).
When I investigated in the morning, the zpool ...
1
vote
1
answer
689
views
recurrent zfs read and write errors while smart tests are ok
I'm using OpenZFS 2.1.5 on Ubuntu 22.04.
zpool status -v show recurrent read and write errors on one of my mechanical drives. However, SMART test doesn't show any problem with the disk. By recurrent I ...
1
vote
0
answers
100
views
Postgres' pg_total_relation_size returning unexpected table size for a zfs-based tablespace
I have Postgres 15.1 running on Ubuntu 20.04. Basic FS is ext4, but I have mounted zfs onto a sparse file like this (for compression testing purposes):
truncate -s 100G zfspart.dat
zpool create -o ...
1
vote
1
answer
422
views
SMART error on disk used with ZFS and mdadm
For some time now I've been getting emails like the following after every time I reboot my workstation (which is called 'charm').
Subject: SMART error (ErrorCount) detected on host: charm
This ...
1
vote
0
answers
126
views
Autofs trying to mount ZFS filesystems and failing
I created four filesystems using zfs on my T2000 running Solaris 11.3. Two automatically mount on boot (as they should) but two fail with the error message from autofs that the mount points are not ...
1
vote
0
answers
1k
views
Disable Bios memory scramble fixes ram issue
I am looking for advice on an issue.
TL:DR
Problem: ram causing screen flickering
Solution: disable memory scramble in bios fixes
Question: is the ram stick corrupted or is this a buggy vbios? Am I ...
1
vote
0
answers
159
views
ZFS write performance slow after scrub
My ZFS pool consists of 4 mirrors with 2 disks each (4TB, 6TB, 6TB, 6TB) and just recently one of the 6TB mirrors went into a degraded state which was fixed by using the scrub command (zpool scrub ...
1
vote
0
answers
242
views
How does zfs promote work and what are the consequences of using it
I know that zfs promote swaps a clone with the master, but other than that the documentation does not mention anything.
What consequences have promoting a dataset?
Can I just promote them back and ...
1
vote
0
answers
460
views
ZFS - Determine Bottleneck performance
I've got a Z3 pool with 9 10TB drives , under a Dell PowerEdge R730xd running as a mixed OS virtual machine host.
Two pools exist:
rpool - The SSD mirrored pool, used mostly for root drives in VMs.
...
1
vote
0
answers
420
views
DD ZFS Disks: The pool metadata is corrupt
I've was doing a full sync to another ZFS server when suddenly my main pool errors out and gets in a degraded state. Later that day, the PSU of the server died.
Perhaps it had something to do with the ...
1
vote
1
answer
1k
views
ZFS fixing improper drive replace
I recently detected failing hard-drive in my ZFS raid-5 array. So i bought drive, shut-down & replaced failing one. I'm afraid I should have removed failing drive from the pool first. It is ...
1
vote
0
answers
573
views
ZFS NFSv4 ACLs not displaying on the client side
I'm running ZFS [2.0.3] on Debian 10 with NFSv4 shares, setting xattr: on and acltype: posixacl, with my export using zfs set sharenfs being:
rw=@@hosts,async,no_subtree_check,no_root_squash
I can ...
1
vote
0
answers
222
views
Does using USB drives with identical World Wide Name (WWN) risk data loss?
I bought two m.2 SSD enclosures with identical World Wide Name (WWN). (I didn't know such was possible.)
Will this cause data corruption if I use them on the same Linux (Ubuntu 20.04.02) server? If I ...
1
vote
0
answers
234
views
Docker still using zfs storage driver after re-installing to ext4 partitioned zvol
Disclaimer: This is cross-posted on reddit but to no success and as I am quite desperate to get all my services up and running again, I now turn to you...
I had docker installed on my server (running ...
1
vote
0
answers
256
views
Is ACL inheritance only at file creation time on zfs?
I'm having trouble understanding how ACLs work on ZFS as compared to how they work on a Windows NTFS system. (In particular, I'm using a TrueNAS 12.)
I create a SMB share ("smbtest"), and I ...
1
vote
0
answers
107
views
Cannot boot alternate boot environment in openindiana
i have installed two boot environment on my openindiana hipster 202004 server, rpool and rpool1.
These are the steps i followed for my second boot environment:
zpool create -f rpool1 c5t3d0s0
beadm ...
1
vote
0
answers
604
views
best zpool properties and features for hdd zfs
which properties and features should I use for the normal and mirror pool? (on ZFS on Linux on Ubuntu/Arch/Manjaro)
I have two 4TB HDDs and I want to create two pools:
normal (RAID0): with first 500G ...
1
vote
1
answer
3k
views
zpool cannot properly import missing pool after system crash
I have a raidz3 zpool on Ubuntu 18.04 with the Ubuntu built-in zfs features, there was a system crash recently, I guess it's caused by an unavailable(failed) disk, and after rebooting, the pool was ...
1
vote
0
answers
148
views
ZFS modules suddenly stopped loading - Debian 10
My ZFS modules have mysteriously stopped loading at the point during boot when you would usually unlock the pool with encrypted ZFS on root (Debian 10). It drops into busybox and suggests loading the ...
1
vote
0
answers
84
views
Preparing a ZFS based setup for a potential future upgrade
I want to try ZFS on some personal server. From my understanding, it's not possible to add disks to a vdev after it's creation, only to add new vdevs to a pool. Also, it's considered bad practice to ...
1
vote
0
answers
2k
views
Slow SMB Performance over 10GBE(Write)
Does anyone have any experience configuring 10gbe file server with ZFS and SMB?
I have a system up and running but can't for the life of me figure out why the write speeds are so slow.
storage@...
1
vote
0
answers
73
views
ZFS 0.7 version in Centos 7.6
i am trying to install zfs in my centos 7.6 with kernel 3.10.0-957.el7.x86_64 using this guide:
https://github.com/zfsonlinux/zfs/wiki/RHEL-and-CentOS
and doing a
yum install http://download....
1
vote
0
answers
76
views
Can a ZFS pool be imported only when all drives are present?
I use ZFS as my private backup solution with a mirrored pool (e.g. the data exists equally on 4 different drives). Sometimes my laptop doesn't recognize one of the USB drives (I just have to plug them ...