Safely unplugging Western Digital My Passport USB drive

Having recently acquired a 1TB WD My Passport SE USB 3.0, I would hate to destroy it. I noticed it shuts down when removed from a Windows system safely, but simply unmounting under Kubuntu via the Device Notifier applet does not have the same effect. Naturally, I become worried about destroying my device.

Fortunately, there is a solution to this. Yan Li devised a script that will correctly power down a USB drive so it can be safely removed. It works great with my WD Passport. Should work for any USB drive though.

It’s necessary to install the sdparm package for it to work, but otherwise works out of the box under Kubuntu 10.10.

Thanks Yan!

One Comment

  1. alan326
    Posted 12/25/2011 at 9:45 am | Permalink

    “”Yan Li devised a script that will correctly power down a USB drive so it can be safely removed. It works great with my WD Passport. “”
    And the script is? …

    “”It’s necessary to install the sdparm package for it to work, but otherwise works out of the box under Kubuntu 10.10.”"

    I run Kubuntu 11.10 and can’t delete a corrupted file from my 1TB WD passport HDD. Can’t safely remove usb either.

    So, what are u suggesting?

Post a Comment

Your email is never shared. Required fields are marked *

*
*