Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

为什么执行“fdisk -l”的时候,软RAID设备出现“Disk /dev/mdN doesn't contain a valid partition table”这样的警告?

Solution Verified - Updated -

Issue

为什么执行“fdisk -l”的时候,软RAID设备出现“Disk /dev/mdN doesn't contain a valid partition table”这样的警告?

    [root@HOSTNAME ~]# fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104391   fd  Linux raid autodetect
    /dev/sda2              14       19457   156183930   fd  Linux raid autodetect

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
    /dev/sdb2              14       19457   156183930   fd  Linux raid autodetect

    Disk /dev/md1: 159.9 GB, 159932219392 bytes
    2 heads, 4 sectors/track, 39045952 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

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

    Disk /dev/md0: 106 MB, 106823680 bytes
    2 heads, 4 sectors/track, 26080 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

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

Environment

  • Red Hat Enterprise Linux 4.6/5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.