As far as I know, an EMP can cause unrecoverable damage to traditional magnetic HDDs (regardless to whether they are turned on or not) in an instant and is also capable of damaging other microelectronic devices (that don't use magnetic technologies themselves).
What about SSD drives? Will the information on such a drive be lost in case of an EMP event even if the drive is turned off?