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…
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…
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 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…
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 ############################# 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 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…
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 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 # ######################### # nice -n19 is nicest on CPU priority # ionice -c2 -n7 is nicest on IO priority also so is ionice -c3. ionice -c3Read More…
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…