lancache

TLDR: I now only have to download microsoft and steam updates once for all 13 systems in the house.
 
I finally set up a LAN Cache. I got tired of windows update sneaking in and eating all of my bandwidth, killing movies, etc. We have 4 regular Steam clients, plus 3 that don’t run very often; and we have 13 Windows 10 systems. It seems like settings always revert, and they update whenever they want, or at 100% bandwidth a few months after setting the throttles low.
 
https://lancache.net/ caches steam, windows updates, and several others. It was much easier to set up than a squid webproxy on my router. This should make it so anything that is downloaded only downloads once. only have 200GB to throw at it right now, but that should help a bunch. I need to set it to auto-start on boot, and to give it more space eventually, but I’m just really happy it’s working now. And apache, SSLH, and DNSMASQ on the same host still working.
 
My router already pointed to my server for DNS Masquerading, so I could manually override things. I added a second IP address, and modified lancache.yml to put all services only on the new IP address. I updated dnsmasq.conf to forward to lancache only, because it was not obeying the fallback rules.
 
This means if lancache dies, I have to edit dnsmasq to keep the home network functional. So many layers.

Spacetime Dream

I had one of those dreams during waking that was both vivid and meaningful. It was in a village, with many people around. Standing inside, but near the lip of a basin. There were trees, complex terrain, but not a lot of big rocks. Everything was lush and green in the late afternoon, early evening. Before dusk, but no direct beams of light seen.

The basin wasn’t actually a basin. It was curved spacetime. Gravity did not “feel” strange, but it did “look” like we would walk down into the basin to go forward. Left and right seemed normal. Perhaps the Earth had become a Mobius Strip in spacetime, not a torus. We were looking across the gap from the inside.

There was no Sun in this universe. It just became brighter and darker over time. Shadows were always towards the center of the strip, but if you looked behind you, you would see the curce of the Earth going upwards.

We were looking up at the moon. The moon was physically smaller, but seemed much larger because of how close it was. It took up maybe 5-10 degrees of arc worth of the sky. The moon travelled perpetually in the center, because really, it stayed stationary. The Earth’s surface rotated continually, almost flowed, across the Mobius, dragging atmosphere with it.

Left to right, there were lots of cirrus clouds, with a thick line of them. You could see the clouds striking and billowing against the line of clouds. No dust was coming off of the moon, and it was very dense — more massive than IRL.

In the distance, instead of blackness, or stars, it was the darkest blue. You could see the lights of night-time, creating an outline of the entire continent of Africa, isolated, without Europe nearby. It was almost directly across it seemed, but it was also up vertically because of the curvature.

We understood, all of this in a way, because we had grown up with it. This was still an amazing sight, just like IRL how people get excited for a solar eclipse, or a blood moon, or a comet, or a meteor shower, or any other less common movements.


reducevg very slow

This is an APAR, but really it’s a description. Reducevg sends the equivalent of TRIM commands, but on a storage array, this is writing nulls. On a big LUN, or with a busy array, this can take a long time. If you do not need to worry about this, then you can disable that space reclaim.

ioo -o -dk_lbp_enabled=0

Here is the IBM doc about it.

 

IJ23045: REDUCEVG UNCLEAR ON DELAY WHEN WAITING FOR INFLIGHT RECLAIM REQ APPLIES TO AIX 7100-05

 

A fix is available

APAR status

  • Closed as program error.

Error description

  • reducevg may be unclear, why there is some delay
    when waiting on inflight reclaim requests.
    

Local fix

  • Disable space reclamation by running:
    ioo -o dk_lbp_enabled=0
    

Problem summary

  • reducevg may be unclear, why there is some delay
    when waiting on inflight reclaim requests.
    

Problem conclusion

  • reducevg displays message incase there are space reclamation
    IOs inflight to indicate reducevg may take some time to
    complete.

TSM SP Remove ReplServer

PROBLEM:
Every 5.5 minutes, this shows up in the actlog

08/13/20 08:05:25 ANR1663E Open Server: Server OLDSERVER not defined
08/13/20 08:05:25 ANR1651E Server information for OLDSERVER is not available.
08/13/20 08:05:25 ANR4377E Session failure, target server OLDSERVER is not defined on the source server.
08/13/20 08:05:25 ANR1663E Open Server: Server OLDSERVER not defined
08/13/20 08:05:25 ANR1651E Server information for OLDSERVER is not available.
08/13/20 08:05:25 ANR4377E Session failure, target server OLDSERVER is not defined on the source server.
08/13/20 08:05:26 ANR1663E Open Server: Server OLDSERVER not defined
08/13/20 08:05:26 ANR1651E Server information for OLDSERVER is not available.
08/13/20 08:05:26 ANR4377E Session failure, target server OLDSERVER is not defined on the source server.
08/13/20 08:05:28 ANR1663E Open Server: Server OLDSERVER not defined
08/13/20 08:05:28 ANR1651E Server information for OLDSERVER is not available.
08/13/20 08:05:28 ANR4377E Session failure, target server OLDSERVER is not defined on the source server.

