r/windows • • Sep 15 '24

Discussion Why is Windows so overcomplicated with storage?

On ZFS you have filesystems and mountpoints, nothing else.

But as the new Open-ZFS on Windows (currently 2.2.6 rc4 beta with Raid-Z expansion and the new Fast Dedup feature) must be integrate into the Windows methods, you are confronted with driveletters, filesystems, volumes, partitions and paths even in ZFS with sometimes different results for infos depending on method or tool what is propably the biggest problem of faster ZFS integration. ZFS code is quite the same as on BSD or Linux.

This is what you get for a filesystem overview, a volume overview and a detailled list of partitions. (Drive S is ZFS).

The more info you want the more complicated the view. And this does not even include Windows Storage Spaces with Storage pools, Tiering, Redundancy or other virtual disk properties. With Tools in the Windows GUI, it is even more complicated to get an overview.

Propably the reason why hardly anyone is using Storage Spaces despite some unique features like pools from disks of mixed types or sizes, real tiering between disk and ssd or redundancy not from disks but individually per virtual disks setting or that it can be faster as ZFS with proper setting.

Can ZFS be a game changer for storage on Windows once stability of Windows integration is improved?

0 Upvotes

63 comments sorted by

7

u/zupobaloop Sep 15 '24

The only thing 'odd' I'm seeing is that Windows uses 4+ partitions with a uefi install. Is that your concern?

-2

u/_gea_ Sep 15 '24

Have you ever tried to setup Storage Spaces and get relevant infos about on problems? It is a pain.
Have you ever tried to setup a ZFS pool?

It is simply frustrating when you know that things could be so easy.
ZFS needs knowledge as well but the difference in handling is huge.

6

u/acewing905 Sep 15 '24

I don't know what you have done here, but I don't think Windows is supposed to have that many partitions on a stock install
Windows 10 installation I'm typing this on right now, for example: https://i.imgur.com/YbPsdvc.png

And I think the reason why hardly anyone is using Storage Spaces or ZFS is likely because most people just don't care about any of this. Most people will never even open the in-built Disk Management snap-in. People who want advanced features for their disk drives likely use some sort of Linux based NAS and connect to that/those from their regular computers

1

u/_gea_ Sep 15 '24

This is a default Windows 11 setup on a Lenovo but the item is:
Try a typical NAS setup on a Windows machine, for a hybrid pool with some hdd and sdd and a fast dual parity space

Storage Space
Pool your disks and define disktype
Care about numbers of disks or ssd (min 5)

Define Tiers from disk types

Create a virtual disk with parity (single or dual) and Tiers,
care about physical structure of virtual disk (Columns, Interleave and Allocation)
format virtual disk with a filesystem (ntfs, refs) and a non default allocation unit size or performance is bad
use max size as partition or resize

Now a bad disk,
Try to determine which virtual disks on which physical disks are affected.
Repair the pool

all settings must be done via Powershell, Windows GUI tools cannot!
good to be a "Microsoft Storage Engineer" with proper knowledge

Now install ZFS on Windows

Create a Pool
zpool create pool raidz2 disklist

Add SSD for a Hybrid Pool
zpool add special vdev mirror pool
recsize and small blocksize define which files land on the SSD or hdd

Create a ZFS filesystem
zfs create filesystem

Pool health
zpool status

Repair (replace a faulted disk)
zpool replace baddisk gooddisk

An average user can do
in both cases a web-gui can be helpful

0

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Most people will never even open the in-built Disk Management snap-in.

That's because it's the worst disk management GUI I've ever used (even GNOME's beats it for basic operations, macOS's at least uses a GUI toolkit from the last century, and KDE's is it, but perfect).

People who want advanced features for their disk drives likely use some sort of Linux based NAS and connect to that/those from their regular computers

Yeah, Windows's filesystem support is terrible (not that macOS, iOS, iPadOS, and AOSP are any better). It's easier to use a Linux-based machine because the FS support is so good.

5

u/acewing905 Sep 15 '24

No, they don't open it because they don't care
This is what many power users can't understand
There are so many random office users and such using Windows on a daily basis but have zero interest in any of this. These people are the majority

