Re: [CentOS-docs] requesting to become a contributor

2009-08-30 Thread Ned Slider
Richard Bronosky wrote:
 I had already created that account, but could not do the step of
 creating the homepage because of permissions.
 

Great. I'm sure Ralph will get you set up in due course :)

Also, please would you bottom post replies (rather than top posting) as 
that is the convention on these mailing lists.

Thanks

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-es] Problemas con la tarjeta de red NC375i Quad

2009-08-30 Thread Ernesto Celis
El 26 de agosto de 2009 11:07, Germán Suárez germansuar...@gmail.comescribió:

 Cordial saludo comunidad centos.

 Paso a comentarles: tengo un servidor HP Proliant ML370 G6 con sistema
 operativo Centos 4.7 Linux srv01 2.6.9-89.0.9.ELsmp #1 SMP Mon Aug 24
 07:56:18 EDT 2009 i686 i686 i386 GNU/Linux
 Para poder instalar la tarjeta de red como tal fue necesario descargar
 el controlador desde la pagina de HP y seguir los pasos indicados por
 el fabricante.


No mencionas cual NIC es.

Aparentemente, todo funciona bien pero de un momento a otro todos los
 usuarios quedan sin comunicación hacia el servidor, se ha probado


Inmediatamente que te das cuenta que se ha perdido la conectividad a la red,
revisa las bitacoras del sistema, por ej: /var/log/messages

También, cuando se pierde la conexión; ¿Continua el módulo de la NIC cargado
en el kernel?

...
...mmm creo que aquí algo edité mal! ya estoy cansado, una disculpa.
...

Después de reiniciar los servicios, nuevamente, ¿que dicen las bitácoras?

y de ninguna manera se restablecen los servicios de red, lo unico que
 sirve es reiniciar la máquina.


En tu revisión de bitácoras, busca errores y advertencias relacionadas a tu
NIC y con la red en general.

Agradezco sus aportes


Como otros han sugerido, si te es posible actualiza a centos 5.3, por
experiencia se que a veces es necesario mantener la versión. Si es tu caso,
ayudanos un poco más para ayudarte mejor.

les deseo felicidad, alegria y bienestar para todos


Esta parte es verdaderamente innecesaria.

atentamente,

 --
 Germán Suárez Sánchez


Saludos
Ernesto
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con la tarjeta de red NC375i Quad

2009-08-30 Thread Ernesto Celis
El 30 de agosto de 2009 03:09, Ernesto Celis
celisdelafue...@gmail.comescribió:

 El 26 de agosto de 2009 11:07, Germán Suárez 
 germansuar...@gmail.comescribió:

 Cordial saludo comunidad centos.

 Paso a comentarles: tengo un servidor HP Proliant ML370 G6 con sistema
 operativo Centos 4.7 Linux srv01 2.6.9-89.0.9.ELsmp #1 SMP Mon Aug 24
 07:56:18 EDT 2009 i686 i686 i386 GNU/Linux
 Para poder instalar la tarjeta de red como tal fue necesario descargar
 el controlador desde la pagina de HP y seguir los pasos indicados por
 el fabricante.


 No mencionas cual NIC es.


Oops! después de Enviar vi el tema del correo, ahí está la NIC. :)




 Aparentemente, todo funciona bien pero de un momento a otro todos los
 usuarios quedan sin comunicación hacia el servidor, se ha probado


 Inmediatamente que te das cuenta que se ha perdido la conectividad a la
 red, revisa las bitacoras del sistema, por ej: /var/log/messages

 También, cuando se pierde la conexión; ¿Continua el módulo de la NIC
 cargado en el kernel?

 ...
 ...mmm creo que aquí algo edité mal! ya estoy cansado, una disculpa.
 ...

 Después de reiniciar los servicios, nuevamente, ¿que dicen las bitácoras?

 y de ninguna manera se restablecen los servicios de red, lo unico que
 sirve es reiniciar la máquina.


 En tu revisión de bitácoras, busca errores y advertencias relacionadas a tu
 NIC y con la red en general.

 Agradezco sus aportes


 Como otros han sugerido, si te es posible actualiza a centos 5.3, por
 experiencia se que a veces es necesario mantener la versión. Si es tu caso,
 ayudanos un poco más para ayudarte mejor.

 les deseo felicidad, alegria y bienestar para todos


 Esta parte es verdaderamente innecesaria.

 atentamente,

 --
 Germán Suárez Sánchez


 Saludos
 Ernesto


Saludos
Ernesto
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Se me apaga la máquina de virtualbox .

2009-08-30 Thread Ernesto Celis
El 25 de agosto de 2009 07:53, Monica BM monica...@yahoo.es escribió:

 Buenas tardes:

 Tengo la última versión de VB (3.0.4) en mi CentOS 5.2, mi problema es que
 he ido a crear una máquina de disco dinámico de 20 GB.


¿Por que piensas que el problema es este? Un disco virtual dinámico de 20GB.
¿Si es de tamaño fijo, no sucede?



 Pues bien, se me instala correctamente y le empiezo a instalar las
 actualziaciones, y una vez instalo el SP3, la máquina derrepente a los pocos
 minutos o segundos se apaga.


Si windows se instala correctamente, corre durante algunos minutos antes que
inicies la instalación del SP3 y es entonces cuando se apaga. ¿No crees que
el problema está en el SP3 o VirtualBox? No en CentOS.



 Por temas de seguridad necesito el SP3, pero he creado anteriormente
 máquinas de 10 Gb y no me han dado ningún problema.


Estas máquinas de 10GB, ¿también tienen instalado SP3?



 En los Logs, ni de virtualbox ni de centos encuentro nada.


¿Ya preguntaste en los canales de ayuda (listas, irc, foros) de VirtualBox?



 Si tenéis alguna idea al respecto, agradecida quedo.


No tengo idea de cual sea tu problema, pero si se que no es CentOS, hasta
hace poco yo ejecutaba Windows XP sp3 en esta versión de VirtualBox que
mencionas con host Centos 5.3. No se tu caso, pero mi instalación de Windows
XP ya tiene su tiempo y he venido actualizando VirtualBox desde que cree
esta máquina virtual, en febrero de 2009.

Y si te preocupa tanto la seguridad en Windows, para actualizarlo al más
reciente service pack, ¿por que no corres Centos 5.3? Linux puede llegar a
ser tan vulnerable como Windows si no se administra correctamente.


 pd: Estoy probando a crearla en otro equipo con una versión anterior de VB.

 Un saludo.


Saludos
Ernesto
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Se me apaga la máquina de virtualbox .

2009-08-30 Thread Andres Genovez
El 25 de agosto de 2009 07:53, Monica BM monica...@yahoo.es escribió:

 Buenas tardes:

 Tengo la última versión de VB (3.0.4) en mi CentOS 5.2, mi problema es que
 he ido a crear una máquina de disco dinámico de 20 GB.

 Pues bien, se me instala correctamente y le empiezo a instalar las
 actualziaciones, y una vez instalo el SP3, la máquina derrepente a los pocos
 minutos o segundos se apaga.


Talvez es un pantallaso azul, como estan configurado el sonido, etc? Hiciste
un formato limpio?



 Por temas de seguridad necesito el SP3, pero he creado anteriormente
 máquinas de 10 Gb y no me han dado ningún problema.

 En los Logs, ni de virtualbox ni de centos encuentro nada.

 Si tenéis alguna idea al respecto, agradecida quedo.


 pd: Estoy probando a crearla en otro equipo con una versión anterior de VB.

 Un saludo.


 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




Atentamente

Andrés Genovez Tobar / Sistemas
COMERCIAL SALVADOR PACHECO MORA S.A. / DESDE 1945
Tecnologías
Cuenca, Luis Cordero 9-70 y Gran Colombia

Teléfono. 593-7-2842388 ext 408
Fax. 593-7-2842388 ext 120
Celular 593-97670874
  593-96816996 Alegro
Mail:ageno...@cspmsa.com
Personal: andresgeno...@gmail.com
www.cspmsa.com
www.crice.org
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] Upgrading Centos 5.3 23Bit - 64Bit

2009-08-30 Thread Götz Reinicke
Hi,

has anybody done an upgrade from an installed 32bit version to a 64bit?

If so, how?

Installing the 64bit version from scratch is an option, but I'm 
interested also, if an upgrade is possible.


Thanks and best regards,

Götz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kernel-2.6.18-128.7.1.el5.i686 update breaks AMD onboard sound

2009-08-30 Thread William L. Maltby
On Sat, 2009-08-29 at 20:06 -0400, Mike A. Harris wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 MHR wrote:
  On Sat, Aug 29, 2009 at 6:06 AM, Mike A. Harrismhar...@mharris.ca wrote:
  The new kernel-2.6.18-128.7.1.el5.i686 kernel breaks audio support on my
  onboard audio on an AMD Solo motherboard.
 
  00:07.5 Multimedia audio controller: Advanced Micro Devices [AMD]
  AMD-8111 AC97 Audio (rev 03)
 
  
  I have this on my ECS GeForce6100PM-M2 w/AMD 64x2 7750:
  
  00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev 
  a2)
  
  No new problems with sound on the 2.6.18-128.7.1.el5.x86_64 kernel (I
  know, it's the 64-bit kernel, not your 32-bit one).  I have other,
  older problems related to SeaMonkey 2.0a3, but that's not related.
 
 That's a useful datapoint nonetheless, thanks!  It's much better if it's
 limited to a specific piece of hardware or subset of hardware than to be
 widespread...  even if it makes it harder to track down.  ;o)

Curiosity killed the cat, so I went and looked at the config files
in /boot for the latest 3 versions. No changes shown there for AC97 or
8111 stuff. So now it sounds like either a loadable module-related
problem, either in the module itself or the modprobe conf. I wonder if
some parameter change is needed.

 
 Thanks for the response.
 
 - --
 Mike A. Harris
 snip sig stuff

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading Centos 5.3 23Bit - 64Bit

2009-08-30 Thread Alexander Dalloz
Götz Reinicke schrieb:
 Hi,
 
 has anybody done an upgrade from an installed 32bit version to a 64bit?
 
 If so, how?
 
 Installing the 64bit version from scratch is an option, but I'm 
 interested also, if an upgrade is possible.
 
 
 Thanks and best regards,
 
   Götz

Generally a fresh re-install is clearly recommended. But what you could
test (with a full valid backup) is following:

yum install $(rpm -qa --qf '%{name}.%{arch}\n' | grep i386 | sed -e
's/i386/x86_64/g')

And additionally to install those packages as x86_64 arch which are
installed as i686 arch already.

if you have a file /etc/rpm/platform, then adjust it or delete it. Once
all x86_64 packages required installed and kernel  grub proper, reboot.
The command arch should print out x86_64 if I did not miss a detail
others on this list may know. You then can yum remove the ix86 rpms.

I did not test this. Act with care and a backup.

Alexander

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Linux as a NAS / SAN device

