Napp-it cs web-gui for (m)any ZFS server or servergroups

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
About

Napp-it is a webbased management tool for a ZFS server since the early days of ZFS on Sun Solaris or OpenSolaris. Now ZFS is available on BSD, Illumos (Solaris fork), OSX and Windows where the first release candidate is available now. This gives a unique combination. The original Windows SMB server is not only quite the fastest one, it is also the most Windows compatible one especially regarding ACL permissions where only the Solaris kernelbased SMB server comes close. Combined with ZFS you have a dream team.

Main advantages of napp-it cs (Client-Server edition):
It is a mobile „Copy and Run“ application, no installation required
On Windows, simply download and start. Setup, Update or downgrade is a simple copy action.
It is intended that you can manage any ZFS server on any platform or replicate between any.

Requirements:
Napp-it cs needs a simple webserver with Perl and cgi capability. I decided to use Xampp portable as it offers a whole webserver suite with Apache. You can minimize size by deleting service folders beside Apache and Perl.

Current state:
First beta with basic Disk, Pool, vdev and snap management.


Setup

1. Download Open-ZFS for Windows

2. Download Frontend web-gui Xampp.zip with napp-it (portable app, no installation required, just copy and run)
uncompress to c:\xampp

3. Download Backend Server cs_server.zip
uncompress and copy to any location of your BSD, Illumos, Linux, OSX, Solaris or Windows server

4. Open a Browser on Windows with adress http://localhost
or from a remote client with the ip adress of Windows.

more


Not convinced?
Uninstall Open-ZFS and delete c:\xampp

Discuss napp-it cs for ZFS on Windows:

Discuss Open-ZFS on Windows
https://www.reddit.com/r/zfs/comments/19dpz70

Current state of napp-it cs for ZFS on Windows:


I'll keep this initial thread up to date
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
newest nightly:
- download, unzip folder napp-it
- delete c.\xampp\napp-it and copy new napp-it folder to c:\xampp

Jan. 22:
Menu ZFS filesystem with smb share enable/ disable
Jan 23
I have added the option to set driveletters in menu zfs filesytems (no need to set via cli)

shares.PNG

After a Windows reboot you may need to import pools
 
Last edited:
  • Like
Reactions: gb00s and nasbdh9

ericloewe

Active Member
Apr 24, 2017
295
129
43
30
So... How well is ZFS on Windows working these days? Like, "run it on my main workstation" sort of reliability?
 
  • Like
Reactions: Aluminat

ericloewe

Active Member
Apr 24, 2017
295
129
43
30
could it be WORSE than storage spaces?
Probably not, but "better than storage spaces" is not a high bar to clear and the expectations most people have of ZFS are unlikely to be satisfied by such meager an achievement.
 

ano

Well-Known Member
Nov 7, 2022
654
272
63
it was mostly a joke, and also a small bump for TS to get some traction for the thread ;)
 

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
thanks.

I have seen that
- there is a new release candidate 1-3 of Open-ZFS for Windows from today (just install and reboot)
prior installation: create a recovery point (my win 10 crashed after installing the new version, win 11 was ok)
- may be of interest:

If possible, do tests in a VM
https://www.reddit.com/r/zfs/comments/19dpz70
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
prior installation: create a recovery point (my win 10 crashed after installing the new version, win 11 was ok)
Tried the update again in Win10, this time it worked. Best is to do tests in a VM


If Windows crashes after installing of ZFS

get newest:

26.1c. newest nightly: SMB sharing with permissions and mountpoints in menue Filesystems: ok

Menue disks and filesystems: quite ok
Menue pools, snaps and fillesystems: ok
menu jobs not ready
 
Last edited:
  • Like
Reactions: gb00s

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
Behaviour of Windows ZFS is different to OmniOS/ Solaris ZFS

On OmniOS only nbmand requires a unmount+mount.
On Windows (and propably Linux) atime and readonly also require a (recursive) unmount/mount cycle.

I have uploaded a new release (feb 03) where this works on Windows.
 

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
A Windows SMB filer with ZFS, why and when?

There was a discussion about this and the answer was:
Windows SMB direct with RDMA can be a powerful option with high performance needs ex for (multiuser) 4k+ video editing
and large (Petabyte) storage that is more secure, feature rich and faster than ntfs/ReFS (but be aware, current Open-ZFS 2.2 for Windows is release candidate/beta).

When it comes to performance over security:


(in German, use Chrome to translate on the fly)

SMB Performance tuning
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
If you can read German (or translate via Chrome):

First impressions with SMB direct (RDMA) and 100G nics under Server 2019 free
 
  • Like
Reactions: gb00s

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
Napp-it is now portable regarding path and name of napp-it folder. This will allow a online update/downgrade in future similar to the Solaris version. You can now keep versions like /xampp/napp-it and /xampp/napp-it2 or /xampp/web-gui/daten, daten2,daten3. Start the wanted version with /xampp/napp-it[n]/data/start_web-gui_as_admin.bat, A Job background task will allow to start tasks without any modifications in Windows (under development, not ready). Menu Pools shows now state of dedup and special vdevs.

special.PNG
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
Feb 12b beta
jobs now working (scrub, snap and other)
new menu System with kstat and registry infos

Pool > Expand Raid-Z (raid-z expansion)
Pool > Create: draid

todo
other jobs
performance ex phys blocksize of ZFS under Windows (512B -> 4K)
 
Last edited:
  • Like
Reactions: Aluminat

gea

Well-Known Member
Dec 31, 2010
3,163
1,195
113
DE
extend napp-it with private menues
If you want to manage Xampp or other services via private napp-it menues (update/downgrade safe):

- create a private menu folder 1nn_xx in /xampp/[napp-it]/_my/menues for example 102_my_first_menue
- place a file action.pl with your menu actions within, see other examples under _my/menues

Typical structure of a napp-it menu script.
1. collect all relevant infos into a Perl hash ex %current
you can display hash state via &print_hash(%current);
like i do in menu ZFS Filesystems > data zfs
2. interact with user to manage settings
3. execute commands via &exe("powershell command"); with admin permissions.

To debug a script, use &mess($x), &print_var($x); &print_array(@x) or &print_hash(%x);

To edit Perl scripts, use the DZsoft Perl editor (now free)
DzSoft's Order Page

 
Last edited: