r/zfs • • May 25 '21

Ironwolf Drives are "not suitable" for ZFS...

2 Upvotes

So who's next on the list of vendors who actually stand by their products? I'm off WD because of the whole SMR crap and now Seagate apparently doesn't support you if you don't run their Ironwolf drives under Windows or Mac. These are NAS drives... how many of us run NAS's on Windows or Mac? Show of hands anyone?

To quote from Seagate technical support after an RMA request; " At Seagate, we are highly specialized in technical support for drives which are used in Windows and Macintosh Operating Systems. However, sometimes, there are customers who use Unix/Linux OS and ask for support from us, nevertheless, the Linux Operating Systems are highly malleable with drivers and applications that have no customization boundaries. For these reasons, Seagate offers no technical support for drives under Linux Operating System. We apologize for not being equipped to handle these cases."

Um... excuse me? What the fuck is this, Seagate?


r/zfs • • Mar 14 '26

ZFS documentation: Is it adequate? How can it be improved? Do you know where it is?

Post image
0 Upvotes

ZFS is great and powerful, but with great power come complexity and confusion. This sub routinely sees the same questions asked and the same half baked advice and myths being regurgitated. Often times simply reading the man pages would have been enough to keep a confused soul from posting or a confused commenter from "solving" an issue, but in some cases the correct answer (if it exists) can only be arrived at through some experience, keen interest in the inner workings of ZFS and following the project on GitHub and YouTube. While in-depth understanding can never hurt, it shouldn't be a necessity to use a tool to its full potential. ZFS is not hard to work with, but grasping the key basics, knowing how to avoid potential traps and optimizing it for a particular use case may not be so easy, especially for beginners.

Calling on noobs and graybeards alike! Do you feel that the ZFS documentation, as it exists currently, does it's job well? If you're a noob, what would you like explained better? If you're already a ZFS guru, what do you think can be improved on, hindsight being 20/20?


r/zfs • • Jul 15 '20

This is ridiculous

3 Upvotes

I am running several zpools side by side and this morning someone hit my setup with an intended power outage.

I restarted and re-imported all my pools, except the following:

   pool: unsafebulk
  state: FAULTED
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
        The pool may be active on another system, but can be imported using
        the '-f' flag.
   see: http://zfsonlinux.org/msg/ZFS-8000-EY
 config:

        unsafebulk  FAULTED  corrupted data
          sdc       ONLINE

zpool import -f unsafebulk
cannot import 'unsafebulk': I/O error
        Destroy and re-create the pool from
        a backup source.

As you can guess from the name, this is the only pool not being redundant, because I couldn't find a second 8TB drive for this purpose, yet. However, the HDD itself is fine and was working the whole time without any issue.

All pools got re-imported with a few commands, without scrubbing, re-silvering or whatever. Just re-imported. All fine. Just this one drive is "faulted". How is it faulted when I did not perform any administrative tasks? Why does it want to me destroy entire 8TB of data when only the pool's metadata is supposedly corrupted?

How can I restore the drive? Again, if the metadata is corrupted, then all files are still present on the drive. So they are theoretically usable.

I was obviously aware that this pool wasn't as safe as the other ones. I knew it would be unsafe, in case a bomb would be thrown here, which the pool maybe wouldn't survive. But it for f's sake ought to survive a simple power outage! This is just terrible. This is not some little small SD card that is vulnerable to power outages (btw. all my Raspberry Pis' SD cards survived the power outage perfectly without issues).

Now what is the best way to restore the files since only the metadata is supposedly corrupt?

Would `testdisk` work in this scenario?

There IS a way of restoring the files, but I could not find a source for that except all the lazy ones talking about "make a backup next time" when it clearly doesn't work and was not needed in this situation.

Update

I KNEW ZFS WAS LYING TO ME!!!! I KNEW IT!!!!

Thanks to a super helpful fellow user, u/Lucius_Martius on here, I used the command

 zpool import -fFX unsafebulk 

and this restored everything back, after about 24h of restoration!

Thank you so much, u/Lucius_Martius!

Never trust ZFS when it tells you to destroy the pool because supposedly everything is lost!


r/zfs • • Jan 20 '24

Debian server hacked - Any hope for recovery?

0 Upvotes

Hey guys,

