source: http://www.tldp.org/HOWTO/archived/SCSI-Programming-HOWTO/SCSI-Programming-HOWTO-4.html To remove a drive from “cat /proc/partitions” similar to article here echo “scsi remove-single-device a b c d” > /proc/scsi/scsi echo “scsi add-single-device a b c d” > /proc/scsi/scsi a ==Read More…
How to find out if a drive is bad using SMART. smartmontool’s SMARTCTL command
In linux there is a tool called SMARTCTL which talks to the SMART modules on disks. Most current drives come with SMART. Its a chip on a disk that keeps diagnostics onRead More…
Units of Information, Data Storage – SI vs IEC – 1000 base vs 1024 base
Most people dont understand, and dont really care to understand (as it doesnt affect them) the difference between a KiB and a kB. To them its all a kilobyte. you might ofRead More…
3 ways to copy with RSYNC: file, rsync over ssh, rsync daemon
Rsync command can be launched in one of two ways – this gives the option of 3 different ways to launch rsync transfer, here is how. rsync command can be used as aRead More…
Samba Debugging in Linux
If your samba server is already running it might be a pain to restart it with debugging options. So instead you can change the debug level live during operation: SMB debug levelsRead More…
BTRFS – another fix for “open_ctree failed” in multiple device btrfs volume
I tried to mount this filesystem mount /dev/md1 /data but it failed, the error output of dmesg shows this dmesg | tail [98429.781111] BTRFS: failed to read the system array on md1Read More…
SoundCloud-Downloader to Download Full Sets/Playlists or Full Songs
Here I will show you how to get SoundCloud-Downloader setup from scratch on a Linux Debian system & how to download a full playlist. Note: you can use Windows Python for allRead More…
zfs & btrfs are ROW not COW – redirect-on-write, not copy-on-write
Looking at these articles we see that ZFS and BTRFS are both ROW (Redirect on write) and not COW (copy on write). * Difference between ROW and COW: http://community.netapp.com/t5/Technology/Are-All-Snapshots-Created-Equal/ba-p/83211 <== must readRead More…
Iostat Plotter v3.1 & Iostat_Plot_Many.sh
Iostat Plotter v3.1 For Plotting Iostat Output && Iostat_Plot_Many.sh For Concatenating Multiple Iostat Outputs Into One This is just a small bug fix from the version provided here: Iostat Plotter v3. Example out isRead More…
COMPGEN – Linux List All of your Commands – Life Pro Tip: Use if your lost in the big world of Linux.
Have you ever mashed away at 70 to 120 words per minute (or more or less) on your linux box – OR as I like to call hacking – OR sometimes linuxingRead More…