Ubuntu – Manage USB hard disk on Ubuntu

electrical-powerhard drivemountUbuntuusb

I have some USB drives attached to my Ubuntu machine, I was looking for some commands to:

  1. Power-Off a drive after umounting
    it.
  2. Power-On and Re-Mount.

Does it make sense to power-off and on a USB hard disk on a daily basis (Power-On, Mount, Backup, Umount, Power-Off)?

Best Answer

umount /dev/sdX1 && eject /dev/sdX

This spins downs some of my external usb drives. I guess this depends on the controller.
No need for a spin-up command, just mount the device and it comes back to life.

Related Topic