Copy on write loop block driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux