Can I disconnect an ejected drive even if it is still spinning?

11,258

Solution 1

Yes, after you eject a drive it is safe to disconnect the USB cable and/or cut the power (if the drive uses a power adapter). If you unmount it, just make sure that if it has multiple partitions, all if them are unmounted.

Ejecting or unmounting an external hard drive does not always make it spin down or power down; that behavior is up to the controller inside the hard disk which interfaces between USB and SATA. Ejecting simply tells the drive to finish any pending read/write operations and then ceases all communication.

Solution 2

Try running the udisks --detach /dev/sd[letter-of-the-disk] after unmounting the partitions and see if the disk spins down after that?

From the man udisks:

--detach device_file [--detach-options options]

Detaches (e.g. powering down the physical port the device is connected to) the device represented by device_file using a comma-separated list of options.

Share:
11,258

Related videos on Youtube

Dipak
Author by

Dipak

I had started RedHat system admin certification course study in 2005. Could not continue due to per-occupancy.

Updated on September 18, 2022

Comments

  • Dipak
    Dipak over 1 year

    I am running Ubuntu 12.04. When I unmount (eject) USB disk, the power LED is always "ON" & I can feel disk is still spinning after 10 Minutes.

    This means disk is not unmounted from system? is it safe to disconnect the USB cable? I does not want to damage my external disk.

  • adempewolff
    adempewolff over 11 years
    I can verify that this is normal behavior on all of my USB external hard drives. The hard drive controller will not spin down as long as it has power. Just make sure all partitions are unmounted and unplug it and you will be fine!