Resource icon

Tutorial Performing the Synology Memory Test and Extracting the "HIDDEN" Memtest Results via a New Method mrm V6

No permission to download
No permission to download
Performing Synology Memory Test and Extracting “Memtest” Results….. v9 8.6.21

Installing OEM and Non-OEM Memory Modules in your Synology is fairly easy, but not every After-Market Module available may be completely compatible so it is good practice to Test it via the Synology Memory Test. This Test can also be performed on Memory Modules installed by the factory and non-removeable. This instructional also includes a new method to obtain the MEMTEST results.

Performing Synology Memory Test and Extracting “Memtest” Results….. v9 - 8.6.21


Installing OEM and Non-OEM Memory Modules in your Synology is fairly easy, but not every After-Market Module available may be completely compatible so it is good practice to Test it via the Synology Memory Test. This Test can also be performed on Memory Modules installed by the factory and non-removeable. This instructional also includes a new method to obtain the MEMTEST results.


After installing the additional Memory Module(s) on your Synology NAS, you should be able to see the additional memory registered in the DSM’s INFO CENTER (Control Panel> Info Center> General> Total Physical Memory). It is also recommended that you run the dedicated Synology Memory Test to insure its compatibility now and periodically.


Steps To Perform the Memory Test:

Download and install from the Synology Assistant desktop app.

Open the Synology Assistant on your desktop

Highlight your NAS from the List> , then click the Gear Icon at the top right.

Tick the Memory Test box, then click OK.

In the Top Bar, Click On MEMORY TEST> Next….If the Memory Test Button is Grayed Out, and you have already Re-Booted the NAS, Re-Boot your PC. This will likely then allow the Memory Test radio button to be made available (Change from Grey to Black)

You will be notified that your NAS will reboot and start the test. Tick “Next.”

After Starting the Memory Test, you will see "Memory Test has Started"... Click on FINISH... This is the START of the Test ONLY... See Screen Example "A"

Please note that during the Memory Test, you will not have access to the DSM or its stored Data…. Depending upon Model and the size Memory you have installed, this Test can take minutes to many hours.

You can monitor the Memory Test Progress as shown in the “STATUS” column of the Assistant. It appears as a percentage. This Percentage will change automatically as it progresses through the Test. To refresh the Memory Test Status percentage, Click on the Percentage Status itself or use the SEARCH button (In the upper left of the Assistant) to refresh the Memory Test Progress percentage

If the Memory passes the Synology Memory Test, no results are automatically provided confirming the Test is completed. The System will just return to normal operation. Synology for some unknown reason does not offer an official method to view the results that is recorded internally. There are websites that provide one method that uses Linux Commands to “SSH / Network Protocol” into the NAS. I found this method quite difficult and be warned: Accidentally inputting an incorrect Linux command can damage the DSM’s operating system and/or stored Data on the drives..



Steps to View Synology MEMTEST Results using the Support Center DEBUG Log

Download and install the following free Programs on your PC:

1) 7-ZIP File Manager 2: Notepad++

Go to DSM>Main Menu> Support Center> Support Services>Log Generation> For DSM 6 -Place Check next to SYSTEM only> / For DSM 7- Place Check next to only Performance > Click APPLY> Click GENERATE LOGS…. Download of Logs will begin.

Save Generated LOG (debug.dat) in a New folder on your desktop named “debug”.. Close the DSM…

Open 7-ZIP> Click FILE>OPEN> Navigate to your desktop “debug” folder> Double Click on the debug.dat (see screen example 1) File> Double Click on dsm folder> This will un-zip the debug file. (Screen example 2) (Alternatively you can simply Right Click the debug.dat file> 7-Zip>Extract Here> Double Click on dsm folder)

Highlight the “packages.list” file (screen example 3)

COPY this “packages.list” to your “debug log” folder on your desktop.

Open Notepad++

Click File> Open > Navigate to your previously unzipped debug.log folder and click on the packages.list that you saved.

You will see a list of files (Screen example 4)

Click EDIT> SELECT ALL to Highlight All contents from the packages.list

Click SEARCH at the Top Bar> FIND IN FILES.

A "Find In Files" Search Tool will open.

Clear any contents in the FIND WHAT search box. (Screen example 5)

In the “FIND WHAT” search Box> type in “MEMTEST”

Click “FIND ALL” … This will now Extract all the data codes and list the results of your MEMTEST search at the lower half of the Notepad++ Screen (Screen example 6)



Look for Line Items grouped together showing MEMTEST and its Status: “Memtest Passed” …as shown below – This may also show if there are any failures. You may see 1 or more-line items referring to Memtest Passed depending upon your Model. Per Synology, multiple lines of the same Pass/Fail information as shown below do not indicate anything other than it is required for internal operation that runs the test.



C:\Users\xxxxx\Desktop\debug log\debug\dsm\var\log\messages (3 hits)

Line 14264: 2021-07-22T13:26:01-07:00 SYN-NAS-A findhostd: util_fhost.c:1378 Memtest passed!

Line 14265: 2021-07-22T13:26:01-07:00 SYN-NAS-A findhostd: util_fhost.c:1378 Memtest passed!

Line 14266: 2021-07-22T13:26:01-07:00 SYN-NAS-A findhostd: util_fhost.c:1378 Memtest passed!



Example of Failure:

Failed memtest results should appear in the same place as successful results. The failure message will include an error code at the end, indicating why the test failed. A failure message will look like below:

findhostd: util_fhost.c:1376 Memtest failed! Err=4.

Note….Per Synology: No documentation at this time for memory test error codes. This is likely because the remedial action for a failed test is the same regardless of error: to replace the memory if it's expansion or non-Synology memory, and to open an RMA if it's with the default memory included with a system and the systems under warranty.


Notes:

I look forward to others testing this method as it works on my 215J and 920+.... The only other method I knew of was using SSH and PuTTY to extract the results. It was frustrating and more than once had issues with Linux commands that almost corrupted my drives. This method prevents any possible damage as you are not doing live communication into your NAS DSM. I attempted to make these instructions easy for anyone to follow. Let me know if you have any suggestions or run into any difficulties and I'll do my best to correct them. Using the Support Centers LOGS was a suggestion by a Synology rep who provided the basic framework of using the generated LOG, but with only the direction of doing searches with no particular area to where the file might be stored. I'm hoping the Memtest results are all stored in the same area I have listed above, and not dependent on different Synology models. These instructions were developed on DSM 6 and then modified to reflect changes when Tested on DSM 7 (8.3.21)..... 8.6.21- Added new info received from Synology about Failed Memory Tests.... Error Codes....... No Docs are available at this time. / MAC User in discussion performed Test with modified procedure.



Cheers!
  • Screen 1.jpg
    Screen 1.jpg
    30.5 KB · Views: 42
  • Screen 2.jpg
    Screen 2.jpg
    18.9 KB · Views: 40
  • Screen 3.jpg
    Screen 3.jpg
    40.1 KB · Views: 43
  • Screen 4 unzipped data.jpg
    Screen 4 unzipped data.jpg
    105.7 KB · Views: 42
  • Screen 5 search.jpg
    Screen 5 search.jpg
    166.9 KB · Views: 47
  • Screen 6 Memtest passed results.jpg
    Screen 6 Memtest passed results.jpg
    138.1 KB · Views: 48
  • Screen A - Click FINISH- which begins test-.jpg
    Screen A - Click FINISH- which begins test-.jpg
    26.9 KB · Views: 49



Latest updates

  1. Additional Info from Synology: 1) Error Codes for Test Fail 2) MAC Procedure Required

    1) I've added new information regarding Failed Test Results through Memtest. Failed Tests do...
Top