Kobold
23 October 2023 15:40
1
I have a SSD Powered On, that i don’t use in Linux anyways, because this SSD is for Windows10/Windows Games only and its actually just power waste.
I want to shutdown my unused Internal drive: /dev/sda
Is there a easy command for this?
I know for a External USB Drive i would normaly use:
udisksctl power-off -b /dev/sda
But thats not gonna work for a Internal Drive
Instead of shutting it down why not place an entry in /etc/fstab
; or use gnome-disk-utility ; to prevent it from mounting automatically. You can always mount and unmount it manually, if ever needed from Manjaro.
If not mounted, wear and tear on an SSD is virtually non-existent.
I also use this premise to prevent Windows from offering to format an empty – but not really empty , Linux partition.
1 Like
Wollie
23 October 2023 17:38
3
I think this is only possible via (not recommended) hardware methods:
WD SSD Products
WD SSD Drives & Software
I have installed a WD Blue 3D NAND Internal PC SSD - SATA III drive into my desktop computer, and I need a convenient way to disable the SSD so that when I boot the computer from a USB flash drive, the SSD is not accessible and cannot be infected...
Kobold
23 October 2023 17:50
4
Its not mounted in fstab… it never was.
Thats no solution for me
It’s not mounting at all?
That being the case, all I can suggest is to buy yourself a removable caddy (not USB) and keep the disk in that; push the button to eject it any time you want.
Something like this , for example.
Kobold
23 October 2023 18:33
6
I would say no:
System-reserviert/games/win10 all grey.
gnome-disk-utility
(Disks) also allows you to hide disks / partitions from your File Manager, if that is all you need to happen.
Kobold
23 October 2023 18:42
8
Its hidden in dolphin already, but thanks for trying to help me.
Just sad, i can’t shutdown this Drive with a simple command
1 Like
cscs
23 October 2023 23:45
9
Would not this work?
sudo hdparm -Y /dev/sda
Or … maybe better … to use UUID… after finding with blkid
sudo hdparm -Y /dev/disk/by-uuid/THE-UUID-OF-THE-DEVICE
complementary wiki link:
https://wiki.archlinux.org/title/Hdparm#Power_off_a_hard_disk_drive
1 Like
cscs:
sudo hdparm -Y /dev/sda
better:
sudo hdparm -y /dev/sda
1 Like
Kobold
24 October 2023 15:31
12
cscs:
Would not this work?
sudo hdparm -Y /dev/sda
Nah no changes…
/dev/sda:
issuing sleep command
They still shown in dolphin.