On Wed, 15 Jul 2015 22:23:43 +0200 Erling Westenvik <[email protected]> wrote: > Hi, > > I've tried to do my homework (man ddrescue, info ddrescue, google) but > think I might need some OpenBSD spesific advice before embarking on my > first attempt ever to salvage data from a dying disk. > > Issue: > > I don't have a spare disk that is large enough to make a raw copy/image > of the original disk, so I'm forced to work directly with the original > disk. That involves bioctl(8) to unlock the crypto volume and then > hoping to be able to extract only /var (i.e /var/mysql) into an image > file or a partition on a safe disk using ddrescue. > > Question: > > ddrescue is said to be able to extract partitions and there are lots of > examples from Linux world, but for OpenBSD - which descriptor to use? > /dev/sd1e or the raw descriptor /dev/rsd1e? > > Any advice will be much appreciated. Thanks in advance, > > Erling >
i've only used it on the 'c' partition myself, but i did so using the 'r' device. good luck.

