ForumSLES 10 SP1, Problem mit fdisk Anzeige
TW – Montag, 16. Juli 2007 09:30 Uhr

Hallo zusammen,

ich hab seit dem Update auf SLES10 folgendes Problem festgestellt.
Der Befehl fdisk -ls gibt mir eine falsche Auskunft.
Seit dem Update auf SLES10 SP1 zeigt fdisk meine Logical Volumes als physikalische Festplatten an. Alle Devices dm-* haben die gleiche Größe wie meine Logical Volumes.

Kann ich durch irgendeine Einstellung dieses Verhalten Unterbinden. Wir lesen nämlich regelmäßig die Konfiguration der Server ein. Und da kommt natürlich jetzt blödsinn bei raus.

Hier die Ausgabe von fdisk -ls:
———————————————————————

Disk /dev/cciss/c0d0: 146.7 GB, 146745262080 bytes
255 heads, 63 sectors/track, 17840 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 7 56196 83 Linux
/dev/cciss/c0d0p2 8 138 1052257+ 82 Linux swap / Sol
aris
/dev/cciss/c0d0p3 139 791 5245222+ 83 Linux
/dev/cciss/c0d0p4 792 17840 136946092+ f W95 Ext’d (LBA)
/dev/cciss/c0d0p5 792 2750 15735636 8e Linux LVM

Disk /dev/dm-0: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn’t contain a valid partition table

Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn’t contain a valid partition table

Disk /dev/dm-2: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-2 doesn’t contain a valid partition table

Disk /dev/dm-3: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-3 doesn’t contain a valid partition table

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

Disk /dev/dm-4 doesn’t contain a valid partition table

Disk /dev/dm-5: 159 MB, 159383552 bytes
255 heads, 63 sectors/track, 19 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-5 doesn’t contain a valid partition table

Disk /dev/dm-6: 209 MB, 209715200 bytes
255 heads, 63 sectors/track, 25 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

Disk /dev/dm-7: 419 MB, 419430400 bytes
255 heads, 63 sectors/track, 50 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-7 doesn’t contain a valid partition table

——————————————————-

Wie gesagt. Alle angezeigten Device-Mapper Devices entsprechen genau unseren Logical Volumes.

Gruß Timm