Problems in napp-it for Windows #345
Replies: 26 comments 12 replies
-
So on Solaris/illumos, you can modify the mount options ( You'll independently want to check that the property works, for example |
Beta Was this translation helpful? Give feedback.
-
Thanks. What would be the correct sequence? For the driveletter I expected that behaviour and And yes, care about stability over features. |
Beta Was this translation helpful? Give feedback.
-
no difference - but i would refer the first one, since you can use the property check, and only do the remount if it changed ok. |
Beta Was this translation helpful? Give feedback.
-
Just to add |
Beta Was this translation helpful? Give feedback.
-
Oh yeah, it's real complicated with driveletter, all children have to also be remounted ;( |
Beta Was this translation helpful? Give feedback.
-
The driveletter thing is really tricky An average Windows user expects a ZFS pool ex tank to come up like an additional disk, so pool tank=driveletter x is ok. It becomes complicated if you enable a driveletter to a sub filesysten like 'tank/data=driveletter y' with the effect that the ZFS view of things is different to the Windows view. For an experienced ZFS user this is no problem, an average Windows user may become very confused, Best is to avoid such settings. Best is to use the Unix way of mounting a pool tank -> /tank (c:\tank). Mounting a whole pool under a driveletter: is also ok. Avoid any settings where daughter/sub filesystems are not mounted below the pool. The "Nexenta way" seems also ok as they mount all pools under /volumes. |
Beta Was this translation helpful? Give feedback.
-
The default is to assign a driveletter to the pool, and all sub-datasets go inside that. The driveletter has a default setting of "poolonly" with that in mind. So if users do nothing, this is what will happen. Mounting inside C:/ actually comes with a bunch of issues. If C: is case-insensitive, and your pool is not, Windows has difficulty crossing into C:/pool with different "mount" properties like that. A user can make it so the pool goes into C: if they really want to, with the assumption that they then also know to match the two filesystem options. |
Beta Was this translation helpful? Give feedback.
-
On Windows and OSX default is case insensitive. Different properties of (daughter) filesystems than on parent or pool level is always a problem to consider. Beside case settings, this are mainly character sets, ex utf8, normalization and nbmand settings that should be the same across pool and nested filesystems. edit: current napp-it nightly (feb 03) supports to modify atime, nbmand or readonly |
Beta Was this translation helpful? Give feedback.
-
A Windows SMB filer with ZFS, why and when? There was a discussion about this and the answer was: When it comes to performance over security: (in German, use Chrome to translate on the fly) SMB Performance tuning |
Beta Was this translation helpful? Give feedback.
-
Some impressions with SMB direct/RDMA and 100G (use Chrome to translate on the fly) |
Beta Was this translation helpful? Give feedback.
-
I have a quite curious problem. I updated Win11 on ESXi from 99-3 to 99-5. and rebooted. After that i wanted to import my pools via zpool import in the web-gui but no pool was found. I saw only disk messages like
After that i tried the zpool import locally at console. I saw the same disk messages but after that importable pools were listed and I was able to import the pools via cli. Only difference between the local zpool import and the import via napp-it is that that napp-it uses a client server architecture with a background socketserver that executes the commands as admin via ipc::run and powershell (gives back stdout + stderr and respects a timeout) while locally I call zpool directly. So not really a bug in Open-ZFS but a weird behaviour. |
Beta Was this translation helpful? Give feedback.
-
I have not seen this on the 99-3 release but there is a workaround for now I have added a remark in the web-gui on Pool > Import when no importable pools are shown |
Beta Was this translation helpful? Give feedback.
-
Question: Is it possible to access ZFS Snaps on Windows via the "previous versions" tab? |
Beta Was this translation helpful? Give feedback.
-
Not essential but ZFS snaps = VSS locally would be a huge win and the selling point for ZFS on Windows. Another question: Is this due debug code or is there another reason? |
Beta Was this translation helpful? Give feedback.
-
I peeked at the API, so I know it exists - so it is on todo, to at least see if we can do something with it. |
Beta Was this translation helpful? Give feedback.
-
Another point |
Beta Was this translation helpful? Give feedback.
-
Use ashift=12 to overrule it? |
Beta Was this translation helpful? Give feedback.
-
I expect then the following behaviour. As Windows thinks, the ZFS "disk" is 512B physical/logical, it splits any data it writes in 512B chunks. As ZFS is aware of the real 4K physical disk structure, it must write every of these 512B chunks as a 4K block what means ZFS must write 8x the amount of data to the pool that Windows writes to the ZFS "disk". This would declare the bad ZFS performance under Windows compared to the ntfs disk that reports the correct 512E value (512B logical/4K physical). ZFS should report the "real" physical/logical pool structure or at least 512B logical/4k physical to go around this problem in most cases as ashift is not a pool but a vdev value and future NVMe may go to 8k/ashift 13. ZFS Pools with real 512B locical/physical are no longer to be expected as you cannot buy 512B native disks nowadays. btw There is an entry zfs_vdev_min_auto_ashift (undefined/invalid). Can this be used to modify or set ashift for the Windows view of a pool? I have also asked the Gemini KI how to modify sectorsize for a ZFS pool in Windows goto: HKEY_LOCAL_MACHINE\SOFTWARE\OpenZFS\Configuration (not there) Entry should be valid for newly created pools napp-it on Windows Feb 12b first beta |
Beta Was this translation helpful? Give feedback.
-
@lundman: Pool was set at ashift=12. I am the one tinkering with ZFSonWindows in the other Forum/posts and set up a system with two identical NVME SSD to compare/ identify anomalies against native Windows filesystems. Happy to try whatever you throw at me. |
Beta Was this translation helpful? Give feedback.
-
For what it's worth: I recreated the process and made a screenshot how the fsutil reporting changes from a NTFS-volume compared to the ZFS dataset: As it's in German, let me know if you need anything translated. But I hope it is clear enough that with an NTFS volume windows recognizes the logical sectors of 512 Bytes as well as the physical 4k sectors, whereas with a ZFS volume on the same SSD windows treats it as 512 "native". |
Beta Was this translation helpful? Give feedback.
-
I supppose a 512e default setting with 512/4096 can improve ZFS performance. |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: I am in no way a programmer / coder, just a (maybe overly) excited enthusiast. As to hardcoding the sector information, maybe would be an alternative to query the relevant information from the disk/windows? Something like IOCTL_DISK_GET_DRIVE_GEOMETRY_EX (source)? As for scripting, so far I only found the "get-disk" powershell cmdlet which works on any & all drives, especially those not having a drive letter and not initialized by windows (both of which fsutil above unfortunately requires). Example to get relevant information for all disks:
If all this is obvious, let me know. I am just trying to understand things a bit better. |
Beta Was this translation helpful? Give feedback.
-
A problem may occur if Windows thinks ZFS is a 512B native disk while ZFS is using 4K/ashift 12 what can mean that a 512B write on Windows results in a 4K write in ZFS. Unless there is an option to switch the pool on Windows from 512N (512B logical/physical) to 512E (512B logical/4K physical) one can only asume that this is the reason for the lower ZFS performance. |
Beta Was this translation helpful? Give feedback.
-
Sounds not too promising about a better ZFS performance with a 4k disk setting now. |
Beta Was this translation helpful? Give feedback.
-
You mentioned heh can't find a single place where I didn't cheat. |
Beta Was this translation helpful? Give feedback.
-
Napp-it for ZFS on Windows now supports groups to manage several Windows ZFS servers. This will be extended later to non-Windows servers like OmniOS or Linux but BSD, OSX or SmartOS are also possible options. Download (unzip and replace /xampp/[nappit]/[data] ([names] can be modified). Xampp portable must be already downloaded https://napp-it.org/doc/downloads/napp-it_nightly.zip unzip folder [napp-it]
newest infos: |
Beta Was this translation helpful? Give feedback.
-
When I created the option to modify properties in my napp-it web-gui for Windows with:
zfs set atime=off tank/data or
zfs set readonly=on tank/data
the property is not set but i get
"property may be set but unable to remount filesystem"
Is this a known issue?
Beta Was this translation helpful? Give feedback.
All reactions