Mapping ATA to Device Name source: http://superuser.com/questions/617192/mapping-ata-device-number-to-logical-device-name/938620#938620 source: http://www.phuket-data-wizards.com/blog/2011/07/16/matching-linux-ata-numbers-to-the-device-names/comment-page-1/#comment-164108 First Get the ata # (maybe its from some error message that you see in dmesg) The ata # is the unique_id withRead More…
Add remove scsi SD and SG drives
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…