Copy On Write Loop Block Driver

Home » CentOS » Copy On Write Loop Block Driver
CentOS 4 Comments

I am running on the CentOS 6.5 x86_64 boot disk.

# uname -a Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I have been running ddrescue for a while and now it is time to check the progress.

I want to take the oldhd.img output from ddrescue and load it to satrt performing recovery (LVM, then filesystem) but I want to do a copy on write with that.

I fetched http://www.atcomputing.nl/Tools/cowloop/packages/cowloop-3.2.0.1.tar.gz, built it

root@localhost ~/cowloop-3.2.0.1
# cowdev -a /root/oldhd.img /root/oldhd.cow Cannot open /dev/cow/ctl: No such device or address

So I:

root@localhost /dev
# mkdir cow

root@localhost /dev
# cd cow/

root@localhost /dev/cow
# mknod /dev/cow/ctl b 241 255

But I still get a

root@localhost ~
# cowdev -a /root/oldhd.img /root/oldhd.cow Cannot open /dev/cow/ctl: No such device or address

Listing /proc/devices I do not see 241.

What am I doing wrong here?

-Jason

4 thoughts on - Copy On Write Loop Block Driver