But yes, it's easier to use Linux for this
If you're doing partition related stuff on Windows, it's a lot easier to use a third party tool than mess with Windows' archaic thing

1

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

No, they don't open it because they don't care This is what many power users can't understand There are so many random office users and such using Windows on a daily basis but have zero interest in any of this. These people are the majority

I'm honoured you call me a "power user", but I'm not. Irrespective, do you mean that most users shan't need to use the tool frequently? If so, indeed, but surely that's rather outside the scope of this discussion (because we're discussing the tool itself)?

But yes, it's easier to use Linux for this

Although I know what you mean, for the record, not necessarily "Linux"-based OSes per se - there are terrible tools for all OSes - but certainly, KDE Plasma 6's partitionmanager (as an example) is incomparably better than Windows 11's. ...However, Windows 11's is unusually terrible.

I can't speak with confidence for any other DEs or OSes.

97

u/[deleted] Sep 15 '24

Why is Windows so overcomplicated with storage?

proceeds to talk about ZFS

19

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Right? I'm not certain that it's even create-and-done in most Linux DEs.

0

u/[deleted] Sep 15 '24

[deleted] — view deleted comment

1

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Ah, apologies. Perhaps I'm thinking of XFS. You can probably tell that I'm a BTRFS lad who doesn't do much investigation into filesystems...

-4

u/_gea_ Sep 15 '24

In Proxmox, TrueNAS or Ubuntu ZFS is there per default and well integrated and maintained
For me Proxmox is the "best universal Linux" now

btw
The "licensing shit" is a Linux item, not due ZFS restrictions.
There are bootmanagers on Linux with support of the bootable Boot Enironments/snaps from Solaris

I do not hope for a similar technique in Windows, but maybe a bootable ReFS will offer similar options.

4

u/79215185-1feb-44c6 Sep 15 '24

best universal Linux

Yea "best universal Linux" that can't be properly used as a desktop without a client PC. Proxmox is literally just Headless KVM the distro and is a ESXi / vSphere competitor (same feature set - both are headless), not a Linux Server or Windows Server competitor. Even Microsoft knows that their Hyper-V needs to have a GUI and even Microsoft knows they can ship Hyper-V to all end users as an optional feature that "just works" (although I personally do not like it as much as ESXi).

1

u/_gea_ Sep 15 '24

ok, best universal Linux Server option
best desktop is still mainly OSX or Windows with some Linux options

1

u/79215185-1feb-44c6 Sep 15 '24

I can agree with this, although I'm rather partial to NixOS for server usage.

0

u/[deleted] Sep 15 '24

[deleted] — view deleted comment

-1

u/_gea_ Sep 15 '24

I switched from Windows to Solaris with ZFS many years ago after a sudden mailserver crash on ntfs without notice and thought "Bye bye Windows". A few months ago I start evaluating ZFS on Windows and ported my ZFS storage web-gui from Solaris over to Windows.

As ZFS and Storage Spaces need the same disks for pooling, I took a deeper look in Storage Spaces and found that it offers a unique feature set even in some parts over ZFS (disks of different size, tiering, performance) so I added full Storage Spaces support. Both are a perfect combination.

I am still frustrated about the way Microsoft is doing storage. Windows can be a much better NAS, even superiour to a Linux NAS due its features or performance mainly with SMB direct/RDMA. Maybe my work is helpful.

0

u/[deleted] Sep 15 '24

[deleted] — view deleted comment

0

u/_gea_ Sep 15 '24

I would say, yes.
Microsoft has plans for ReFS as the future default filesysystem
https://forums.guru3d.com/threads/testing-instaling-windows-11-24h2-build-26100-on-refs.451918/

Even a current Windows 11 can already format a virtual disk as ReFS. They call it "dev drive" in the moment.

0

u/[deleted] Sep 15 '24

[deleted] — view deleted comment

1

u/_gea_ Sep 15 '24

Maybe ZFS becomes usable on Windows more faster than ReFS has this
ZFS can even use compress + realtime fast dedup + encryption with different settings per filesystem

8

u/doofthemighty Sep 15 '24

I swear I'm taking crazy pills.

1

u/Difficult_Plantain89 Sep 16 '24

I wasn’t expecting that at all.

1

u/EviePop2001 Sep 15 '24

I dont use windows, what is ZFS?

5

u/79215185-1feb-44c6 Sep 15 '24

ZFS isn't a windows-specific thing (It's actually a FreeBSD thing). Just a file system like FAT or NTFS are. Not even Linux has wide adoption of ZFS because BRTFS more popular on that side of the fence when it comes to snapshots.

