Can a USB external powered drive be turned off?

Issues related to hardware problems
Post Reply
rothmail
Posts: 40
Joined: 2005/12/27 06:33:34
Location: New York City metro area

Can a USB external powered drive be turned off?

Post by rothmail » 2018/03/22 15:41:07

I'm using a LaCie USB powered external drive on CentOS 7. By powered, it gets the power for the drive from the USB connection on the server.

There is no issue plugging the drive in and using it, but after it is umount and trying to disconnect it, it generates an error message in the log indicating it isn't happy about being disconnected while it was still being powered. I don't know of a way to actually power the drive down without powering down the server which certainly isn't ideal.

Is there a way to power down the USB drive, or have CentOS ignore it from caring that it is still powering it?

If the drive has been umounted with an issue, does it hurt anything to simply disconnect it while it is being powered?

User avatar
TrevorH
Forum Moderator
Posts: 23672
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can a USB external powered drive be turned off?

Post by TrevorH » 2018/03/22 16:48:30

What message?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

rothmail
Posts: 40
Joined: 2005/12/27 06:33:34
Location: New York City metro area

Re: Can a USB external powered drive be turned off?

Post by rothmail » 2018/03/22 17:41:56

Code: Select all

Mar 22 13:40:07 myserver kernel: usb 4-6.4: USB disconnect, device number 4
Mar 22 13:40:07 myserver kernel: sd 11:0:0:0: [sdf] Synchronizing SCSI cache
Mar 22 13:40:07 myserver kernel: sd 11:0:0:0: [sdf] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
The above was generated after I did an umount, and then unplugged the USB connection for the USB LaCie external drive from the server.

Post Reply