Questions tagged [zfs]

An advanced file system that can span multiple disks, heal itself from data corruption, deduplicate data, encrypt, etc.

Filter by
Sorted by
Tagged with
1
vote
1answer
12 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 ...
0
votes
0answers
26 views

ZFS reporting different disk usage, which one is correct?

I am trying to figure out how much space on disk is used by ZFS, with deduplicaiton eabled. I have only enabled deduplication, not changed chunk size or anything else. But depending on the command I ...
0
votes
1answer
127 views

Mounting zfs network shares in Ubuntu LTS 20.04 using cifs- mount error(2): No such file or directory

I have 3 Thecus NAS servers: a N5500 (Firmware: 5.03.02), a N5200XXX (Firmware: 5.03.02), and a N5550, (firmware 2.06.02.5.cdv) each configured as RAID 5. The N5500 and the N5200XXX are using zfs and ...
0
votes
1answer
80 views

ZFS broken on Centos 7.8

I am using ZFSonLinux under CentOS 7, and after a restart, the kernel updated to 7.8. the ZFS modules were not loaded and modprobe zfs said the modules were not found. dkms status was empty and having ...
1
vote
3answers
38 views

ZFS to boot ubuntu in 20.04 for SoHo server. Is this a good idea?

It seems ZFS is much more robust than ext4, specially for handling power failures or bad-blocks/media-corruption. There's old literature from 2013, 2014... here and there about ZFS as a boot ...
0
votes
0answers
11 views

ZFS Unmount Entire Pool

I'm getting issues when mounting my zpool. Some zfs aren't mounting because "directory exists", aka the subfolders that the subdataset is stored in. Such as tank/media/movies. It says that that /...
0
votes
1answer
23 views

Is it good idea to horizontally partition groups of disks into different ZFS vdevs?

--------------------------- +-------+ -------- | | | part | vdev 1 | | no redundancy -----------...
0
votes
0answers
23 views

Unable to Limit ZFS ARC Size (At Runtime, Without Rebooting)

I am trying to temporarily limit the memory usage of ZFS at runtime, specifically by limiting the maximum ARC size. Before attempting to do this, we first check the current settings and sizes: # cat ...
0
votes
0answers
48 views

Seemingly random system generated zfs datasets with Ubuntu

I've installed Ubuntu 19.10 on zfs, with both root and boot datasets, root encrypted. Since this install I am also getting system created datasets with seemingly random string names, legacy type. ...
0
votes
0answers
14 views

What will happen to the partitioned disks in my ZFS pool as it fills up?

I'm using 3 hard drives, formatted with a mix of ext4 and NTFS, in a RAID-Z ZFS pool. I thought I would have to format these drives to use them with ZFS, but after following the HowToGeek guide on ...
0
votes
0answers
20 views

ZFS Setup with four drives, with different mount points?

(This question is similar to this one: ZFS Beginner Setup with Different Size Drives , but there are enough differences that I thought it might be a better separate question) I had already sent this ...
0
votes
0answers
35 views

zfs offline disk during resilvering possible?

I have a 24-disk FreeNAS 9.10.2 installation in which I just replaced a disk in a mirror vdev (1 of 12 mirror vdevs) with a larger drive (3 -> 10TB). After 5 minutes into the resilvering process, I ...
0
votes
0answers
33 views

Not sure if ZFS issue / ATA Linux controller issue?

I've been using ZFS for a few years now, but since moving to a new NAS I've been having a weird issue that I'm not even sure is ZFS-related. I run a RAID-Z with 4 4TB disks, and every week or so (...
1
vote
1answer
151 views

Grow ZFS RAID-Z[123] without degradation?

I know that on ZFS, the only way to grow a RAID-Z (or RAID-Z2 or RAID-Z3) vdev is to replace the disks with larger ones; there is no way to change the geometry. However, is it possible to do so ...
1
vote
0answers
204 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@...
0
votes
0answers
81 views

how to change from zfs to ext4

i accidentally create zfs pool to sda1 with sudo zpool create -f lxd-zfs-pool /dev/sda1 zpool status output is pool: lxd-zfs-pool state: ONLINE scan: none requested config: NAME STATE ...
2
votes
1answer
194 views

