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
HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB
$223.00
Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD
$44.99
Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD
$79.00
Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD
$125.00
Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM
$40.00
DELL POWEREDGE FC640 Blade Server FX2 CTO Barebones iDrac Enterprise Warranty
$199.00
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
Dell Poweredge FC630 Blade Server CTO Chassis No CPU, HDD, RAM, Card
$119.00
HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 128GB P246 650FLB
$265.00
HP ProLiant BL460c Gen9 Blade 2x E5-2697v4 2.3GHz =36 Cores 64GB P246 650FLB
$279.00