2009-08-30 Thread Rudi Ahlers
On Sat, Aug 29, 2009 at 5:46 PM, Les Mikeselllesmikes...@gmail.com wrote:
 Rudi Ahlers wrote:

 But the one piece of of the puzzle that I don't understand, will a
 self-build-Linux NAS device, or even Openfiler / FreeNAS give us that
 kind of uptime.
 High quality servers running an enterprise linux version can give you
 the same uptime as dedicated hardware if you are comfortable with not
 doing updates.  For example I still have a RH 7.3 based box running that
 has only been down a few minutes in about 7 years (had to move it) but I
 wouldn't try that with anything exposed to the internet.  I did replace
 several drives and rebuild the raids over that time - and it is probably
 about to die of old age soon.


 But surely CentOS, or other free / non-enterprise linux's can do the
 same? I've seen NAS devices running Debian, so CentOS should be able
 to deliver the same performance / reliability ?

 Sure, CentOS is as good as it gets.  I was just using my oldest still-running
 system as an example - and it is well firewalled so I haven't been forced to
 upgrade it for security reasons. You just need to stick to distributions that
 emphasize stability and in most situations you'll want some scheduled downtime
 to do updates that might require reboots.  But even dedicated hardware will
 sometimes have required updates.

 --
   Les Mikesell
    lesmikes...@gmail.com

 ___



Thanx for all the input, it has helped me a lot. Now I just need to
convince my partner to use a Linux based NAS :)

Openfiler has also been doing quite well for me, as well as FreeNAS,
so it's a tough choice - both of these run out of the box what I need,
but with my own NAS device, I could run a few other things (Apache +
PHP + MySQL) as well.


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha

 what is your purpose with this Level? I'm asking because I had done some 
 raid level tests some time ago with hardware raid controllers/systems 
 from 3ware, sun and iscsi-raidsystems and some softwareraid setups.
   

The purpose of using RAID 10 is, of course, performance coupled with 
full redundancy.

 I haven't seen significant performance differences using different 
 levels. (I'm not comparing the controllers.)
   

Did you test RAID 10 also?

I am using software RAID 10 with CentOS 5.3 and I surely did see a 
*huge* performance increase with RAID 10 compared to RAID 1 only.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Götz Reinicke
Miguel Medalha schrieb:
 what is your purpose with this Level? I'm asking because I had done some 
 raid level tests some time ago with hardware raid controllers/systems 
 from 3ware, sun and iscsi-raidsystems and some softwareraid setups.
   
 
 The purpose of using RAID 10 is, of course, performance coupled with 
 full redundancy.

 
 I haven't seen significant performance differences using different 
 levels. (I'm not comparing the controllers.)
   
 
 Did you test RAID 10 also?

 I am using software RAID 10 with CentOS 5.3 and I surely did see a 
 *huge* performance increase with RAID 10 compared to RAID 1 only.

I tested 1+0 vers 0+1 vers 5 on the 3ware, the sun build in raid system 
and using softwareraid on an other (older) server.

On the iscsi systems and the 3ware controller I tested raid 5 vers. 6 as 
well.

May be I should have mentioned that.

My conclusion on my systems was:

Level 5 is the best concerning performance/capacity.

Regards,

Götz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Ross Walker
On Aug 30, 2009, at 1:02 PM, Götz Reinicke goetz.reini...@filmakademie.d 
e wrote:

 Miguel Medalha schrieb:
 what is your purpose with this Level? I'm asking because I had  
 done some
 raid level tests some time ago with hardware raid controllers/ 
 systems
 from 3ware, sun and iscsi-raidsystems and some softwareraid setups.


 The purpose of using RAID 10 is, of course, performance coupled with
 full redundancy.


 I haven't seen significant performance differences using different
 levels. (I'm not comparing the controllers.)


 Did you test RAID 10 also?

 I am using software RAID 10 with CentOS 5.3 and I surely did see a
 *huge* performance increase with RAID 10 compared to RAID 1 only.

 I tested 1+0 vers 0+1 vers 5 on the 3ware, the sun build in raid  
 system
 and using softwareraid on an other (older) server.

 On the iscsi systems and the 3ware controller I tested raid 5 vers.  
 6 as
 well.

 May be I should have mentioned that.

 My conclusion on my systems was:

 Level 5 is the best concerning performance/capacity.

Then you were only testing sequential io an that only gets you so far.  
For random io nothing beats RAID10.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Les Mikesell
Götz Reinicke wrote:
 
 I am using software RAID 10 with CentOS 5.3 and I surely did see a 
 *huge* performance increase with RAID 10 compared to RAID 1 only.
 
 I tested 1+0 vers 0+1 vers 5 on the 3ware, the sun build in raid system 
 and using softwareraid on an other (older) server.
 
 On the iscsi systems and the 3ware controller I tested raid 5 vers. 6 as 
 well.
 
 May be I should have mentioned that.
 
 My conclusion on my systems was:
 
 Level 5 is the best concerning performance/capacity.

That's very strange, considering what the drives physically have to do for raid 
5, especially on small writes.  Did you have a very large number of drives in 
the array?

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread John R Pierce
Götz Reinicke wrote:
 Level 5 is the best concerning performance/capacity.
   


raid-5 performs very poorly on random writes, common to database servers.

it also has long rebuild times which increases the possibility of a 
double fault.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] setup iptables to allow forwarding through eth1

2009-08-30 Thread Peter Peltonen
I have a fresh installed CentOS 5.3 server which should route traffic
between two networks like this:

network A (Internet) -- eth0 (default gw) : server : eth1 -- network B (LAN)

I have set in sysctl.conf

net.ipv4.ip_forward = 1

and routing works fine like this. But when I switch on the iptables
service (with default setup, configured when installing the server),
routing stops working (or at least I cannot ping a server in network A
from network B).  I guess the firewall is stopping it, so I read

http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-firewall-ipt-fwd.html

and issued the commands

# iptables -A FORWARD -i eth1 -j ACCEPT
# iptables -A FORWARD -o eth1 -j ACCEPT

but that did not help.

So I am asking: what is the correct iptables command to make forwarding work?

Regards,
Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 5:53 PM, Oliver Ransomoli...@ransom.com.au wrote:
 On 31/08/2009, at 1:18 AM, Rudi Ahlers wrote:

 Hi,

 Can someone please assist met with some software RAID 1+0 setup
 instructions? I have searched the web, but couldn't find any. I found
 a lot of RAID 10 setup instructions, but it doesn't help me.

 Hi Rudi
 RAID 10 and RAID 1+0 are the same thing.

 See here:
 http://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_10_.28RAID_1.2B0.29
 or here:
 http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10




Hi Oliver,

It's not the same thing :)
Although they work, and do the same, the installer CD  mdadm needs to
support it. The specific appliance that I want to install, doesn't
support RAID 10, so I need to install RAID 1 + RAID 0, i.e. setting 2x
RAID 1 mirrors, and then stripe then in RAID0 - but once the first 1
mirrors are setup, I can't stripe them.

I've seen people use LVM to add them to one volume, but the installer
doesn't see to like that either.


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
2009/8/30 Götz Reinicke goetz.reini...@filmakademie.de:
 Rudi Ahlers schrieb:
 Hi,

 Can someone please assist met with some software RAID 1+0 setup
 instructions? I have searched the web, but couldn't find any. I found
 a lot of RAID 10 setup instructions, but it doesn't help me.

 Hi,

 what is your purpose with this Level? I'm asking because I had done some
 raid level tests some time ago with hardware raid controllers/systems
 from 3ware, sun and iscsi-raidsystems and some softwareraid setups.

 I haven't seen significant performance differences using different
 levels. (I'm not comparing the controllers.)


 Regards,

        Götz


 ___


With the limited resources (motherboard supports 2x SATA  4x IDE -
but I don't want to use more than 2 IDE HDD's), and small form factor
chassis, I would rather sacrifice less space (460GB on 4x 250GB HDD's)
and run RAID 10 for higher reliability  speed, then run RAID 5 and
have higher risk of complete data loss.

RAID 10 can suffer 2 drive failures, while RAID 5 only one.

-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Jerry Franz
Rudi Ahlers wrote:
 Hi Oliver,
 It's not the same thing :)
 Although they work, and do the same, the installer CD  mdadm needs to
 support it. The specific appliance that I want to install, doesn't
 support RAID 10, so I need to install RAID 1 + RAID 0, i.e. setting 2x
 RAID 1 mirrors, and then stripe then in RAID0 - but once the first 1
 mirrors are setup, I can't stripe them.

 I've seen people use LVM to add them to one volume, but the installer
 doesn't see to like that either

Hmmm... 'specific appliance'.

This doesn't sound like you are installing CentOS. This makes it 
*really* hard for us to help you since we have absolutely no idea what 
you are actually doing. ;)

A) What are you actually doing?

B) Do you have to have RAID10 during install or is it sufficient that 
you can build a data 'drive' after install?

-- 
Benjamin Franz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha

 Although they work, and do the same, the installer CD  mdadm needs to
 support it. The specific appliance that I want to install, doesn't
 support RAID 10, so I need to install RAID 1 + RAID 0, i.e. setting 2x
 RAID 1 mirrors, and then stripe then in RAID0 - but once the first 1
 mirrors are setup, I can't stripe them.

Aren't you using CentOS, then? You didn't tell us that... My answer was 
based on the assumption that you were talking about CentOS...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 9:10 PM, Jerry Franzjfr...@freerun.com wrote:
 Rudi Ahlers wrote:
 Hi Oliver,
 It's not the same thing :)
 Although they work, and do the same, the installer CD  mdadm needs to
 support it. The specific appliance that I want to install, doesn't
 support RAID 10, so I need to install RAID 1 + RAID 0, i.e. setting 2x
 RAID 1 mirrors, and then stripe then in RAID0 - but once the first 1
 mirrors are setup, I can't stripe them.

 I've seen people use LVM to add them to one volume, but the installer
 doesn't see to like that either

 Hmmm... 'specific appliance'.

 This doesn't sound like you are installing CentOS. This makes it
 *really* hard for us to help you since we have absolutely no idea what
 you are actually doing. ;)

 A) What are you actually doing?

 B) Do you have to have RAID10 during install or is it sufficient that
 you can build a data 'drive' after install?

 --
 Benjamin Franz
 ___


heh, I was a bit hesitant to say what it is, but it's fine I guess -
seeing as my previous post dealt on the matter of NAS devices :)

I'm installing Openfiler 2.3, which looks very very similar to the
CentOS installer. My reason for RAID 1+0 (like I said it doesn't
support RAID10) is for the higher level of redundancy  speed, and I
would like to utilize the drives to their max,

I've setup the /boot on sda1  sdc1 (100MB each) on RAID 1, and then
configured sda2, sdb2, sdc2, sdd2 as 4GB swap each (no RAID), then the
remainder on sda3, sdb3, sdc3  sdd3 as 2x RAID 1 mirrors - i.e. sda3
 sdc3 on /dev/md2  sdb3  sdd3 on /dev/md3.

Yet, I can't create another RAID, i.e. /dev/md4 of md2  md3 combined,
nor can I tell the LVM setup to span md2  md3 into the same volume.
So, now I'm stuck.

-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 9:15 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:

 Although they work, and do the same, the installer CD  mdadm needs to
 support it. The specific appliance that I want to install, doesn't
 support RAID 10, so I need to install RAID 1 + RAID 0, i.e. setting 2x
 RAID 1 mirrors, and then stripe then in RAID0 - but once the first 1
 mirrors are setup, I can't stripe them.

 Aren't you using CentOS, then? You didn't tell us that... My answer was
 based on the assumption that you were talking about CentOS...
 ___

No, I'm using Openfiler. To make a long story short, the CentOS 5.3
DVD that I have with me right now is corrupt, and then new one that I
downloaded yesterday is corrupt as well, I think our ISP's cache is
busted. So, I want to setup 1 of 2 servers with Openfiler (as a proof
of concept), and then the 2nd one with CentOS 5.3. But, the idea is to
download the missing / corrupt CentOS installer libs from another
repository once the Openfiler server is up  running.


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha
This page from openfiler.com clearly states the following:

