smartctl not returning on HBA that's secure-erasing a different drive
- by Stu2000
Whenever I run smartctl -i /dev/sd* where * is a drive that is plugged into the same host bus adapter as another drive that is currently being erased with an hdparm secure erase command, the smart command will just 'hang' and not return (blocked) until the erasure of the other drive is finished. To make matters worse you can't cntrl-c out of it.
Has anyone else had this issue? Is there another way to retrieve smart data from a drive, which doesn't block? I noticed that I can still use the udevadm command to retrieve the serial and model of the drive which is useful but doesn't appear to have any smart data.
Any information relating to this matter is appreciated, especially if you can tell me another way to retrieve the S.M.A.R.T data that might work.
Regards,
Stuart