Fully disable 2230 slot after boot (dual-boot machine, eliminating idle power draw from [unused] windows 2230 drive)

I need to dual-boot this box, and due to storage needs will be better suited with dual 2tb drives - likely one t500 2280, and one p310 2230. 95+% of time will be on linux with the 2280 drive - I just need a physical windows machine for a few programs that are not available in any form on linux, and don’t play well with emulation - some slicing software, and especially “proctored exam software” that I can’t avoid :frowning:

I’d like to “fully” turn off the 2230 when booted to linux. It could be nice to be able to do this dynamically, but for the 10’s or more of mW power draw it would OK if I needed to do this in kernel args, or to say require a reboot if i were to decide i wanted it back on.

Is this possible? Are there other alternatives that achieve the same fully-off result?

Thanks!

I managed to do that with USB storage devices, but not with nvme.
The nvme tool can be used to detach a nvme namespace, but I don’t know if it disables/powers off the device.

I’m not aware of such a feature, but my understanding is that idle ssd’s draw virtually no power. As someone who’s spent many many hours carving every 0.1W out of my device that I can, getting total system draw as low as ~5.5W in some cases, I’m not personally worried about the 2230 drive.

It may be worth doing some testing first to see if what you’re looking to do will actually achieve the results you want. E.g. testing power usage with the drive both idle and removed.