-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage utility (or disk utility …) #61
Comments
Indeed! This is something that needs to be added. Do you know a good one written in Qt or PyQt5 or do you think we'd need to write it from scratch? Ideally it should also expose the most commonly used ZFS features in a human-friendly way. |
Prior Art:
At lest they can provide some inspiration for the code to be written? |
I vaguely recall something in Lumina, so long ago that it might have been before TrueOS. Certainly so long ago that I can't recall the UX. I do recall that it was somehow buggy (this is not a criticism; it was early stuff). Postscript (note to self): was it maybe something like a system tray notification area pop-up that was primarily for connecting and ejecting volumes, secondarily for management of partitions and/or file systems? I installed x11/lumina today … if I don't find the utility in this environment, I'll dig through my archives and maybe find a point of reference. Commentary crossing paths: above, that's interesting, thanks. |
On the simplistic end: https://github.com/Liemaeu/FreeBSD-USB-Quick-Formatter
No. It must "just work" like on the Mac. No notifications and tray icons needed. |
What I think made Mac OS X Disk Utility (when it still was good) stand out was that it arranged information and capabilities that are typically spread out across several tools. Where would the information come from?
|
This comment has been minimized.
This comment has been minimized.
Also fun: Run Mac OS X Public Beta, see how they cobbled everything together from here and there (clearly visible before everything was unified and polished). |
Agreed. (That part of my note to self was purely to help recall what it might have looked like, if I have to dig deep through archive material.) |
In particular:
|
It's not that I think Apple is the gold standard in all cases. Let's see whether we can make things even simpler. And of course make full use of what FreeBSD gives us. For example, instead of "RAID" I was thinking of an "OpenZFS" tab maybe? What would it need to be able to do? |
This is what I have come up with so far. Just sketching it out in PyQt5 using Qt Creator and some Python to call You can download and run it from this repository, but besides displaying information about disks no functionality has been implemented yet. However, anyone with Python skills could probably fill in the rest from here, as the basics have been sketched out. Volunteers? |
Constantly thinking about how to simplify:
|
(1) shows the status on disk whereas (2) shows a potential future state after the user has clicked "Apply". But then: I am not a fan of "Apply" buttons, and they are inconsistent with the rest of the system, where changes get applied and actions get executed immediately. |
https://twitter.com/yukkuriyankey/status/1343314065293078530
Good idea. |
+1 I haven't used TrueNAS core yet but I do recall the web interface to FreeNAS being reasonably user-friendly for management of volumes, file systems etc.. |
Ideally design the utility in a way that will make it easy to avoid clobber with OpenZFS:
Visualising the utility as a complement to Filer (https://github.com/helloSystem/Filer)Historically: ZEVO Community Edition and/or its predecessor Z-410 Storage allowed snapshots to be browsed in Apple Finder. I don't have screenshots handy but the integration was very neat. One bug was memorable, I can't recall the exact details but symptoms included unwanted automatic mounting of snapshots (something like that) and IIRC it was worked around by not using Finder to browse following the mount. So, for example, it was OK to browse using Terminal. With more recent OpenZFS on OS X:
– whether that's by design, I don't know, but I'm reminded of the Terminal-oriented workaround with ZEVO. Wonder whether things such as importing OpenZFS pools without mounting, and temporary mount points, should be within the UX for a storage utility; or the UX for Filer. Gut feeling (early/experimental): storage utility. (Be wary of crow-barring anything too complex into Filer.) |
|
Indeed "Storage" may be the better word than "Disk Utility", once it deals with more than disks. |
+1 Re: https://old.reddit.com/r/freebsd/comments/klvrwd/bsd_users_on_twitter_this_week/ghdow08/ At its simplest (and safe, with encryption), OpenZFS can be like this:
In a little more detailI call what's below my I could have simply encrypted everything but instead, I left the primary file system unencrypted. I can't predict what use I'll make of it in the future. I knew from the outset that I'd want my VirtualBox data encrypted, so I created an encypted file system that mounts at A ranger view of the VirtualBox folder: A command line view of relevant properties:
For a 'simple' user of helloSystemYou might wizard up two choices when (for example) preparing a USB flash drive for use with the computer:
|
FYI https://redd.it/l0d0mv ▶ https://github.com/manoeldesouza/zyggy @probonopd I know, you don't want GTK, but looking at the feature sets of comparable utilities can help to shape thoughts around what to include in a helloSystem storage utility. Re: the feature set of |
I'd like something like:
– I can't expect GParted itself on a FreeBSD-based system.
The text was updated successfully, but these errors were encountered: