Use SeaTools to Double Check Your Seagate HDD Again If your NAS Report Any Issues

While setting up a new QNAP TAS-268 with my old Seagate Laptop SSHD, it displays a warning message. Open the S.M.A.R.T. information tab, there seems to be something wrong in End-to-End_Error item. It seems the hard drive is not reliable. But there is another story on What does end-to-end disk error mean?, it continuous working in the next 15 months.

After reading more stories about End-to-End error, I decide to use SeaTools which is a diagnostic tool from the original hard drive vendor. I believe it may read and analyze S.M.A.R.T. in Laptop SSHD more accurately than third-party tools.

SeaTools Download and Launch

I plan to use a notebook to check, therefore, I download SeaTools Bootable to create a bootable flash. A clean environment is usually a better choice than a dirty Windows.

SeaTools launches automatically after it loads a Linux kernel. You need to scroll down to the end or you cannot click on the “Accept” button to test.

Non-Destructive Test

I run following non-destructive test and all reports “100% Test PASS”. Therefore, I believe my Laptop SSHD is in healthy condition. It might be TAS-268 cannot interrupt or read its S.M.A.R.T. correctly.

  1. The S.M.A.R.T. Check
  2. Short Generic Test.
  3. Long Generic Test

My TAS-268 information:

  1. Firmware: (2018/07/25)

Unfortunately, I cannot disable the warning on TAS-268. I need to back up more regularly without the help of S.M.A.R.T..

Backup on TAS-268

To prevent data loss, I use an external hard drive to keep another copy. I cannot find Hybrid Backup Sync in the App Center on TAS-268 which is available in myTS-119PII.

But there is a Backup Station build-in, it’s very similar to Hybrid Backup Sync. I may use it to create a job to copy from TAS-268 to an external hard drive. I plug my USB 3 external hard drive to the only USB 3 port on the front panel.

To sync bi-direction, enable both “Delete extra files”  and “Overwrite the file if the source file is newer or the file size is different” in the [Policy] tab of the job or only the new files are sent to the destination folder without removing files which are deleted on the source.

Copying a single huge file from external to TAS-268 is about 60MB/s while from TAS-268 to external is 80MB/s.


  1. Acronis: 9119: S.M.A.R.T. Attribute: End-to-End error
  2. AskUbuntu: What does end-to-end disk error mean?
  3. CNET: QNAP TS-119PII Spec
  4. QNAP: Backup Station Manual
  5. QNAP: Hybrid Backup Sync
  6. QNAP TAS-268
  7. Seagate Laptop SSHD Datasheet
  8. Seagate: SeaTools
  9. Seagate: SeaTools Bootable
  10. Seagate: SeaTools Bootable User Manual
  11. Wiki: S.M.A.R.T.

Linux Becomes Slow After Resume / Suspend

Recently, I built a new computer with ASRock J3455-ITX which has a Apollo Lake processor build-in to run IDE and VisualStudio Code. I have to use OpenSuSE Tumbleweed to replace my favorite Leap because it requires the latest kernel to support Apollo Lake.

Everything seems fine but it becomes very slow after resume / suspend. I have tested many power-related settings in UEFI (Unified Extensible Firmware Interface) and none of them help. If I logout GNOME and login again, I regain my normal speed.

I try to google “linux slow after resume” and found some useful information. It seems related to

Doug Smythies and jat255 provide detail explain and a solution to restore CPU frequency as a service in Slowdown after resume from suspend on ArchLinux.

Continue reading

Integrated Google Form and Salesforce Through Google Sheet and WebToAny

To integrate Google Forms and, I choose to use POST method to send data from Sheets to Web to Any and let it do the rest of everything. It provides more security than the building-in W2L by assigning a pageToken to every web form it generates. If a post doesn’t contains pageToken, it simply returns HTTP Error 400 Bad request.

Continue reading

Line-breaks in Visualforce Page and Salesforce1

I have a filed contains long text in When I use “\n” to move some to next line, it just display an empty space.

If I use “<br>”, it works with outputText with escape=”false” but suffer from scripting-attacks according to VisualForce: convert carriage returns to html line-breaks in a long text field. This doesn’t work for Salesforce1 because “<br>” is displayed without line breaks.

Line breaks and consecutive spaces in outputText are removed on postback and Laurent Stanevich suggests to use outputField replacing outputText. It works in my case on both browser and Salesforce1.


  1. GooglePlay: Salesforce1
  2. Salesforce: apex:outputField
  3. Salesforce: apex:outputText
  4. Salesforce: Line breaks and consecutive spaces in outputText are removed on postback
  5. Salesforce Stack Exchange: I don’t know why ‘\n’ new line is not working
  6. StackOverflow: Difference between \n and \r?
  7. StackOverflow: VisualForce: convert carriage returns to html line-breaks in a long text field