Openfiler supports RAID 0, RAID 1, RAID 5, RAID 6 and RAID 10.

http://www.openfiler.com/products/openfiler-architecture
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 9:44 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:
 This page from openfiler.com clearly states the following:

 Openfiler supports RAID 0, RAID 1, RAID 5, RAID 6 and RAID 10.

 http://www.openfiler.com/products/openfiler-architecture
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Yet, I can't setup the RAID 10 they talk about, I only have RAID0,
RAID1, RAID5  RAID6 in the setup options, which is why I'm thinking
of doing this another way.

-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 5.3 with dkms-nvidia-x11-drv and gnome power manager sleep

2009-08-30 Thread Ryan Pugatch
Hi all,

On my ThinkPad T61, I am trying to get gnome power manager's sleep 
function to work properly.  When I bring my machine back up after sleep, 
I end up with just a black screen and nothing responding.. no capslock 
light when I hit capslock for example.  I am running the latest nvidia 
driver from rpmforge (I'm suspecting the nvidia driver isn't playing nice).

With Ubuntu I had to make a change in 
/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-el5-lenovo.fdi 
to get it to work.  This, unfortunately, didn't help in CentOS.

'echo mem  /sys/power/state' seems to work properly - the machine 
actually comes back up.  Whatever method G-P-M is using is not.

Can I make G-P-M use that command to suspend?  Or any ideas on how to 
make G-P-M's method work?

Thanks,

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha

 Then maybe there is something wrong with your partitioning scheme or 
 even physical layout. What drives do you have and how are they 
 partitioned? How are they physically connected?
   

I beg your pardon, I didn't see your previous post with the above 
information.

At this point, I think you should  undo the RAID 1 groups and revert to 
the 4 raw partitions marked as Linux Software Raid.
Then try to create a RAID 10 group. If the guys from openfiler say that 
it is possible... I see no reasons to doubt them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] A couple questions about Wine

2009-08-30 Thread Ron Blizzard
VirtualBox works great but, since I only really use one Windows
program (an older, specialized word processor called Movie Magic
Screenwriter), I'm thinking of using Wine to run it in CentOS and
getting rid of the Windows virtual machine. But a couple questions:

1) If I run Wine, do I introduce security or performance issues?

2) Is there any difference between Michael Harris' Wine repository and
the ones available through... wherever yum is picking it up? (Actually
it looks like it has two or three versions listed.)

Thanks for any recommendations. I like VirtualBox, but it seems like overkill.

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 9:53 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:

 Yet, I can't setup the RAID 10 they talk about, I only have RAID0,
 RAID1, RAID5  RAID6 in the setup options, which is why I'm thinking
 of doing this another way.


 Then maybe there is something wrong with your partitioning scheme or
 even physical layout. What drives do you have and how are they
 partitioned? How are they physically connected?
 ___


Sure, that's the first thing to check :)

I have 4x 250GB HDD's, and I partitioned them as follows:


/dev/sda1 - 100MB type software RAID
/dev/sda2 - 4096MB type swap
/dev/sda3 - 240GB type software RAID

/dev/sdb1 - 100MB type software RAID
/dev/sdb2 - 4096MB type swap
/dev/sdb3 - 240GB type software RAID

/dev/hdb1 - 100MB type software RAID
/dev/hdb2 - 4096MB type swap
/dev/hdb3 - 240GB type software RAID

/dev/hdd1 - 100MB type software RAID
/dev/hdd2 - 4096MB type swap
/dev/hdd3 - 240GB type software RAID



Now, from here I should have been able to create a RAID 10 device from
/sda3, sdb3, hdb3, hdd3 - but RAID 10 isn't available.


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 9:57 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:

 Then maybe there is something wrong with your partitioning scheme or
 even physical layout. What drives do you have and how are they
 partitioned? How are they physically connected?


 I beg your pardon, I didn't see your previous post with the above
 information.

 At this point, I think you should  undo the RAID 1 groups and revert to
 the 4 raw partitions marked as Linux Software Raid.
 Then try to create a RAID 10 group. If the guys from openfiler say that
 it is possible... I see no reasons to doubt them.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



There is no option to setup RAID 10.


But, let's get back to my previous request,

How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
RAID 0 on top of it) on say CentOS 4.6 ?


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Les Mikesell
Rudi Ahlers wrote:
 On Sun, Aug 30, 2009 at 9:50 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:
 This page from openfiler.com clearly states the following:

 Openfiler supports RAID 0, RAID 1, RAID 5, RAID 6 and RAID 10.

 http://www.openfiler.com/products/openfiler-architecture

 The page even shows the dialog box to create a RAID 10 group!
 ___

 
 What I could gather, is that the particular setup is only available
 one I have it setup, meaning I can't have RAID 10 running on the
 underlying OS.
 
 I don't know if this makes sense, but to get their RAID10, I first
 need to install it, then use the web interface to setup RAID 10.
 Instead I would like to have openfiler running on the RAID 10 setup as
 well.

You are probably better off if you don't mix the installed OS with the 
partitions you want to export, so you would use a small raid1 for the OS, then 
add everything else after it is up and running.  I'd do it that way for other 
distributions too, even if I eventually want /home or /var on different raid 
partitions.  It is easy enough to mount the new space under a temporary name, 
copy over the existing contents, rename the old directories and set up fstab to 
mount the new ones when you reboot.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha

 I don't know if this makes sense, but to get their RAID10, I first
 need to install it, then use the web interface to setup RAID 10.
 Instead I would like to have openfiler running on the RAID 10 setup as
 well.
   

I don't think that you have a significant gain by doing so. Aren't you 
being a little too rigid there?

