Why and how should I use ZFS on my NAS, when Windows can't use ZFS?

2

Every where I read something about NAS RAIDs its said that data should be saved in ZFS.

I cannot find answers to my questions.

1) Why should I save my data in a file-system that cannot be used by Windows 10?

2) How can I save data from my Windows 10 PC on a ZFS filesystem on the NAS when Windows does use NTFS is this even possible?

Gernot

Posted 2017-04-21T20:48:03.127

Reputation: 33

Answers

7

  1. ZFS is a new type of file system with some distinct advantages over most other file systems - It uses a radically different design to regular file systems like NFTS, FAT, EXT4 etc which (a) ensures data is always consistent - and even if the data becomes inconsistent through bit-rot, it can detect and repair it, (b) gets around the "write hole" problem where a power failure occurs during write in a RAID array - this allows it to better ensure data integrity. It's also designed to make maximum use of caches - including read and write (to SSD) caching so it is very efficient. Its Achilles heel is memory issues - you really want to ensure the box that's running on it has reliable memory - ideally ECC memory which can detect and sometimes recover from corruption.

  2. When Windows is using a NAS, it sees it as a network drive, and talks to it using a defined protocol (typically SMB/CIFS). This shares FILES without being particularly concerned what the underlying file system is. Only the NAS which is doing the serving needs to know what the file system is. So the Windows box says to the NAS box "here is a file, please store it in this directory". The NAS box says "OK", and uses whatever file system it wants.

davidgo

Posted 2017-04-21T20:48:03.127

Reputation: 49 152

can I work diretly on one of the drives within the nas (local network)? Or is it performancewise so bad? And do you not feel uncomfertable to store data in a zfs format, I mean it cannot be processed by windows...??? – Gernot – 2017-04-21T21:32:49.727

Depending on the NAS you should be able to work on the files directly. ZFS performance is very good relative to other options (on same hardware). I dont use With windows for anything important, but limited support is a legitimate concern. (I am more concerned about RAM issues which could cause unrecoverable loss) but ZFS is production ready. I guess just make sure your backup regime - at a file level - is solid. – davidgo – 2017-04-22T01:11:22.657

2Very good answer, just a small nitpick: ZFS is not exactly new anymore, but over 11 years old and mature. Some of its features are even decades old and have been used in other systems, but not in the same combination and on commodity (cheap) hardware. – user121391 – 2017-04-24T07:08:22.593