Info ZFS on OSX and Windows

gea

Senior member
Aug 3, 2014
239
16
81

ZFS is a perfect solution now for mutual use (important data, large data ex 20TB disks, redundancy with copies=2 or encryption with a key per filesystem) or disaster backups (external offline - beside backup syncs)

How do I handle ZFS on Windows USB disks
- I always name usb pools "usb"
- I create three batch files on the desktop

poolstate.bat with file content:
zpool list
timeout /t 5

import_usb_pool.bat with file content:
zpool import -f usb
timeout /t 5

export_usb_pool.bat with file content:
zpool export -f usb
timeout /t 5

Execute the file via a mouse right click and "run as administrator"
Prior an unplug, export or check state as the usb pool hangs (reboot required) when you just unplug a single disk pool
 
Last edited:

gea

Senior member
Aug 3, 2014
239
16
81
New release of ZFS on Windows zfs-2.2.3rc4, it is fairly close to upstream OpenZFS-2.2.3
with draid and Raid-Z expansion


rc4:
  • Unload BSOD, cpuid clobbers rbx
Most of the time this is not noticeable, but in registry-has-changed-callback
during borrowed-stack handling, rbx changing has interesting side-effects,
like BSOD at unload time.
This means 2.2.3rc1-rc3 can have BSOD at unload time. If you wish to avoid that,
rename Windows/system32/drivers/openzfs.sys to anything not ".sys", then reboot.
The system will come back without OpenZFS, and you can install rc4.

btw
Open-ZFS on OSX and Windows is still rc/ beta.
Problems are mainly around OSX or Windows integration not ZFS.

Try it and report problems to reach a stable state asap.
https://github.com/openzfsonwindows/openzfs/issues
 
Last edited:

gea

Senior member
Aug 3, 2014
239
16
81
Development of Open-ZFS on Windows has reached a next step.
New Release candidate Open-ZFS 2.2.3 rc5 on Windows

it is fairly close to upstream OpenZFS-2.2.3

rc5:
  • VHD on ZFS fix
  • fix mimic ntfs/zfs feature
  • port zinject to Windows
  • fix keylocation=file://
  • fix abd memory leak
A ZFS Pool is now detected of type zfs and no longer ntfs
ZFS seems quite stable. Special use cases, special hardware environments or compatibility with installed software needs broader tests.

If you are interested in ZFS on Windows as an additional filesystem beside ntfs and ReFS, you should try the release candidates (for basic tests you can use a USB device if you do not have a free partition) and report problems to the OpenZFS on Windows issue tracker or discuss.
 

gea

Senior member
Aug 3, 2014
239
16
81
In the meantime there are two problems discovered with Open-ZFS on Windows 2.2.3 rc5
- a compatibility problem with AOMEO backupper (crash after setup)
- zfs get mounted does not return a value

rc6 is underway to adress these

please report all remaining problems to the issue tracker or discuss
Releases · openzfsonwindows/openzfs (github.com)
 

Jimminy

Senior member
May 19, 2020
444
164
116
I like alphabet soup. The best pasta for soup is shaped like tiny letters. But if I look close, I can read them.

I've often seen all the things you've mentioned when I stir a bowl of soup.
 

gea

Senior member
Aug 3, 2014
239
16
81
I want to add a Windows Storage Pools and Storage Spaces menu to napp-it cs similar to ZFS pools, ZFS filesystems and ZFS volumes. Compared to ZFS the Windows Storage Pools, Storage Spaces and virtual disk concept is really a pain to handle. I found a page and it is a very helpful source for my next steps. Maybe very valuable for all who want to use Storage Pools or Storage Spaces on Windows.

Storage Spaces with parity, very slow writes. Solved! (wasteofserver.com)
 

gea

Senior member
Aug 3, 2014
239
16
81
Open-ZFS 2.2.3 rc6 für Windows


Open-ZFS 2.2.3 rc6 für Windows
Releases · openzfsonwindows/openzfs

Avoids a BSOD problem on updates when AOMEI backupper is installed
(disables zvol support in registry)

what I have found
keyload via prompt when keysource is file works now
echo "1234" | zfs load-key -L prompt tank/data

Where I still have problems:
(Please report all remaining problems in issue tracker)
  • Snap access via Explorer ex in p:\.zfs\snapshot\snap (Explorer hangs)
  • Remote Replikation problems with netcat and Free-BSD, OSX, Linux,Illumos from/to Windows (tried nc64 1.12, nmap netcat and cygwin64 netcat.
 

gea

Senior member
Aug 3, 2014
239
16
81
Newly discovered problems with file rename, robocopy and rclone,

This shows that it is essential that many are testing the release candidates that becomes better and better to find and report remaining problems.