Re: Question about HotPlug and cciss hp storage

2012-02-28 Thread Stan Hoeppner
On 2/28/2012 4:20 AM, Julien Groselle wrote: > Hello everybody, > > Frank, Who is Frank? > we have decided to use soft RAID to optimise our supervision and to > optimise our RAID with all the tool that linux provide ! > And for me it's better to optimise a RAID5 (RAID6) than use a non optimised

Re: Question about HotPlug and cciss hp storage

2012-02-28 Thread Julien Groselle
Hello everybody, Frank, we have decided to use soft RAID to optimise our supervision and to optimise our RAID with all the tool that linux provide ! And for me it's better to optimise a RAID5 (RAID6) than use a non optimised RAID10 : - no more HDD "lost", we have 8 disks, so 4 "real" in RAID10 and

Re: Question about HotPlug and cciss hp storage

2012-02-23 Thread Stan Hoeppner
On 2/23/2012 10:16 AM, Julien Groselle wrote: > Now i'm sure that is a must have. > Since 4 years to last year, we just had Hardware RAID, so we didn't need to > do any actions on HDD... > Now with md RAID we need ! :) RAID 0 arrays are not fault tolerant, so there is nothing the controller can d

Re: Question about HotPlug and cciss hp storage

2012-02-23 Thread Julien Groselle
Hi everybody, > You're welcome Julien. Sorry I didn't mention it sooner. It took me a > little while to figure out exactly what your problem was, due to > entering the thread so late. No problem, and thank you again. > I'm kinda surprised you didn't already know about this tool. It's a > must

Re: Question about HotPlug and cciss hp storage

2012-02-21 Thread Stan Hoeppner
On 2/21/2012 3:45 AM, Julien Groselle wrote: > Hi Stan, > > First, i tell you a huge thanks ! You're welcome Julien. Sorry I didn't mention it sooner. It took me a little while to figure out exactly what your problem was, due to entering the thread so late. > The ACU software is just what i ne

Re: Question about HotPlug and cciss hp storage

2012-02-21 Thread Julien Groselle
Hi Stan, First, i tell you a huge thanks ! The ACU software is just what i need to better administrate hardware. Just one problem, the dependecies will "dirty" my server : # aptitude install lib32gcc1 Les NOUVEAUX paquets suivants vont être installés : lib32gcc1 libc6-i386{a} # dpkg -i lib32st

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Stan Hoeppner
On 2/20/2012 11:00 AM, Stan Hoeppner wrote: > So the solution seems rather simple. Run the HP Array Configuration > Utility (ACU). Create a RAID0 array of the new disk and export it, just > as you originally did via the BIOS ACU when you originally configured > the 8 disks. The ACU software is

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Stan Hoeppner
On 2/20/2012 9:19 AM, Julien Groselle wrote: > Like I Said in the first thread : Few people read every post in every thread. At the point I jumped in to help, your hardware info was missing. My apologies for not back digging the thread. > My Hardware is HP ProLiant DL380 G7, with HP Smart Arra

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Julien Groselle
Like I Said in the first thread : My Hardware is HP ProLiant DL380 G7, with HP Smart Array P410i Controller version 3.50. This is a Smart Array, and it present to the server the disk (RAID0) directly. So with 8 SAS HDD (8 RAID0) I have made a RAID6. Performances are amazing comparate to hard RAID

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Stan Hoeppner
On 2/20/2012 8:43 AM, Julien Groselle wrote: > Thank you for your answer Stan, > > Yes, I'm not a specialist about this kernel data structure, but i'm on the > way ;) > It's not so easy to find clear information about that. > > So for you, if i upgrade my kernel it will be possible to use this >

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Julien Groselle
Thank you for your answer Stan, Yes, I'm not a specialist about this kernel data structure, but i'm on the way ;) It's not so easy to find clear information about that. So for you, if i upgrade my kernel it will be possible to use this script... But i can't reboot production servers, and change k

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Stan Hoeppner
On 2/20/2012 4:47 AM, Julien Groselle wrote: > Hi, > > I'm trying to understand why this directory is empty : /sys/class/scsi_host/ > We have two types of servers, one like that > # uname -r ; cat /etc/debian_version > 2.6.32-5-amd64 > 6.0.4 > > And other one like that > # uname -r ; cat /etc/deb

Re: Question about HotPlug and cciss hp storage

