Remove bad block list from Linux MD RAID member disk

The Linux MD RAID driver when it experiences a bad block on one disk will often incorrectly create bad block entries on a second or third disk in RAID5/RAID6 (

To check if your member disk has any bad blocks recorded on it run:

# mdadm --examine-badblocks /dev/sdd

To clear the bad blocks list on a fully working drive you can run the following commands:

# mdadm /dev/md127 --fail /dev/sdd --remove /dev/sdd --re-add /dev/sdd --update=force-no-bbl
# mdadm /dev/md127 --fail /dev/sdd --remove /dev/sdd --re-add /dev/sdd --update=no-bbl

Convert Windows Server from Evaluation to Licensed Version

Windows Server 2022 Standard: dism /online /set-edition:ServerStandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula Windows Server 2022 Datacenter: dism /online /set-edition:ServerDatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula Windows Server 2019 Essentials: dism /online  […]

Continue reading

Marlin firmware for Sidewinder X1

Patch file for compiling Marlin firmware for a Sidewinder X1 3D printer. marlin-

Marlin 1.1.9 firmware for Sidewinder X1

Patch file for compiling Marlin 1.1.9 firmware for a Sidewinder X1 3D printer. marlin-1.1.9_sidewinder-x1.diff

Switching Windows 10 from IDE to AHCI

Start a command prompt as administrator and run the following command: bcdedit /set {current} safeboot minimal Reboot the computer and switch BIOS/EFI settings from IDE to AHCI. Start another command prompt as administrator and run the following command: bcdedit /deletevalue {current} safeboot  […]

Continue reading

Compiling iiNet Budii Firmware

Prepare the build host, need to be run on a i386 (32bit host) or on a machine with i386 libraries installed: apt-get install ca-certificates wget gawk tcl libtool bison flex Download the mips toolchain: cd /tmp wget tar -vxzf  […]

Continue reading

VMware VCSA Update Manager - Service crashed while starting

If you have used custom certificates and are having problems upgrading VMware VCSA or are having problems trying to perform a backup, you may have a problem with the VMware Update Manager service. VMware's knowledgebase article applies to this issue: This  […]

Continue reading

Disable SSH warning on VMware ESXi

Using esxcli: vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1 Using the vSphere Client: Select the ESXi host from the Inventory. Click the Configuration tab. Select Advanced Settings in the Software list. Locate UserVars in the left list. Locate UserVars.SuppressShellWarning in  […]

Continue reading

Disk Cleanup Utility on Windows Server 2008 R2

Microsoft requires that the Desktop Experience feature be installed on Server 2008 R2 for the Disk Cleanup Utility to work, but you can work around that requirement. Start a Command Prompt running as Administrator and run the following: copy  […]

Continue reading

Install Certificate for Microsoft Remote Desktop

Open Microsoft Management Center (MMC) (Start -> Run -> mmc.exe) Open File menu and select 'Add/Remove Snap-in' (or press Ctrl+M) Select Certificates and click 'Add >'. Select 'Computer account' and click 'Next >' Leave 'Local computer' selected unless you are managing a remote server  […]

Continue reading

iOS Development - White status bar in iOS 8

Edit the application .plist and set UIViewControllerBasedStatusBarAppearance to "YES". Then in ViewController.m add the method: (UIStatusBarStyle)preferredStatusBarStyle { return UIStatusBarStyleLightContent; }  […]

Continue reading

VMware vCenter Server behind NAT Router

If your vCenter Server is behind a NAT the hosts will drop out after about a minute. To fix this problem you must add a port forward on the router to relay UDP/902 back to the vCenter server and configure the Virtual Center agent on the host to point to the external NAT IP address. VMware Reference:  […]

Continue reading

VMware vSphere Client 5.5 on Domain Controller

For when there is no other option and you must install the vSphere Client on your Domain Controller you can do it with the following: VMware-viclient-all-5.5.0-1281650.exe /VSKIP_OS_CHECKS="1"  […]

Continue reading

Page top