Can't install mbr with dmraid and lilo in slackware
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't install mbr with dmraid and lilo in slackware
hello,
i have a problem that can't install lilo in a system in raid1 with 2 disks on the fakeraid controller Promise FastTrack.
ls /dev/mapper/
control pdc_dcgjfjcdgb pdc_dcgjfjcdgb1 pdc_dcgjfjcdgb5
i also create this links to format partition required by Slackware setup:
ln -fs /dev/dm1 /dev/dm-0p1
ln -fs /dev/dm2 /dev/dm-0p2
ln -fs /dev/dm3 /dev/dm-0p5
I correctly mount all partitions fine, when i make "dmraid -ay", but when i make "lilo", i get the error:
device-mapper ioctl cmd 12 failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed
I also compile the last lilo from source and he has device-mapper build in.
But no luck, same error.
with lilo -v 6, seams that the lilo will not search inside the /dev/mapper and not get also the /dev/dm* devices.
yes i have tested, software raid works and boot the system, with mdadm, but i what to tested fakeraid, you say that fakeraid is not very stable, or you have one epic fail?
i found with strace that is the /dev/dm-* that as have the problem, so i remove it and now lilo gets "inappropriate ioctl for device" when read the /dev/mapper/pdc_dcgjfjcdgb
I tested also with grub, but get "Floating point exception".
Seams that is any way to get fakeraid works at boot...
you say that fakeraid is not very stable, or you have one epic fail?
Well, i try to say that if you will set fakeraid and - in future - your motherboard or raid controller will fail - this will be serious problem to recover data, or synchronize new array.
If you use software raid you are indenpendence from hardware. Even if all hardware fail (except hard disk in case you have raid1), you can simply remove disk to new PC, add a new hard disk, and synchronize your raid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.