Tuesday, January 28, 2014

Linux file systems, go for ZFS or Btrfs?


Linux file systems, go for ZFS or Btrfs?

Below is my comment and ZFS file systems developers work which I copied

My Comment
Good Work.
Please write some end notes on all the Linux file systems.
I have had some problems with downloaded isos in the Peppermint Linux’s download folder.
I felt some hacker’s script had infiltrated (I used my computer as a cloud host inadvertently) it.
I changed the hard disk formatted everything and even the new disk cannot be partitioned with Gparted (I think the Debian is so finicky that it detects even minute corrupt files).
Now I keep a copy of all Linux images in Ntfs without any understanding how Ntfs works.
Your knowledge on how file system works is useful to old Linux users too.



I’m a geek. I enjoy playing with different file systems, version control systems, and, well, for that matter, radios.
I have lately started to worry about the risks of silent data corruption, and as such, looked to switch my personal systems to either ZFS or btrfs, both of which offer built-in checksumming of all data and metadata. I initially opted for btrfs, because of its tighter integration into the Linux kernel and ability to shrink an existing btrfs file system.
However, as I wrote last month, that experiment was not a success. I had too many serious performance regressions and one too many kernel panics and decided it wasn’t worth it. And that the SuSE people got it wrong, deeply wrong, when they declared btrfs ready for production. I never lost any data, to its credit. But it simply reduces up time too much.
That left ZFS. Before I build a system, I always want to make sure I can repair it. So I started with the Debian Live rescue image, and added the zfsonlinux.org repository to it, along with some key packages to enable the ZFS kernel modules, GRUB support, and initramfs support. 
The resulting image is described, and can be downloaded from, my ZFS Rescue Disc wiki page, which also has a link to my source tree on github.
In future blog posts in the series, I will describe the process of converting existing Debian installations to use ZFS, of getting them to boot from ZFS, some bugs I encountered along the way, and some surprising performance regressions in ZFS compared to ext4 and btrfs.