NOHUP REDIRECTION NOT WORKING WORKAROUND – BUG PERHAPS? If your running a script that redirects to files Then you have nohup wrapping that script Showing by Example: Here is the contents ofRead More…
SLABTOP BTRFS DURING MOUNTS
SLABTOP BTRFS DURING MOUNTS ############################# Its intersting to watch the mounts with slabtop and top. Btrfs moutns can take a minute because of the metadata work they do during the mount. ThisRead More…
dd vs fallocate vs truncate – making big files quick
dd and fallocate and truncate to make big files quick ########################################## Every example below will be with creating a 10 gig file. dd will take time, where as fallocate and truncate willRead More…
ddkrescue – kossboss gddrescue script – my favorite way to clone drives
THE SPEECH BEFORE THE SCRIPT tl;dr note you can just skip to the script below if you want This script uses ddrescue (the newer one between gddrescue and ddrescue, so it uses gddrescueRead More…
Note to Self about DD blocksizes
note to self about dd sizes ##################### Pick small block size then multiply by count to get size ex: dd if=/dev/zero bs=1M count=1024 That will get 1 Mib of a block sizeRead More…
ionice and nice notes – renice and re-ionice/reionice
######################### # ionice and nice notes # ######################### # nice -n19 is nicest on CPU priority # ionice -c2 -n7 is nicest on IO priority also so is ionice -c3. ionice -c3Read More…
LVM units in base 2 Tib,Gib,Mib or base 10 TB, GB, MB question and answer
Are the units in Base 2 (Mib,Gib,Tib) or in Base 10 (MB,GB,TB). They say “MB,GB,TB” but that is commonly misused. mdadm seems to be the only thing that truely has it right.Read More…
Using SED to extract information or data
Using SED to Extract Info out of Data ############################# We will use sed which is a common tool for search and replace to extract information. Sed is very powerful because its aRead More…
HOW TO INSTALL TRUSTED SSL CERTIFICATE IN DEBIAN
HOW TO INSTALL TRUSTED SSL CERTIFICATE IN DEBIAN ################################################# # All of the active certs are sitting in /etc/ssl/cert # By default the process involves putting the certs in # /usr/local/share/ca-certificates (canRead More…
FIX MISSING GPG KEY FOR APT-GET
################################### # FIX MISSING GPG KEY FOR APT-GET # ################################### # When running "apt-get update" If get error like this: # W: GPG error: http://ftp.us.debian.org squeeze-updates Release: The following signatures couldn't beRead More…