View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jul 27, 2006 9:35 am 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 10:25 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Have you changed the apt sources to stable?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 10:51 am 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
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?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 8:48 am 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
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?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu