As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
0 answers
14 views

How to easily access data on ZFS drive connected directly to Windows PC in case of NAS failure? [duplicate]

I am aware of the question Access a ZFS volume in Windows?. However it is 12 years old. There are some newer answers, however, they are not really clear. I am setting up TrueNAS on an old PC for a ...
Martynas Žiemys's user avatar
1 vote
1 answer
37 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 ...
colibrisson's user avatar
0 votes
0 answers
49 views

How to bind a folder with idmap on ZFS with systemd-nspawn

It seems that as of Ubuntu 23.10, ZFS now supports idmapping. I wanted to use this to bind mount a ZFS mount /zpool/secure to an nspawn container with root /zpool/kiba, so that the bound mount would ...
CabbageGremlin's user avatar
0 votes
0 answers
157 views

Proxmox : 8 SAS (Data) and 2 SSD (OS) Setup (SW/HW RAID and VMs)

I'm noob on homelab and server setup, that's why I'm calling to your support Bellow is the main list of my server's components : CPU : 1 x Intel Xeon Silver 4208 RAM : 5 x 16Gb DDR4 ECC RAID Card : ...
user avatar
1 vote
0 answers
57 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 ...
Anatoly Alekseev's user avatar
0 votes
0 answers
114 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 ...
lucidbrot's user avatar
  • 469
1 vote
1 answer
168 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 ...
John Elliot V's user avatar
1 vote
0 answers
60 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 ...
retired's user avatar
  • 11
0 votes
1 answer
98 views

Which permissions do I have to allow for zfs send

I'm trying to mirror some snapshots through zxfer as a user, on FreeBSD 13.1-RELEASE, but I get stuck with % zxfer -dF -I com.sun:auto-snapshot -O zxfer@zfshost -R zroot/www zroot/backup warning: ...
jornane's user avatar
  • 1,085
1 vote
0 answers
76 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 ...
user13097's user avatar
  • 131
0 votes
2 answers
712 views

How to make Windows read ext4, zfs, etc. linux drives?

In linux packages like ntfs-3g enable linux systems to read and write to NTFS drives. However when I connect a drive that was previously used in linux to a Windows system, Windows does not recognize ...
user avatar
1 vote
1 answer
83 views

Confusion about NTFS compression and `du` on ZFS (was: How to *really* disable NTFS compression?)

