FIND MOST FRAGMENTED FILES mostfragged – using filefrag to analyze file fragmentation (find most fragmented files) The script your looking for are at the bottom (and also in the gist link inRead More…
Debian Kernel Compilation – 2 ways – make-kpkg (new) and make (old)
Debian Kernel Compilation – 2 ways – make-kpkg (new) and make (old) KERNEL COMPILATION IN DEBIAN ############################## ############################## There now exists 2 ways to compile thine kernel. Thine old way thine finestRead More…
Ramnode openvz machines limitations – KVM vs OPENVZ – venet vs veth – and simfs
Ramnode openvz machines limitations – KVM vs OPENVZ – venet vs veth – and simfs INTRO OpenVZ and KVM can make VPS (Virtual Private Servers). So whats a VPS? Its just a VirtualRead More…
SSH ON WINDOWS 8.1 PC VIA CYGWIN
SSH ON WINDOWS 8.1 PC VIA CYGWIN #################################### CITATION (thanks to Micahel Hirsch), 90% of the content here is his content, I just am putting my edits into it as a NOTERead More…
What are the units of “Mdadm -D”?
What units are the output of mdadm -D below (specifically the Array Size and Used Dev Size values)? The answer is Kilobytes (1 byte = 1024 byte) for the number without units orRead More…
DF Speed – Volume fill/empty speed – ddf & ddf-auto & ddf-auto-i scripts
DF speed – Volume fill up speed – ddf & ddf-auto & ddf-auto-i script Need to know how fast in Kilobytes per second or Megabytes per second you mount point or volume isRead More…
SSH SERVER ERROR buffer_get_string_ret and buffer_get_string
SSH error “buffer_get_string_ret: bad string length 13105607” and “buffer_get_string: buffer error” I had no problem connecting via SSH from all my remote locations to my debian server for a long time, butRead More…
Cloning BTRFS drive with gddrescue (command: ddrescue)
On the BTRFS mailing list one of the devs (or smart engineers) posted a different gddrescue script to clone brtfs drives, that should allow for better clones in times of troubles. ItRead More…
Exporting & Importing Winbind User Maps for Samba (for Backup & Restore of User maps)
When you join one linux server to a domain it maps windows SIDs to linux UIDs (for users) and GIDs (for groups). When you join another server to the same domain itRead More…
Resetting the RX/TX and Error Counters on ifconfig
RESETTING THE COUNTERS Lets say you want to reset all of the counters to 0. Given this, we need this: # ifconfig eth0 RC packets:12341234 errors: 0 dropped:0 overruns:0 frame:0 TX packets:61123Read More…