So this is a very upsetting, and sobering post to make. I believe I just got hacked. Idk how they got in, but they were using my nextcloud account to transfer data somewhere else. At first it didn't look like anything was taken, but after a reboot, my zpool didn't mount. Instead, I got left with this:

pool: rpool

id: 15622550660926017948

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data.

see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY

config:

`rpool                    UNAVAIL  unsupported feature(s)`

  `wwn-0x5002538e4041ddbd-part6  ONLINE`

  `wwn-0x5002538e70800adf-part5  ONLINE`

Everything looks intact, but is it corrupted metadata? Is that what they destroyed upon a reboot? If you guys could help me out, that'd be awesome. I do have a backup, it's several years old though, and untested. I'm gonna hate having to go through that.

Edit: I tried zpool import -d /dev/disk/by-id -f and that didn't do anything. Just brought the above statement up. I also tried zpool import -d /dev/disk/by-id -fFX, nothing.

Edit 2: Had to update my zfsbootmenu to the latest version. I did recently update my pool to the latest zfs version in back ports. That must've been it.

Edit 3: Sorry guys, I noticed unusually network activity yesterday, and it left me a little paranoid. Right around the same time, I had updated my pool to the latest zfs version. Guess I jumped to conclusions.

Edit 4: Guys it wasn't a hack! I had recently deleted my filecache in my nextcloud database in mariadb. So that unusual network activity was just the filecache being rebuilt. I checked the nginx and nextcloud logs, and sure enough, nobody was downloading anything for the past few days. Just me, when I did some verification. False alarm! But this did give me a good scare and for me to recheck my security setup and think more about data segregation and access privileges.


r/zfs • • Oct 27 '20

sell me on zfs for home use

0 Upvotes

My current basement NAS box is an old Centos machine with 2 RAID-1 mirrors, exporting various parts of them via Samba and NFS. I have a VM server that mounts the NFS storage, and I run VMs on that. The machine is old, the distro is old, and Centos is boring, so I thought I'd move to FreeBSD and switch to ZFS. It _sounds_ cool, but for a home NAS of say 4 TB of mostly static content, does ZFS provide any real advantage over one of the Linux filesystems?

I can't decide if it's simply cool, or if it would be useful. I can't see using dedup or compression on mostly jpgs and mp3s, so does it really buy me anything?


r/zfs • • Nov 20 '23

My dreams of ZFS, dashed

0 Upvotes

I love Linux and FreeBSD. Love them. But for different things.

My bosses, however, hate FreeBSD. I mean, they struggle with RHEL because it's not made by M$, so an OS project with a literal Daemon as a mascot really puts them off their food.

Linux seems fully committed to BTRFS, but ZFS is just better in some cases. Add storage disks, add cache SSDs, create some volumes, and ZFS says "I got you, bro. I will figure it out, like a modern FS should". Need more storage? Add more disk. Need more speed, add more cache SSDs. When it comes to flexibility, ZFS just seems like a smarter choice.

So how is it that FreeBSD has such a mature and complete OpenZFS implementation, but Linux is still out in the cold? I mean, I love the FreeBSD team, but Linux is swimming in corporate dollars these days, how is ZFS not a priority? Or is it a priority and there is something else getting in the way?

Is there a roadmap? Can someone point me to an article that will help me understand why ZFS is taking so long to arrive on Linux? Is it technical, or are there some politics getting in the way?

Or is it a moving target that Linux is having trouble keeping up with?

EDIT: can I get some feedback on why I got ratio'd? I came here looking for some people that know (way) more about ZFS thank I do to maybe give me some hope of a ZFS future and some idea of the state of play and I got a lot, well, hate. I obviously like ZFS and want to run it, I just wanted some help understanding where things were at and why it's offered as a default FS option in FreeBSD but not in Linux. Should I have put a question mark at the end of the title?


r/zfs • • Jun 20 '23

Wow, look at this amazing maternity dress from ZFS boutique!

Thumbnail zfsboutique.com
0 Upvotes

r/zfs • • Sep 11 '20

ZFSonLinux long/short scrub

0 Upvotes

Coming from Freenas where this was an option. I'm new to using zfs on linux and I'm wondering if its possible to have different levels of scrubs.


r/zfs • • Nov 15 '25

How plausible would it be to build a device with zfs built into the controller?

0 Upvotes

Imagine a device that was running a 4 disk raidz1 internally and exposing it through nvme. Use case would be for tiny PCs/laptops/PlayStations that don't have room for many disks.

Is it just way too intense to have a cpu/memory/and redundant storage chips in that package?

Could be neat in sata format too.


r/zfs • • Aug 24 '26

I Tested 5 Popular Linux Filesystems — Here’s What I Found ― DJ Ware ― The CyberGizmo

Thumbnail
youtube.com
5 Upvotes

r/zfs • • Jun 22 '23

Zentrum für Sprachlehre (ZfS)

0 Upvotes

r/zfs • • Jul 12 '17

ZFS Is the Best Filesystem (For Now...)

Thumbnail
blog.fosketts.net
1 Upvotes

r/zfs • • Jan 19 '20

What will impact open ZFS project?

1 Upvotes

How critical will be for the ZFS project the recent change in the Linux policy for non GPL modules ?

Will that put the stability of the filesystem in jeopardy?


r/zfs • • May 30 '25

Where are the ZFS DirectIO videos on YouTube?

0 Upvotes

Where are the YouTube videos or other articles showing 1) how to configure ZFS DirectIO, 2) how to confirm that DirectIO is actually being used, 3) performance comparison benchmarking charts, and 4) pros, cons, pitfalls, tips, tricks or whatever lessons were learned from the testing?

Is no one using or even testing DirectIO? Why or why not?

It doesn't have to be a YouTube video, a blog article or other write up would be fine too, preferably something from the last six months from an independent third party, e.g., 45Drives. Thanks!


r/zfs • • Apr 15 '26

3 drive Mirror or 3 drive z2 - data security ONLY

1 Upvotes

Ok as always need an odd number of drives in a mirror and majority working to validate no data loss/corruption want to see a comparison based on how zfs actually works.

2 drive Mirror can lose 1 drive can NOT validate data corruption or not rot.

3 (and 4) Drive Mirror while physically possible has same problem as 2 drive Mirror
5 drive Mirror can lose 2 drives no data loss and can validate bit rot and corruption (all ODD numbers of drive Mirrors after can as well)

Now if you do not care speed but ONLY data security can a Z2 with 3 drives do what is needed with a 5 way mirror or a z3 with 4 drives do with a 7 way mirror

Other then reduced drives per zfs code this seems to be correct am I misunderstanding or due to the strip nature the additional drives of the mirror are better and why.

Note this thread only cares about data redundancy it does not care about speed. It is given that the Z2 and the z3s will be slower due to additional writes.


r/zfs • • Oct 23 '23

ZFS Frustration

0 Upvotes

Never used ZFS. I have a drive with GPT partition with a striped ZFS (zpool?) on it. When I try to import it using all the ZFS systems I can find on an Ubuntu system (OpenZFS, JonathonF PPA, 2.1.5-1ubuntu6~22.04.1, etc.) I get a few error messages about features not supported. It appears you have to know the system that created the system to import the pool, but that information is in the pool that you can't access.

I need a 2k bash script off this particular drive. Is there a guide for people who don't use ZFS to just mount a filesystem without having to be a Sun engineer? Maybe an Ubunutu PPA with ALL the features so it doesn't matter which zpool it tries to open?

I'm sure I've mangled the ZFS lingo here terribly. I'm happy to learn if someone can point me to good information.


r/zfs • • Jan 11 '20

Linus Torvalds: Avoid Oracle's ZFS kernel code on Linux until 'litigious' Larry signs off | ZDNet

Thumbnail
zdnet.com
1 Upvotes

r/zfs • • Aug 06 '21

HELP, Please, i am in big troubles, Bad zfs resize, linux

1 Upvotes