It seems to me that it makes much more sense to install the OS in a 
separate partition, maybe on RAID1, and then create a RAID10 for your 
data with the help of the openfiler interface.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Miguel Medalha

 There is no option to setup RAID 10.


 But, let's get back to my previous request,

 How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
 RAID 0 on top of it) on say CentOS 4.6 ?

   

There is no option to setup RAID 10 because you are trying to create an 
unsupported configuration. You should separate the OS from the data area.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Les Mikesell
Rudi Ahlers wrote:
 On Sun, Aug 30, 2009 at 9:57 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:
 Then maybe there is something wrong with your partitioning scheme or
 even physical layout. What drives do you have and how are they
 partitioned? How are they physically connected?

 I beg your pardon, I didn't see your previous post with the above
 information.

 At this point, I think you should  undo the RAID 1 groups and revert to
 the 4 raw partitions marked as Linux Software Raid.
 Then try to create a RAID 10 group. If the guys from openfiler say that
 it is possible... I see no reasons to doubt them.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 
 
 There is no option to setup RAID 10.
 
 
 But, let's get back to my previous request,
 
 How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
 RAID 0 on top of it) on say CentOS 4.6 ?

Have you tried this the obvious way: using mdadm create for each step, giving 
the md devices created in the first step as the partitions for the RAID0 device?

But out of curiosity, why would you consider installing a CentOS 4.x now?


-- 
   Les Mikesell
lesmikes...@gmail

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] setup iptables to allow forwarding through eth1

2009-08-30 Thread Fitrah Elly Firdaus

Peter Peltonen wrote:

I have a fresh installed CentOS 5.3 server which should route traffic
between two networks like this:

network A (Internet) -- eth0 (default gw) : server : eth1 -- network B (LAN)

I have set in sysctl.conf

net.ipv4.ip_forward = 1

and routing works fine like this. But when I switch on the iptables
service (with default setup, configured when installing the server),
routing stops working (or at least I cannot ping a server in network A
from network B).  I guess the firewall is stopping it, so I read

http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-firewall-ipt-fwd.html

and issued the commands

# iptables -A FORWARD -i eth1 -j ACCEPT
# iptables -A FORWARD -o eth1 -j ACCEPT

but that did not help.

So I am asking: what is the correct iptables command to make forwarding work?

Regards,
Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

  

my iptables like that:

   * iptables --table nat --append POSTROUTING --out-interface eth0 -j
 MASQUERADE
   * iptables --append FORWARD --in-interface eth1 -j ACCEPT

Regards

Firdaus
i'm come from indonesia. :)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] gtk+-2.x?

2009-08-30 Thread Dave
Hello,
I'm trying to install a package that requires the gtk+-2.1.x
package. I've installed the following groups in preparation, development
tools, gnome-desktop, and am not seeing the rpm, i thought it was contained
within another. Does anyone know where i can obtain this rpm?
Thanks.
Dave.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Sun, Aug 30, 2009 at 10:57 PM, Les Mikeselllesmikes...@gmail.com wrote:
 Rudi Ahlers wrote:
 On Sun, Aug 30, 2009 at 9:57 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote:
 Then maybe there is something wrong with your partitioning scheme or
 even physical layout. What drives do you have and how are they
 partitioned? How are they physically connected?

 I beg your pardon, I didn't see your previous post with the above
 information.

 At this point, I think you should  undo the RAID 1 groups and revert to
 the 4 raw partitions marked as Linux Software Raid.
 Then try to create a RAID 10 group. If the guys from openfiler say that
 it is possible... I see no reasons to doubt them.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 There is no option to setup RAID 10.


 But, let's get back to my previous request,

 How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
 RAID 0 on top of it) on say CentOS 4.6 ?

 Have you tried this the obvious way: using mdadm create for each step, 
 giving
 the md devices created in the first step as the partitions for the RAID0 
 device?

 But out of curiosity, why would you consider installing a CentOS 4.x now?


 --
   Les Mikesell
    lesmikes...@gmail

 ___


Les, I have used SME Server 7.3 for a long time, with great success
which runs on CentOS 4.7, so I would like to be able todo it with SME
as well, since it doesn't support RAID 10.

I have tried mdam in the shell, but was told RAID 10 wasn't supported.
I forgot the exact messages, but it was something like invalid RAID
level. I could set RAID 5  6 though.



-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] A couple questions about Wine

2009-08-30 Thread Christopher Chan
Ron Blizzard wrote:
 VirtualBox works great but, since I only really use one Windows
 program (an older, specialized word processor called Movie Magic
 Screenwriter), I'm thinking of using Wine to run it in CentOS and
 getting rid of the Windows virtual machine. But a couple questions:

 1) If I run Wine, do I introduce security or performance issues?
   
Security...no...performance...is that with regards to the rest of the os 
or the program or in comparison with having Windows in a sandbox like 
Virtualbox?


 2) Is there any difference between Michael Harris' Wine repository and
 the ones available through... wherever yum is picking it up? (Actually
 it looks like it has two or three versions listed.)
   

No comment there but if you run/install anything above wine 1.0 it 
should be that best deal you can get for running Windows programs under 
Linux.

 Thanks for any recommendations. I like VirtualBox, but it seems like overkill.

   


If the program runs under Wine, then yeah...overkill.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Rudi Ahlers
On Mon, Aug 31, 2009 at 3:12 AM, natecen...@linuxpowered.net wrote:
 Rudi Ahlers wrote:

 How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
 RAID 0 on top of it) on say CentOS 4.6 ?

 Setup both RAID-1 arrays then stripe them with LVM?

 http://www.redhat.com/magazine/009jul05/features/lvm2/

 Though I'd prefer to opt for a hardware raid card, I think
 you said you had SATA disks, which if that's the case would
 go for a 3ware.

 nate


 ___


Nate, this is what I was looking for  :)

I'm going away for 2 weeks now, but will definitely give it a shot as
soon as I can,



-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Christopher Chan

 How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and then a
 RAID 0 on top of it) on say CentOS 4.6 ?
   
 Setup both RAID-1 arrays then stripe them with LVM?

 http://www.redhat.com/magazine/009jul05/features/lvm2/

 Though I'd prefer to opt for a hardware raid card, I think
 you said you had SATA disks, which if that's the case would
 go for a 3ware.

 nate


 ___
 


 Nate, this is what I was looking for  :)

 I'm going away for 2 weeks now, but will definitely give it a shot as
 soon as I can,

   

I would NOT do that. You should like the md layer handle all things raid 
and let lvm do just volume management.


To create a raid1+0 array, you first create the mirrors and then you 
create a striped array that consists of the mirror devices. There is 
another raid10 module that does its own thing with regards to 'raid10', 
is not supported by the installer and does not necessarily behave like 
raid1+0.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] gcc: fork: can not allocate memory

2009-08-30 Thread Dave
Hello,
The above is on a CentOS 5.3 machine, a vps actually. I started
seeing it a few weeks ago when i was trying to get an ssh-key program called
keychain going. It required an entry in ~/.bash_profile after that i started
seeing the above error and compiles kept failing or tasks wouldn't complete.
I commented out the lines that started keychain, and for measure rebooted
the box. For the second time in the past 24 hours i'm seeing this error
again. I've never seen it before and am open to suggestions.
Thanks a lot.
Dave.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Christopher Chan
Miguel Medalha wrote:
 Can someone please assist met with some software RAID 1+0 setup
 instructions? I have searched the web, but couldn't find any. I found
 a lot of RAID 10 setup instructions, but it doesn't help me.
   
 

 As Oliver Ransom replied to you, RAID 1+0 (not to be confused with RAID 
 0+1) is RAID 10. mdadm has direct support for RAID 10. I am using it on 
 CentOS 5.3 and it works really well.
   
RAID 1+0 is NOT RAID 10. raid 1+0 is achieved using the combination of 
raid1 and raid0 personalities. Raid10 is a different animal and has its 
own personality. (personality as reported by 'cat /proc/mdstat' aka md 
modules)

raid10 was only introduced in 2.6.9 and Oliver's link clearly shows that 
it is 'Non-standard' or not raid1+0.


 You might be interested in this article:

 Why is RAID 1+0 better than RAID 0+1?
 http://aput.net/~jheiss/raid10/
   


The whole raid1+0 or raid0+1 argument was really only relevant in the 
days of pata when one disk dying on one channel might take out the other 
disk on the same channel or the controller. Now that we are using SATA, 
it is MOOT.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Oliver Ransom

On 31/08/2009, at 1:11 PM, Christopher Chan wrote:

 Miguel Medalha wrote:
 Can someone please assist met with some software RAID 1+0 setup
 instructions? I have searched the web, but couldn't find any. I  
 found
 a lot of RAID 10 setup instructions, but it doesn't help me.



 As Oliver Ransom replied to you, RAID 1+0 (not to be confused with  
 RAID
 0+1) is RAID 10. mdadm has direct support for RAID 10. I am using  
 it on
 CentOS 5.3 and it works really well.

 RAID 1+0 is NOT RAID 10. raid 1+0 is achieved using the combination of
 raid1 and raid0 personalities. Raid10 is a different animal and has  
 its
 own personality. (personality as reported by 'cat /proc/mdstat' aka md
 modules)

 raid10 was only introduced in 2.6.9 and Oliver's link clearly shows  
 that
 it is 'Non-standard' or not raid1+0.

RAID 10 and 1+0 are referred to interchangeably in the  
Nested_RAID_levels article, RAID 1+0, sometimes called RAID 10, or  
RAID 10.

I'm a bit confused now!



 You might be interested in this article:

 Why is RAID 1+0 better than RAID 0+1?
 http://aput.net/~jheiss/raid10/



 The whole raid1+0 or raid0+1 argument was really only relevant in the
 days of pata when one disk dying on one channel might take out the  
 other
 disk on the same channel or the controller. Now that we are using  
 SATA,
 it is MOOT.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] looking for RAID 1+0 setup instructions?

2009-08-30 Thread Christopher Chan
Oliver Ransom wrote:
 On 31/08/2009, at 1:11 PM, Christopher Chan wrote:

   
 Miguel Medalha wrote:
 
 Can someone please assist met with some software RAID 1+0 setup
 instructions? I have searched the web, but couldn't find any. I  
 found
 a lot of RAID 10 setup instructions, but it doesn't help me.


 
 As Oliver Ransom replied to you, RAID 1+0 (not to be confused with  
 RAID
 0+1) is RAID 10. mdadm has direct support for RAID 10. I am using  
 it on
 CentOS 5.3 and it works really well.

   
 RAID 1+0 is NOT RAID 10. raid 1+0 is achieved using the combination of
 raid1 and raid0 personalities. Raid10 is a different animal and has  
 its
 own personality. (personality as reported by 'cat /proc/mdstat' aka md
 modules)

 raid10 was only introduced in 2.6.9 and Oliver's link clearly shows  
 that
 it is 'Non-standard' or not raid1+0.
 

 RAID 10 and 1+0 are referred to interchangeably in the  
 Nested_RAID_levels article, RAID 1+0, sometimes called RAID 10, or  
 RAID 10.

 I'm a bit confused now!

When it comes to Linux software raid, the raid10 module does things 
differently from what you get from a combination of raid1 + raid0. When 
it comes to hardware raid, raid10 is very likely to mean raid1+0.