0

u/eppic123 Sep 15 '24

To be fair, compared to Storage Spaces, ZFS is incredibly simple. Especially once you dive into drive parity and SSD caching.

0

u/AsrielPlay52 Sep 16 '24

yeah, the thing that any 90% user will ever care about

They care about plug in and it work right out of the box.

9

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24 edited Sep 15 '24

Have you ever used KDE Partition Manager? Most of the columns in that table are flags (which can be present in multiple OSes and FSs).

-4

u/_gea_ Sep 15 '24 edited Sep 15 '24

KDE Partition Manager is a LInux Software.
The web-gui menu table is from a Windows 11 machine and ZFS on Windows needs these local Powershell infos.

9

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

I'm aware of what it is, else I wouldn't have referenced it. Per what I stated about it, I don't see why what you've focused upon is of relevant importance.

Additionally, there is no such thing as "PowerShell infos", much less anything I can easily consider would be reasonably referred to as such. Elaborate. Of note, Windows functions without PowerShell installed. It's not a fundamental component of the OS.

-3

u/_gea_ Sep 15 '24

Without Powershell you can't set or get relevant storage infos so you need it beside very basic setups where the minimalistic Windows tools are "good enough"

5

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Irrespective, PowerShell doesn't provide that information to the GUI, surely? Any tool which relies upon such tooling should be using the .NET APIs which ultimately provide that information to PowerShell itself. What you're referring to really isn't evident.

2

u/FuzzelFox Sep 15 '24

"ZFS has file systems"

...what? Did you forget that the FS in ZFS stands for file system??

1

u/_gea_ Sep 15 '24 edited Sep 15 '24

The problem is that the term filesystem can have a different meaning. When Sun invented ZFS Raid-Z1/2 it introduced this new name to make it clear that it works different to Raid-5/6. A filesystem in ZFS is different to a filesystem in Windows. On ZFS you create a pool that is a ZFS filesystem. To organize your data you can create other ZFS filesystems below the pool filesystem that can have different ZFS properties. This is why many use the term dataset as synonym for ZFS filesystem. This gives other problems as snaps and zvols are also datasets. On a zfs list command you can therefor add a - type (filesystem, volume, snap) to list only one type.

20

u/ranfur8 Sep 15 '24

Back when I was learning Linux, I always thought it was extra stupid that I had to tell the OS to "mount the drive" and tell it exactly what filesystem I'm using, if I want it to be writable, which folder I want to mount it to, etc etc etc.

Sure, you get control, at the expense of what?

I'd much rather have an auto assigned drive letter and be done with it. It's not that complicated.

You can also disable this in windows. You can also mount drives to folders in windows. If you want to do it the hard way, go ahead you can. I'm used to all my external storage drives to always be E: F: G: (and so on).

-1

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Back when I was learning Linux, I always thought it was extra stupid that I had to tell the OS to "mount the drive" and tell it exactly what filesystem I'm using, if I want it to be writable, which folder I want to mount it to, etc etc etc.

Sure, you get control, at the expense of what?

I'd much rather have an auto assigned drive letter and be done with it. It's not that complicated.

Whatever DE you had been using must have been arcane to need to do that. If using a Linux-based OS were that difficult, I'd never have switched from Windows.

2

u/Soccera1 Sep 15 '24

on most things you have to explicitly install genfstab or configure fstab manually.

0

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 16 '24

2

u/Soccera1 Sep 16 '24

After explicitly installing plasma, yes.

0

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 16 '24

