Skip to content
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

Hide Storage Volumes Option #617

Open
Wade821 opened this issue Aug 3, 2023 · 10 comments
Open

Hide Storage Volumes Option #617

Wade821 opened this issue Aug 3, 2023 · 10 comments
Labels
enhancement New feature or request

Comments

@Wade821
Copy link

Wade821 commented Aug 3, 2023

Just an option to hide volumes as desired, as I have 0 interest in ever using the "Microsoft Storage Space Device" drives as media for the Raspberry Pi Imager.

With perhaps a button to "Show Hidden Volumes" there that were manually hidden in order to unhide them.

image

@tdewey-rpi tdewey-rpi added the enhancement New feature or request label Oct 19, 2023
@tdewey-rpi
Copy link
Collaborator

Thanks for the report, @Wade821.

I think I can agree that writing to a grouped disk set like that isn't likely to be what someone wants to do, so filtering these out entirely seems like a solid first step. We can evaluate adding an option to show these in the UI at a later point.

Would that address your concern?

@Wade821
Copy link
Author

Wade821 commented Oct 20, 2023

Yes, I think that would work just fine. I had suggested the option to hide volumes by user choice in order to avoid the game of cat-and-mouse with filtering out devices one by one (as there may be other people with similar concerns), but I'm ok with whatever solution works out easiest to avoid accidental mass deletion of data.

So yes, filtering them out to avoid accidental selection would be ideal.

@tdewey-rpi
Copy link
Collaborator

Awesome, thanks for the response.

I'm waiting on a pair of drives to reproduce a Storage Space on my laptop, after which I'll be able to test locally. My initial thinking is that the drivelist module must be capable of filtering these in a straightforward manner, but without a reasonable test system I'm not prepared to start work.

@Wade821
Copy link
Author

Wade821 commented Oct 20, 2023

I'm technically savvy myself, so if there's anything I can provide you via command line/powershell/whatever, please let me know.

@tdewey-rpi
Copy link
Collaborator

If you've got npm ready to go, I'd love to see the output from devicelist on your machine - in particular, I want to know if it's flagging that the Storage Spaces are actually virtual disks or not. https://www.npmjs.com/package/drivelist

@Wade821
Copy link
Author

Wade821 commented Oct 20, 2023

Ah, shoot. I'm on Windows primarily and it's been a long time since I played with WSL, as I'm using VMWare and I think that requires disabling the Hypervisor/'Virtual Machine Platform' stuff (and in turn the necessary components to play with WSL, since I recall having to turn that off to get VMWare to work).

I'm sure I could get that to work if really needed, but I'll have to do it later since that would take some time to reconfigure everything.

@tdewey-rpi
Copy link
Collaborator

@Wade821, oof. Yes, don't let my request mess up your system. I'll get to this issue once I've got the drives.

@tdewey-rpi
Copy link
Collaborator

My ordered drives arrived, but appear to have fallen foul of a poorly-documented requirement of Windows Storage Spaces - notably, that it requires drives that present 4K physical sectors. Unfortunately, mine present 512byte sectors, and no amount of gentle persuasion can convince it otherwise.

I've also tried creating virtual disks that would meet the criteria - but this also failed because my laptop's internal drive also uses 512byte sectors.

I'll try and source some other drives with 4K sectors to try this out.

@Wade821
Copy link
Author

Wade821 commented Jan 12, 2024

Maybe if you don't find something soon, I'll get around to messing with my system and report back. I've been working on my own project with Github/Drawpile server stuff and need the existing virtual machines until that's completed. Hopefully not much longer.

@twerthi
Copy link

twerthi commented Feb 14, 2024

Yes, please remove Storage Spaces drives from the selection list. I don't want to get click happy when imaging my SD cards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants