Hi Luca,
This command will be applicable to branch devices.
As the correct location should be /dev/ad0s1a, you will have to run the below command for the same;
> request system snapshot media compact-flash
The error would not be removed after running this command as well but would require a reboot but the corrupted partition will be fixed.