0

I've done lots of research and I found that /dev/sda cannot be unmounted on Ubuntu; however, I have Ubuntu and Windows on separate drives. Ubuntu is on an SSD (/dev/nvme0n1) and Windows is on and HDD (/dev/sda).

Here is the output from lsblk:

sda           8:0    0 931.5G  0 disk 
├─sda1        8:1    0    16M  0 part 
└─sda2        8:2    0 931.5G  0 part 
nvme0n1     259:0    0 465.8G  0 disk 
├─nvme0n1p1 259:1    0   512M  0 part 
└─nvme0n1p2 259:2    0 465.3G  0 part /

I cannot find /dev/sda in the output from the mount command because /dev/sda doesn't seem to be mounted.

When I run sudo fdisk -l /dev/sda, this is the output:

Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ04ABF1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 94F88F12-C169-4D88-9FD1-19C9781D8130

Device Start End Sectors Size Type /dev/sda1 2048 34815 32768 16M Microsoft reserved /dev/sda2 34816 1953523711 1953488896 931.5G Microsoft basic data

Is there a way to unmount or remove (or at least stop the HDD from running when I'm on Ubuntu)?

P.S. as per HappyTux's recommendation, I tried sudo hdparm -S 6 /dev/sda (to set the spindown time to 30 seconds), but the HDD is never idle; so it's constantly running.

1 Answers1

1

When a drive is not spinning down, like I think you describe you want, then use the hdparm it has option to set the time it takes for it to go to sleep.

How can I control HDD spin down time?