Earlier quoted context omitted.
Since when is introducing a major regression into something as critical as a filing system a hooray for open source? Only on GNU/Linux... and nobody thinks twice about it or bats an eyelash; instead, the scrambling to contain the regression is greeted with a hooray. It’s mentality like this which makes me want to never touch a computer again.
Introducing major bugs happens in software all the time. Finding it, working out a solution, and fixing it quickly is a hooray for open source.
ZFS on Linux: Unlistable and disappearing files
141–150 of 168 posts
Re: ZFS on Linux: Unlistable and disappearing files
#142Earlier quoted context omitted.
So what exactly is your suggestion? "lost+found is ugly so don't recover the files at all"? He said meta data is lost so I'm really curious to hear your elegant modern solution. This is a tool that might be needed on a few systems that suffered from this relatively short loved bug and then never again after that, so your solution better not require ten times the effort.
If it's a one time throwaway tool, then it doesn't need lost+found!
Re: ZFS on Linux: Unlistable and disappearing files
#143Earlier quoted context omitted.
Where do you suggest recovered file data (when metadata has been lost) should be put in the event of repair after a file system driver bug?
I suggest completely backing out the code in question and using a FreeBSD or an illumos based system like SmartOS. That's what I suggest. metadata are not files so they have no business going into lost+found.
Re: ZFS on Linux: Unlistable and disappearing files
#144Earlier quoted context omitted.
Where do you suggest recovered file data (when metadata has been lost) should be put in the event of repair after a file system driver bug?
I suggest completely backing out the code in question and using a FreeBSD or an illumos based system like SmartOS. That's what I suggest. metadata are not files so they have no business going into lost+found.
This makes sense and we did that. It does not fix the fact that datasets exist where directories have incorrect sizes and files are orphaned because of the bad patch.
> and using a FreeBSD or an illumos based system like SmartOS. That's what I suggest.
While those are fine choices, they are not immune to bugs either. We had a space map corruption bug that we inherited from Illumos several years ago. We also inherited an issue in send/recv from illumos several years ago when hole_birth was introduced. FreeBSD’s TRIM implementation was far from perfect too and likely messed some things up given the long history of bug fixes that it required.
I do not mean to discourage people from using those systems, but it is silly to adopt them because a bug got past joint OpenZFS review and landed in the Linux port first. While they do a good job too, they are not infallible. The major OpenZFS platforms are roughly at parity in terms of their risk for bugs and regressions.
> metadata are not files so they have no business going into lost+found.
This makes no sense. How are orphaned files “metadata”? Why should they not be placed in a lost+found directory?
Re: ZFS on Linux: Unlistable and disappearing files
#145basically the reason I like my filesystems a few decades old and mature, I would not trust zfs or btrfs with anything critical.
Alternatively you can just avoid the bleeding edge versions of any file system.
From the bug report, sounds like ZoL is integrating some new tests, learning how to retrieve orphaned files, and possibly strengthening its hashing mechanisms, so overall this will strengthen ZFS's robustness. Little consolation for those with damaged filesystems, but that's how the cookie crumbles sometimes.
Re: ZFS on Linux: Unlistable and disappearing files
#146Re: ZFS on Linux: Unlistable and disappearing files
#147Earlier quoted context omitted.
Imagine if this had happened to Apple, everyone and his dog would be rolling over each other villifying them.
I paid good money to Apple so something like that would not happen, so yeah I’d be villifying them. You bet!
Re: ZFS on Linux: Unlistable and disappearing files
#148We are working on it. We know what patch introduced the regression and 0.7.8 is going out soon to revert it. Until then, users should downgrade to 0.7.6 if they have not already. The Gentoo and EPEL maintainers have pulled the affected releases from the repositories (technically masked on Gentoo). Ubuntu was never affected. The regression makes it so that creating a new file could fail with ENOSPC after which files c…
Re: ZFS on Linux: Unlistable and disappearing files
#149Earlier quoted context omitted.
> also a good time to remind people that backups are not backups unless they're geographically diverse. ... and backups are not backups until you can reliably restore from them.
...and a DR plan isn't worth the paper it's written on unless you test it regularly (people leave, media gets corrupted... just like the military; do drills!)
Re: ZFS on Linux: Unlistable and disappearing files
#150Earlier quoted context omitted.
i have been using btrfs in production for years now and it has never failed me, and i am doing hundreds of snapshots and send/receiving, i've reconfigured raids on the fly and went from 6 disk raid 10 of mixed size to raid 10 of same size. we have in some cases had many power failures with no data loss. We also have some set up using md raid and some using hardware raid... when i hear people dogging btrfs it just spe…
Are you using btrfs native RAID support? The docs say it's really unstable so I was scared to use it
Raid5 and 6 are unstable in the "avoid at all costs" kind of way.
This may be of use if youd like to know more: https://btrfs.wiki.kernel.org/index.php/Status