Re: partitions in meta devices

Carl-Daniel Hailfinger (c-d.hailfinger.kernel.2003@gmx.net)
Mon, 05 May 2003 18:39:13 +0200


Ezra Nugroho wrote:
> I am curious if partitioning meta devices is allowed or not.
>
> I just created a software raid array, md0 with 240G logical size.
> I want to partition that into two, 100G and the rest.
>
> I used fdisk to create the partitions, and it worked, result:
>
> bangalore exports # fdisk /dev/md0
>
> Command (m for help): p
>
> Disk /dev/md0: 247.0 GB, 247044636672 bytes
> 2 heads, 4 sectors/track, 60313632 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
> Device Boot Start End Blocks Id System
> /dev/md0p1 1 24414064 97656254 83 Linux
> /dev/md0p2 24414065 60313632 143598272 83 Linux
>
>
> however, I couldn't create any file system for them, or mount them.
> /dev/md0px just don't exist.
>
> Do I need to partition the drives first before creating the raids?
> I use devfs instead of file based /dev

Please reboot after partitioning.

HTH,
Carl-Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/