how to trim SSD cache drive in zfs 0.8

I have upgraded zfs to kmod-0.8.2-1 for SSD trim and trim function works well for normal zfs SSD drive but does not work for SSD cache drive(sdc in the below log). How can I trim it? Thanks in ...
0
votes
0answers
16 views

Transferring LXD after moving to a new zpool

I have just started the process of replacing a raidz zpool with a mirror zpool. I created the new pool and then did zpool send | zpool receive to copy the data across. That all went smoothly, but I ...
1
vote
0answers
53 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). ...
1
vote
1answer
81 views

Drawbacks of small ZFS pools versus large

We are redesigning out current ZFS file server. It currently only has one pool of over 70TB. I see this is a problem since, if there are enough disk failures within the pool to make it non-...
0
votes
0answers
121 views

“stripe: Not enough disks selected. (0<1minimum)” error ZFS Configuration FreeBSD

As part of an assignment I am trying to create a FreeBSD 12.0 virtual machine (I use VirtualBox). I'm having trouble with the Root-on-ZFS configuration - it gives me an error "not enough disks ...
1
vote
0answers
25 views

What is cksum in solaris 11 and what is the use of it?

What is the use of cksum in solaris and what is the need of it.
0
votes
0answers
77 views

Any concerns about striping different sized SSDs using ZFS in Freenas?

I have a few decent, but differently-sized SSDs lying around that I would like to use in a stripe in Freenas. The sizes are: 2 x 240GB, 1 x 256GB, 1 x 1TB. Using a stripe, this gets me to ~1.73TB. ...
0
votes
1answer
487 views

How does the Percent_Lifetime_Remaing SMART attribute get calculated on a Crucial MX500 disk?

