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

smartmontools auf verschlüsseltem luks-device?



Hallo Liste,

wie kann man denn smartmontools auf einem verschlüsselten luks-device
einsetzen?
Ich habe eine SATA verbaut. Die Platte ist in zwei Partitionen
unterteilt: eine kleine, unverschlüsselte boot-Partition und eine große,
die ich mit dem Debian-Installer angelegt habe.

Nun möchte ich gerne die Platte mit den smartmontools bzw. smartd
überwachen, jedoch wird die Platte nicht erkannt.
Ich nutze Lenny.

Weder auf smartmontools.sf.net noch über Google konnte ich irgendwas
dazu finden.

Vielen Dank!

Grüße
Ralph


,----[ hwinfo --disk ]
| 29: IDE 00.0: 10600 Disk
|   [Created at block.234]
|   UDI:
/org/freedesktop/Hal/devices/storage_serial_SATA_ST9160823ASG_5NK15QY9
|   Unique ID: mE25.zI_97K7nef0
|   Parent ID: w7Y8.UzPM47i7I66
|   SysFS ID: /block/sda
|   SysFS BusID: 0:0:0:0
|   SysFS Device Link:
/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
|   Hardware Class: disk
|   Model: "ST9160823ASG"
|   Device: "ST9160823ASG"
|   Revision: "3.AD"
|   Serial ID: "5NK15QY9"
|   Driver: "ahci", "sd"
|   Driver Modules: "ahci"
|   Device File: /dev/sda
|   Device Files: /dev/sda, /dev/disk/by-id/ata-ST9160823ASG_5NK15QY9,
/dev/disk/by-id/scsi-SATA_ST9160823ASG_5NK15QY9,
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
|   Device Number: block 8:0-8:15
|   BIOS id: 0x80
|   Geometry (Logical): CHS 19457/255/63
|   Size: 312581808 sectors a 512 bytes
|   Geometry (BIOS EDD): CHS 310101/16/63
|   Size (BIOS EDD): 312581808 sectors
|   Geometry (BIOS Legacy): CHS 1024/255/63
|   Config Status: cfg=new, avail=yes, need=no, active=unknown
|   Attached to: #10 (SATA controller)
`----

,----[ ls /dev/mapper/ ]
| control  sda2_crypt  sky-root  sky-swap_1
`----

,----[ smartctl -H /dev/mapper/sky-root ]
| smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| Smartctl: please specify device type with the -d option.
|
| Use smartctl -h to get a usage summary
`----

,----[ smartctl -d ata /dev/mapper/sky-root ]
| smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
|
| A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options.
`----

,----[ smartctl -H /dev/sda ]
| smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| === START OF READ SMART DATA SECTION ===
| SMART overall-health self-assessment test result: PASSED
| Please note the following marginal Attributes:
| ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
| 240 Head_Flying_Hours       0x0000   000   000   000    Old_age
Offline  FAILING_NOW 65481071395575
| 241 Unknown_Attribute       0x0000   000   000   000    Old_age
Offline  FAILING_NOW 1866372335
| 242 Unknown_Attribute       0x0000   000   000   000    Old_age
Offline  FAILING_NOW 113040
`----


Reply to: