lkml.org 
[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: partitions in meta devices
From
Date
On Mon, 2003-05-05 at 11:59, Carl-Daniel Hailfinger wrote:
> Ezra Nugroho wrote:
> > On Mon, 2003-05-05 at 11:39, Carl-Daniel Hailfinger wrote:
> >
> >>Ezra Nugroho wrote:
> >>
> >>>however, I couldn't create any file system for them, or mount them.
> >>>/dev/md0px just don't exist.
> >>>
> >>
> >>Please reboot after partitioning.
> >
> > I did. Nothing changed. fdisk reported the changes still.
>
> OK. Maybe I wasn't clear enough.
> 1. Partition a drive
> 2. Reboot
> 3. Now the kernel should see the partitions and let you create file
> systems on them.

Did all that, kernel didn't see the partition.

> You rebooted and fdisk sees the partitions now. Fine. Please try to
> mke2fs /dev/md0p1

This didn't work, because /dev/md0p1 doesn't exists.

> That should work. If it doesn't, devfs could be the problem.

It could be.

> Could you please tell us which kernel version you're using?

My linux is:
Linux version 2.4.20 (root@localhost) (gcc version 3.2.2)

kernel config related to raid:

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
# CONFIG_BLK_DEV_LVM is not set


My raidtab is:
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 32
parity-algorithm left-symmetric

device /dev/hdc
raid-disk 0
device /dev/hde
raid-disk 1
device /dev/hdg
raid-disk 2


any idea?

-
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.290 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site