Is it an external HDD? If it is, wait for all disk activity to cease and then unplug it from the USB or FireWire or whatever port you have it connected to. Wait about a minute and then plug it back in and let it be redetected. Try copying a file to it to determine if the error still persists.