I am using ZFS with compression+dedup on my host system and use Qemu/KVM for virtualization. I wanted to let ZFS do it's job and disable Windows 10's NTFS compression feature (both, CompactOS and NTFS ...
c0d3z3r0's user avatar
0 votes
0 answers
26 views

XYRATEX HB-1235 Complete Array Dropping

I have an XYRATEX HB-1235 connected to a Solaris 11.4 system via a single SAS cable to an LSI controller. The drives in the array are SATA. Every now and then, possibly due to a slight power flicker (...
mikem's user avatar
  • 441
0 votes
0 answers
14 views

How to activate HD indicator lights on Dell PowerEdge 710 in Linux

I have a particular drive that is failing (/dev/sdb) I need to replace the failed drive but I am not sure which it is... I should have documented what drives were in what slots and what their devs ...
Eforen's user avatar
  • 101
0 votes
1 answer
614 views

ZFS Mirror + Stripe vs RaidZ

I am planning to setup a TrueNAS Scale zfs diy NAS for the first time. Following disks exist in this NAS: 2x 3TB HDD 2x 2TB HDD 1x 1TB HDD 1x 250GB SSD Wishes towards the system : There is a ...
ramden's user avatar
  • 103
0 votes
1 answer
199 views

Is using ZFS L2ARC (secondarycache) cache, without ARC (primarycache) possible?

I Have a "home lab" system (Ubuntu 22.04 on i3-9300 with 32G ecc-ram, 10G of witch is dedicated to hugepages) currently holding 2 zfs raidz1 pools, one with 3x2TB WD-RED and nvme as log and ...
Bartoszek's user avatar
2 votes
1 answer
24 views

Inconsistent behavior from 'find' on zfs under Linux

I was checking to see if I had multiple copies of python on my system today, and I got some super strange behavior from find: mark@neverland:~/repos/lpod-python$ ls -i /bin/python3.10 534638 /bin/...
MTippetts's user avatar
0 votes
0 answers
10 views

zpool won't import after crash while resilvering

With triple-mirrored vdevs, I'm really not sure why I can't re-import anyway. There was also a read cache vdev, but that is no longer connected, though that doesn't seem to be the issue. I've all ...
Rob F's user avatar
  • 101
0 votes
1 answer
143 views

Is it possible to automatically take zfs snapshots on boot or shutdown?

I want to create a convenient solution for full system (root-on-ZFS) backups. The idea is to create a snapshot of the whole system on startup (before any writes to FS) or as a last step of shutdown ...
totikom's user avatar
  • 103
0 votes
0 answers
89 views

How to undo rm -rf something on ZFS without a useful snapshot

So I mistakenly fell into the classic beginner's trap and reused the wrong and worst command in my .bash_history, namely rm -rf somefolder/*. I'm aware of things I could have done previously, which ...
Cadoiz's user avatar
  • 499
1 vote
0 answers
523 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 ...
Pkalder's user avatar
  • 11
0 votes
0 answers
140 views

mount zfs pool with rootfs

I'm using proxmox and failed to setup the firewall correctly. Now I'm lockout of ssh and the webui. To recover I'm trying to mount the zfs raid on the rescue image of the dedicated root server. For ...
gxor's user avatar
  • 178
0 votes
0 answers
99 views

Getting No Data Available when using cp to copy a file (but file exists)

I am trying to copy a file with cp in Linux, and am getting an error: No Data Available The file exists in my FS: > ll formation_xrpu_personnalisation_27-09-2021\ 15\:33\:43.webm.mov -rw-rw-r-- 1 ...
alci's user avatar
  • 137
0 votes
0 answers
108 views

Can I read zpool with missing top level vdev?

I am new to ZFS and because of ignorance, I make terrible mistake. Delete zvol which is top level vdev of a pool. So I'm looking for a way to gather unbroken data from the pool. Make long story short: ...
Jn58's user avatar
  • 1
1 vote
0 answers
94 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 ...
sam's user avatar
  • 41
1 vote
1 answer
2k views

How do I remove old ZFS snapshots

After running updates on Ubuntu I receive a warning about my ZFS filesystem. Is there a utility or script I can use to remove old snapshots? Below is the message: ERROR couldn't save system state: ...
Daniel's user avatar
  • 13
0 votes
1 answer
522 views

zfs disk drive letter changed. how to reimport by id

I had a power outage that caused my drives to shuffle their assignment. /dev/sdk is now assigned to a drive in a different pool. I have been searching around but not found a proper way so far to ...
Kendrick's user avatar
  • 601
0 votes
0 answers
109 views

FreeNAS: ZFS array 'removes' multiple drives

Got a bit of an alarming situation here. Hope someone can help me figure out what's going on. Background I've built a ZFS server running FreeNAS for backup and storage about five years ago, starting ...
MiG's user avatar
  • 1,057
3 votes
1 answer
692 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, ...
HubertNNN's user avatar
  • 363
0 votes
0 answers
125 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 ...
HubertNNN's user avatar
  • 363
1 vote
2 answers
422 views

How to mount a zfs clone

Based on this instructions I should be able to make a clone of a zfs volume using commands like so: $ sudo zfs snapshot -r zfs/logs/test@tmp-1236 $ sudo zfs clone zfs/logs/test@tmp-1236 zfs/logs/test-...
HubertNNN's user avatar
  • 363
0 votes
1 answer
35 views

How can I read zfs spa stat

In this pr, add some spa stat like simple_trim_bytes_failed , but how can I read these stat ?
wener's user avatar
  • 103
0 votes
1 answer
237 views

Should ZFS RAID-Z2 theoretical maximum be 256+2 drives?

For RAID 6 in wiki, the extra priority check bit Q is calculated by shifting of bits. https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_6 Suppose we would like to distribute our data over n {\...
midnite's user avatar
  • 511
1 vote
0 answers
382 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. ...
Peter Brooks's user avatar
0 votes
1 answer
366 views

ubuntu with experimental zfs creates enormouns amount of /var/lib/ filesystems

Ubuntu creates enormous amounts of legacy filestystems on my zfs, like: rpool/ROOT/ubuntu_j63w4a/var/lib/00bc09e20e8a08d6f3628e50ff5c4368414dd69c885c013b480adf8f388eb93f legacy rpool/ROOT/...
oneat's user avatar
  • 3,251
1 vote
0 answers
241 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 ...
Jens Vde's user avatar
  • 117
0 votes
1 answer
297 views

ZFS 3 Disk Mirror Pool with 1 Disk Removed Occasionally

I have a ZFS pool that contains 3 disks mirroring each other. I would like to be able to take one of the disks and store it offline and offsite for a few months then re-introduce it to the pool, sync ...
Debounce's user avatar
1 vote
0 answers
38 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 ...
user63835's user avatar
  • 314
0 votes
1 answer
478 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 ...
czechDude's user avatar
1 vote
0 answers
368 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 ...
user1398's user avatar
2 votes
0 answers
315 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 ...
aktivb's user avatar
  • 196
0 votes
2 answers
330 views

Could ZFS fix silent corruption on a single drive with two mirrored partitions?

ZFS can detect silent data corruption (or "bitrot"); with a proper mirroring or raidz setup it may also repair such corruption. Thus, would it be possible to split a disk into two (or more) ...
alexander-c-b's user avatar
0 votes
1 answer
354 views

Dell Poweredge Controller and ZFS

I've been looking at many different option for a home backup server. I'll going to be getting a dell poweredge r430. It contains a perc h730 mini. It has dated hardware, and I plan to pare it with ...
Mapy's user avatar
  • 1
0 votes
1 answer
201 views

First time using ZFS or RAID: Data Backup

I've never used RAID before or ZFS for that matter, though I've always admired them. I've been using MX Linux for 2 years, so I'm still pretty fresh to deep Linux. My idea is for a long-term backup of ...
1toneboy's user avatar
1 vote
0 answers
150 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 ...
Kevin Kleinfelter's user avatar
1 vote
0 answers
143 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 ...
bitflip's user avatar
  • 21
2 votes
0 answers
93 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 ...
jornane's user avatar
  • 1,085
1 vote
1 answer
425 views

How exactly do btrfs/ZFS (and related filesystems) prevent bit rot?

It seems that, since btrfs development began, various communities have touted both it and ZFS as inherently more advanced filesystems for preventing corruption, bit rot, etc. What features of btrfs or ...
jmcph4's user avatar
  • 253
1 vote
0 answers
158 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 ...
Daniel's user avatar
  • 123
1 vote
0 answers
76 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 ...
ARRZ's user avatar
  • 11

1
2 3 4 5
8