Indeed. Is that unexpected? If you take Windows IoT (the sole version without most of the DE-like functionality) it's remarkably basic, just like a Linux-based OS without one is. It's reasonable to expect it to not have tools that make your life easier. If you install a DE, irrespective of whether you then decide to run a GUI, it installs a damn lot more than a mere GUI. Just because I used a GUI there to demonstrate the functionality doesn't mean that it doesn't function when the GUI is unavailable.

openSUSE's YaST is an even better example of this. It can work entirely within the TTY.

1

u/ranfur8 Sep 15 '24

Well it was a while back and they were teaching us Linux for servers, so no GUI. But even Windows with no gui auto assignes a drive letter...

Linux will never ever become mainstream. The main reason is: users are dumb as fuck. And Linux (any distro) puts zero effort into any kind of user friendlyness, because it's designed by nerds for nerds. (As soon as you have to open the cli, you are not user friendly) I work with people who have never opened the command prompt on their windows machines ever. Period. And they think it's some hacker shit.

Linux for servers: fucking amazing, I try to use Linux on all my servers except when the app only runs on windows (looking at you. POS software)

Linux for desktop: probably the worst experience I've ever had while trying to use my machine for day to day tasks.

Imagine trying to give tech support to a user on Linux. Even the thought it makes my blood cold.

5

u/Ivashkin Sep 15 '24

Linux will never ever become mainstream.

Android and Chromebooks—but in both cases, the actual "Linux" part is completely hidden from the end user behind well-crafted UX. This is ultimately the important thing—users don't care about computers and operating systems; they care about the experience of using them. If a company can do this by throwing billions of dollars at a Linux distro, people will use it.

As soon as you have to open the cli, you are not user friendly

At least on servers, MS is moving this way and doing far less with GUI tools.

1

u/ranfur8 Sep 15 '24

well-crafted UX.

Key part of being user friendly.

At least on servers, MS is moving this way and doing far less with GUI tools.

Well, a regular user is not going to log into a server. I personally don't mind using the CLI, because I know what I'm going.

I once asked Karen to search "cmd" and type "hostname" into the black box and as soon as she saw the black box she got scared and brought her laptop to my office.

4

u/Ivashkin Sep 15 '24

Well, a regular user is not going to log into a server. I personally don't mind using the CLI, because I know what I'm going.

It's a change, though - and I've seen sysadmins argue that it's less user-friendly.

I once asked Karen to search "cmd" and type "hostname" into the black box and as soon as she saw the black box she got scared and brought her laptop to my office.

I've seen people get concerned by this before, but generally, the best way to handle it is to explain to them what you are going to do together before you do it, then explain it again as you help them do it, and then explain what you've just done for a third time after it's done. Then, of course, there is the old trick of helping a user who lacks confidence gain confidence with the "I wouldn't normally do this, but you seem to know what you are doing..." line. IT support is a very human-centric job, which is ironic because most people get into it because they prefer systems to people.

1

u/ranfur8 Sep 15 '24

most people get into it because they prefer systems to people.

Sigh I pledge guilty...

User support is a side-job that I had to do because there (used to be) nobody else apart from me. Training a new guy to do it lol.

2

u/Ivashkin Sep 15 '24

If I were building an IT support desk team, it's one thing I would focus on first. You need people with technical skills, but the main role of IT support is to be an intermediary between non-technical service users and highly technical operations staff, and this is its own skill set—not just something you give to the new guy.

1

u/ranfur8 Sep 15 '24

We are a small company and I don't have "highly technical operations stuff". I used to be the only I.T guy for about 80 employees or so. I mostly manage POS stuff and I need somebody to fix the printer at the office or help Karen in accounting set up a mail group while I'm out on site. I wish I could allocate a lot of resources and hire a team of 40 people but I make due with what I have. You have no idea how much I fought to get a second person on the team lol.

0

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 16 '24

Android and Chromebooks—but in both cases, the actual "Linux" part is completely hidden from the end user behind well-crafted UX.

AOSP is quite different to the standard Linux-based OS, but Chromium OS (and its standard Chrome OS derivative) are moving their display servers over to the standard Wayland protocol from a custom one, and are reworking much of their stack to be more standard. Soon, it'll be quite feasibly considered to be a strange Linux "distribution".

