How can I unfreeze an SSD connected to a remote server?

I don't have physical access to the machine, so I can't unplug the drive.

# hdparm -I /dev/sda | grep frozen
            frozen

The advice I've read elsewhere is to hotplug the drive, pull the power / sata cables while the machine is running. Those are not possible in this situation as I don't have physical access. I've tried power cycling the machine through the host's control panel a few times, but that hasn't worked.

Is there any way I can unfreeze (unfrozen?) the drive without physical access?


Solution 1:

Suspend & resume should unfreeze the hard-drives.

Solution 2:

If you have rtcwake on the machine, and it's an option to put it in an S3 (suspend) power state for a short amount of time. For a 10 second suspend before resuming use:

$ sudo rtcwake -m mem -s 10

-m is the type of power state enter. "mem" is Suspend-to-RAM. The only option that will unfreeze the drive (In my testing).

-s is the time in seconds to stay in the desired state before waking up.

Still working on finding a solution that doesn't require putting the machine in a suspend state... Hope this helps with a remote unfreeze.