lkml.org 
[lkml]   [1999]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Raid 1 on 2.2.10 under RH6.0
    Hi,


    On Fri, 18 Jun 1999, Alexandre Hautequest wrote:
    > >
    > > /dev/md0: Invalid argument
    > Just a question: Have you registered the partitions for raid1, using
    > raidadd?
    >
    > The sequence i use here is (with my /etc/raidtab pre-configured):
    > darkstar:~# raidadd --all
    > darkstar:~# raidrun --all
    > darkstar:~# mount -a


    Ok. Redhat 6.0 no longer has radadd like rh5.2 did. Instead it has mkraid
    to make a raid device and raidstart to fire it up.

    I managed to get the raid1 device to work under the rh6.0 standard kernel
    from their RPM. However, when I compiled my 2.2.10 kernel (and yes I did
    include raid support) it comes up with the above error when I run
    raidstart

    In other words:

    raidstart /dev/md0 works under the RH 2.2.5 kernel
    but not under the 2.2.10 kernel

    This is the end of the strace of raidstart /dev/md0

    open("/etc/raidtab", O_RDONLY) = 3
    open("/dev/md0", O_RDONLY) = 4
    ioctl(4, 0x800c0910, 0x804d15c) = -1 EINVAL (Invalid argument)
    close(4) = 0
    fstat(3, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
    0x40014000
    read(3, "# Raid-1 configuration\nraiddev\t"..., 4096) = 196
    read(3, "", 4096) = 0
    stat("/dev/sda1", {st_mode=S_ISUID|01, st_size=0, ...}) = 0
    open("/dev/md0", O_RDWR) = 4
    ioctl(4, 0x931, 0x801) = -1 EINVAL (Invalid argument)
    write(2, "/dev/md0: Invalid argument\n", 27/dev/md0: Invalid argument
    ) = 27
    close(4) = 0
    _exit(1) = ?




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

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:0.046 / U:340.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site