SOLUTION:
QUERY REPLSERVER shows the GUID
REMOVE REPLSERVER (GUID) to cause the errors to stop.


SVC, StorWize, FlashSystem, Spectrum Virtualize – replace a drive

I always forget, so here’s a reminder…

When you replace a drive on one of these, mdisk arrays do not auto-rebuild.

If the GUI fix procedures go away, or never show up, or whatever causes the replacement drive to not get included as a new drive in the mdisk, you can do this manually.

First, look for the candidate or spare drive you want to use.
lsmdisk

Then, make sure that drive ID is a candidate:
chdrive -use candidate 72

Then, find the missing member:
lsarraymember mdisk1

Then, set the new drive to use that missing member ID:
charraymember -member 31 -newdrive 72 mdisk1

You can watch the progress of the rebuild:
lsarraymemberprogress mdisk1


Dovecot recompress

I was getting an error about the file size being too large.

May 4 17:42:57 ns1 dovecot: imap(jdavis)<21859><XXXXXXXXX/YYYYYYYYY>: Error: Corrupted record in index cache file /home/jdavis/Maildir/.Archivedir/dovecot.index.cache: UID 1: Broken physical size in mailbox Archivedir: read(zlib(/home/jdavis/Maildir/.Archivedir/cur/1111111111.M555555P333V000000000000FD05I0001A11F_2212.mailhost,S=9794:2,SZ,Z)) failed: Cached message size larger than expected (9794 > 3254, box=Archivedir, UID=1)

I might have clobbered some things while trying to fix it, so I restored a backup to maildir.tmp, and did the following to try to repair/rebuild.

################################
### Clean up the restored mail repo
################################
cd /storage/uploads/CustomerImages/mailtemp/Maildir.tmp
for i in .[a-zA-Z]*/cur/* ; do rm cur/`basename $i` ; done

IFS=$'\n'
for i in $(find . -type f); do
   if file "$i" |grep gzip >/dev/null; then
      # echo "Extracting GZIP:" "$i" 
      mv "$i" "$i".gz
      gunzip "$i".gz
   fi
done &

for i in $(find . -type f); do
   if file "$i" |grep bzip2 >/dev/null; then
      # echo "Extracting BZIP2:" "$i"
      bunzip2 -q "$i"
      mv "$i".out "$(echo $i |sed 's/.out//')"
   fi
done &



################################
### Copy in the missing or damaged files
################################
cd /home/jdavis/Maildir
for i in .[a-zA-Z]* [a-z]* ; do rsync -avS --partial /storage/uploads/CustomerImages/mailtemp/Maildir.tmp/Maildir/"${i}" ./ ; done
for i in .[a-zA-Z]*/cur/* ; do rm cur/`basename $i` ; done

IFS=$'\n'
for i in $(find . -type f); do
   if file "$i" |grep gzip >/dev/null; then
      # echo "Extracting GZIP:" "$i" 
      mv "$i" "$i".gz
      gunzip "$i".gz
   fi
done &

for i in $(find . -type f); do
   if file "$i" |grep bzip2 >/dev/null; then
      # echo "Extracting BZIP2:" "$i"
      bunzip2 -q "$i"
      mv "$i".out "$(echo $i |sed 's/.out//')"
   fi
done &


################################
### Now, remove duplicates
################################
find /storage/uploads/CustomerImages/mailtemp/Maildir.tmp /home/jdavis/Maildir -type d -exec fdupes -dNI {} \;



################################
### Now, recompress it all
################################
compress_maildir () {
   cd $1
   DIRS=`find -maxdepth 2 -type d -name cur`
   for dir in $DIRS; do
      echo $dir
      cd $dir
      FILES=`find -type f -name “*,S=*” -not -regex “.*:2,.*Z.*”`
      #compress all files
      for FILE in $FILES; do
         NEWFILE=../tmp/${FILE}
         #echo bzip $FILE $NEWFILE
         if ! bzip2 -9 $FILE -c > $NEWFILE; then
            echo compressing failed
            exit -1;
         fi
         #reset mtime
         if ! touch -r $FILE $NEWFILE; then
            echo setting time failed
            exit -1
         fi
      done
      echo Locking $dir/..
      if PID=`/usr/lib/dovecot/maildirlock .. 120`; then
         #locking successfull, moving compressed files
         for FILE in $FILES; do
            NEWFILE=../tmp/${FILE}
            if [ -s $FILE ] && [ -s $NEWFILE ]; then
               echo mv $FILE $NEWFILE
               mv $FILE /tmp
               mv $NEWFILE ${FILE}Z
            else
               echo mv failed
               exit -1
            fi
         done
         kill $PID
      else
         echo lock failed
         exit -1
      fi
      cd – >/dev/null
   done
}


################################
### Actually RUN the script to compress all maildir files
################################
./compress_maildir /home/jdavis/Maildir/ &

Related: http://omnitech.net/news/2015/11/14/compressed-dovecot-maildir/


Light and Disinfectant

So, time to crank up the UV and disinfectants into our lungs, huh? Remember folks, if you die, the virus dies too!

TRANSCRIPT: Donald J. Trump said on 4/23/20: “Supposing we hit the body with a tremendous, whether it’s ultraviolet or just very powerful light, and, I think you said, that hasn’t been checked but you’re going to test it? And then I said, supposing you brought the light INSIDE the body, which you can do either through the skin or, uh, in some other way….and then I see the disinfectant, where it knocks it out in a minute, one minute, and is there a way we can do something like that? Uh, by injection inside, or almost a cleaning, because you see it gets in the lungs and it does a tremendous number on the lungs, so it would be interesting to check that, but you’re going to have to use medical doctors for that. But it sounds interesting to me.”

EXPLANATION: UV and disinfectants kill C19, and he was suggesting introducing those to the inside of a body may be helpful. He said Brix would be looking into that.

There is zero justification for trying to say what he suggested might be valid. It is so obviously ignorant that it is valid to dismiss it on the spot. Brix’ obvious pain on her face while having to listen to this makes perfect sense.

The suggestions are also careless for not being clear to the moderately large number of people who absolutely will interpret this to mean they should resume drinking diluted bleach.

If this kind of thing worked, then no infectious disease would ever be possible anymore. It’s like saying we should boil people to cure the disease. Sure, it would destroy the germs, but also destroy the person’s cells, aka them.

The people defending what he said are doing so out of ideological loyalty, or blind faith, or abject ignorance. Think of the Golgafrenchams and their wheel. It is not worth your time trying to get understanding into their minds. Either someone understands, or they do not.


Death Rates Falling

US death rate trends since the pandemic declaration (03-11) and national emergency (03-13).  Chart attached for various areas:
Downward Death Rates
 
The raw numbers (deaths, new infections) are:
169.49% 175.73%
122.00% 139.65%
125.82% 133.45%
135.83% 130.53%
132.37% 131.24%
127.90% 123.07%
133.43% 122.40%
128.34% 127.45%
130.77% 121.26%
128.15% 119.50%
121.77% 115.98%
120.71% 114.85%
130.05% 116.29%
122.82% 113.39%
124.57% 114.10%
119.59% 113.20%
118.63% 112.07%
114.42% 109.14%
112.10% 108.76%
117.98% 108.08%

SARS2 and Animals

This CNET Article discusses research on SARS-CoV-2 in several common animals, as well as a bit of history on the virus.  The article also discusses the animal origins of this virus, and a quick summary to date. A limited number of animals have been tested for and proven to be infected by the virus.  No proof of humans catching it back from animals has happened.  Very little study has occurred on the communicablility, and it was initially thought to be no risk.
 
The jist of the research paper is that adults and juvenile cats can get it the same as humans; young cats and ferrets can get it just in the upper respiratory tract (sinuses, tonsils), but not the lower respiratory tract. Dogs can technically get it, but are not very susceptible. It does not stay in them long. Ducks, pigs, pidgeons, etc are not susceptible at all. 
 
Another group did computer modeling of 253 animals’ ACE2 receptors to see what other animals we should investigate as possible transmission vectors.  
  • Human, Flying Fox, Horseshoe Bat, Lynx, Civet, Cat, Swine, Pangolin, Cow, Buffalo, Mustela (ferrets, weasles, etc), Goats, Sheep, ACE2 were clustered with humans.
  • Mice, birds, reptiles, etc were not, and mice were proven not susceptible.
  • Civet and Bat have been implicated in SARS1 sources, and Pangolin and Bat for SARS2 sources.

     SARS2 ACE2 Phylology Chart

This chart shows the ACE2 receptors that conserve the same binding sites as humans. They suspect that 50% and above “could” harbor the virus, but that birds generally are not a reservoir for betacoronaviruses. We see in other research that dogs, at 90%, are poor carriers, and clear the virus within 4 days. Swine were not actually susceptible, and ferrets were not able to get it into their lungs. The mechanism of those differences is unknown.

SARS2 ACE2 Phylology similarities


Ivermectin kills SARS-CoV-2 in vitro

It looks like an anti-viral drug blocks a nuclear protein import function, which halts SARS-CoV-19 replication. In cultures, a single treatment caused a 93% reduction in 24H, and 99.98% reduction at 48H.
 
It’s part of the WHO essential drugs list, and already FDA approved. That bypasses several early and time consuming steps for releasing treatments. Next steps are finding out whether this will work in humans, and what dosage is needed.
 
Somewhere in there, I hope there is a balance between keeping people safe, and killing the virus so quickly that we don’t build any immunity.
 
https://www.sciencedirect.com/science/article/pii/S0166354220302011