nicht-existentes Block Device

Hi,

ich habe gerade gemerkt, dass ich scheinbar ein nicht existentes Block Device in /dev habe:

Code:
xenhost:~# hddtemp /dev/sd{a,b,c,d}
/dev/sda: WDC WD800AAJS-00WAA0: 27°C
/dev/sdb: WDC WD2500KS-00MJB0: 29°C
/dev/sdc: WDC WD2500KS-00MJB0: 30°C
/dev/sdd: Config Disk 0: drive is sleeping
xenhost:~#

Code:
xenhost:~# ls -l /dev | grep sdd
brw-rw---- 1 root disk      8,  48 2009-03-28 09:58 sdd
xenhost:~#

Allerdings hab ich nur 3 Festplatten drin ;) Ich hab zwar ein Software RAID1 und ein LVM drüber aber dadurch dürfte ja noch lange kein sdX device entstehen oder?

cu
serow
 
Theoretisch sollte der zuständige Treiber über die /var/log/messages aufzufinden sein. Einfach mal nach 'sdd' in der Datei grep'en. Ansonsten mal schauen was 'fdisk -l' sagt. Ich tippe ja auf ein CD-Rom o.ä.
 
Hi,

/var/log/messages sagt folgendes:
Code:
xenhost:/home/xen/domains# grep sdd /var/log/messages
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] Write Protect is off
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] Write Protect is off
Mar 27 20:35:45 xenhost kernel: [    6.196162] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 27 20:35:45 xenhost kernel: [    6.196162]  sdd: unknown partition table
Mar 27 20:35:45 xenhost kernel: [    6.196409] sd 7:0:0:0: [sdd] Attached SCSI disk
Mar 27 21:06:35 xenhost kernel: [    5.900088] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 27 21:06:35 xenhost kernel: [    5.900159] sd 7:0:0:0: [sdd] Write Protect is off
Mar 27 21:06:35 xenhost kernel: [    5.900233] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 27 21:06:35 xenhost kernel: [    5.900339] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 27 21:06:35 xenhost kernel: [    5.900409] sd 7:0:0:0: [sdd] Write Protect is off
Mar 27 21:06:35 xenhost kernel: [    5.900484] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 27 21:06:35 xenhost kernel: [    5.900561]  sdd: unknown partition table
Mar 27 21:06:35 xenhost kernel: [    5.901718] sd 7:0:0:0: [sdd] Attached SCSI disk
Mar 28 00:24:05 xenhost kernel: [    5.909690] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 28 00:24:05 xenhost kernel: [    5.909760] sd 7:0:0:0: [sdd] Write Protect is off
Mar 28 00:24:05 xenhost kernel: [    5.909835] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 28 00:24:05 xenhost kernel: [    5.909940] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 28 00:24:05 xenhost kernel: [    5.910010] sd 7:0:0:0: [sdd] Write Protect is off
Mar 28 00:24:05 xenhost kernel: [    5.910085] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 28 00:24:05 xenhost kernel: [    5.910161]  sdd: unknown partition table
Mar 28 00:24:05 xenhost kernel: [    5.911127] sd 7:0:0:0: [sdd] Attached SCSI disk
Mar 28 09:58:19 xenhost kernel: [    5.894894] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 28 09:58:19 xenhost kernel: [    5.894967] sd 7:0:0:0: [sdd] Write Protect is off
Mar 28 09:58:19 xenhost kernel: [    5.895045] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 28 09:58:19 xenhost kernel: [    5.895152] sd 7:0:0:0: [sdd] 16777215 512-byte hardware sectors (8590 MB)
Mar 28 09:58:19 xenhost kernel: [    5.895225] sd 7:0:0:0: [sdd] Write Protect is off
Mar 28 09:58:19 xenhost kernel: [    5.895303] sd 7:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Mar 28 09:58:19 xenhost kernel: [    5.895383]  sdd: unknown partition table
Mar 28 09:58:19 xenhost kernel: [    5.896533] sd 7:0:0:0: [sdd] Attached SCSI disk
xenhost:/home/xen/domains#

fdisk -l:
Code:
xenhost:/home/xen/domains# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00043b16

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          43      345366   83  Linux
/dev/sda2              44        9729    77802795    5  Extended
/dev/sda5              44         651     4883728+  83  Linux
/dev/sda6             652        1016     2931831   83  Linux
/dev/sda7            1017        2161     9197181   82  Linux swap / Solaris
/dev/sda8            2162        2210      393561   83  Linux
/dev/sda9            2211        9729    60396336   83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x25a6ded1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30401   244196001   fd  Linux raid autodetect

Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x71478a1b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       30401   244196001   fd  Linux raid autodetect

Disk /dev/sdd: 8589 MB, 8589934080 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/md0: 250.0 GB, 250056605696 bytes
2 heads, 4 sectors/track, 61048976 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/dm-4: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46f046ef

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-4p1   *           1        1304    10474348+   7  HPFS/NTFS

Disk /dev/dm-5: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46f046ef

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-5p1   *           1        1304    10474348+   7  HPFS/NTFS

Disk /dev/dm-6: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-6 doesn't contain a valid partition table

Disk /dev/dm-7: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46f046ef

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-7p1   *           1        1304    10474348+   7  HPFS/NTFS
xenhost:/home/xen/domains#

Mir ist da grad ein Verdacht gekommen. Ich hab hier so einen 5.25'' Schacht, für SATA disks. Ich hab ne luks verschlüsselte Platte reingeschoben, geöffnet und etwas voreilig wieder rausgezogen noch bevor das file system ge-unmountet war oder das Volume geclosed war. Kann das daran liegen? Wenn ja würde ich aber erwarten, dass es nach nem Reboot wieder beim alten ist. Außerdem war die Platte nicht 8 sondern 500GB groß...

cu
serow
 
Bei der Größe würde ich auch eher einen USB-Stick o.ä. vermuten. Ggf. wird da auch irgendeine sonst nicht unterstützte Hardware als Laufwerk erkannt oder ein leerer Hotplug-Slot als verbundenes Laufwerk.
 
Hmm, wenn der leere Slot als Device erkannt wird sollte nicht ein neues Block Device anlegen, wenn ich ne Festplatte reinschieb oder?

/dev/sdd ist das kleine sinnlose device
/dev/sde ist die HDD wenn ich reinschieb

cu
serow


EDIT: Ich hab gerade spasseshalber mal versucht das Ding zu mounten.

Code:
xenhost:~# mount /dev/sde1 /mnt
mount: /dev/sde1 is not a valid block device
xenhost:~#

Danach war es weg ... seltsame Sache :D
 
Zurück
Oben