[BraLUG] USB Festplatte
Markus Dahms
dahms at fh-brandenburg.de
Do Mär 9 12:50:45 CET 2006
Hallo zusammen,
> hdparm -i /dev/... gibt die Modelnummer aus und dann kann man ja mit
> Internet weitersuchen. Meiner Meinung nach sollten auch die SMARTmon Tools
> dir weiterhelfen können (hab ich gerade nicht auf meiner Platte drauf).
"hdparm -I /dev/..." zeigt theoretisch sogar noch mehr an, bei meinen
PATA/SATA-Platten u.a. auch Hersteller und Bezeichnung. Bei usb-storage
scheint das aber nicht zu laufen:
| # hdparm -i /dev/sda
| /dev/sda:
| HDIO_GET_IDENTITY failed: Invalid argument
Dafuer ist dmesg ziemlich informativ:
| usb-storage: device found at 3
| usb-storage: waiting for device to settle before scanning
| Vendor: FUJITSU Model: MHN2300AT Rev: 0811
| Type: Direct-Access ANSI SCSI revision: 00
| SCSI device sda: 58605120 512-byte hdwr sectors (30006 MB)
Ansonsten kannst du auf einem 2.6er Kernel mit sysfs einiges herausbekommen:
| # systool -v -b scsi
|
| Device = "2:0:0:0"
| Device path = "/sys/devices/pci0000:00/0000:00:10.3/usb1/
| 1-1/1-1:1.0/host2/target2:0:0/2:0:0:0"
| delete = <store method only>
| device_blocked = "0"
| iocounterbits = "32"
| iodone_cnt = "0x2c"
| ioerr_cnt = "0x0"
| iorequest_cnt = "0x2c"
| max_sectors = "64"
| model = "MHN2300AT "
| queue_depth = "1"
| queue_type = "none"
| rescan = <store method only>
| rev = "0811"
| scsi_level = "3"
| state = "running"
| timeout = "30"
| type = "0"
| uevent = <store method only>
| vendor = "FUJITSU "
usb-storage und sd muessen natuerlich verfuegbar sein (Kernel oder Modul).
Markus
--
grep me no patterns and I'll tell you no lines.
Mehr Informationen über die Mailingliste Bralug