r/zfs•
MMPride

Random data loss or free extra storage space (more efficient)?

Hi everyone,

I have a raidz2 zpool of 6 WD Red Pro 6TB drives. Recently, my Ubuntu 20.04 Linux system has updated to zfs 2.1.0 (from 2.0.4, I believe) and I have executed zpool upgrade so that the latest feature flags are enabled on my zpool, and it looks like it enabled draid (and nothing else, I already had everything else enabled). However, recently (like today) I noticed that I seem to have an extra 400-500GiB of free space in my zpool. Normally I have anywhere from around 1.1TiB to 1.2TiB free in my zpool, however, today I noticed that I have 1.6TiB free. I definitely did not intentionally clear up an extra 400-500GiB of free space (it's hard for me to even clean up 100-200GiB these days, my data is valuable to me, unfortunately), which makes me think I either have some data loss (bug or accidental deletion??) going on OR somehow the latest zfs version is somehow more efficient at storing data, because that's a lot of extra data for me to suddenly have free.

Here is some picture details about my setup:

https://i.imgur.com/Sj1UxHn.png

https://i.imgur.com/rOGtBFT.png

https://i.imgur.com/VzRXpDD.png

https://i.imgur.com/OgtIigN.png

As far as I can tell, it kind of seems like nothing has been deleted - I compared against an offline backup on a different server and everything seems accounted for as far as I can tell with a quick glance. Does anyone know what might have happened? I would appreciate any help with this.

UPDATE: It looks like my used space is the same before and after the zfs 2.1.0 update but I now have around 400GB more total space in my zpool and this just makes me wonder... why? Is this intentional or is there a bug?

Thank you.

Posted Jul 12, 2021, 11:54 PM UTC · edited

518
Loading comments…