Author: leizhou


Website:

http://bitc.bme.emory.edu/Members/lzhou.html

About this author:


When dnf/yum update stuck on cleaning up…

Sometimes when you are doing dnf/yum update, the progress may stop on the last step – cleaning up packages for hours, if you have a super large data drive. This may be caused by an installing script falsely attempts to scan through multi-million files on your data drive that is not mounted in a regular […]

Restart docker failed on docker0 network interface

Sometimes when you attempt to restart docker.service, it fails on cannot restart docker0 network interface. In this case, you can simple do ifdown docker0 Then you can start docker.service again.

Replacing linux system drive over EFI boot while expanding partitions

If only to replace a system drive, doing a dd of old drive to new drive will work. However, in most of cases the driving force of replacing drives is that the drive size is not big enough to host increasing size of system files. In this case, only doing dd will screw you up […]

Stop tcsh log in script from interrupting scp

If you are using tcsh shell, and your login script has screen output like an echo line, scp will be interrupted. To prevent this, knowing that for an interactive ssh session, it will open a tty, but embedded session like scp will not generate a tty. Thus this can be distinguished by checking if the […]

rsync no mounts and ssh no profile

rsync -ax ssh -t user@host –noprofile

E-Prime 3 presentation can only run on CPU 0

E-Prime 3 got a new issue with recent Windows 10 update. The presentation nearly always stuck at the end of the first item. Diagnose showed that only when E-Prime/E-Run was running on CPU 0, it can finish properly. To enforce this, a shortcut is created for each E-Run file with the target as C:\Windows\System32\cmd.exe /c […]

Mellanox MSN2100 Switch fan tolerance

My Mellanox MSN2100 switch constantly has the “system status” LED on red since purchase. By looking into its system status: show system-health detail System status summary System status LED redServices:Status: OKHardware:Status: Not OKReasons: Failed to get speed tolerance for fan4Failed to get speed tolerance for fan3Failed to get speed tolerance for fan2Failed to get speed […]

Using SONiC to run MSN2100 switch

The Mellanox/NVidia MSN2100 switch came with a bare ONIE system and is not Plug and Play. NVidia service can not provide setting up assistance without a ONYX//Cumulus/SONiC entitlement. I installed the community version of SONiC from sonic.software for sonic-mellanox.bin. After the installation, the switch is automatically configured with all 16 ports as routers with a […]

6020095 · 2^6972593 – 1 is prime

It has 2098967 decimal digits. See record page here.

3^1681130 + 3^445781 + 1 is prime.

Proof file: HERE Record page here. 3^1681130+3^445781+1 has 802,104 digits factor of p-1: 3^1681130+3^445781 = 3^445781*(3^1235349+1) for 3^1235349+1: Divisor of 1235349: {1, 3, 9, 317, 433, 951, 1299, 2853, 3897, 137261, 411783, 1235349} for which Cyclotomic[2x,3] divides 3^1235349+1, 3^1235349+1=Product of Phi[2m,3], m is in the above divisor list. Phi: Cyclotomic function in Mathematica. Phi[2,3] = […]