I have a home lab grade server that I put 4x Crucial MX500 disks into a couple months ago. One of the disks (they're all similar) has the following SMART details: smartctl 6.5 2016-05-07 r4318 [...
1
vote
0answers
48 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....
0
votes
0answers
40 views

can I switch backup methods from rsync to zfs send/receive without copying all the data?

I've been using rsync to backup a ZFS filesystem to an offsite server. I now want to switch to using zfs send/receive. Can I do this without first doing a full copy of the dataset? In other words, ...
0
votes
1answer
24 views

How to bring a working drive back online?

I am using Proxmox with ZFS. In an attempt to regularize the drive names, I offlined and detached a working drive in my vdev mirror-0, however I cannot bring the said drive back up root@r740xd:~# ...
0
votes
0answers
72 views

Linux rm takes minutes on 100kB file

I'm encountering extremely slow deletion of files on a Linux machine with ZFS filesystem: $ ls -l -rwxr-xr-x 1 root nfsnobody 297056 Jul 17 2018 somefile $ time rm -f somefile real 1m30.117s user ...
0
votes
1answer
69 views

Is having raid0 zfs pool with copies=2 datasets equals to having raid1 zfs pool?

I have a computer with 2 hdds, which I want to use for data storage. Initially I wanted to create mirrored zfs pool, but not so much data needs to be stored so safely. So, if I create zfs pool with ...
1
vote
0answers
29 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 ...
1
vote
2answers
102 views

Is there a redundant storage method that handles drives of multiple sizes well? What about growth?

I'm looking for something redundant I can just plop on a server with a bunch of garbage drives that just works without the smaller drives crippling the capacity of the larger drives. Lets say I have ...
2
votes
1answer
67 views

Rename zfs disk path

FreeBSD zfs 2 disk mirror I replaced a dead hdd and somehow it renamed ada0 to ada1 zpool status mirror-0 DEGRADED 0 0 0 ada1p3 ONLINE 0 ...
0
votes
0answers
17 views

ZFS: Does a resilver also do what a scrub does?

If I'm not mistaken a resilver checks all data on a faulty disk and restores it. Is that correct? Does it as a sideeffect also check all data on other disks (like what a scrub does) or does it only ...
1
vote
0answers
60 views

Using ZFS to merge multiple drives to the same mount point

I'll start by saying I'm currently having a server with 4x6TB drives running on Ubuntu 18.04. I'm merging them together using mergerfs, but I suspect it is causing my server to crash very often (about ...
0
votes
0answers
111 views

After OS upgrade, ZFS disk in pool is unavailable

UPDATE 2019-06-16 I've tried sudo zpool replace tank /dev/disk/by-id/ata-ST8000AS0002-1NA17Z_Z840GFH2 and get invalid vdev specification use '-f' to override the following errors: /dev/disk/by-id/...
2
votes
1answer
156 views

Can a zfs mirror contain combined disks?

Can I create a single zfs mirror by combining disks? mypool mirror1 disk1 (2TB) disk2 (2TB) combined disk3 (1TB) disk4 (1TB) In other words disk3 ...
1
vote
1answer
435 views

ZFS Add a Hdd to raidz-2

I have a zfs raidz-2 (raid-6) with 7 4TB hard drives. When I added another hard disk with zpool add, it was not included in the original raid (zpool status). Can this still be fixed? Or do I have to ...
2
votes
1answer
103 views

Setting system-wide quota on ZFS

It is commonly recommended that one shouldn't fill a ZFS volume beyond 70-80% to prevent fragmentation. I, however, find that I have gone beyond that in the past (the "I need just a bit more, I'll ...
6
votes
1answer
428 views

ZFS - HDD performance strongly varies in 3-way-mirror among vendors

Prerequisite We have a FreeNAS System with a Pool consiting of 5x"3-way-mirror". The disks per mirror are from different vendors but with the same "on-paper" performace-characteristics. Pool-Layout:...
3
votes
2answers
2k views

Do I really need a ZIL SLOG?

I'm building a NAS for home/personal use that will use ZFS (probably running FreeNAS) over a SATA SSD array. In terms of usage, I expect the system to be "idle" (not counting ZFS background stuff e.g. ...
0
votes
2answers
401 views

How to avoid data loss due to disk bad sectors?

As the title says, I am concerning about, how can we avoid data loss due to harddisk (either mechanical HDD or SSD) bad sectors. \ More information \ Question is well defined. Question ends here. ...
2
votes
1answer
614 views

Encrypted ZFS dataset fails to mount: Permission denied

I'm on NixOS and try to encrypt a hard drive partition (potentially more in the future) using ZFS. I tried to stick to this guide, so I added boot.zfs = { enableUnstable = true; ...
0
votes
0answers
126 views

Preserve Permissions when adding files to a Samba share

I have a Mac (El Capitan 10.11.6) client that is connected to an Ubuntu server (18.04 LTS) running Samba, sharing a ZFS pool. Everything works great, except that whenever I add a file to the server, ...
2
votes
0answers
42 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
1answer
140 views

What kind of metadata is primarily being loaded/evicted from ARC, in my ZFS system?

I'm trying to check how my ZFS pool's ARC is used, motivated by "do I need more RAM, even though expensive". I have 128GB fast ECC and using NVMe SSDs for L2ARC, but it's still doing a lot of small ...
3
votes
0answers
24 views

Storage setup for home servers [closed]

I'm looking to set up my first home server, for multiple purposes, with Proxmox. I already got the hint it's best to use 2 SSDs (of not too big size) for the actual Proxmox installation. As far as I ...
-1
votes
1answer
93 views

Data missing in a degraded zfs pool

This is my first attempt to create a zfs pool manually under Proxmox. I have created a raidz2 zfs pool with 5 drives (4 WD RED 1TB NAS drives and 1 old 1TB Seagate). I also forgot to specify 2 spares,...
1
vote
0answers
225 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 ...
1
vote
1answer
660 views

Can ZFS sync=disabled cause corruption of previously written data?

If sync=disabled is set, I understand that the ZIL isn't written to disk and, instead, changes are written directly to disk. Aside from possibly inconsistent data from an application-standpoint due, ...
1
vote
0answers
82 views

ZFS drive is unavail after adding new drives to the computer

I have a server that I just recently redid, new drives, fresh OS (Ubuntu Server 18.04) I set up a new pool with the two new drives (4 tb each) with: zpool create poolname mirror /dev/sda /dev/sdb It ...

1
2 3 4 5
7