lkml.org 
[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: partitions in meta devices
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.060 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site