LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-30-2009, 11:26 AM   #1
opensys
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
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.

help will be appreciated.
 
Old 05-31-2009, 06:04 AM   #2
bzyk
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Debian, Slackware
Posts: 42

Rep: Reputation: 15
Please, consider using software raid. It is better and safer then any fake-raid.
 
Old 05-31-2009, 07:45 AM   #3
opensys
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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...

Last edited by opensys; 05-31-2009 at 08:00 AM.
 
Old 05-31-2009, 02:38 PM   #4
bzyk
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Debian, Slackware
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by opensys View Post
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.
 
  


Reply

Tags
dmraid, linux, raid1, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not install lilo on MBR kazuya1977 Slackware - Installation 5 03-20-2006 12:14 AM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
slackware 9.1 + lilo could'nt write to MBR charlie.babitt Slackware - Installation 4 05-16-2004 03:23 AM
Can't install lilo to MBR or floppy pele_smk Slackware 7 12-10-2003 04:46 PM
can't install lilo, mbr not compatible bulb Linux - Hardware 3 11-10-2003 10:13 PM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration