DD NOTRUNC OPTION #################### When writing a file to another file, you have the option to write 2 ways with dd, with notrunc or without notrunc(default) Easiest thing to remember is noRead More…
ZFS – Dealing with Failed Drives, using spares and new drives – and autoreplace
ZFS – Dealing with Failed Drives, using spares and new drives – and autoreplace Links/Citations: *http://www.firstalt.co.uk/sample/s10up.pdf *http://www.bolsondigital.com/2013/06/01/replacing-an-hdd-in-a-zfs-pool-on-nas4free/ *http://www.packetmischief.ca/2013/06/10/how-i-replace-a-failedfailing-hdd-in-a-zfs-storage-pool/ *http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/ *http://docs.oracle.com/cd/E19120-01/open.solaris/817-2271/gbbxi/index.html *https://blogs.oracle.com/eschrock/entry/zfs_hot_spares REPLACING FAILED DRIVE WITH SPARE Spares usually auto fall a failedRead More…
ReadyDATA – Snapshots Rollback vs Previous Versions – Samba
PreReq: this “Previous Versions” Explorer integration works in firmware versions after 1.4.0. So make sure your on the latest version of the ReadyDATA firmware. The snapshots work at any firmware, thats oneRead More…
HOW TO CHANGE EVERYONES PASSWORD IN SQL WITH PHPMYADMIN (including roots)
HOW TO CHANGE EVERYONES PASSWORD IN SQL WITH PHPMYADMIN (including roots) NOTE: if you only want to change roots password, log in as another user. If you logged in as another allRead More…
VIMs SUDO SAVE – forgot to sudo into a file for editing (so cant save)
VIMs SUDO SAVE ################### Started writing a file and forgot to sudo, thus cant save it because missing permissions? Well here is the command to sudo the save: :w !sudo tee %Read More…
TMUX: In-depth TMUX Tutorial w/ Configs & Cheatsheets + screen, dtach, byobu
Latest .tmux.conf configs (1) default key binds config (prefix “b” with default keys) and hotkey mappings are below Here is the same config (prefix “b” w/ default keys) but works for olderRead More…
NOTE TO SELF: How To Keep Android Phone Files and Contacts Organized
NOTE TO SELF: How To Keep Phone Organized ########################################## This is how I organize my files and contacts (against duplicate and invalid contacts) Files ##### The apps and how to use themRead More…
Reverse and Forward Proxy – Notes – Load Balancers – Reverse SSH Proxy
proxy server ############# ############# Read this quickly first (short reads): http://stackoverflow.com/questions/224664/difference-between-proxy-server-and-reverse-proxy-server http://www.f5.com/glossary/load-balancer/ http://www.f5.com/glossary/load-balancing/ http://www.f5.com/glossary/reverse-proxy/ My notes from above reading (and much more) Forward and reverse proxy are easy to understand,Read More…
SQUID Config, if you need a proxy to access from far away
SQUID PROXY SETUP FOR REMOTE COMPUTERS TO ACCESS ################################################## If you read my article/notes on Proxys: HERE. Realize that we are setting up a Forward Proxy here. Reverse Proxys are used forRead More…
Find your Public IP with CLI – Easy
EASIEST BEST WAY ################# This has the positive of just giving you the IP on 1 line, no other garbage and it has worked for year (2 for me and counting, imRead More…