smartctl not returning on HBA that's secure-erasing a different drive
Posted
by
Stu2000
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Stu2000
Published on 2012-10-10T21:05:30Z
Indexed on
2012/10/10
21:54 UTC
Read the original article
Hit count: 539
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
© Ask Ubuntu or respective owner