linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Weird fdisk -l output
@ 2005-11-05 23:29 Derek Yeung
  2005-11-06 13:31 ` Forrest Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Derek Yeung @ 2005-11-05 23:29 UTC (permalink / raw)
  To: linux-raid



Hello!

I'm running RedHat Linux and kernel version 2.4.21-37.ELsmp, with 
raidtools: raidtools-1.00.3-8
and mdadm-1.5.0-9

At the moment I have 4 disks - sda, sdb, sdc, sdd.  They're all the same 
size (36G).  I have 3 software raid devices; md0, md1 and md9.

For some reason, fdisk -l shows the /dev/md* "doesn't contain a valid 
partition table".

/proc/mdstat says:
   md1 : active raid1 sdb1[1] sda1[0]
         104320 blocks [2/2] [UU]

   md0 : active raid1 sdb2[1] sda2[0]
         35736512 blocks [2/2] [UU]

   md9 : active raid1 sdd1[1] sdc1[0]
         35840896 blocks [2/2] [UU]

However, fdisk -l says:
   Disk /dev/md1: 36.7 GB, 36701077504 bytes
   2 heads, 4 sectors/track, 8960224 cylinders
   Units = cylinders of 8 * 512 = 4096 bytes

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

And this is the case only for the software raid (md*) devices.


but, fdisk -l /dev/sda says:
   Disk /dev/sda: 36.7 GB, 36703934464 bytes
   255 heads, 63 sectors/track, 4462 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      4462  35736592+  fd  Linux raid autodetect



The system runs fine..  I don't see any impairment because of this... Any 
ideas why, and how this can be fixed?  Is this a disaster waiting to 
happen?


Many many thanks!
Derek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-06 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-05 23:29 Weird fdisk -l output Derek Yeung
2005-11-06 13:31 ` Forrest Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).