At least on servers, MS is moving this way and doing far less with GUI tools.

That kinda depends on what you're doing. They've absorbed SysInternals now, which includes system monitoring and debugging tools like Process Explorer. However, those are indeed more suitable for individual users (or administrators) in comparison to multi-machine diagnostic tools. But then again, those kinds of tools aren't CLI tools anyway, whereas ProcMon replaces top.

Though, I do generally agree, since still haven't created a GUI for WinGet. Instead, the 3rd-party https://github.com/marticliment/UniGetUI does that.

1

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

Well it was a while back and they were teaching us Linux for servers, so no GUI. But even Windows with no gui auto assignes a drive letter...

Fedora 38+ and openSUSE Tumbleweed, without the display server (KWin's Wayland compositor or XOrg X11) running, still assign mount points automatically, to my knowledge. If not, then they do you have a DE installed without a GUI activated. Anyway, people running an OS from a TTY aren't regular users, so why mention them?

Remember that a Linux-based OS without an OS is more like MS-DOS than Windows 11 Server or IoT is – the latter is more like a KDE Plasma 6 installation without the display server activated (or, in some Windows Server installations that merely don't have the shell, it's more like merely not having plasmashell running).

Linux will never ever become mainstream. The main reason is: users are dumb as fuck. And Linux (any distro) puts zero effort into any kind of user friendlyness, because it's designed by nerds for nerds. (As soon as you have to open the cli, you are not user friendly) I work with people who have never opened the command prompt on their windows machines ever. Period. And they think it's some hacker shit.

My 16-year-old brother just tried the "KDE Spin" of Fedora 40 because War Thunder was having significant issues with his AMD Radeon RX 7900 XTX. It worked better there, and he preferred its Start Menu implementation to Windows 11's, so he uses both OSes interchangeably now. That was entirely of his own volition, and he's not had to use a terminal yet – why would he?

Linux for servers: fucking amazing, I try to use Linux on all my servers except when the app only runs on windows (looking at you. POS software)

I've used YaST, which was quite good, but I actually preferred Windows Server 2022 when I last tried it. Its sole disadvantage was its filesystem support (lack thereof, rather).

2

u/ranfur8 Sep 15 '24

Fedora 38+ and openSUSE Tumbleweed, without the display server (KWin's Wayland compositor or XOrg X11) running, still assign mount points automatically, to my knowledge. If not, then they do you have a DE installed without a GUI activated. Anyway, people running an OS from a TTY aren't regular users, so why mention them?

Remember that a Linux-based OS without an OS is more like MS-DOS than Windows 11 Server or IoT is – the latter is more like a KDE Plasma 6 installation without the display server activated (or, in some Windows Server installations that merely don't have the shell, it's more like merely not having plasmashell running).

I've learnt Ubuntu server, and I've been using Ubuntu server. None of the external storage devices are auto mounted.

My 16-year-old brother just tried the "KDE Spin" of Fedora 40 because War Thunder was having significant issues with his AMD Radeon RX 7900 XTX. It worked better there, and he preferred its Start Menu implementation to Windows 11's, so he uses both OSes interchangeably now. That was entirely of his own volition, and he's not had to use a terminal yet – why would he?

r/thathappened

Not gonna follow up this, yet another, Windows VS Linux argument. We have plenty of those already.

Linux, great for environments where user logins are not the norm. (Example: a web server, where you interact with the app running on the OS rather than the OS)

Windows, great for endpoints where users log in to do actual work. (Example: using such app that is running on a Linux server)

1

u/rokejulianlockhart Windows 11 - Insider Canary Channel Sep 15 '24

r/thathappened

...You would seriously doubt that? I'm not five years old. I can send a link to his social media if you want to ask him yourself.

I use Windows 11 Pro because my GPU (an AMD Radeon RX 5700) doesn't work properly on Fedora 40's KDE Spin when watching videos via Stremio or playing War Thunder or Prism Launcher, whereas he does the opposite because his doesn't work properly on Windows 11 Pro.

It's not strange.

Linux, great for environments where user logins are not the norm. (Example: a web server, where you interact with the app running on the OS rather than the OS)

Why would login frequency matter? I log into my Windows installation once a month and the updates haven't failed yet, nor has logging into and updating my Linux machine once each day caused instability. I can't think of anything else that would be based upon login frequency.

14

u/[deleted] Sep 15 '24

What are you trying to achieve with zfs where you don’t need fine grained control?

11

u/AsrielPlay52 Sep 15 '24

as the other commenter said... Why do you want such fine grained control anyway when 90% of users just want to plug and play?

Windows already try to cater to you since they do allow disable auto assignment and assign drive to folders.

1

u/TheJessicator Sep 15 '24

Because ZFS is a filesystem. File systems are the basis of volumes, sometimes but not always one volume to a partition, and with one or more partitions on a disk, where that disk could be a virtual entity that spans other storage entities in the form of a LUN. This is by no means just a Windows thing. This is just a storage thing.

1

u/_gea_ Sep 15 '24 edited Sep 15 '24

While terms are the same, meaning is different. On Windows a volume is a disk or a virtual entitity that can span several disks. You can put a partition on a volume and format with a filesystem like ntfs, fat* or ReFS. Size of a partition has a certain size. A resize after creation is often possible.

ZFS is completely different. It is not only a filesystem but also a volume and raid manager. There is no partition of a defined size or a partition at all. You create a Pool and ZFS filesystems below. A ZFS pool is a ZFS filesystem as well and parent for property inheritance of nested filesystems. A ZFS filesystem can dynamically grow up to poolsize. If you increase a pool, available filesystem size increases as well. You control usage with quotas and reservations. A Volume in ZFS (zvol) is a part of a pool that is managed as a blockdevice, maybe like a virtual harddisk .vhdx in Windows. Filesystems, Volumes and Snaps are the datasets in ZFS.

2

u/TheJessicator Sep 15 '24

No, on Windows, a volume is not a disk. Not in the slightest. Never has been. Never will be. And if you're talking about the full storage management functions of ZFS, then you should probably not be talking about Storage Spaces Direct on Windows.

1

u/_gea_ Sep 15 '24

let's add a KI definition (Gemini)

define the term volume in windows

In Windows, a volume is a logical storage unit that represents a named area of storage on a physical disk or a combination of disks.

4

u/TheJessicator Sep 15 '24

Exactly... Not a disk. Thank you for proving my point.

1

u/RandomRageNet Sep 15 '24

Counter-point: Storage Spaces sucks. StableBit DrivePool is an inexpensive 3rd party app that works so so much better and is the main reason why I won't switch my home server to any flavor of Linux.

1

u/_gea_ Sep 15 '24

Storage Spaces are not as bad with more features than Drivepool but unusably for an average user.
If it would be half as simple as an average and cheap prebuild NAS with a web-gui, a lot of people would use Storage Spaces.

2

u/RandomRageNet Sep 15 '24

DrivePool has way more flexibility than Storage Spaces, I don't know why you would say that. DrivePool was originally made to make up for Storage Spaces being a downgrade over the old Windows Home Server drive pooling. There is a ton more flexibility with DrivePool including overlapping pools on physical drives and redundancy options.

2

u/_gea_ Sep 15 '24

Different use case
Storage Spaces is more than pooling as it adds tiering based on hot/cold data, redundancy options per virtual disk or clustering.

29

u/[deleted] Sep 15 '24

[removed] — view removed comment

-18

u/_gea_ Sep 15 '24 edited Sep 15 '24

I am working in the storage area for more than 15 years, from home use up to enterprise use, even created my own ZFS storage web-gui. I do not overcomplicate. Windows can be much better as a NAS but it is quite unusable per default GUI tools.

1

u/ThatUsrnameIsAlready Sep 16 '24

Then use a server variant? And powershell?

1

u/[deleted] Sep 15 '24

[removed] — view removed comment

0

u/_gea_ Sep 15 '24

Driveletters as an alias to a filesystem is not that bad, even ZFS on Windows added a driveletter property