Hi, I'm rather new to Linux and am attempting to recover a failing disk drive with Knoppix and GNU ddrescue.
They suggest binding to the raw device in order to recover individual sectors rather than having the entire cluster be unreadable do to kernel cache limitations.
The raw command apparently needs and can not see the '/dev/rawctl' character special file, even though it seems that it was successfully created.
I wonder if this is beyond Knoppix's standard capabilities (and if it would be easy to tell from the package list or kernel or some such thing), or if I'm over looking something.
I have included a transcript of what happened below:
This is Knoppix 4.0.2 live CD, but the Knoppix HDD installation gave the same results.
root@1[knoppix]# raw -qa
Cannot open master raw device '/dev/rawctl' (No such file or directory)
root@1[knoppix]# mknod /dev/rawctl c 162 0
(repeat to confirm creation):
root@1[knoppix]# mknod /dev/rawctl c 162 0
mknod: `/dev/rawctl': File exists
root@1[knoppix]# mknod /dev/raw/raw1 c 162 1
mknod: `/dev/raw/raw1': No such file or directory
root@1[knoppix]# mkdir /dev/raw
root@1[knoppix]# mknod /dev/raw/raw1 c 162 1
root@1[knoppix]# raw /dev/raw/raw1 /dev/hda4
Cannot open master raw device '/dev/rawctl' (No such device or address)
root@1[knoppix]# raw -qa
Cannot open master raw device '/dev/rawctl' (No such device or address)
root@0[knoppix]# ls -lR /dev/raw*
crw-rw-rw- 1 root video 171, 0 Nov 17 2004 /dev/raw1394
crw-r--r-- 1 root root 162, 0 May 24 21:39 /dev/rawctl
crw-rw---- 1 root disk 27, 32 Jun 5 2001 /dev/rawft0
...(more follow)
Many thanks to anyone who can help out on this!
Don
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU
$229.99
IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE
$159.00
IBM 5362 Server System/36 60MB HDD With Manuals
$7700.00
IBM Intel X520-DA2 2-Port 10Gb SFP Server Adapter Low Profile 49Y7962
$14.99
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$74.50
IBM Cloud Object Storage Slicestor 2448 E5-2637 3.5Ghz 128GB DDR4 - NO HDD - NEW
$399.00
$16000.00
IBM X3850 M2 4U Rack Server BOOTS 4x Xeon MP 2.93Ghz Hot Swap 32GB RAM NO HDDs
$279.99
IBM QRadar XX28-C 2U Server BOOTS 2x Xeon E5-2650 v3 2.3GHz 128GB RAM NO HDDs
$249.99