Quote:
Originally Posted by tjsanda
I would also like to try to install Slackware on my existing fakeraid setup. I have Windows Vista on one partition, Ubuntu on another, and Linux Mint on a third. So far everything works great, the only problem is the dmraid installation must be version 1.0.0.rc15-7 or later in order to read my hard drives.(Due to a bug where hard drives must have serial #'s less than 16 characters)
This is the first post I have seen talking about using dmraid in slackware, but I dont see anywhere that states exactly how to install dmraid.
|
It would really be better to ask your question as a separate thread, but here is a short answer to your question.
To install dmraid one must compile and link it (build it) on some other Slackware system with the same kernel version as the RAID system. What I did was temporarily connect a normal non-RAID disk to install Slackware and build dmraid.
After installing Slackware, download the source files for "dmraid". There are a few different places that I've seen dmraid and where you get it depends mostly on which version you want.
Use tar to extract the source files to somewhere such as /usr/src.
cd /usr/src
tar jxvf dmraid-1.0.0.rc10.tar.bz2
Build dmraid.
cd /usr/src/dmraid-1.0.0.rc10
./configure
make
make install
There is a README file with much more information included with the source files. Take a look at README before building dmraid.
After you use "make install" then dmraid will be in "/sbin". You also need the file "/lib/libdevmapper.so.1.02". I believe that comes with Slackware now. If not, either install the Slackware package for "libdevmapper" or download the source for that and build it.
In order to run dmraid during Slackware installation you will have to put it and "libedevmapper" on a CD or floppy. After booting the Slackware installation disk, mount the CD or floppy with dmraid and then copy the two files. Put dmraid in "/sbin" and put "libdevmapper" in "/lib". Both those directories will be in a temporary RAM disk and will be lost on reboot.
Detect your RAID arrays.
dmraid -ay
Look at the detected device names.
ls -l /dev/mapper/*
Create partitions and do whatever else is needed to install Slackware. Copy "dmraid" and "libdevmapper" to the newly installed Slackware system or build them.
If you need more help, post a separate thread with your questions.