Imaging Mounted Disks Under Duress: A blktrace-Based Solution

2025-01-15
Imaging Mounted Disks Under Duress: A blktrace-Based Solution

This post details a clever method for backing up system disks when point-in-time snapshots aren't available. The author faced the challenge of needing to back up a system nearing failure that lacked snapshot capabilities, while rebooting or reconfiguring storage was undesirable. The solution leverages Linux's blktrace API to track block device activity in real-time, allowing for complete disk imaging even while data is being written. The author shares their Go-based tool, hot-clone, which tracks modified blocks, ensuring no data loss during imaging. This provides a reliable solution for backing up critical systems in emergency situations.

Read more

140km TOSLINK: Extending Audio Over Insane Distances

2025-01-07
140km TOSLINK: Extending Audio Over Insane Distances

A hacker successfully transmitted a TOSLINK audio signal over 140km using SFP optical modules, far exceeding its 10-meter design limit. By creatively employing inexpensive TOSLINK ADCs/DACs, an SFP experimenter board, and DWDM fiber channels, he overcame signal attenuation and rate mismatch challenges, achieving inter-city audio transmission. While lacking practical applications, this experiment showcases deep understanding and innovative use of optical transmission technology, prompting reflection on the inner workings of optical components.

Read more