0

I have following situation in my PC. I have one SSD drive with Windows 10 and two HDD connected in RAID 1 for data. I am learning Linux and for now I would like to boot it from Flash Drive. Would it be possible to safely turn off SSD + 2xHDD from Linux to avoid their working during using Ubuntu? I am wondering because my friend told me that it can be risky and I would have some problems with synchronization of RAID when I run my Windows. Thanks in advance!

1 Answers1

0

This can be accomplished pretty well with the udisksctl utility:

sudo udisksctl power-off -b /dev/sdX

Note: Be sure to change /dev/sdX to the actual device you would like to power down. You can list all devices with sudo udisksctl status.

This will safely power down a storage device until the next boot. After issuing this command there is no way to restart the device without a reboot, which should prevent unintended access to the device.