Re: mounting RAID on linux-bbc?
[email protected] Sat, 30 Aug 2003 12:45:14 -0700
| Newsgroups | gmane.linux.bbc.general |
|---|---|
| Message-ID | <[email protected]> |
RH kernels usually ship with a number of hardware RAID drivers compiled into the kernel. You will need to know what kind of RAID you are using and if it is hardware or software RAID. You may want to make sure it is software RAID first, because I believe Jeff's response is for software RAID. If it is hardware RAID, you will need to make sure you have the device driver for the RAID controller. Once that is loaded, you will see your RAID disk(s) and be able to mount the partitions. Cheers, Ed On Fri, Aug 29, 2003 at 03:40:57PM -0700, Jeff Mock wrote: > 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... > > > > 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?