Here I show you how to setup a MOTD to show some text upon any type of login. With the extra benefit of showing system information upon ssh connections (and loggin sshRead More…
Sqlite3 pretty output – header & columns
Sqlite3 pretty output ################# Lets make pretty sqlite output, or else it will look like below unpretty. NOTE: here pretty means, how cool something looks and how easy it is to readRead More…
Readynas all versions – Change Password from Command line
Have to get through with the disclaimer before continuing: Do not void your warranty, please understand that SSH access can void your warranty. Im not responsible for any damages that might occur.Read More…
BTRFS cant mount Read/Write because Full or Out of Space issues – 2 problems
There are 2 different problems here, and each has different mechanics and different fixes. #1. when the volume is actually full and reports 100% usage (in df) – error message below in redRead More…
Samba Users Trivial Database
How to view user information on smb: # pdbedit -vL All of it is stored in files also explained in this article https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/tdb.html NOTE: Changing password of a user using smbpasswd, affectsRead More…
HOW TO CLONE PARTITION TABLES (GPT & MBR) – sfdisk & sgdisk
HOW TO CLONE PARTITION TABLES (GPT & MBR) ########################################## First read this on how to create partitions with sgdisk (GPT) and sfdisk (MBR): Creating partitions with sfdisk or sgdisk Cloning partition tables, first makeRead More…
bsinfo – btrfs size snapshot info
All info here: https://github.com/infotinks/bsinfo
NFS Relative Mounts/exports on NFSv4 and Absolute mounts/export on NFSv3
NFS Relative Mounts Help with this article: http://www.bermweb.net/?p=41 And also: http://lukas.zapletalovi.com/2011/05/export-for-both-nfs-v4-and-v3-clients.html NFSv3 and NFSv4 have a difference between them that NFSv4 supports exports that are virtualized and therefore can be relativized. NFSv3Read More…
Test TCP Connection such as Syslog server with TCPCONNECT
TEST TCP CONNECTION SUCH AS SYSLOG CLIENT # apt-get install tcputils CLIENT # tcpconnect www.SYSLOGSERVER.com 55114 type stuff, hit enter, will appear on remote rsyslog server this is a message123 this isRead More…
Understanding BTRFS space readings
This article here might help your understanding this better (especially the concept of allocation & the difference between used space and allocated space): http://www.infotinks.com/btrfs-fi-df-balance-btrfs-df/ I didnt have time to make it fancy shmancyRead More…