i've been using NixOs (linux distribution some Super diferent) and i instaled it over zfs, all was working as expected until yesterday that i watched that the ram usage didn't concord with the used by the opened applications so as i followed this guide for the single drive instalation i didn't have a swap device so i thought that the sobrant space that isn't by the applications was for a lack of a swap device so i downladed the last manjaro iso because comes with a preloaded zfsutils and kernel modules and i like it. so once booted on manjaro i resized my zfs partition with cfdisk and i remving off 7.8GiB of space from my zfs partition after that i created a linux swap partition (((i didn't put the swap over a zfs pool because that could result on a pool corruption))) and then i shuted down my pc, bad news once was booted on again. NixOs couldn't import the main pool (rpool) and couldn't mount the rpool/root/nixos(correspondent with my "/" folder) and whole the another datasets..

so i tried to solve this problems booting other time with manjaro and after a little research, the output of sudo zpool import -R /dev/sda1 rpool was

cannot import 'rpool': pool was previously in use from another system.
Last accessed by ZFSnixOS (hostid=f054c846) at Thu Jan  1 00:00:00 1970
The pool can be imported, use 'zpool import -f' to import the pool.

and the output of sudo zpool import -f was

   pool: rpool
     id: 16609059865286531112
  state: UNAVAIL
status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
 config:
rpool                                   UNAVAIL  insufficient replicas
  ata-ST500LM021-1KJ152_W62CQRHM-part1  UNAVAIL  corrupted data

according to the error code i don't know what to do. i hope someone can help me plis


r/zfs • • Oct 30 '25

SATA port for Intel DC S3700 went tits up, can I use it via USB for ZFS SLOG still?

0 Upvotes

I was using this drive as a SLOG drive for proxmox to reduce wear on my main nvme drive. SATA port borked so I no longer have sata at all. Can I pop this in a USB enclosure that supports UASP and still get decent performance, or will latency be too much? crappy situation.


r/zfs • • Dec 24 '25

RMA a “Grinding” Seagate Exos Now or Wait Until Year 4? SMART/ZFS Clean but Mechanical Noise

0 Upvotes

I’m looking for some advice from people who’ve dealt with Seagate Exos drives and long warranties.

Setup:

  • 2× Seagate Exos 18TB

  • ZFS mirror

  • Purchased April 2024

  • 5-year Seagate warranty

  • Unraid

Issue: One of the drives is making an inconsistent grinding/vibration sound. It’s subtle, but I can clearly feel it when I rest my fingers on the drive. The other drive is completely smooth.

What’s confusing me:

  • SMART shows no errors

  • No reallocated sectors

  • ZFS scrubs have completed multiple times with zero issues

  • Performance appears normal

  • But mechanically, something does not feel right

I’m torn between:

  1. RMA now while the issue is noticeable but not yet SMART-detectable

  2. Wait until closer to year 4 and RMA then, so I get a “newer” refurb and maximize long-term longevity

The pool is mirrored, so I’m not at immediate risk. So even if the drive fails within the 4 year period, I'd RMA then and resilver the data.

Questions:

Have any of you RMA’d Exos drives for mechanical noise alone?

Is waiting several years to RMA a bad idea even with a mirror?

Would you trust a drive that feels wrong even when diagnostics are clean?


r/zfs • • Feb 24 '22

zfs deduplication on BMP file

0 Upvotes

I know video files are encrypted, and encryption is supposed to make the contents of the file look random. So deduplication does not take affect on video files.
BMP files are lossless and not encrypted, why the zfs deduplication does not take affect on BMP files?


r/zfs • • Mar 07 '23

Does/can ZFS optimize for multiple vdevs using the same physical disk

0 Upvotes

Consider the following setup:

2x 4TB, 2x 1TB, 1x 5TB
/dev/sda - 5TB HDD split into 1TB and 4TB partitions
/dev/sdb - 1TB HDD
/dev/sdc - 1TB HDD
/dev/sdd - 4TB HDD
/dev/sde - 4TB HDD

-------------------  ------------------- 
| raidz1-1        |  | raidz1-2        |
| /dev/sda1 [1TB] |  | /dev/sda2 [4TB] |
| /dev/sdb1 [1TB] |  | /dev/sdd1 [4TB] |
| /dev/sdc1 [1TB] |  | /dev/sde1 [4TB] |
-------------------  -------------------

+ optionally SLOG & L2ARC on M.2 NVMes.

Does ZFS detect that sda1 and sda2 use the same underlying hard disk and avoid striping linear writes across raidz1-1 and raidz1-2, or is it oblivious? I'd expect that even if it decides to write to both vdevs, it could e.g. delay writes to sda1 until writes to sda2 are finished (dumping them to SLOG if needed). Or is it such a niche case that nobody cared to implement it? :)


r/zfs • • Jun 21 '23

Zurich Financial Services (ZFS) NSFW

Thumbnail
argusdelassurance.com
0 Upvotes

I'm in search of opinion about ZFS. Has anyone had the pleasure to be in business with them?