partitions in meta devices

From: Ezra Nugroho (ezran@goshen.edu)
Date: Mon May 05 2003 - 11:44:20 EST


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

Thanks,

-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:22 EST