Internet

How to update Samsung NVMe SSD firmware on QNAP NAS

As you can see, in our case we have a 1TB Samsung 970 EVO PLUS SSDwith the version of firmware 3B2QEXM7and from what is discussed in different Internet forums, it is one of the units affected by this failure.

To proceed with the update, we must do it via SSH, so we activate the SSH server of our NAS. To do this, we go to «Control Panel / Network and Services / Telnet and SSH«, in this menu we activate the SSH service and use the port that we want, by default it is port 22.

Now we connect using the putty program, putting the IP address of the NAS, as well as the port, then we put the username (or if you have put it before in the form admin@IP you would already have it) and the password of this user administrator. Now we put a “Q” and press enter, and then we put a “Y” and press enter again.

Now we will be in the NAS via SSH, where we can execute all the commands. The first thing we must do is go to a directory where we can download the .ISO image of the firmware, we have gone to our “Storage” volume, to do this, we do the following:

cd /share/Almacen

Once inside this directory, we will have to download the latest Samsung firmware availablefor this we go to the official website and copy the download link, in this way, we can download it via SSH as follows:

wget https://semiconductor.samsung.com/resources/software-resources/Samsung_SSD_970_EVO_Plus_4B2QEXM7.iso

It is very important that you download the correct firmware version for your NVMe SSD, otherwise you may corrupt the drive and lose all your data completely. You could also do this same process on your PC, and then transfer the ISO image via Samba or FTP to the NAS. The important thing is that it is in a directory on the NAS to continue with the process.

Before continuing, we can run the following command to list the NVMe drives we have on the server, this information is the same as we had in “Storage and snapshots”.

nvme list

The most important information is the affected model, serial number and also the current firmware version.

Once we already have the ISO image, we must execute the following commands:

mkdir /mnt/redeszone
mount -o loop /share/Almacen/Samsung_SSD_970_EVO_Plus_4B2QEXM7.iso /mnt/redeszone
mkdir /tmp/actualizacionfirmware
cd /tmp/actualizacionfirmware
gzip -dc /mnt/redeszone/initrd | cpio -idv
cd root/fumagician/
./fumagician

In the “mount” command, the path of “/share/Storage/Samsung_SSD_970_EVO_Plus_4B2QEXM7.iso” has to correspond to the path of your downloaded Samsung ISO image, so this path should change depending on your volume and the firmware version. Once all the commands have been executed, we should see the following screen:

The “fumagician” program is in charge of updating the firmware to the SSD drives, in the process it will be in charge of scanning all the NVMe drives that we have installed. We will see both the model, serial number as well as the firmware version that we have installed.

Press any key to continue, and it will ask us if we want to continue with the firmware update, we put “Y” and press enter. Of course, it will indicate that this process carries a risk, and that it recommends us to make a backup copy of the entire disk before updating the firmware, because it could damage or lose all the information. We put “Y” again to continue with the process.

As soon as we press, in about 5 seconds we will have the updated firmware, as you can see it will indicate “Firmware Update Completed”. Now we can update the next disk with this same firmware, click on “Y” to continue with the process.

We will get all the information from the second NVMe SSD, and click on “Y” as you can see:

It repeats the same messages as before, indicating that we can lose the data if it goes wrong.

And once finished, we press any key to exit and we would already have our Samsung NVMe SSD drives updated directly from QNAP.

A very important aspect is that you absolutely need to reboot the NASOtherwise, the new updated firmware version will not appear. If we update and do not reboot, it will not show us the new firmware version we have, neither through “Storage and snapshots” nor through SSH commands, a reboot is necessary.

Once we have rebooted, you can see that we already have the new version of the 4B2QEXM7 firmware on our Samsung 970 EVO PLUS unit:

Of course, both units are perfectly up to date and working:

As you can see, the firmware update process is quite a bit more complicated than in Windows, but it can be done without removing the NVMe drive and putting it in a Windows PC. It is very important that you check the correct firmware for your unit, for example, we have another 1TB Samsung 970 EVO PLUS unit that is older than the NAS, and it has firmware 2B2QEXM7, and in principle, this unit does not You are affected by this SSD corruption issue.

Related Articles