Re: SCSI or IDE

2002-11-28 Thread Eric Jennings
For what it's worth, I'm running a 3Ware 6410 card (4 port IDE RAID-5 
with three 60 GB 7200 drives) on our development server, and it works 
flawlessly.  One of the nice features is that it can support email 
notification of array rebuilds and drive issues/failures, so it's 
easy to keep on top of any changes to the drives.

Not to mention the good performance you get from ordinary IDE drives. 
A no-brainer to install w/ Debian, and I'll definitely be purchasing 
more of these for our production servers from here on out.  (But this 
time I'll be getting the 7500 cards that support ATA-133 drives -- 
should be even faster)


Best Regards-
Eric




 > > > u can get hot swap ide

 > >
 > > promise do one (hot swap ide), dunno how good it is mind.
 >
 > If you are thinking on this one ->
 > http://www.promise.com/product/product_detail_eng.asp?productI
 > d=90&familyId=6
 >
 > Dont buy it! It as simple as that. 1 year ago i bought one of those
 > bastards from promise and its slooow. Im running it as filer on a
 > debian 3.0 system filesystem xfs and i havent been able to push it to
 > a sustain throughput on more than 3MB/sec. This is with 8
 > 60GB IBM deskstar
 > 7200rpm disks in raid5.
 > [...]
 > Next time i have to buy ideraid ill try 3ware for sure.

 I have one ofe those thingies running our local samba server, raid 5 w/ 3+1
 80 Gig 7200 IBM HDDs. Works flawlessly and fast. hdparm shows the following
 throughput:

  Timing buffer-cache reads:   128 MB in  0.87 seconds =147.13 MB/sec
  Timing buffered disk reads:  64 MB in  1.31 seconds = 48.85 MB/sec

 This is on a dual PIII/500 w/ 256 MB.

 Not the cheapest one, but it's actually worth it.


By "one of those thingies" you mean 3ware?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread Jeremy Zawodny
On Thu, Nov 28, 2002 at 08:16:51AM +0100, Thomas Lamy wrote:
> Thomas Kirk [mailto:[EMAIL PROTECTED]] wrote:
> > 
> > Hep
> > 
> > On Mon, Nov 25, 2002 at 11:57:33AM +1300, Jones, Steven wrote:
> > 
> > > u can get hot swap ide 
> > > 
> > > promise do one (hot swap ide), dunno how good it is mind.
> > 
> > If you are thinking on this one ->
> > http://www.promise.com/product/product_detail_eng.asp?productI
> > d=90&familyId=6
> > 
> > Dont buy it! It as simple as that. 1 year ago i bought one of those
> > bastards from promise and its slooow. Im running it as filer on a
> > debian 3.0 system filesystem xfs and i havent been able to push it to
> > a sustain throughput on more than 3MB/sec. This is with 8 
> > 60GB IBM deskstar
> > 7200rpm disks in raid5. 
> > [...]
> > Next time i have to buy ideraid ill try 3ware for sure.
> 
> I have one ofe those thingies running our local samba server, raid 5 w/ 3+1
> 80 Gig 7200 IBM HDDs. Works flawlessly and fast. hdparm shows the following
> throughput:
> 
>  Timing buffer-cache reads:   128 MB in  0.87 seconds =147.13 MB/sec
>  Timing buffered disk reads:  64 MB in  1.31 seconds = 48.85 MB/sec
> 
> This is on a dual PIII/500 w/ 256 MB.
> 
> Not the cheapest one, but it's actually worth it.

By "one of those thingies" you mean 3ware?
-- 
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Cistron Radius password file question

2002-11-28 Thread Emile van Bergen
Hi,

On Thu, Nov 28, 2002 at 07:09:49PM +0100, Radek Hnilica wrote:

> > 
> > also, you might want to eventually move radius to this box too.  if
> > you're not using LDAP or other shared account db, it can be very useful
> > to have with the radius server on the same machine as the mail server.
> > /etc/passwd already holds the passwords for login accounts, it's easy to
> > configure radius to use that.  
> 
> please is there a simple way how to push radius to use
> /etc/ftpd.passwd instead of /etc/passwd ?  The structure is the same
> but users are different.

Turn on caching of /etc/passwd (causes Cistron to read the passwd file
itself instead of using the libc routines), and apply this in the src directory before 
compiling:

--- cache.h.origThu Nov 28 19:13:41 2002
+++ cache.h Thu Nov 28 19:14:29 2002
@@ -13,7 +13,7 @@
 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi)
 #define PASSWDFILE "/etc/master.passwd"
 #else 
-#define PASSWDFILE "/etc/passwd"
+#define PASSWDFILE "/etc/ftpd.passwd"
 #endif /* bsdi*/
 #define SHADOWFILE "/etc/shadow"

Cheers,


Emile.

-- 
E-Advies / Emile van Bergen   |   [EMAIL PROTECTED]
tel. +31 (0)70 3906153|   http://www.e-advies.info



msg07470/pgp0.pgp
Description: PGP signature


Cistron Radius password file question

2002-11-28 Thread Radek Hnilica
> 
> also, you might want to eventually move radius to this box too.  if
> you're not using LDAP or other shared account db, it can be very useful
> to have with the radius server on the same machine as the mail server.
> /etc/passwd already holds the passwords for login accounts, it's easy to
> configure radius to use that.  

please is there a simple way how to push radius to use
/etc/ftpd.passwd instead of /etc/passwd ?  The structure is the same
but users are different.


-- 
Radek Hnilica 
===
No matter how far down the wrong road you've gone, turn back.
Turkish proverb




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread I. Forbes
Hello Russell 

On 28 Nov 2002 at 13:52, Russell Coker wrote:

> On Thu, 28 Nov 2002 13:15, I. Forbes wrote:
> > - If you have a "glitch" on a drive the raid will mark the partition
> > as defective possibly when there is no permanent damage. You have to
> > reboot the server before you can attempt to bring this partition back
> > on line. Once rebooted you can attempt to re-sync the drives.
> 
> That is strange.  On many occasions I have had a transient error or a failing 
> drive drop out of a RAID but then work fine when I ran raidhotadd...

In my experience, if the drive dropped out due to an error,  you have 
to reboot the machine before raidhotadd will attempt to remount it. 
(This may vary between kernel versions.)
 
> > Be very careful to set-up and check your cron scripts. If a drive
> > fails, you need the machine to send an e-mail to an address where you
> > know it is going to be read and acted upon! You do not want that e-
> > mail buried in 1000 other system warnings that get deleted without
> > being read.
> 
> The raidtools2 package comes with a cron script that does well in this regard.

The e-mail generated from raidtools2 is imbedded in the "cron.daily" 
report. If you have a bunch of programs that get run by cron.daily 
and generate a lot of output, a critical raid disk warning can get 
lost in the noise.

I have modified my cron scripts to send a second e-mail directly to 
an address that does not normally get any system messages. This one 
can be cc'd to the client if need be. They like that kind of 
reassurance.

Ian

-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 21 683-1388  Fax: +27 21 674-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread uwp
In fact modern SCSI disks are a little bit faster (the 15000 rpm versions).
But they are much more expensive. We solved the problem with RAID-boxes
from EasyRAID. IDE disks input with hot plugging support and RAID 5 and
a SCSI connector. In the machine there's the corresponding SCSI controller
(maybe not as cheap as an IDE controller but for us the disks make the point
because we need lots of them) and that's it. Peak rate with 12 x WD JB1000
(100 GB, 8 MB Cache, RAID5 -> ~1TB diskspace): about 53 MB/s, average is
at 33-37 MB/s. Fast enough for us (it's a backup-system).

Mermgfurt,
Udo
-- 
  Udo Wolter <-> [EMAIL PROTECTED]|  /"\
  !!! Free Music Video !!! All Linux made !!!|  \ / ASCII RIBBON CAMPAIGN
http://www.dicke-aersche.de/chapterx/video.html  |   XAGAINST HTML MAIL
   !!! First Music Video made with Linux !!! |  / \


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: djb and multiple IPs

2002-11-28 Thread Gerrit Pape
On Tue, Nov 26, 2002 at 07:37:42PM +0100, Tomasz Papszun wrote:
> Personally, I could get used to new format of files, hard-coded magic
> filenames, absolute lack of manual pages, let this ugly and ridiculous

There are man pages available for more than two years. It's really
difficult not to find them.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread Russell Coker
On Thu, 28 Nov 2002 13:15, I. Forbes wrote:
> - If you have a "glitch" on a drive the raid will mark the partition
> as defective possibly when there is no permanent damage. You have to
> reboot the server before you can attempt to bring this partition back
> on line. Once rebooted you can attempt to re-sync the drives.

That is strange.  On many occasions I have had a transient error or a failing 
drive drop out of a RAID but then work fine when I ran raidhotadd...

> Be very careful to set-up and check your cron scripts. If a drive
> fails, you need the machine to send an e-mail to an address where you
> know it is going to be read and acted upon! You do not want that e-
> mail buried in 1000 other system warnings that get deleted without
> being read.

The raidtools2 package comes with a cron script that does well in this regard.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: SCSI or IDE

2002-11-28 Thread I. Forbes
Hello All

We have about a dozen production machines running software RAID1 with 
IDE drives. We have experience going back about year now and we have 
had a number of raid drive failures in that time. 

Good points:

- If a drive fails, the machine carries on running and you can sort 
it out the problem at a convenient time. You do not loose any data 
and not much downtime.

Bad points:

- After a drive fails it is not guaranteed 100% that the box will be 
bootable. If the bios supports booting off both IDE's it is a good 
start but some combination of drive/contoller failures can leave the 
machine unbootable. A cold reboot as opposed to a warm reboot can 
make a difference. It is a good idea to have a boot stiffy available, 
this should always work. At worst you may have to disable a drive in 
the bios or open the case and swop the IDE cables to get it to boot.

- If you have a "glitch" on a drive the raid will mark the partition 
as defective possibly when there is no permanent damage. You have to 
reboot the server before you can attempt to bring this partition back 
on line. Once rebooted you can attempt to re-sync the drives. If you 
loose sync again in the next few hours, start planning on replacing 
the drive. But I have had a partition drop out, re-booted the 
machine, re-synced and it worked faultlessly for months. So it is 
definitely worth considering this before you replace the drive.

- You cannot "hot swap" the drives.

Bottom line is I would much rather have a machine with software raid 
1 than one drive alone. Most of the new machines we build have this 
configuration. 

However if guaranteed 24/7 operation if your requirement, as opposed 
to security of data and minimizing downtime then you will have to buy 
something exotic that supports hot-swap and has a good reputation.

I have also played with machines with cheap bios based raid which 
proved frustrating. I would much rather use Linux software raid than 
any of these.

Be very careful to set-up and check your cron scripts. If a drive 
fails, you need the machine to send an e-mail to an address where you 
know it is going to be read and acted upon! You do not want that e-
mail buried in 1000 other system warnings that get deleted without 
being read.

Have fun.

Ian



On 28 Nov 2002 at 14:15, Jones, Steven wrote:

> If you lose the primary boot disk on software raid its not bootable in my
> experience.
> 
> I wouldnt use software raid for any prod box for this reason.
> 
> I happen to have 2 x 20g sitting, and since I only need 2 gig ish
> max..
> 
> Steven
> 
> -Original Message-
> From: Russell Coker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 28 November 2002 1:35 
> To: Jones, Steven; 'Thomas Kirk'
> Cc: [EMAIL PROTECTED]
> Subject: Re: SCSI or IDE
> 
> 
> On Wed, 27 Nov 2002 23:30, Jones, Steven wrote:
> >
> http://www.promise.com/product/product_detail_eng.asp?productId=93&familyId
> >= 7
> >
> > i was actually looking at one of these.
> >
> > For my simpler needs, data protection is important but there isnt lots of
> > it so 2 x 20 gig disks mirrored is heaps. I would like to keep the uptime
> > up, so was thinking of this solution, anybody tried one? Its for my web
> > server with all of a 128k connection so sucky performance isnt an issue as
> > its bugger all hits.
> 
> If you only need RAID-1 then software RAID is probably best.  It's cheapest 
> and provides much better performance than most hardware RAID's.  Also if you
> 
> only need 20G of storage then you still may want to consider 120G drives, 
> they are much faster than 20G drives.
> 
> > However for another job Im thinking of elsewhere (a 2 node cluster) though
> > it would be a disaster. 3meg a sec just wont cut it, i can get 16 meg off
> a
> > second hand scsi setup for the same dosh.
> 
> You can get 40 meg from a software RAID-1 on IDE drives more easily and 
> cheaply.
> 
> -- 
> http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
> http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
> http://www.coker.com.au/postal/Postal SMTP/POP benchmark
> http://www.coker.com.au/~russell/  My home page
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
> 

-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 21 683-1388  Fax: +27 21 674-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread Thomas Kirk
Hep

On Thu, Nov 28, 2002 at 04:07:42PM +1100, Donovan Baarda wrote:

> That sounds very crappy... I'm not familiar with this product and it's
> drivers. From the kernel side, does it look like IDE or something else? If
> it looks like IDE, are you actualy using UDMA? The Debian kernels default to
> off... check with;

The array is connected to server via SCSI. It looks like a very big
scsidisk in our case around 400GB.

> 
> # hdparm /dev/hde
> 
> and see if dma is on.
> 
> I find it hard to believe that the performance could be that bad... there
> must be something else misconfigured.

Sorry it was 15MB/sec but thats still not very good.

I spoke to a guy somewhere in asia and him and his friend (they
worked for a large company forgot the name now) conducted some
benchmarktests that show exactly the same as mine so i guess its just
the speed that this array can do. To my luck we use this array for
storage now and not so much for serverbackend diskcapacity.

> I have heard horror stories about IDE raid when discs actualy die. I think
> the problem is disks can die in almost-pretending-to-be-ok ways. Perhaps

yeah maybe? The thing is we will never know since the promisearray dosnt tell
use much. 

> At least it sounds like the guy knew what he was talking about...

yes indeed but still i was stunned when i heard what the solution
was. Im use to work with 1-class serverhardware and ive never done
anything like this before.


-- 
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #112:

The monitor is plugged into the serial port


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread Thing
On Thu, 28 Nov 2002 22:21, Russell Coker wrote:
> On Thu, 28 Nov 2002 02:15, Jones, Steven wrote:
> > If you lose the primary boot disk on software raid its not bootable in my
> > experience.
>
> That's often the case.  If the disk entirely dies then the BIOS should be
> able to boot from the other disk, but if the disk partially fails then
> it'll probably not be bootable.
>
> But if you want to save money on hardware software RAID-1 is a very good
> option.

Im afriad I have to disagree, have you tried to boot off the second disk? 

Im pretty sure its always the case, even with a totally dead primary disk. I 
know of no motherboard that can find the second disk and have Linux realise 
its booting off not the disk it expects.

Sun boxes will do it, but we arnt talking Sparc in here, (at least Im not)

Ive tested this scenario (after some clown bought a stack of compaq dp320s 
against my advice.PHB liked the pricedoh) and on several machines i 
have been unable to get the bios to boot the second  disk with the primary 
disk removed.

It simply does not work.

If you know of a motherboard that will do it please let me/us know, it might 
get on my shopping list.

regards

Thing


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SCSI or IDE

2002-11-28 Thread Russell Coker
On Thu, 28 Nov 2002 02:15, Jones, Steven wrote:
> If you lose the primary boot disk on software raid its not bootable in my
> experience.

That's often the case.  If the disk entirely dies then the BIOS should be able 
to boot from the other disk, but if the disk partially fails then it'll 
probably not be bootable.

But if you want to save money on hardware software RAID-1 is a very good 
option.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: automated ppp testing

2002-11-28 Thread mathias daus
hi tim,


Is there a package out there that can monitor/test an ISP's connection
(using PPP) on a regular basis?


what exactly do you want to test? if a connection is available?

>  Just something that'll start a PPP

connection, kill it immediately, and keep a log of it.


i don't know a package. i would do this manually:increase the debug 
level and look into the syslog.
if you want to automatize this: config the syslog.conf: write into a 
named pipe. a little script can read this pipe an grep for 'pppd' or the 
something, that you want to monitor.

hope this helps
gruss mathias



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]