Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
1 answer
73 views

How to pass a ZFS disk to qemu running on Windows 11 with FreeBSD 14 as guest os

I've virtualized the img file (created by dd'ing a real FreeBSD 14.0 installation) on Windows 11 wth qemu-kvm for Windows using the Hyper-V hypervisor. The parameters that I've used are the following ...
john_connor's user avatar
0 votes
0 answers
45 views

Mount ZFS encrypted dataset to be available for only one user

In Ubuntu 22.04, I've created an encrypted dataset hdd/enc and for privacy reasons I need it to be available only for me. Every time the system gets rebooted, it's ok for me to enter the password I ...
hamidi's user avatar
  • 141
0 votes
0 answers
86 views

How to get ZFS working on Alpine Linux 3.18?

According to this tutorial, all I need do is install the zfs and zfs-lts packages, issue a modprobe zfs and I'm good to go. Not so much. Having created a pool and a couple of datasets, I rebooted the ...
Sod Almighty's user avatar
0 votes
0 answers
35 views

systemd before,after,requires all not working like expected

I have an nfs mount on a debian12 system running systemd252, i need this to be mounted at startup before zfs but after network-online.target, so i tried using /etc/fstab but that keeps loading before ...
user9503's user avatar
0 votes
0 answers
69 views

How do I import a ZFS pool from a de- and re-attached drive array?

This is not the same as importing a pool from a crashed system as the system has not crashed. The OS is fine (on a different pool/set of drives/sata bus). I'd like to copy some key files before ...
math's user avatar
  • 251
0 votes
1 answer
156 views

What are the differences between mountpoint=legacy and mountpoint=none for ZFS datasets?

I have noted that some tutorials (ex.: Arch Linux Root on ZFS) use mountpoint=legacy while others (ex.: Install Arch Linux on ZFS) use mountpoint=none for what the datasets used as a containers for ...
sergiogarciadev's user avatar
0 votes
1 answer
457 views

How do I import ZFS pool from a crashed system?

I had one ZFS pool attached to a system that crashed. I was looking for ways to bring that pool to a new system however it looked like I need to use zfs export first, given I do not have access to the ...
yarun can's user avatar
  • 1,000
0 votes
2 answers
87 views

Memory reporting discrepancy in Linux when using ZFS

I have an Ubuntu 22.04 Linux machine that runs some services and heavily uses ZFS file system. I observe some serious discrepancies in memory reporting when using various system tools. For example, ...
Slava Fomin II's user avatar
0 votes
0 answers
162 views

Add new disk to an available zpool

A zpool is created with name tank. By using zfs command, a disk is added to the pool. Now the disk contains data which is not going to be lost. I buy a new disk and want to append it to the same pool ...
hamidi's user avatar
  • 141
1 vote
0 answers
33 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 ...
SofaKng's user avatar
  • 1,225
2 votes
1 answer
157 views

`zfs replace` keeps giving write errors with new drives & different SATA cables

I replaced a failing hard drive (increasing error counts in SMART, read/write/checksum errors in zpool status) in a ZFS raidz1 pool with a new one by running zfs offline and zfs replace. Resilvering ...
P. B.'s user avatar
  • 336
0 votes
0 answers
108 views

Zpool hung while attaching a new disk, now faulted

I was attempting to expand the storage on a large ZFS pool, adding a similarly sized drive from a USB bay. The pool was in use, and the zpool attach command hung. After an hour, it still hadn't ...
Kaylee's user avatar
  • 43
0 votes
1 answer
83 views

Same UUID's for a group of ZFS drives? Are they ok?

Im trying to figure out why my two new drives which are larger than the other 6 are showing equal checksum errors. In looking into this, I noticed the UUID's are all the same. Is it normal to have ...
Brian Thomas's user avatar
0 votes
0 answers
103 views

ZFS deduplication table not paged out to RAM

I have a pool on which there is 3.41 TB of data, deduplication is enabled on the volumes, judging by the output of the zpool status -D <pool_name> ... dedup: DDT entries 73665285, size 696B on ...
lignumq's user avatar
1 vote
0 answers
309 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 ...
Jealous_Donut_7128's user avatar
0 votes
1 answer
210 views

Passphrase encrypted zfs dataset displays files after zpool import without being mounted

I have a zfs pool on Debian with an encrypted dataset that contains other datasets inhering encryption. Basically I have this structure pool passphrase encrypted dataset dataset1 inherits encryption ...
MuchToKnow's user avatar
0 votes
0 answers
17 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
766 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
373 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
122 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
6 votes
1 answer
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 ...
lucidbrot's user avatar
  • 557
1 vote
1 answer
448 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
133 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
347 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
2 votes
0 answers
581 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
  • 141
1 vote
2 answers
8k 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
205 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
49 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
  • 476
0 votes
1 answer
2k 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
479 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
34 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
28 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
2 answers
365 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
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 ...
Pkalder's user avatar
  • 11
0 votes
0 answers
282 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
189 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
166 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
2 votes
1 answer
6k 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
  • 23
0 votes
1 answer
2k 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
  • 611
0 votes
0 answers
135 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,100
4 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, ...
HubertNNN's user avatar
  • 433
1 vote
0 answers
252 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
  • 433
2 votes
2 answers
879 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
  • 433
0 votes
1 answer
64 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
  • 113
0 votes
1 answer
434 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
  • 571
1 vote
0 answers
474 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
595 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,331
1 vote
0 answers
433 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
  • 167
0 votes
1 answer
570 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
2 votes
0 answers
52 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
  • 374

1
2 3 4 5
9