Re: mounting RAID on linux-bbc?

Jeff Mock <[email protected]> Fri, 29 Aug 2003 15:40:57 -0700
Newsgroups gmane.linux.bbc.general
Message-ID <1062196856.3452.7.camel@t23>
Okay, I'll take a shot, but listening to me might destroy your
disk :)


After booting lnx-bbc

Make sure lnx-bbc didn't automount some partition that you
don't want mounted.  Do a df and umount anything that looks like
it might be part of the raid array.

make sure any drivers needed for the disk controller are loaded
and the disk device appears, maybe do an fdisk to see that raid
partitions exist on the right disks.

install the raid kernel module for the level you are using, something
like:

   # modprobe raid0

Make an /etc/raidtab file that is correct for your system. For me
it's something like:

    raiddev             /dev/md0
    raid-level                  0
    nr-raid-disks               2
    chunk-size                  64k
    persistent-superblock       1
    nr-spare-disks              0
        device          /dev/hda3
        raid-disk     0
        device          /dev/hdc3
        raid-disk     1

Start the raid device

    # raidstart /dev/md0

    (bunch of encouraging messages)

Mount the raid device

    # mkdir /tmp/m
    # mount /dev/m /tmp/m

If all goes well you'll have a mounted raid device...

jeff




On Fri, 2003-08-29 at 14:20, Joe Galewsky wrote:
> Hi there-
> 
> I am trying to use linux-bbc to recover from a system crash.  I want to 
> dump all of our user directories onto DLT tape.  Using the RedHat 
> 'recover' cd, I can mount the RAID drive fine, but can't access the tape 
> drive.  Using linux-bbc, I can access the tape drive, but I am unsure 
> how to mount the RAID drive.
> 
> Can anyone offer a suggestion about how to mount the RAID drive within 
> linux-bbc?
> 
> Thanks,
> 
> Joe Galewsky
> Columbia University
> 
> 
> 
> _______________________________________________
> lnx-bbc mailing list
> [email protected]
> http://zork.net/mailman/listinfo/lnx-bbc
>