The problem is that that chum behind the raid10 module chose a name that 
was not at that time strictly defined and people would use raid10 in 
their articles to mean raid1+0. The raid10 module can do something 
similar to what you get with raid1+0 but it can also do completely 
different things in the way it handles data. You can for example have 
three disks and get a 'raid10' array. You do not have to have an even 
number of disks to create a 'raid10' device with the raid10 module.

http://neil.brown.name/blog/20040827225440

BTW, the raid10 module does not have the same reputation as the raid1 
and raid0 modules...even the raid5 module did not have a good reputation 
five years ago sometime around when raid10 was introduced and the raid5 
module has been around for some time then.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] log rotation not writing to new logs

2009-08-30 Thread Matthias Blankenhaus

--- On Sun, 8/30/09, Dave dave.meh...@gmail.com wrote:

 Hello,
     I've got a centos 5.3 machine that is
 running services http and ftp
 whih are the two services i've noticed this on. When log
 rotation happens
 the old logs are renamed and compressed, but new logs httpd
 and pure-ftpd
 have zero lengths. From that poing log writing is not
 working. I've tried
 shutting down rsyslog and both httpd and pure-ftpd and
 restarting them, this
 is not working. I am open to suggestions.
 Thanks.
 Dave.

Dave,

please post your log rotation configuration.  

Matthias  



 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mysql error

2009-08-30 Thread Michael Wright
Hi List i'm trying to setup my sever but in my terimal all i seam get is this 
message but cant go on .

could someone help us out 

many thx's
Mike

yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.optus.net
 * updates: mirror.optus.net
 * addons: mirror.optus.net
 * extras: mirror.optus.net
Setting up Install Process
Parsing package install arguments
Package mysql-5.0.45-7.el5.i386 already installed and latest version
Package mysql-server-5.0.45-7.el5.i386 already installed and latest version
Nothing to do
[r...@localhost bcm]# chkconfig --levels 235 mysqld on
bash: chkconfig: command not found
[r...@localhost bcm]# /etc/init.d/mysqld start
Starting MySQL:[  OK  ]
[r...@localhost bcm]# mysqladmin -ucountry
mysqladmin  Ver 8.41 Distrib 5.0.45, for redhat-linux-gnu on i686
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Administration program for the mysqld daemon.
Usage: mysqladmin [OPTIONS] command command
  -c, --count=#   Number of iterations to make. This works with -i
  (--sleep) only.
  -#, --debug[=name]  Output debug log. Often this is 'd:t:o,filename'.
  -f, --force Don't ask for confirmation on drop database; with
  multiple commands, continue even if an error occurs.
  -C, --compress  Use compression in server/client protocol.
  --character-sets-dir=name
  Directory where character sets are.
  --default-character-set=name
  Set the default character set.
  -?, --help  Display this help and exit.
  -h, --host=name Connect to host.
  -p, --password[=name]
  Password to use when connecting to server. If password is
  not given it's asked from the tty.
  -P, --port=#Port number to use for connection.
  --protocol=name The protocol of connection (tcp,socket,pipe,memory).
  -r, --relative  Show difference between current and previous values when
  used with -i. Currently works only with extended-status.
  -O, --set-variable=name
  Change the value of a variable. Please note that this
  option is deprecated; you can set variables directly with
  --variable-name=value.
  -s, --silentSilently exit if one can't connect to server.
  -S, --socket=name   Socket file to use for connection.
  -i, --sleep=#   Execute commands again and again with a sleep between.
  --ssl   Enable SSL for connection (automatically enabled with
  other flags). Disable with --skip-ssl.
  --ssl-ca=name   CA file in PEM format (check OpenSSL docs, implies
  --ssl).
  --ssl-capath=name   CA directory (check OpenSSL docs, implies --ssl).
  --ssl-cert=name X509 cert in PEM format (implies --ssl).
  --ssl-cipher=name   SSL cipher to use (implies --ssl).
  --ssl-key=name  X509 key in PEM format (implies --ssl).
  --ssl-verify-server-cert
  Verify server's Common Name in its cert against
  hostname used when connecting. This option is disabled by
  default.
  -u, --user=name User for login if not current user.
  -v, --verbose   Write more information.
  -V, --version   Output version information and exit.
  -E, --vertical  Print output vertically. Is similar to --relative, but
  prints output vertically.
  -w, --wait[=#]  Wait and retry if connection is down.
  --connect_timeout=#
  --shutdown_timeout=#

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
- -
count 0
force FALSE
compress  FALSE
character-sets-dir(No default value)
default-character-set (No default value)
host  (No default value)
port  0
relative  FALSE
socket(No default value)
sleep 0
ssl   FALSE
ssl-ca(No default value)
ssl-capath(No default value)
ssl-cert  (No default value)
ssl-cipher(No default value)
ssl-key   (No default value)
ssl-verify-server-certFALSE
user  country
verbose   FALSE
vertical  FALSE
connect_timeout   43200
shutdown_timeout  3600

Default options are read from the following files 

Re: [CentOS] mysql error

2009-08-30 Thread Drew
 [r...@localhost bcm]# mysqladmin -ucountry

You're getting that because -ucountry isn't a valid flag for
mysqladmin. Did you mean to log into the MySQL server as user
country? If so put a space after the -u


-- 
Drew

Nothing in life is to be feared. It is only to be understood.
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mysql error

2009-08-30 Thread Michael Wright
thax's for that drew i will try that 

Mike
- Original Message - 
From: Drew drew@gmail.com
To: CentOS mailing list centos@centos.org
Sent: Monday, August 31, 2009 3:27 PM
Subject: Re: [CentOS] mysql error


 [r...@localhost bcm]# mysqladmin -ucountry
 
 You're getting that because -ucountry isn't a valid flag for
 mysqladmin. Did you mean to log into the MySQL server as user
 country? If so put a space after the -u
 
 
 -- 
 Drew
 
 Nothing in life is to be feared. It is only to be understood.
 --Marie Curie
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos