• Multiple concurrent Remote Desktop session for Win 8.1: Overwrite System Files

    I usually patch the Remote Desktop service to allow multiple simultaneous connections.But trying to do so on Win 8.1 results in an error message: “Access denied: You need permission to perform this action.”. The solution is to take owner ship of the file…

    Click to Read More

    1. First, get the patched RDP service termsrv.dll here.
    2. Then, take owner ship of the existing termsrv.dll: takeown /f C:\Windows\System32\termsrv.dll
    3. Next, grant you access on that file: cacls C:\Windows\System32\termsrv.dll /G <YourAccount>:F
    4. As termsrv.dll is currently loaded, rename it into “-termsrv.dll”
    5. Finally, copy the patched file into C:\Windows\System32\
    6. Restart the PC.

    Loading

  • Change your Reply Address in the default Android’s Email app

    When configuring the default Android’ EMail app, you have to set an “account” to access your mailbox. In most cases, you are using the email address of that mailbox. And by default, the EMail app will use that email address as the “sender” of all your mails. If you don’t want people to reply to that email address you should have set a “Reply Address” as “account“.

    Click to Read More

    You have to remove the account already created and reconfigure it:

    1. Start the Email App and open the Settings (Where you can see your account(s))
    2. Click on the “Delete” icon and select the account to be reconfigured with your “Reply Address”. Then press “Delete”.
    3. You will get a Warning like “Deleting this account also deletes all of its messages, contacts, and other data from the devices”. Be sure that all those data are also on your server so they are not lost. Only the local copy will be deleted.
    4. Now, click on the “+” icon to recreate your account.
    5. Type now your “Reply Address” as account, instead of the actual email address used to access your mailbox, with a dummy password (required to enable the “Next” button). Then, click on “Next” (possibly after ticking the option “send email from this account by default”.
    6. On the next screen, select your type of account (Pop3, IMap, Exchange)
    7. Next, as “user name”, type the email address used as actual account, with its password, to access your mailbox.
    8. Finally, complete all the other parameters as usual

    Et voilà.

    Loading

  • Use Filebot to rename media files (and folders)

    FileBot
    FileBot

    Since I am using Plex, I don’t spent time anymore to rename correctly the movies. I am only using their title for the parent folder. For series however I have, per PLEX requirement, to prefix each episode with the name of the serie + SxxEyy where xx = season and yy = episode number. I decided however recently to do some clean-up on the filenames (rename them with the exact movie title, the movie year, the video format, the audio format, etc…). As Plex can’t do that, I am using Filebot.

    Click to Read More

    In the past, I was a great fan of Media Browser 2.x. I was using MetaVideoEditor to download the metadata for my movies. When MetaVideoEditor ended to work (not updated anymore to download the metadata from the providers), I looked for alternatives. Alternatives to MetaVideoEditor but also possibly to Media Browser. I found Plex, coming with a media server for Synology, a media player for HTPC or Samsung TV, and its own metadata downloader. I found Plex much more mature than Media Browser 3.x and I loved that Plex Server was running on my NAS. Plex was based on XBMC but much simpler to configure and much more user friendly, especially for kids. And its metadata downloader was perfect. There was however one difference with MetaVideoEditor: it was not renaming the media file with their title, episode number, etc…

    But that’s not an issue as I found Filebot, a TV and Movies renamer much better than any other similar software! It’s really amazing! It renames not only movies and episodes but also subtitles, audio files, poster (jpg, …), metadata file (xml, nfo) and checksum files (SFV, MD5, SHA-1, ED2K).

    Filebot can query various providers to fetch the rename of your files: TheTVDB, AniDB, TVRAge, Serienjunkies, TheMovieDB, IMBd, OpenSubtitles. And icing on the cake, it can rename those files using your own format. I.e. you can define which information must be used to rename the files including media info extracted from the files thanks to the well know library mediaInfo. You can also call functions to transform this information like removing or replacing blanks and special characters, etc…

    Ex.: if you use a format like this one to rename a file “The.Man.from.earth.Ripped.by.MySelf.from.BlueRay.XYZ“: {n} ({y}) {vf} {af}, the nale will become “The Man from Earth (2007) 720p 6ch” because “n” is a tag replaced by the name of the movie fetched from one of the provider mentionned above. “y” is the movie year. “vf” is the standard video format. “af” is the audio channels. See more tags here.

    Notice that you MUST install Java x64 on your machine if you have Windows x64. Otherwise, filebot will fail to load mediainfo’s libraries. You will see the following error when trying to use custom pattern to rename the files: “BindingException: “vf”: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary.

    Also, asking filebot for information, in a command prompt run in C:\Program Files\FileBot, you will clearly see that there is an issue. It thinks you are on a Windows x86:

    C:\Program Files\FileBot> filebot -script fn:sysinfo FileBot 4.1 (r2245) JNA Native: 4.0.0 MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library ‘mediainfo’: Native library (win32-x86/mediainfo.dll) not found in resource path ([file:/C:/Program%20Files/FileBot/FileBot.jar]) Jun 02, 2014 12:54:34 AM net.filebot.archive.SevenZipLoader requireNativeLibraries WARNING: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path 7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: C:\Program Files\FileBot\7-Zip-JBinding.dll: Can’t load AMD 64-bit .dll on a IA 32-bit platform chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe) Extended Attributes: OK Groovy Engine: 2.3.2 JRE: Java(TM) SE Runtime Environment 1.7.0_51 JVM: 32-bit Java HotSpot(TM) Client VM OS: Windows 7 (x86) Done ?(?????)?

    Go to the manual download page of Java to get the x64. Otherwise, using a x86 browser, you would get the x86 version of java by default.

    1. Once filebot installed, run it and select the “Rename” tab.
    2. Drag and drop the media files to be renamed in the “Original Files” tab. If you want to renamed series, drag & drop the root folder (For Plex, this folder has the name of the serie and contains one subfolder “Season xx” per season.). Notice that it will take time to load all the files but you won’t see any progress bar or spinning hourglass. Be patient!!!
    3. Once the files loaded, you will see an icon next to each one (on the right) mentioning the type of file (jpg, mkv, nfo, xml, …). Each of those files will be renamed. This will therefore maintain the “link” between the existing metadata and the media itself, for players like XBMC, etc…
    4. Right click on the “Match” button to select “Preference”. There, select the language of your media. “Titles” will be fetched from the providers in that language.
    5. Right click on the “Match” button to select “Edit Format” (if you want to customize it). It opens a “Format” window
    6. At the bottom of that window, click on the button “Switch to …” to select the type of media you are going to rename: Movie, Music or Episode.This is important as all tags don’t works for all type of media. Ex.: the tab {e}, “Episode Numbers”, does not exist for movies or music. The type of media you have selected is display in the title bar of the window.
    7. Bellow the format, click on “(x)=” to select one sample of media. It will show you the media information retrieved with the mediainfo library. This preview can help you to find the Tag you need for you custom format.
    8. Now, type you own format. Various samples can be found here. For my series and my movies, I am using respectively:
      {n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").replaceAll(/[:;]/, "-")} - {s00e00} - {episode.title.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").replaceAll(/[:;]/, "-")} [{vf}.{vc}.{ac}]
      {n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").replaceAll(/[:;]/, "-")} ({y}) [{fn.match(/3D/)+"."}{fn.matchAll(/H-OU|H-TAB|HSBS|H-SBS|Half-SBS|Full-SBS|F-SBS|SBS/).join('.').replace('Half-','H-').replace('Full-','F-').replace('TAB','OU').replace('HSBS','H-SBS')+"."}{vf}.{vc}.{ac}] {" CD$pi"}
    9. Once the expression to format completed, click on Use Format. This will close the window.
    10. Right click on Match and select the provider to be used (depending on the type of media to be renamed). Filebot will immediately start to fetch the meta data from that provider and display a preview of the New Names. You will see a spinning icon in the upper right corner indicating that the operation is in progress.
    11. Once completed, you can check that everything is fine in the preview before clicking on “Rename” to execute the actual renaming.

    Filebot can not only rename the files but also move them if you include a path in the format. Ex. to move Avatar.mkv into a folder like X:/Movies/Avatar Collection/Avatar (2009) /Avatar (2009).mkv, use a format like: X:/Movies/{n} ({y}).

    I use the following expression to renamed the folders of my movies:

    ../{n.replaceAll(/[:;]/, "-")} ({y})/{n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").replaceAll(/[:;]/, "-")} ({y}) [{fn.match(/3D/)+"."}{fn.matchAll(/H-OU|H-TAB|HSBS|H-SBS|Half-SBS|Full-SBS|F-SBS|SBS/).join('.').replace('Half-','H-').replace('Full-','F-').replace('TAB','OU').replace('HSBS','H-SBS')+"."}{vf}.{vc}.{ac}] {" CD$pi"}

    Actually the folder is not renamed, but the file is moved into a new folder instead. So, there are plenty of empty folders remaining on the system (or folder that contain only files not renamed with the movies…). To delete them run the following “groovy script” provided by filebot (in a cmd prompt run as administrator):

    c:\Program Files\FileBot>filebot.exe -script fn:cleaner "\Path\To\Your\Movies" 2> filebot-error.log 1> filebot.log

    If you don’t want to cleanup the empty folders without checking what will be deleted, run the same script in ‘test’ mode first and look at the log file…

    c:\Program Files\FileBot>filebot.exe -script fn:cleaner "\Path\To\Your\Movies" --action test 2> filebot-error.log 1> filebot.log

     

    Notice, “Advanced Renamer” can also do it but it’s not as easy. One has indeed to use javascript within “Advanced Renamer” to get access to the complete exif information. it means that a Filebot’s tag as simple as {vf} becomes in Advanced Renamed:

    [js]var format = ”;
    var w = item.exifToolValue(‘ImageWidth’);
    var h = item.exifToolValue(‘ImageHeight’);

    if (w == 0) {
    format = ”;
    } else if (w &amp;amp;lt; 1280) {
    if (h &amp;amp;lt; 576) {
    format = ‘SD NTSC’;
    } else {
    format = ‘SD PAL-SECAM’;
    }
    } else if (w &amp;amp;lt; 1920) {
    format = ‘HD 720p’;
    }
    else if (w &amp;amp;lt; 3840) {
    format = ‘HD 1080p’;
    }
    else if (w &amp;amp;lt; 7680) {
    format = ‘UHD 4K’;
    }
    else {
    format = ‘UHD 8K’;
    }

    return item.newBasename + ‘(‘ + format + ‘)’;

    [/js]

    Download: http://www.filebot.net/

    Loading

  • Asus P9X79 Pro and Surround Audio 5.1: Get sound from Side Speakers

    I have an old Creative Gigaworks ProGamer G550W – a 5.1 Surround System – connected to my Asus P9X79 Pro, and I have never been able to configure my Audio Playback Device as an actual 5.1. But I recently found a step by step procedure posted by “EomaMY” on the forum of Asus’ Republic of Gamers that works like a charm.

    Click to Read More

    The problems with the “Realtek HD Audio Manager” (installed on a clean machine, i.e. immediately after a fresh install of Windows 8.1 x64) were:

    • I had cracking noises in the Center Speaker (See here). I had no such noises with the Microsoft default drivers.
    • with the “Realtek High Definition Audio” Speakers configured as a “5.1 Surround” in the “Playback Devices” configuration pane of Windows, I never got any sound from the Speaker Pair connected either to the Rear Speaker Jack or to the Side Speaker Jack.
    • with my Speakers configured as a “7.1 Surround“, I didn’t get sound from the Speaker Pair if connected to the Rear Speaker Jack. But I got sound from this Speaker Pair if connected to the Side Speaker Jack as far as I was disabling the “Rear Pair” in the “Speaker Setup“. Unfortunately, with such a config, I was not getting any sound from the Rear Pair when playing 5.1 movies within Plex Home Theater.

    So, I did follow EomaMY’s procedure:

    1. Try and re-plug your rear cable back to the rear port.
    2. Uninstall the audio drivers.
    3. Reboot.
    4. Let windows install the standard “windows” drivers, DO NOT install the realtek drivers yet.
    5. Reboot
    6. Now install the latest Realtek audio drivers from Asus (not Realtek, those didn’t work for me). Rear cable should still be plugged in rear port.
    7. Reboot
    8. Open up Realtek control panel. Now go and change rear cable to side. A notification should pop out.
    9. Test the 5.1 setup.

    5.1 works now fine, including with Plex, and without cracking sounds in the Center Speaker anymore  8)

    I did copy/paste here above the procedure of EomaMY. Only notice that I used the Audio Drivers 6.0.1.7335 found on Asus Support webpage for Notebook. This version is more recent than the Audio Drivers 6.0.1.7023 found on the specific Asus Support webpage for P9X79 Pro.

    Notice that it’s physically correct to plug the 5.1 “Rear Speakers” in the “Side Speaker Jack”! Indeed, “surrounds” have always been on the sides but nomenclature and general usage vary and confuses the terms. Reading information from Dolby.com, I keep in mind that:

    • In a 5.1 system, the ‘Surrounds’ are on the sides.
    • In a 7.1 system, the ‘Surrounds’ are on the sides while the ‘Rears’ are the ‘Surround Back’.

    Loading

  • Software Uninstaller: Revo

    Revo Uninstaller
    Revo Uninstaller

    Since a long time now, I am used to uninstall software with the free version of Revo Uninstaller. First, it can remove software that do not appear in Windows’s installed software” list or whose classic uninstallation failed. Next, it comes with an advanced “Cleanup” feature to remove any registry entry or files left by the software after its uninstallation.

    Click to Read More

    The free version does not monitor your PC to capture actions made by installer… So, it does not make your PC slower.

    Usually, I know the name of the application I want to uninstall, so I use the Search Box to find it instead of scrolling among 100th of Icons. That feature was the main reason why I started to use Revo with previous versions of Windows, in addition to the fact that the information displayed was more complete than within Windows’ native uninstaller.

    I use Revo only to uninstall apps… But the free version does a bit more:

    • With the Hunter mode, you can drag the Hunter window over desktop icons, quick launch toolbar, system tray icons, or program’s window to get access to menus to uninstall, kill, locate, … the focused application. This is unfortunately not working fine on my PC. For some reason, the Hunter window is unable to identify the focused applications…
    • It also comes with an AutoRun Manager to disable/re-enable startup applications, run them, kill, them, etc… However, I am still used to CodeStuff Starter and Procexp for such tasks.

    I admit also that with Windows 8.1, the native “Uninstall a Program” is now as user friendly as Revo. In addition, I noticed that Revo doesn’t display all the installed software anymore, at least on Windows 8.1 🙁

    The only reason why I am still using Revo is because Windows is missing the advanced “Cleanup” feature that removes orphan files and registry entries.

    Download: http://www.revouninstaller.com/revo_uninstaller_free_download.html

    Loading

  • File Recovery Software: Recurva

    Recuva
    Recuva

    Recuva is IMHO the very best Recovery Software. It is user friendly and much more effective than many other freeware I have tested. And it comes with a free version that is only missing the “support” service.

    Click to Read More

    How has never deleted files by accident and only noticed after making his Recycle Bin empty? Or how has never reinstalled Windows for formatted a drive before backuping his important files?

    With Recurva, there is still a “good” chance to recover some of the “lost files” if not all…

    Concretely, Recurva has simple wizards to

    • Undelete files on your computer
    • Recovery from damaged or formatted disks
    • Recover deleted emails
    • Recover deleted iPod music
    • Restore unsaved Word documents
    • Deep Scan for deleted files when quick methods doesn’t find them
    • Securely delete files you want to erase forever

    Recurva also comes with a portable version.

    Download: https://www.piriform.com/recuva

    Loading

  • Install and Update All Your Programs at Once with Ninite

    Ninite Installer
    Ninite Installer

    Most of my favorite freewares can be installed at once using this great free software: Ninite.

    Click to Read More

    I have just reinstalled one of my PC (not booting anymore after the update of NVidia graphic drivers). As usually, immediately after the fresh setup, I reinstall all my favorite pieces of software:

    1. Chrome
    2. VLC
    3. K-Lite Codecs
    4. Java
    5. Paint.Net
    6. FastStone
    7. Foxit Reader
    8. Avast
    9. FileZilla
    10. Notepad++
    11. TeamViewer
    12. Revo Uninstaller
    13. 7-Zip

    That could be a lot of work. Fortunately, I only have to tick those on the Ninite website and a get a “Ninite installer” customized for my own need. Running that one, all the selected apps are installed silently :p

    No registration, No Spam, No Adware, No Worm, No Crap 8)

    Ninite Selector
    Ninite Selector

    Website: https://ninite.com/

    Loading

  • Replacing RAID-F by T-RAID

    T-RAID (for Transparent RAID) is a new product of flexRAID. It comes as another option next to the existing product: RAID-F (RAID over File System). I did migrate from Raid-F to T-RAID months ago…

    T-RAID
    T-RAID

    Here is how I configure it now in order to get the best performances for my server and my own usage.

    Click to Read More

    Nice Features

    I love T-RAID. It has great features similar to RAID-F, e.g.:

    • Software Raid Array fully independent from the hardware.
      • If a physical controller die, no need to replace it with another identical one.
    • Support adding a disk with existing data into the Software Raid Array.
      • No need to add blank disk as required with hardware raid or with Windows Storage Server.
    • Survive to simultaneous failure of several drives.
    • Access each disk through a virtual disk or through a Pool offering a unique/global view on all the virtual disks.

    But it comes with its own advantages on RAID-F

    • It’s a native Real-Time protection without any drawback compared to “RAID-F RealTime” (E.g.: RAID-F in RT mode MUST be stopped gracefully before shutting down the machine)
    • Data on failing disks are still accessible in Read and Write mode! There is therefore no downtime during the “disk reconstruction” (Similar to hardware Raid)
    • It comes with interesting monitoring and notification tools (Performances, S.M.A.R.T, …)
    • It comes with Storage Accelerations.
      • Currently, a “Landing Zone”: use of a SSD as a temporary storage. Files copied into the array are dropped onto the SDD and transferred later, in background, to the array.
      • Soon, “SSD caching”.

    RAID Options

    Once Physical Drives “Registered as Pass-Through”, to be used as DRU or PPU, and added into a “RAID Configuration (defining hence an “Array”), one can set various options on that “Configuration”

    Options:

    • Auto Start Array=false. Because I don’t always turn on my PC to access the data stored in the T-RAID array. Bu also because I often change settings in my Configuration for testing purpose and changes may often not be applied if the array is already running…
    • Global Hot-Spare Rebuild=false. This is the recommended value as human interaction is preferred on automatic rebuild in case of disk failure
    • Read-Only Policy=Never. This is the default and authorize writing on all disks in the array, even on disks failing.
    • Scheduled Range Operation Size (in GB)=100. I didn’t fine-tune this default value yet (taking into account e.g. how much data can be validated per hours when the server is on). Actually, I turn my server on only a few times per month, to do massive backups. Once the backups completed, I start a complete Validation of the array and configure the system to shutdown on completion.
    • Statistics: File=true, RAID=true. I want indeed to monitor my system. But File Statistics requires a Job to be scheduled for the Storage!

    Performance Options:

    • Performance Profile=PERFORMANCE. Because my server is only on when I want to do backups, I don’t care about saving disks/energy. On the opposite, I care about performance and this profile provides indeed noticeable improvements at disk access speed level.
    • Concurrency Queuing (CQ) Depth=64, Salt=16. Salt is use in the algorithm managing “concurrency” within T-RAID.  System could experience lock overrides if the salt is too high and constant out of sync blocks if it is too low. The perfect values depends on the hardware… So, as long as “out of sync blocks” are reported during “Verify and Sync” tasks, increase the salt. But look into the “RAID Monitoring” tab for the graphic “Lock Override“, if the value is increasing drastically, lower the salt!
    • OS Caching=false. I don’t use this one as it doesn’t help to keep high performances when copying files larger than the amount of RAM, which is the case for me. In addition, the PERFORMANCE mode is not guarantee to be efficient with “OS Caching”=true when using multiple PPU, which is also the case for me.
    • Tagged Command Queuing (TCQ)=true, Depth=32. I am using this option to improve performances as it’s compatible with the PERFORMANCE mode while using multiple PPU. It allow up to 90% of source disk write speed.
    • Sequential Write Optimization (SWO)=true, Depth=8. I keep those default values.
    • Direct I/O=true. I also keep those default values.

    Storage Options:

    • Auto Storage Pooling Start=false, Delay=15. Notice that it’s recommended to never access the virtual disks directly (assigning them with a drive letter). Instead, using only the Pool add an extra visualization layer which makes hot-unplugging much less issue prone. But I often change settings in my Configuration for testing purpose and changes may often not be applied if the pool is already running…
    • Removable=false. This settings must be set on false on Windows Server 2012 Essentials.
    • Storage Pool Caching=META_DATA_ONLY, Max=310. I noticed that performances are much better when using this setting instead of File_AND_META_DATA for copy of large files, which is the case for me.
    • Sync Folder Last Modified Date=false. I would enable this only if I use a program tracking file modification date (Ex.: sync or backup daemon)
    • Thread Pool Size=32. I keep this default
    • Space Management Reserve (in GB)=50. I keep this default.
    • File Management Strategy=STRICT_FOLDER_PRIORITY. I want to keep all files together even if it’s not “energy optimal”. Indeed, in case of disaster, I will at least easily retrieve related files on disks still “alive”…
    • File System=NTFS, strict ACL Mode=false. I keep those defaults
    • Drive Letter or Folder Mount Point=V. This is the letter to be assigned to the Pool. It is shared to be accessible from other machine in my Intranet
    • Native NFS Support=false. I keep this default.
    • Volume Label: tRAID Storage Pool

    Advanced Operations

    • Storage Acceleration. I don’t use it so far as the write performances are good enough for me and anyway, I don’t keep my server up and running 24/7. So I want to know when I can switch it off (I.e.: when the transfers are really completed). Using the Storage Acceleration, the SSD used as Landing Zone would never be flushed in my case… I indeed only turn the server on when I want to backup huge amount of data…

    S.M.A.R.T

    • For each disks on a LSI SAS controller, I have to set an “Advanced Mapping”
      • Device Path Mapping: /dev/pdx where x is the disk id
      • DeviceType Mapping: sat
    • For each disks, I also enable SMART Monitoring (every 4 hours) except when disks are in standby.

    Notes

    • Write performances are a lot impacted by the performances of the PPU. The best disks should be used as PPU instead of DRU.
    • To increase Read Performances, the File Management Strategy has better be ROUN_ROBIN as it enables I/O parallelism.
    • Never Defrag or Chkdsk the “Pool Drive” or “Source (physical) Drives”. Defrag instead the “NZFS (Virtual) Drives”. That being said:
      • I really try to avoid doing a Defrag as so-far, I am not yet 100% convinced that, on my system, it does not results “blocks out of sync” (I.e.: requires a Verify&Sync). For that reason, I have disabled the automatic-daily-defrag; E.g.: Turn off the Windows Disk Defragmenter Schedule (See FlexRaid’s Wiki) or uncheck the automatic optimization on concerned drives in O&O Defrag. Pay attention that new NZFS disk appearing when the array start can be taken automatically into account by the defrag tool.
      • Defrag, if done, should never be executed on several disk simultaneously (See FlexRaid’s wiki).
      • If you do a Defrag, you better stop the Pool or at least imperatively disable “Storage Pool Caching”.
      • I didn’t succeed to do a Chkdsk on the “NZFS Drives” and had to bring the “Source Drives” online to repair them… Once repaired, a Verify&Sync is mandatory! (NB.: One thing to try is dis-engaging driver protection mode. asit blocks certain low level operations. Unfortunately, it’s not recommended to run disk tools on the transparent disks with driver protection dis-engaged).
    • When a Verify task fails, it provides the exact first and last byte failure as well as the amount of 4KB blocks. One can then start an “Range Specific Operation” to Verify&Sync the specified zone.
      • Notice that first/last position of failure is in Bytes while the “Range Specific Operation” can be in KB, MB, etc… 1KB = 1024B).
      • Notice also that the Verify&Sync updates complete blocks (4KB) and will therefore possible report different addresses (first byte of the updated block) than the Verify Task!

    Loading

  • LSI_SAS2 and Disk Warnings in the System Event Log

    I noticed that there are a lot of Warnings issued from my LSI controllers in the eventlogs. LSI support told me that this can be due to failing disks, but in my case it could be something else, related to my SMART monitoring tool…

    Click to Read More

    Concretely, I have two LSI SAS Controllers: a LSI SAS 9211-8i and a LSI SAS 9201-16i. Both have been updated with the Firmware 19.00.00.00 and I am using the drivers version 2.0.72.0 for Windows x64: LSI Adapter SAS2 2008 Falcon and LSI Adapter SAS 2 2116 Metero ROC(E). I didn’t upgrade the bios of those cards as more recent versions are not compatible with my motherboard (See here).

    I often noticed “Warnings” related to my two LSI adapters (with “LSI_SAS2” as a source) in my Event Log; either “Reset to device, \Device\RaidPort1, was issued.” or “Reset to device, \Device\RaidPort2, was issued.”. Those Warnings are usually followed by one or two other Warnings like “The IO operation at logical block address 0 for Disk 0 was retried.” with “disk” as a source. The address and the disk number vary a lot but the Warnings appear very precisely every 180 seconds (3 minutes)

    I read on the web that this is usually due to a timeout on accessing the disk and resulting in the controller to be reset. This issue is often solved by using the “High Performance” Power Plan Power with the option “PCI Express” > “Link State Power Management” set to “Off” ! But it didn’t solve my own issue.

    I have therefore contacted LSI support and was told that “The resets are to the drives which are timing out. It is possible one or more of them have an issue. Replace the drive that has the highest number of resets on his port.”

    I have the issue mostly with all my disks, so I didn’t know where to start… especially as according to their SMART status, they were all definitively perfect. Could it therefore be due to the cables ? No idea yet… But looking once more the SMART details, I noticed that the Warnings where typically logged when I was refreshing those status.

    I am using CrystalDiskInfo which is IMO definitively the best free SMART Monitoring tool… It is e.g. configured on my PC to send emails as soon as an SMART alert occurs… and… it is configured to check the SMART status every 3 minutes ! Gosh ! A refresh rate of 180 seconds?! That rings a bell and even a siren! I immediately disabled the SMART Monitoring and didn’t get any Warning anymore. Trying other SMART tools, I noticed the same issue…

    I did submit my findings to LSI and wait now on their feedback: is there any conflict at LSI SAS adapter level when accessing data on disk at the same time as the disk’s SMART info?

    That being said, I noticed also that most 99% of the Warnings are related to my 5 Seagate ST3000DM001. I seldom have Warnings for my Samsung HD204UI (patched to avoid data corruption when accessing SMART info!)

    Loading

  • Send a DSM Notification to one of your Synology users

    This is a simple note to remind me how easy it is to send a notification message to another user on my NAS, from a telnet prompt, using the command: synodsmnotify user/group “Title” “Message”

    Click to Read More

    Ex.: synodsmnotify valery “Hello” “Don’t forget to post a note about such findings on your blog”

    Where “valery” is a valid user, defined on my Synology… Notice that if the user does not exist, you will get an error like this:

    synodsmnotify.cpp:27 SYNOUserPreferenceDirGet(valery) fail, [0x1D00 user_db_get.c:53]

    synodsmnotify.cpp:172 Fail to send notify to valery

    Loading

Tags


Acer iDea 510 AirPlay Android Backup DD-WRT DNS DS209+ DS713+ DS1815+ FlexRaid Galaxy Galaxy S2 Galaxy S7 Google Assistant Google Home HTPC Kies MCE MySQL Nabi 2 Nvidia TV Shield One Plus One OpenHab Outlook Philips Hue Plex RAID Raspberry PI Remote Desktop Root Access Samsung Scripts Synology Team Build Visual Studio VMWare Wi-Fi Windows Windows 8 Windows 8.1 Windows 10 Windows Server 2012 XBMC Xpenology ZigBee

Categories


Archives