Re: [Hampshire] constantly flickering LEDs on router, second try.

2009-05-18 Thread Jon Wilks
Lisi wrote:
 So - thank you all very much.  And I am an idiot.  In the literal sense, of 
 course - but also in the modern derived sense. :-(
don't be hard on yourself.  Often situations like this are an excellent
opportunity for learning.  You are only an idiot if you keep making the
same mistakes :-)

regds


-- 
Jon Wilks
PGP key 0xFA593C1A from hkp://wwwkeys.uk.pgp.net

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amidblushes

2009-05-18 Thread Paul Stimpson
Hi,

Glad to be of help. You're not an idiot for not realising ktorrent would 
auto-restart :)

TC,
Paul. 


Sent from my BlackBerry® wireless device

-Original Message-
From: hants...@googlemail.com

Date: Sun, 17 May 2009 22:27:01 
To: hampshire@mailman.lug.org.uk
Subject: Re: [Hampshire] constantly flickering LEDs on router: Solved - amid
blushes


Found this had gone from a dummy address and that is why it hadn't arrived - 
sorry, Paul. 

On Sunday 17 May 2009 20:14:31 you wrote:
 Please tell us a bit about the machine. OS and version. What software you
 have running.

 Do you have bittorrent?

 -

 Sorry - I ought to have said those.  They are not even in the real email
 I sent after my slip.

 Answers: I have ktorrent.
 Konqueror, Iceweasel, KMail were running.
 OS Lenny.
 Sorry about the broken threading.  I am having to juggle between GMail and
 KMail in order to get the right sender's address on here.

 Will now reboot and check again for KTorrent via ps.  Thanks for reminding
 me.

Paul - you are a genius and I am an idiot.  ps -A | grep ktorrent followed by 
kill seems to have cured the problem.

Very grateful thanks,
Lisi


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Victor Churchill
2009/5/17 hants...@googlemail.com
   ps -A | grep ktorrent followed by
 kill seems to have cured the problem.

I have had to do such things that many times that I came up with a one liner :

 ps -eafw | grep morituri | awk '{print $2}' |  xargs kill

Disclaimers:
Different people have different favourite 'ps' invocations embedded in
their finger memories. The above is mine.
A purist would say there should be a 'grep -v grep |' in the pipeline
as well. A /real/ purist would say there shouldn't and that there
should be one grep with a regex.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] [hardware] RAID5 - hardware or software based?

2009-05-18 Thread Ian Park
I recently decided to upgrade my main desktop machine from a 2-disk 
RAID0 array (2 x 320GB) to a 4-disk RAID5 array (4 x 320GB). I already 
have / on a separate 150GB drive, so there are no concerns about trying 
to boot from the RAID setup. So far, I've taken the cheap route and run 
all the drives from the SATA ports on the motherboard (a Tyan Thunder, 
with 2 x 2GHz Opteron dual core processors and a total of 8GB RAM).

I've been doing some scratching around, wondering whether to splash out 
on a hardware RAID controller to take the load of managing the RAID5 
array off the CPU(s); most of the RAID controllers I've found have been 
either not really hardware RAID controllers (e.g. the LSI Logic 8204) 
or rather expensive (e.g. the Adaptec 3405 and up). Does anyone have any 
experience of using software-based RAID5 and/or a real hardware RAID 
controller which they'd like to share, please?

Thanks in advance

Ian
-- 
Ian Park
17 Pyle Hill
Newbury
Berkshire
RG14 7JJ
Tel: +44 (0)1635 821420
GSM: +44 (0)7785 300290
email: i...@chalmers-park.name
--

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [hardware] RAID5 - hardware or software based?

2009-05-18 Thread Bob Dunlop
On Mon, May 18 at 10:38, Ian Park wrote:
 I recently decided to upgrade my main desktop machine from a 2-disk 
 RAID0 array (2 x 320GB) to a 4-disk RAID5 array (4 x 320GB). I already 
 have / on a separate 150GB drive, so there are no concerns about trying 
 to boot from the RAID setup. So far, I've taken the cheap route and run 
 all the drives from the SATA ports on the motherboard (a Tyan Thunder, 
 with 2 x 2GHz Opteron dual core processors and a total of 8GB RAM).