2012-02-20 Thread Julien Groselle
Hi, I'm trying to understand why this directory is empty : /sys/class/scsi_host/ We have two types of servers, one like that # uname -r ; cat /etc/debian_version 2.6.32-5-amd64 6.0.4 And other one like that # uname -r ; cat /etc/debian_version 2.6.39-bpo.2-amd64 6.0.4 On the first one : # l /sys

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Christofer C. Bell
On Fri, Feb 17, 2012 at 10:59 AM, Julien Groselle wrote: > I'm sure my kernel is not so old :) > > # uname -r ; cat /etc/debian_version > 2.6.32-5-amd64 > 6.0.4 Oh, not you, Julien. I was addressing Frank who is running Lenny's kernel. That said, he seems to have sorted things out on his end, a

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Julien Groselle
I'm sure my kernel is not so old :) # uname -r ; cat /etc/debian_version 2.6.32-5-amd64 6.0.4 Le 17 février 2012 17:55, Christofer C. Bell a écrit : > On Fri, Feb 17, 2012 at 10:34 AM, frank wrote: > > On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > > > >> echo "- - -" > /sys/cla

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread frank
On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > On Fri, Feb 17, 2012 at 8:04 AM, Julien Groselle > wrote: > > > > So no, I didn't rescan anything... It's just what I need (a command line to > > recan all HDD device) > > Apparently it's as easy as this: > > echo "- - -" > /sys/clas

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Christofer C. Bell
On Fri, Feb 17, 2012 at 10:34 AM, frank wrote: > On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > >> echo "- - -" > /sys/class/scsi_host/host0/scan > > Have you tried it? Or just copied and pasted? > > echo "- - -" > /sys/class/scsi_host/host0/scan > > -bash: /sys/class/scsi_host/hos

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Julien Groselle
I already have seen this blog, and the folder /sys/class/scsi_host/ is not populated (on my server, ofc) : # l /sys/class/scsi_host total 0 JG Le 17 février 2012 17:34, frank a écrit : > On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > > > echo "- - -" > /sys/class/scsi_host/host

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread frank
On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > echo "- - -" > /sys/class/scsi_host/host0/scan Have you tried it? Or just copied and pasted? echo "- - -" > /sys/class/scsi_host/host0/scan -bash: /sys/class/scsi_host/host0/scan: No such file or directory # uname -a Linux xxx 2.6.2

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Julien Groselle
> On Squeeze: > apt-get install scsitools > /sbin/rescan-scsi-bus.sh Humm... Nice ! For now i can't install this tools because of too many unwanted dependencies, but after installed it on a test server, it seems to give great results. Thank you for all your answer. I will make a return about the

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Christofer C. Bell
On Fri, Feb 17, 2012 at 8:04 AM, Julien Groselle wrote: > > So no, I didn't rescan anything... It's just what I need (a command line to > recan all HDD device) Apparently it's as easy as this: echo "- - -" > /sys/class/scsi_host/host0/scan Where 0 is the the controller number. This information

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread frank
On Fri, 2012-02-17 at 15:04 +0100, Julien Groselle wrote: > So no, I didn't rescan anything... It's just what I need (a command > line to recan all HDD device) > On Lenny: apt-get install scsiadd scsiadd -s On Squeeze: apt-get install scsitools /sbin/rescan-scsi-bus.sh Cheers Frank -- To

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Julien Groselle
First, we use Soft Raid because we like mdadm so much ! ;) We have amazing performances and a nice supervision on all the RAID status. We will keep Software RAID. The only weak point is that HotPlug. To Frank, I have tried that : # echo "rescan" > /proc/driver/cciss/cciss0 And I have a write erro

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread frank
On Fri, 2012-02-17 at 12:02 +0100, Julien Groselle wrote: > I use Soft Raid... and not Hard. So the disk array present me all the > disks without any RAID or control. > So if i want to remove a HDD, i have to set it faulty and logical > remove from mdadm before hard remove HDD physically. Have yo

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Julien Groselle
Hello Frank, Fist of all, thank you for your fast answer. I use Soft Raid... and not Hard. So the disk array present me all the disks without any RAID or control. So if i want to remove a HDD, i have to set it faulty and logical remove from mdadm before hard remove HDD physically. And when i wan

Re: Question about HotPlug and cciss hp storage

2012-02-17 Thread Frank
If you use the onboard controller there is no need to do some software voodoo. Just replace a faulty drive by a new one. The rebuild starts automatically. Your device is /dev/cciss/c0d0 Frank Am 17.02.2012 um 11:35 schrieb Julien Groselle : > Hi, > > After peel the web to find any information