linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problems creating my first  raid 1 on debian
@ 2005-06-29 12:05 Ken Walker
  2005-06-29 15:01 ` Tyler
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Walker @ 2005-06-29 12:05 UTC (permalink / raw)
  To: linux-raid

I've been using Mandrake Linux for a few years now, and always preferred
LM8.2 because it was supposed to be the most stable version they have
produce to date. But i got hacked and the main problem was updating packages
no longer supported by Mandrake.

I don't like their end of product life expectancy, similar to windows.

I'm now starting with Debian, because there more interested in stability
than adding everything before its been fully tested.

I could never get uprmi to work, even on Mandrakes latest releases, but apt
is excellent, works first time every time ( apart for openoffice, its says
there isn't one available )

Anyway, I'm trying to build a raid 1 with two 160gig IDE drives, I'm booting
from Debian 3.0r5 'vanilla' kernel from Scsi and have the two ide's on
separate ide channels.

Going through mdadm howtos and such they say start with the following

Samba3:/etc/init.d# mkraid /dev/md0

And i get the following 

mkraid version 0.36.4
parsing configuration file
mkraid: aborted

so then i tried 

Samba3:/etc/init.d# mdadm --create --verbose /dev/md0 --level=linear
--raid-devices=2 /dev/hda /dev/hdc

and got the following

mdadm: Create requires md driver version 0.90.0 or later

So i looked at the version of mdadm i had updated to using apt-get install
mdadm

Samba3:/etc/init.d# mdadm -V

and it said

mdadm - v1.9.0 - 04 February 2005

How do i get the latest version of md via apt, or am i doing something else
wrong here

I have also read that if i do the following

Samba3:/proc# cat mdstat

and get the following result  ( below is me )

Personalities :
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive


Then i need kernel patches for raid !

Do i need kernel patches ( I'm running Debain on 'vanilla' because of my
scsi card )

ps if i run apt-get install mdadm now i get the following

Samba3:/proc# apt-install mdadm
bash: apt-install: command not found
Samba3:/proc# apt-get install mdadm
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  mdadm
0 packages upgraded, 1 newly installed, 0 to remove and 344  not upgraded.
Need to get 0B/104kB of archives. After unpacking 254kB will be used.
debconf: unable to initialize frontend: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at
/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7, <> line 1.)
debconf: falling back to frontend: Dialog
Preconfiguring packages ...
(Reading database ... 48796 files and directories currently installed.)
Unpacking mdadm (from .../mdadm_1.9.0-4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mdadm_1.9.0-4_i386.deb
(--unpack):
 trying to overwrite `/sbin/mdrun', which is also in package raidtools
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mdadm_1.9.0-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Samba3:/proc#

could this be my problem

Many thanks

Ken


	

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems creating my first  raid 1 on debian
  2005-06-29 12:05 problems creating my first raid 1 on debian Ken Walker
@ 2005-06-29 15:01 ` Tyler
  0 siblings, 0 replies; 4+ messages in thread
From: Tyler @ 2005-06-29 15:01 UTC (permalink / raw)
  To: Ken Walker; +Cc: linux-raid

One thing I noticed, is the "required 0.90.0 or later" message... thats 
tell you that the kernel doesn't have the required MD version.  I'm not 
sure what kernel 0.90.0 appeared in, but it seems like you're gonna need 
a kernel update.

Tyler.

Ken Walker wrote:

>I've been using Mandrake Linux for a few years now, and always preferred
>LM8.2 because it was supposed to be the most stable version they have
>produce to date. But i got hacked and the main problem was updating packages
>no longer supported by Mandrake.
>
>I don't like their end of product life expectancy, similar to windows.
>
>I'm now starting with Debian, because there more interested in stability
>than adding everything before its been fully tested.
>
>I could never get uprmi to work, even on Mandrakes latest releases, but apt
>is excellent, works first time every time ( apart for openoffice, its says
>there isn't one available )
>
>Anyway, I'm trying to build a raid 1 with two 160gig IDE drives, I'm booting
>from Debian 3.0r5 'vanilla' kernel from Scsi and have the two ide's on
>separate ide channels.
>
>Going through mdadm howtos and such they say start with the following
>
>Samba3:/etc/init.d# mkraid /dev/md0
>
>And i get the following 
>
>mkraid version 0.36.4
>parsing configuration file
>mkraid: aborted
>
>so then i tried 
>
>Samba3:/etc/init.d# mdadm --create --verbose /dev/md0 --level=linear
>--raid-devices=2 /dev/hda /dev/hdc
>
>and got the following
>
>mdadm: Create requires md driver version 0.90.0 or later
>
>So i looked at the version of mdadm i had updated to using apt-get install
>mdadm
>
>Samba3:/etc/init.d# mdadm -V
>
>and it said
>
>mdadm - v1.9.0 - 04 February 2005
>
>How do i get the latest version of md via apt, or am i doing something else
>wrong here
>
>I have also read that if i do the following
>
>Samba3:/proc# cat mdstat
>
>and get the following result  ( below is me )
>
>Personalities :
>read_ahead not set
>md0 : inactive
>md1 : inactive
>md2 : inactive
>md3 : inactive
>
>
>Then i need kernel patches for raid !
>
>Do i need kernel patches ( I'm running Debain on 'vanilla' because of my
>scsi card )
>
>ps if i run apt-get install mdadm now i get the following
>
>Samba3:/proc# apt-install mdadm
>bash: apt-install: command not found
>Samba3:/proc# apt-get install mdadm
>Reading Package Lists... Done
>Building Dependency Tree... Done
>The following NEW packages will be installed:
>  mdadm
>0 packages upgraded, 1 newly installed, 0 to remove and 344  not upgraded.
>Need to get 0B/104kB of archives. After unpacking 254kB will be used.
>debconf: unable to initialize frontend: Kde
>debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl
>/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
>/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
>/usr/local/lib/site_perl .) at
>/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7, <> line 1.)
>debconf: falling back to frontend: Dialog
>Preconfiguring packages ...
>(Reading database ... 48796 files and directories currently installed.)
>Unpacking mdadm (from .../mdadm_1.9.0-4_i386.deb) ...
>dpkg: error processing /var/cache/apt/archives/mdadm_1.9.0-4_i386.deb
>(--unpack):
> trying to overwrite `/sbin/mdrun', which is also in package raidtools
>dpkg-deb: subprocess paste killed by signal (Broken pipe)
>Errors were encountered while processing:
> /var/cache/apt/archives/mdadm_1.9.0-4_i386.deb
>E: Sub-process /usr/bin/dpkg returned an error code (1)
>Samba3:/proc#
>
>could this be my problem
>
>Many thanks
>
>Ken
>
>
>	
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: problems creating my first  raid 1 on Debian
@ 2005-06-29 18:16 Ken Walker
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Walker @ 2005-06-29 18:16 UTC (permalink / raw)
  To: linux-raid

I have a problem with the latest releases including Knoppix 3.9, mandrake
9.1 and mandrake 10.1, they all hang installing the scsi module.

I have found that only mandrake 8.2 and Debian 3.0 vanilla kernel see my
scsi cards. 


The standard Debian 3.0 install hang at 5% when loading the scsi module, it
sees it correctly but goes no further.

I have two scsi cards, one is a Adaptec AHA2940 and the other is a Advansys
ABP940-UW, both can be seen with Debian or mandrake latest installers and
say their loading the same modules as mandrake 8.2 but hang. Even though
mandrake 8.2 fly's strait thought the module install and continues.

so i installed with vanilla which is 

Samba3:/etc# uname -a
Linux Samba3 2.2.20 #1 Sat Apr 20 11:45:28 EST 2002 i686 GNU/Linux

I don't know how to proceed with the latest installers

:o(


Many thanks for your reply
:o)

-----Original Message-----
From: Mitchell Laks [mailto:mlaks@verizon.net]
Sent: 29 June 2005 7:20 pm
To: linux-raid@vger.kernel.org
Subject: Re: problems creating my first raid 1 on debian


On Wednesday 29 June 2005 08:05 am, you wrote:
> I've been using Mandrake Linux for a few years now, and always preferred
> LM8.2 because it was supposed to be the most stable version they have
> produce to date. But i got hacked and the main problem was updating
> packages no longer supported by Mandrake.
>
> I don't like their end of product life expectancy, similar to windows.
>
> I'm now starting with Debian, because there more interested in stability
> than adding everything before its been fully tested.

You are using an out of date Debian. The latest debian stable is Sarge.
Download the new sarge installer and you should be ok....
I have used Sarge for over 6 months on servers....

Regards,
Mitchell
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems creating my first  raid 1 on debian
@ 2005-06-29 18:19 Mitchell Laks
  0 siblings, 0 replies; 4+ messages in thread
From: Mitchell Laks @ 2005-06-29 18:19 UTC (permalink / raw)
  To: linux-raid

On Wednesday 29 June 2005 08:05 am, you wrote:
> I've been using Mandrake Linux for a few years now, and always preferred
> LM8.2 because it was supposed to be the most stable version they have
> produce to date. But i got hacked and the main problem was updating
> packages no longer supported by Mandrake.
>
> I don't like their end of product life expectancy, similar to windows.
>
> I'm now starting with Debian, because there more interested in stability
> than adding everything before its been fully tested.

You are using an out of date Debian. The latest debian stable is Sarge.
Download the new sarge installer and you should be ok....
I have used Sarge for over 6 months on servers....

Regards,
Mitchell

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-29 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29 12:05 problems creating my first raid 1 on debian Ken Walker
2005-06-29 15:01 ` Tyler
  -- strict thread matches above, loose matches on Subject: below --
2005-06-29 18:16 problems creating my first raid 1 on Debian Ken Walker
2005-06-29 18:19 problems creating my first raid 1 on debian Mitchell Laks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).