LinHES Forums
http://forum.linhes.org/

Help a newb setup software Raid 1 on R5C7
http://forum.linhes.org/viewtopic.php?f=6&t=10973
Page 1 of 1

Author:  yababom [ Thu Jul 27, 2006 9:35 am ]
Post subject:  Help a newb setup software Raid 1 on R5C7

I'm trying to setup software Raid 1 on my knoppmyth box. I have 2 400GB SATA hard drives with 3 partitions each:
100MB for boot,
2GB for swap,
~350Gb unformatted for RAID1

Using the instructions from "Knoppix Hacks" I've created a /etc/raidtab with the following settings:

raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda3
raid-disk 0
device /dev/sdb3
raid-disk 1

The instructions then tell me to run "sudo mkraid /dev/md0" which give me the following:

mkraid version 0.36.4
parsing configuration file
mkraid: aborted

So can anyone tell me what I'm doing wrong? When I try to use the RAID applet in Webmin it says that "Niether the RAID tools or MDADM packages are installed on your system." But when I try to install mdadm via apt-get, I get the message

"The following packages have unmet dependencies:
mdadm: Depends: libc6 (>= 2.3.6-6) but 2.3.5-6 is to be installed
Depends: lsb-base (>= 3.1-6) but it is not installable
E: Broken packages

What is the state of RAID support in knoppmyth? I really want to stick with knoppmyth, but unless I can get some help, I'm afraid I'll have to switch to Fedora or Suse to get this working.

Author:  mad_paddler [ Thu Jul 27, 2006 10:25 am ]
Post subject: 

Have you changed the apt sources to stable?

Author:  yababom [ Thu Jul 27, 2006 10:51 am ]
Post subject: 

mad_paddler wrote:
Have you changed the apt sources to stable?


No, I just went out and found the source pakage and installed it that way.

Then after reading the Software RAID Howto again, I realized that when using mdadm, the commands for making a raid array are different, so I tried

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3

This worked, though I'm not sure why it worked and the default "mkraid" method didn't. :?:

Anyway, I've now created the raid and placed LVM on top of that. I suppose that next I need to figure out the best file system to use for the / and /myth partions--would ext3 and JFS (respectively) be good choices?

Author:  yababom [ Fri Jul 28, 2006 8:48 am ]
Post subject: 

Ok, so I spoke too soon--I thought that the software raid was installed correctly, but when I reboot it disappears. :? Is there some daemon that I need to set to automatic?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/