rpi-imager icon indicating copy to clipboard operation
rpi-imager copied to clipboard

Hide Storage Volumes Option

Open Bluestrings-Drawpile opened this issue 2 years ago • 10 comments

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

Bluestrings-Drawpile avatar Aug 03 '23 05:08 Bluestrings-Drawpile

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?

tdewey-rpi avatar Oct 19 '23 21:10 tdewey-rpi

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.

Bluestrings-Drawpile avatar Oct 20 '23 05:10 Bluestrings-Drawpile

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.

tdewey-rpi avatar Oct 20 '23 13:10 tdewey-rpi

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

Bluestrings-Drawpile avatar Oct 20 '23 13:10 Bluestrings-Drawpile

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

tdewey-rpi avatar Oct 20 '23 13:10 tdewey-rpi

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.

Bluestrings-Drawpile avatar Oct 20 '23 13:10 Bluestrings-Drawpile

@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 avatar Oct 23 '23 13:10 tdewey-rpi

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.

tdewey-rpi avatar Oct 25 '23 14:10 tdewey-rpi

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.

Bluestrings-Drawpile avatar Jan 12 '24 09:01 Bluestrings-Drawpile

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

twerthi avatar Feb 14 '24 01:02 twerthi