Been running a 4 drive software RAID5 at work for a couple of years now
on a 2.4GHz Intel Core2 processor.  The software overhead hasn't been
noticeable so I guess you'd have no problems either.  SATA x4 straight
off the motherboard.

New workstation builds we've gone back to using RAID1 simply because
disk capacity has got so stupidly high a pair of disks is all you need.

-- 
Bob Dunlop

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [hardware] RAID5 - hardware or software, based?

2009-05-18 Thread Ian Park
On Mon, 18 May 2009 11:21:14 +0100 Bob Dunlop wrote:
8--
Been running a 4 drive software RAID5 at work for a couple of years now
on a 2.4GHz Intel Core2 processor.  The software overhead hasn't been
noticeable so I guess you'd have no problems either.  SATA x4 straight
off the motherboard.
8--

Ah, thanks, that's very reassuring - I won't bother to spend the money 
on an Adaptec controller then! I notice that Adaptec recommend that you 
*don't* use desktop drives with the 3405, because (to paraphrase) 
they're not good enough - you should use enterprise class drives, 
which rather contradicts the inexpensive part of the RAID acronym...

Cheers

Ian
-- 
Ian Park
17 Pyle Hill
Newbury
Berkshire
RG14 7JJ
Tel: +44 (0)1635 821420
GSM: +44 (0)7785 300290
email: i...@chalmers-park.name
--

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] [OT] on the scrounge for SDR SDRAM memory

2009-05-18 Thread Lisi
Has anyone got any of the following memory I can scrounge?  Reasonable fee and 
postage happily paid!

168-pin DIMM Banking:   3 (3 banks of 1)
Chipset:   Intel 815E
Error Detection Support:   Non-ECC only
Graphics Support:   AGP 4X
Max Component Density:   256Mb
Max Unbuffered SDR SDRAM:   512MB
Module Types Supported:   Unbuffered only
SDR SDRAM Frequencies:   PC100 and PC133
Supported DRAM Types:   SDR SDRAM only
USB Support:   1.x Compliant

I could do with a total of the max allowed of 512MB.  Though any improvement 
on what is there now would be great!

There are three slots, two of which have 128MB sticks in them.  The third slot 
is empty.  

So one 512MB would be marvellous, as would 2x256, and 128MB would improve the 
present situation.

By inference, the third slot could have 256MB in it.  That is not explicitly 
spelt out anywhere, but there is a reference to 4 being the max possible no. 
of rows usable in PC133, which means if there are three sticks one of which 
has 2 rows, the other two must only have one.  It would appear therefore that 
the 3 slots do not need to have identical sticks.

The motherboard is an Intel D815EEA.

TIA
Lisi

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [hardware] RAID5 - hardware or software, based?

2009-05-18 Thread Andy Smith
Hi Ian,

On Mon, May 18, 2009 at 02:00:30PM +0100, Ian Park wrote:
 On Mon, 18 May 2009 11:21:14 +0100 Bob Dunlop wrote:
 8--
 Been running a 4 drive software RAID5 at work for a couple of years now
 on a 2.4GHz Intel Core2 processor.  The software overhead hasn't been
 noticeable so I guess you'd have no problems either.  SATA x4 straight
 off the motherboard.
 8--
 
 Ah, thanks, that's very reassuring - I won't bother to spend the money 
 on an Adaptec controller then!

Indeed, unless under very heavy write load I expect software RAID
will be fine.

 I notice that Adaptec recommend that you 
 *don't* use desktop drives with the 3405, because (to paraphrase) 
 they're not good enough - you should use enterprise class drives, 
 which rather contradicts the inexpensive part of the RAID acronym...

Yes I think they are trying to up sell.  Decent SCSI/SAS drives
would make a difference in both performance and reliability, but for
SATA I feel it's much of a muchness.  Certainly I use bog standard
SATA II drives everywhere and still find that RAM fails more often
than drives do.

You may want to check if performance is acceptable with a drive
failed.  You can do this by only putting 3 drives in to start with
and creating a 4 drive RAID-5.  It will run degraded.  You can then
see if it performs well enough when degraded.  If it doesn't then
you will know to keep a hot spare (or a cold spare in a drawer).

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

 The optimum programming team size is 1.
Has Jurassic Park taught us nothing?
 -- pfilandr


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Andy Smith
Hi Victor,

On Mon, May 18, 2009 at 10:35:43AM +0100, Victor Churchill wrote:
 I have had to do such things that many times that I came up with a one liner :
 
  ps -eafw | grep morituri | awk '{print $2}' |  xargs kill
 
 Disclaimers:
 Different people have different favourite 'ps' invocations embedded in
 their finger memories. The above is mine.
 A purist would say there should be a 'grep -v grep |' in the pipeline
 as well. A /real/ purist would say there shouldn't and that there
 should be one grep with a regex.

Someone else would use pkill instead of the lot of it. ;)

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

If you only ever read one book in your life, I highly recommend you keep your
 mouth shut. -- The League Against Tedium


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Daniel Pope
Andy Smith wrote:
 Someone else would use pkill instead of the lot of it. ;)

I use killall. What's the difference?

Dan

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Victor Churchill
2009/5/18 Daniel Pope ma...@mauveweb.co.uk:
 Andy Smith wrote:
 Someone else would use pkill instead of the lot of it. ;)

 I use killall. What's the difference?


More than one way to do it I suppose. Just looking over the man page
there looks like some overlap and some distinct features on each side.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [hardware] RAID5 - hardware or software, based?

2009-05-18 Thread Adrian Bridgett
On Mon, May 18, 2009 at 17:06:54 + (+), Andy Smith wrote:
 Indeed, unless under very heavy write load I expect software RAID
 will be fine.

To explain this further, if you do a write on RAID-5, you often have
to _read_ the disks first - this can add lots of latency.

Personally, I do RAID-1 (software or hardware just _not_ fakeraid
rubbish) on anything small (e.g. upto 4 disks).  Anything big
(read expensive), get a decent _battery backed_ hardware controller
or an external RAID array with the same.

If you do lots of small writes and wait for them to hit disk, this can
make a massive difference (I've personally seen a box go from 100% IO
bound to 1% IO when we discovered that the server had been shipped
with battery backed RAID controller, but in write though not write
back mode).  Oddly enough the database went just a tad quicker.

Regarding enterprise disks, I think it's mostly a completely fallacy
reliability wise.  Performance wise, a 15Krpm drive will out perform a
5400rpm drive.  However there is another issue - how hard a disk will
try and recover data.

Western Digital RE (RAID Edition) drives give up quite early - they
assume you are running in a RAID (not RAID-0) environment, so if they
have trouble reading something, they give up quickly and carry on.

Most desktop drives try _really_ hard (and don't give up) - thus they
effectively lock up for a few mins upon encountering an error.

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Steve Kemp
On Mon May 18, 2009 at 19:08:07 +0100, Daniel Pope wrote:

  Someone else would use pkill instead of the lot of it. ;)

 I use killall. What's the difference?

  On Solaris pkill does what you want, if it is available.

  On Solaris killall kills *all* processes.

  That's the kind of mistake you only make once ..

Steve
--
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Daniel Pope
Steve Kemp wrote:
That's the kind of mistake you only make once ..

So that's why the manpage says Be warned that typing killall _name_ may 
not have the desired effect on non-Linux systems, especially when done 
by a privileged user.!

Dan


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Andy Smith
Hello,

On Mon, May 18, 2009 at 07:34:30PM +0100, Victor Churchill wrote:
 Semi seriously though: I do notice how as new releases come around, if
 one has come from a previous release there is probably a tendency to
 stick with the familiar way even if there are new easier ways.

Oh yes, definitely.  For example I find myself doing multiple file
renames in a shell script even though almost every system comes with
a rename script/command these days.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

Ging i stopped taking my medication long ago. the ironey is it was for
  social anxioty disorder and now i daren't go back to the doctor to get
  another perscription


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--