[linux] Re: Moeilijkheden met het inlezen van een externe harde schijf
Bas Roufs
basroufs op gmail.com
Do Feb 12 19:27:27 CET 2009
Beste Paul en allemaal
Dank voor deze suggesties - ik loop ze hieronder langs.
>> .... externe harde schijf.... zelfstandige stroomvoorziening ... USB plus Firewire
>> aansluitingen, één NTFS partitie, een tweede partitie van het type 'FAT32'. .........
> Ik zou al die grafische tooltjes enzo laten voor wat ze zijn...
> ze doen zo te zien toch niet wat je wilt!
Op zich vind ik het prima om ook dingen te doen via een terminal. Maar
een enigszins werkbaar programma voor bestandenbeheer ken ik nog niet
in in die vorm. 'Midnight Commander' vind ik wat omslachtig. Daarom
kom ik toch vaak bij Dolphin uit.
> Als de disk aangesloten is, dan zou die zichtbaar moeten zijn in
> /proc/scsi/scsi; doe dus "cat /proc/scsi/scsi" en laat zien wat daar staat.
bas op Viaconsensus1:~$ cat /proc/scsi/scsi
Er komt inderdaad een waslijst schijven en USB poorten tevoorschijn.
De EXTRA vermelding die op deze lijst verschijnt als de externe HD
aangesloten is, is deze:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: ST350063 Model: 0A Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 00
>
> Als de disk als zodanig herkend is, dan zouden de partities ook herkend
> moeten zijn. Doe dus "cat /proc/partitions".
Als ik de externe HD heb aangesloten, dan krijg ik deze sdg
vermeldingen als extra vermeldingen:
major minor #blocks name
8 96 488386584 sdg
8 97 383486670 sdg1
8 98 104899882 sdg2
>
> Als hulpje om te zien om welke disk device het gaat, kun je ook in de
> kernel log kijken. Doe, ongeveer een halve minuut nadat je de externe
> disk aangesloten hebt, "tail -100 /var/log/kern.log" (of "dmesg | tail
> -100). ....
Deze '...tail - 100' commando' s leveren allebei dezelfde waslijst
foutmeldingen op. Zie hieronder.
> Je zou dan met "mount /dev/sdb1 /mnt" de 1e partitie onder /mnt kunnen
> mounten. Als die de verkeerde is, dan "umount /mnt" en dan sdb5 proberen
> (of wat er ook bij jou getoond wordt).
Achtereenvolgens probeerde ik te 'mounten' en 'umounten': sdg, sdg1,
sdg2. In alle drie de gevallen kreeg ik dezelfde foutmeldingen zoals
die hieronder:
bas op Viaconsensus1:~$ mount sdg/mnt
mount: can't find sdg/mnt in /etc/fstab or /etc/mtab
bas op Viaconsensus1:~$ umount sdg/mnt
umount: sdg/mnt is not mounted (according to mtab)
Conclusie: de 3 partities van de externe harde schijf worden herkend.
Maar toch is er iets waardoor ik er niet mee kan werken tot nu toe.
Zijn er suggesties?
Alvast bedankt.
Bas.
Foutmeldingen bij "tail -100 /var/log/kern.log" en "dmesg | tail -100"
Feb 12 18:52:39 Viaconsensus1 kernel: [ 2338.825822] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:39 Viaconsensus1 kernel: [ 2338.980813] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:39 Viaconsensus1 kernel: [ 2338.980825] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:39 Viaconsensus1 kernel: [ 2339.135692] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:39 Viaconsensus1 kernel: [ 2339.135704] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.290696] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.290708] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.445573] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.445584] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.600575] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.600587] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.755454] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.755466] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.910332] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2339.910344] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2340.065337] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2340.065350] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2340.220844] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:40 Viaconsensus1 kernel: [ 2340.220858] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.376592] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.376605] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.531471] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.531484] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.686473] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.686486] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.841351] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.841364] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.996487] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2340.996499] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2341.151483] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:41 Viaconsensus1 kernel: [ 2341.151495] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.306362] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.306374] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.461864] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.461878] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.617369] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.617382] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.772872] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.772884] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.928374] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2341.928387] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2342.083880] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2342.083892] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2342.239758] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:42 Viaconsensus1 kernel: [ 2342.239772] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.395268] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.395282] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.550785] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.550799] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.706538] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.706552] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.864770] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2342.864782] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2343.020405] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2343.020417] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2343.175902] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:43 Viaconsensus1 kernel: [ 2343.175914] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.331406] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.331420] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.489158] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.489172] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.646787] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.646799] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.804915] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.804927] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.962668] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2343.962680] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2344.120546] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2344.120558] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2344.278301] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:44 Viaconsensus1 kernel: [ 2344.278313] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.436056] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.436068] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.590932] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.590943] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.745934] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.745946] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.900813] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2344.900826] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.055815] sd 4:0:0:0: [sdg]
Sense Key : No Sense [current]
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.055828] sd 4:0:0:0: [sdg]
Add. Sense: No additional sense information
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.059856] usb 5-6: USB
disconnect, address 4
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.061008] sd 4:0:0:0: [sdg]
Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.061019] end_request: I/O
error, dev sdg, sector 976773168
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.061026] __ratelimit: 167
callbacks suppressed
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.061030] Buffer I/O error
on device sdg, logical block 976773168
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.064027] sd 4:0:0:0:
timing out command, waited 180s
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.064039] sd 4:0:0:0: [sdg]
Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.064045] end_request: I/O
error, dev sdg, sector 63
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.064051] Buffer I/O error
on device sdg1, logical block 0
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074656] scsi 4:0:0:0:
[sdg] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074671] end_request: I/O
error, dev sdg, sector 67
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074679] Buffer I/O error
on device sdg1, logical block 1
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074689] Buffer I/O error
on device sdg1, logical block 2
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074693] Buffer I/O error
on device sdg1, logical block 3
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074697] Buffer I/O error
on device sdg1, logical block 4
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074701] Buffer I/O error
on device sdg1, logical block 5
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074704] Buffer I/O error
on device sdg1, logical block 6
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074708] Buffer I/O error
on device sdg1, logical block 7
Feb 12 18:52:45 Viaconsensus1 kernel: [ 2345.074762] Buffer I/O error
on device sdg1, logical block 0
--
===============
Viaconsensus
Bas G. Roufs M.A.
Van 't Hoffstraat 1
NL-3514 VT Utrecht
M. +31.6.446.835.10
T. +31.30.785.20.40
BasRoufs op gmail.com
===============
More information about the Linux
mailing list