Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 12244  / 3 Years ago, mon, october 18, 2021, 7:21:31

I'm using Lubuntu and have an external hard drive.



I would like to safely unmount the external hard drive.



Clicking the eject button in the file manager unmounts the drive, but does not power it down. (EDIT: Clicking on mount and then unplugging the drive means, at least on my machine, that the drive is still spinning when it's unplugged. This isn't good for the drive, so it's not good for my data!)



Naturally, 'umount' does not perform this function.



I can issue 'sudo hdparm -Y /dev/sdb', but this still leaves the drive's light on and I don't think it syncs the drive.



I seem to recall 'sudo sdparm --command=stop /dev/sdb' powering the drive down appropriately in the past, but this doesn't seem to be working now, and it's a mystery as to why the GUI doesn't have an option to do this.



Any suggestions?


More From » lubuntu

 Answers
0

I think udisks --detach [device] can help you.


[#40732] Wednesday, October 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diket

Total Points: 167
Total Questions: 124
Total Answers: 109

Location: Somalia
Member since Wed, Mar 15, 2023
1 Year ago
;