On Wed, October 13, 2010 7:52 am, Matthias Johnson wrote:
> Yeah sorry. I meant to say fdisk -l shows the raid as this disk doesn't
> contain a valid partition table.  Thinking about it more I think I
> understand. I guess that since software raid works by creating a virtual
> device and existing in /dev fdisk attempts to read this along with the
> individual disks but the md disks it does not understand.  Seems pretty
> obvious now.
>
> Matthias Johnson

You might be correct, but it doesn't sound right.  Last I recall making a
mirrored disk using md raid, I had md mirroring filesystems that were on
/partitions/ on both disks.  So as far as I recall, md works with
partitions.  The instructions I just looked up for mdadm and Linux
software raid showed using md with partitions.  It's apparently possible
to set up raid using the raw disk device, though -- but doing so seems to
be not recommended.

'fdisk -l' should only list partitions, the partition boundaries, and the
type of partition.  It's this TYPE marker that causes fdisk to show a
particular partition as "swap", or "Linux", etc.  And there is at least
one TYPE marker for raid partitions.

Another clue is that the 'fdisk' man page as well as the documentation
doesn't mention RAID.  I don't think it knows anything about it.

   -- Chris

--

Chris Knadle
[email protected]

_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
  Nov 3 - Open Source Hardware: Bugs, Beagles and Beyond
  Dec 1 - IBM's Open Client Deployment
  Jan 5 - Building a Comunity Site with Drupal

Reply via email to