Re: [CentOS-virt] Bridge configuration on Xen 3.2+
- Yukio Yamaishi yukio.yamai...@gmail.com wrote: Hi All, I'm using xen 3.0 on CentOS 5 with VLAN. #vconfig add eth0 100 #/etc/xen/script/network-bridge start vifnum=1 netdev=eth0 bridge=xenbr0.100 I know that after xen 3.2 the procedure of bridge configuration is changed. What is the correct command to set bridge interface to vlan? Add the VLAN interface to a bridge just for that VLAN traffic and then use that bridge for your guests. -- Christopher G. Stach II http://ldsys.net/~cgs/ ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-es] Montar Disco Duro
2009/12/9 Gustavo Riego gustavo_ri...@tigo.com.py: Hola yo soy nuevo en Linux, siempre trabaje en Windows y ahora estoy queriendo aprender a utilizar Centos. Yo instale centos en un disco duro y ahora estoy queriendo agregar un disco duro de una maquina que tenia Linux Ubuntu y tiene mucha información que salvar, me podrían dar los pasos por favor para montar este disco duro en centos para que yo pueda copiar la información y luego formatear este disco. 1. Conectas el disco y enciendes el equipo 2. Ingresas al sistema CentOS como root 3. Averiguas cómo quedó denominado tu nuevo disco con el comando fdisk -l. Cada disco aparece descripto por un bloque de información parecida a esto: Disk /dev/sda: 60.0 GB255 heads, 63 sectors/track, 7296 cylinders, 60011642880 bytes Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 13187255995467 HPFS/NTFS /dev/sda231883200 104422+ 83 Linux /dev/sda332017264326440805 Extended /dev/sda472657296 257040 88 Linux plaintext /dev/sda53201726432644048+ 8e Linux LVM Lo importante es ubicar qué nombre recibió el nuevo disco (/dev/sda, /dev/sdb, etc.) y cómo se llama la partición que quieres montar (/dev/sdb1, /dev/sdb2, etc.). Digamos que se llama /dev/sdb2 y que es de tipo 83 Linux. Es *muy importante* que estés seguro de cuál es la partición correcta. 4. Preparas un directorio para montar esa partición, donde quieras: mkdir /disconuevo 5. Montas la partición diciendo mount -t ext3 /dev/sdb2 /disconuevo 6. Ahora accedes a todos los archivos en ese sistema de archivos bajo el directorio /disconuevo. Los archivos tendrán el mismo nombre que antes pero con /disconuevo como prefijo. Copias todo lo que quieras por ejemplo con cp -r /disconuevo/home/gustavo /root. 7. Una vez que has sacado todo lo que te interesaba, puedes desmontar (umount /disconuevo) y darle formato (mkfs -t ext3 /dev/sdb2). El filesystem desaparece y ya no están más los archivos.*Cuidado con equivocarte aquí, ok?* 8. Para montar automáticamente esa partición al próximo arranque agrega una línea al archivo /etc/fstab copiando por ejemplo la de /boot. Podría quedar así: /dev/sdb2 /disconuevo ext3defaults0 0 El directorio /disconuevo ahora puede ser otro, con un nombre más cómodo. Puedes repetir el proceso y montar así todas las demás particiones. Si quieres destruir la tabla de particiones del nuevo disco para dejar todo un solo bloque, puedes hacerlo con fdisk. Repitamos una vez más que todo este proceso implica riesgos para tu sistema si lo haces mal, así que *Cuidado con equivocarte, ok?* -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] AYUDA PARA CREAR IMAGEN DE MI SERVIDOR
HOLA LISTEROS, MI PREGUNTA ES SI EXISTE ALGÚN TIPO DE SOFTWARE PARA RESPALDAR TODO MI SERVIDOR CENTOS EN IMAGENES ISO PARA PODER SACAR RESPALDOS EN DVD, Y QUE SE CREE UN TIPO DE INSTALADOR CON TODOS LOS PAQUETES Q YO TENGO INSTALADO, INCLUIDO LAS MODIFICACIONES QUE HE REALIZADO EN ALGUNOS ARCHIVOS, Y MIS PROPIOS SCRIPTS. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] AYUDA PARA CREAR IMAGEN DE MI SERVIDOR
Hola has probado ghost for linux (G4L) te dejo el link http://sourceforge.net/projects/g4l/ Atte. Mario Ganga Castro. 2009/12/10 Jorge Herrera jorge20...@yahoo.es HOLA LISTEROS, MI PREGUNTA ES SI EXISTE ALGÚN TIPO DE SOFTWARE PARA RESPALDAR TODO MI SERVIDOR CENTOS EN IMAGENES ISO PARA PODER SACAR RESPALDOS EN DVD, Y QUE SE CREE UN TIPO DE INSTALADOR CON TODOS LOS PAQUETES Q YO TENGO INSTALADO, INCLUIDO LAS MODIFICACIONES QUE HE REALIZADO EN ALGUNOS ARCHIVOS, Y MIS PROPIOS SCRIPTS. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Router en Linux con CentOS (Paúl V izuete)
podrias utilizar un router vyatta www.vyatta.com/ http://blacklunaredes.blogspot.com/2009/07/configuracion-basica-de-vyatta.html Saludos Paúl Vizuete Universidad Central del Ecuador ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Red Hat Liberó a la comunidad su pro tocolo para escritorios virtuales
El protocolo, llamado SPICE pasó a manos de Red Hat en 2008 con su adquisición de su empresa creadora Qumranet. Este tecnología es diseñada para escritorios que usan servidores remotos para procesamiento de datos, SPICE mejora la experiencia del usuario renderizando las aplicaciones de consumo de ancho de banda intensivo, como VoIP y video. La noticia mas completa esta en [1]. [1]: http://www.informationweek.com/news/software/open_source/showArticle.jhtml?articleID=222001376cid=RSSfeed_IWK_Allutm_source=twitterfeedutm_medium=twitter Gracias -- Juan Pablo Botero Administrador de Sistemas informáticos Fedora Ambassador for Colombia http://www.jpilldev.com Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda con Iptables
2009/12/10 mauricio mauri...@efts.uo.edu.cu: Alguien me puede mandar algun ejemplo de reglas de iptables para hacer una pc como pcrouter. Para hacer funcionar una PC Linux como router básicamente sólo hace falta activar la función de forwarding (que no depende de iptables)... pero hay muchas funciones que puedes implementar con iptables... Deberías darnos un poco más de info sobre lo que quieres hacer, o bien pasar antes por. http://wiki.centos.org/es/HowTos/Network/IPTables Y luego nos cuentas si te quedan dudas. Una opción fácil para crear un router con políticas de acceso puede ser quicktables (http://freshmeat.net/projects/quicktables), que te pregunta en humano cuál va a ser tu política, y luego implementa un script con las reglas de iptables convenientes. Luego puedes ver cómo está hecho ese script, y modificarlo a gusto. -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Particionamiento en Linux
Buenas tardes, estoy haciendo pruebas y quería saber si varias versiones de Linux cada una en una partición pueden compartir la partición Swap? Además otra duda es si la instalación es con la partición cifrada, crea una partición de arranque, esta partición también se puede compartir? Más que nada por optimizar recursos. Gracias a todos. Un Saludo. Rodrigo García. E-Mail: rodry1...@yahoo.es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Montar Disco Duro
mount -t ext2/3 /dev/hda/sda /mnt/disconuevo ext2/3 es para que escoja el formato y lo mismo pasa con /dev/hda/sda El día 09/12/09, Gustavo Riego gustavo_ri...@tigo.com.py escribió: Hola yo soy nuevo en Linux, siempre trabaje en Windows y ahora estoy queriendo aprender a utilizar Centos. Yo instale centos en un disco duro y ahora estoy queriendo agregar un disco duro de una maquina que tenia Linux Ubuntu y tiene mucha información que salvar, me podrían dar los pasos por favor para montar este disco duro en centos para que yo pueda copiar la información y luego formatear este disco. Espero su respuesta Saludos Gustavo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Cordialmente; Ricardo Isaza Soporte Tel (1)3712305 Bogota www.puntodered.com ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Router en Linux con CentOS
Tambien puedes buscar como balanceo de cargas te puedes encontrar con router y marcado de paquetes El día 09/12/09, Alvaro Schneider Guevara alvaro.schnei...@iguanae.com escribió: Un saludo a todos. Me pregunto si es posible parametrizar un sistema CentOS para que enrute dos canales de Internet a lo largo de una LAN. Este _router_ tendría tres NIC, siendo eth0 y eth1 las conexiones externas y eth2 la conexión LAN que serviría de puerta de enlace para las estaciones de trabajo. El propósito es optimizar el ancho de banda uniendo ambos canales, y en caso de que algún canal falle, que los demás equipos no pierdan la conexión a Internet. ¿Es posible? ¿demasiado complicado? Buscando en la red encontre algo que podría estar cerca: http://linux-ip.net/html/adv-multi-internet.html pero no estoy seguro de si es lo que necesito. Muchísimas gracias por su colaboración. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Cordialmente; Ricardo Isaza Soporte Tel (1)3712305 Bogota www.puntodered.com ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Router en Linux con CentOS
2009/12/10 Ricardo Isaza sopo...@puntodered.com: Tambien puedes buscar como balanceo de cargas te puedes encontrar con router y marcado de paquetes El día 09/12/09, Alvaro Schneider Guevara alvaro.schnei...@iguanae.com escribió: Un saludo a todos. Me pregunto si es posible parametrizar un sistema CentOS para que enrute dos canales de Internet a lo largo de una LAN. Este _router_ tendría tres NIC, siendo eth0 y eth1 las conexiones externas y eth2 la conexión LAN que serviría de puerta de enlace para las estaciones de trabajo. El propósito es optimizar el ancho de banda uniendo ambos canales, y en caso de que algún canal falle, que los demás equipos no pierdan la conexión a Internet. ¿Es posible? ¿demasiado complicado? Buscando en la red encontre algo que podría estar cerca: http://linux-ip.net/html/adv-multi-internet.html pero no estoy seguro de si es lo que necesito. Muchísimas gracias por su colaboración. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Cordialmente; Ricardo Isaza Soporte Tel (1)3712305 Bogota www.puntodered.com ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Ya conteste en la lista de correo en ingles... Pfsense, search no further ;-) -- Linux User #452368 http://twitter.com/vpadro Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] (sin asunto)
2009/12/10 O§many Oconnor ocon...@gera.uo.edu.cu: Saludos a todos. soy nuevo en los quehaceres de la administraci'on de CentOS y me gustaria contar con algunos documentos basicos, si me pudiera ayudar. por ahora estoy probando comandos que utilizaba en consolas de comandos y me gustar'ia contar con otros. Puedes empezar por acá: http://wiki.centos.org/es/Documentation Los documentos completos de Red Hat en castellano están acá (se aplican prácticamente sin cambios a CentOS): http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/es-ES/index.html -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] (sin asunto)
2009/12/10 O§many Oconnor ocon...@gera.uo.edu.cu: Saludos a todos. soy nuevo en los quehaceres de la administraci'on de CentOS y me gustaria contar con algunos documentos basicos, si me pudiera ayudar. por ahora estoy probando comandos que utilizaba en consolas de comandos y me gustar'ia contar con otros. a todos muchas gracias http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html http://www.google.com/linux?hl=enq=comandos+linuxbtnG=Search http://wiki.centos.org/ En una consola presiona dos veces TAB y te mostrara cientos de comandos. Para saber mas sobre ellos: man comando. Para saber mas sobre man: man man En esta web hay disponible un libro completo sobre como instalar, configurar y usar diferentes servicios sobre centos. Es el segundo de la siguiente lista: http://www.alcancelibre.org/filemgmt/ Saludos -- __ O§many Oconnor AdminNet -Contramaestre- [UO] phone: 587158;587325 E-Mail: ocon...@gera.uo.edu.cu ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] (sin asunto)
Ve a la pagina http://www.alcancelibre.org/filemgmt/visit.php?lid=1 para el manual Implementacion de Servidores Linux CentOs El 10 de diciembre de 2009 07:00, O§many Oconnor ocon...@gera.uo.edu.cuescribió: Saludos a todos. soy nuevo en los quehaceres de la administraci'on de CentOS y me gustaria contar con algunos documentos basicos, si me pudiera ayudar. por ahora estoy probando comandos que utilizaba en consolas de comandos y me gustar'ia contar con otros. a todos muchas gracias -- __ O§many Oconnor AdminNet -Contramaestre- [UO] phone: 587158;587325 E-Mail: ocon...@gera.uo.edu.cu ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Rafa ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Montar Disco Duro
También puedes usar un live CD de Ubuntu, Fedora o de la distribución que prefieras en cualquiera de los 2 computadores (el de Centos o el de Ubuntu) con los 2 discos instalados. Y desde allí pasas la información que quieres respaldar del un disco al otro mientras también navegas, haces búsquedas o revisas lo que esa distribución trae. Además puedes formatear el disco con Gparted (herramienta con funcionamiento similar a Partition Magic). Todo esto en modo gráfico, yo utilizo este método con relativa frecuencia porque no soy un experto en GNU/Linux y teniendo cuidado no se me han presentado inconvenientes, lo hago para reparticionar discos con NTFS y dejar espacio para instalar alguna GNU/Linux, incluso para revisar archivos de configuración de servidores y así aprendo cómo otros hicieron su trabajo o cuando he cometido algún error en alguna configuración y mi distribución no arranca, entonces me resulta fácil arreglarla desde el live CD. mount -t ext2/3 /dev/hda/sda /mnt/disconuevo ext2/3 es para que escoja el formato y lo mismo pasa con /dev/hda/sda El día 09/12/09, Gustavo Riego gustavo_ri...@tigo.com.py escribió: Hola yo soy nuevo en Linux, siempre trabaje en Windows y ahora estoy queriendo aprender a utilizar Centos. Yo instale centos en un disco duro y ahora estoy queriendo agregar un disco duro de una maquina que tenia Linux Ubuntu y tiene mucha información que salvar, me podrían dar los pasos por favor para montar este disco duro en centos para que yo pueda copiar la información y luego formatear este disco. Espero su respuesta Saludos Gustavo _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda con Iptables
Mira esta pagina y te ayudara mucho http://easyfwgen.morizot.net/gen/ Saludos Raúl Eduardo Arboleda Zapata Ingeniero de Sistemas Unninca Cel +573 300 620 66 13 +573 312 288 90 86 Medellín, Antioquia Colombia, S.A. -Mensaje original- De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En nombre de mauricio Enviado el: jueves, 10 de diciembre de 2009 08:39 a.m. Para: centos-es@centos.org Asunto: [CentOS-es] Ayuda con Iptables Alguien me puede mandar algun ejemplo de reglas de iptables para hacer una pc como pcrouter. Mauricio Yañes Cervantes ® Administrador de Red Escuela Formadora de Trabajadores Sociales de Santiago de Cuba. e_mail: mauri...@efts.uo.edu.cu Tel: 645404 Ext 135 137 -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. For all your IT requirements visit: http://www.transtec.co.uk ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Is lsb 3.2+ detrimental to CentOS 5.4?
2009/12/10 MHR mhullr...@gmail.com I found out today that Google Chrome is now available for Linux. However, and this is a big but: $ sudo rpm -ivh google-chrome-beta_current_x86_64.rpm Password: warning: google-chrome-beta_current_x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7fac5991 error: Failed dependencies: lsb = 3.2 is needed by google-chrome-beta-4.0.249.30-33928.x86_64 xdg-utils is needed by google-chrome-beta-4.0.249.30-33928.x86_64 $ yum list | grep -i lsb redhat-lsb.i3863.1-12.3.EL.el5.centos installed redhat-lsb.x86_64 3.1-12.3.EL.el5.centos installed I'm not that familiar with lsb, but from what I can find, it does not seem like it would be a good idea to install a more recent version of lsb than the official release, or am I way off base here? I can get xdg-utils easily enough, but it doesn't seem relevant if I can't use the newer lsb. So, is it possible to use lsb 3.2+ on CentOS 5.4 without breaking anything? Is there anything else I'd need to do, other than convert to Fedora (not going to happen)? Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I tried this yesterday on my 32 bit 5.4 box, installed xdg, removed lsb and installed the F10 lsb which is 3.2 or higher. This alone doesn't seem to break anything as such so I then installed the google-chrome-beta rpm. This installed OK now but when I ran chrome I got this 'libexpat.so.1 not found' 5.4 has version 0.5.0 of this. I stopped here, it looks as though CentOS is just to far behind the edge for Chrome -- Steve Hamblett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux router with CentOS
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alvaro Schneider Guevara Sent: Thursday, December 10, 2009 1:40 AM To: centos@centos.org Subject: [CentOS] Linux router with CentOS Hello everybody. I'm wondering here if is it possible to setup a CentOS machine as a router for two Internet connections in a LAN. This _router_ would work as the gateway for the workstations using DHCPD. The purpose of this is to optimize the broadband joining both connections, and given the case, do not lose the Internet access. You’d be better off with dedicated firewall-distro like, Smoothwall et al. Html should be off in mails. -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ntp update version
I noticed that although I'd fetched the latest update to ntp from the mirror it wasn't being installed. It seems that the version numbers have got out of step. According to the changelog the update that was released in August should have had the version number 4.2.0.a.20040617-8.el4_7.2, whereas in CentOS it's actually 4.2.0.a.20040617-8.el4_8.2. The changelog says the latest update is 4.2.0.a.20040617-8.el4_8.1, which is what CentOS has, but that's a lower version than the August update. Ron ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
[off list] Thanks for your eMail, Ross. So, reading all the stuff here I'm really concerned about moving all our data to such a system. The reason we're moving is mainly, but not only the longisch fsck UFS (FreeBSD) needs after a crash. XFS seemed to me to fit perfectly as I never had issues with fsck here. However, this discussion seems to change my mindset. So, what would be an alternative (if possible not using hardware RAID controllers, as already mentioned)? ext3 is not, here we have long fsck runs, too. Even ext4 seems not too good in this area... I thought 3ware would have been good. Their cards have been praised for quite some time...have things changed? What about Adaptec? Well, for me the recommended LSI is okay as it's my favorite vendor, too. I used to abandon Adaptec quite a while ago and my optinion was confirmed when the OpenBSD vs. Adaptec discussion came up. However, the question on the hardware RAID's vendor is totally independent from the file system discussion. Oh yeah it is. If you use hardware raid, you do not need barriers and can afford to turn it off for better performance or use LVM for that matter. Hi, this ist off list: Could you please explain me the LVM vs. barrier thing? AFAIU, one should turn off write caches on HDs (in any case), and -- if there's a BBU backed up RAID controller -- use this cache, but turn off barriers. When does LVM come into play here? Thanks in advance! :) I re-read XFS's FAQ on this issues, seems to me that we have to set up two machines in the lab, one purely software RAID driven, and one with a JBOD configured hardware RAID controller, and then benchmark and stress testing the setup. JBOD? You plan to use software raid with that? Why?! Mainly due to better manageability and monitoring. Honestly, all the proprietary tools are not the best. Timo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ntp update version
On Thu, Dec 10, 2009 at 1:17 AM, Ron Yorston r...@tigress.co.uk wrote: I noticed that although I'd fetched the latest update to ntp from the mirror it wasn't being installed. It seems that the version numbers have got out of step. According to the changelog the update that was released in August should have had the version number 4.2.0.a.20040617-8.el4_7.2, whereas in CentOS it's actually 4.2.0.a.20040617-8.el4_8.2. The changelog says the latest update is 4.2.0.a.20040617-8.el4_8.1, which is what CentOS has, but that's a lower version than the August update. You may want to check upon this CentOS bug report: http://bugs.centos.org/view.php?id=4060 Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
Timo Schoeler wrote: [off list] Thanks for your eMail, Ross. So, reading all the stuff here I'm really concerned about moving all our data to such a system. The reason we're moving is mainly, but not only the longisch fsck UFS (FreeBSD) needs after a crash. XFS seemed to me to fit perfectly as I never had issues with fsck here. However, this discussion seems to change my mindset. So, what would be an alternative (if possible not using hardware RAID controllers, as already mentioned)? ext3 is not, here we have long fsck runs, too. Even ext4 seems not too good in this area... I thought 3ware would have been good. Their cards have been praised for quite some time...have things changed? What about Adaptec? Well, for me the recommended LSI is okay as it's my favorite vendor, too. I used to abandon Adaptec quite a while ago and my optinion was confirmed when the OpenBSD vs. Adaptec discussion came up. However, the question on the hardware RAID's vendor is totally independent from the file system discussion. Oh yeah it is. If you use hardware raid, you do not need barriers and can afford to turn it off for better performance or use LVM for that matter. Hi, this ist off list: Could you please explain me the LVM vs. barrier thing? AFAIU, one should turn off write caches on HDs (in any case), and -- if there's a BBU backed up RAID controller -- use this cache, but turn off barriers. When does LVM come into play here? Thanks in advance! :) No, barriers are specifically to allow you to turn on write caches on HDs and not lose data. Before barriers, fsync/fsyncdata lied. They would return before data hit the platters. With barriers, fsync/fsyncdata will return only after data hit the platters. However, the dm layer does not support barriers so you need to turn write caches off if you care about data with lvm and you have no bbu cache to use. If you use a hardware raid card with bbu cache, you can use lvm without worrying and if not using lvm, you can (should in the case of XFS) turn off barriers. I re-read XFS's FAQ on this issues, seems to me that we have to set up two machines in the lab, one purely software RAID driven, and one with a JBOD configured hardware RAID controller, and then benchmark and stress testing the setup. JBOD? You plan to use software raid with that? Why?! Mainly due to better manageability and monitoring. Honestly, all the proprietary tools are not the best. 3dm2 for 3ware was pretty decent whether http or cli... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] find latest version of rpms from a mirror
From: john blair mailtome200420032...@yahoo.com I want to write a script to find the latest version of rpm of a given package available from a mirror for eg: http://mirror.centos.org/centos/5/os/x86_64/CentOS/ Is there any existing script that does this? Or can someone give me a general idea on how to go about this? Example: URL='http://mirror.centos.org/centos/5/os/x86_64/CentOS/' PKG=... links -dump $URL | grep $URL$PKG-[0-9] | cut -f2 -d' ' Replace with 'cut -d'/' -f9' if you don't want the full URL... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Quagga ECMP
Hello, does anybody know if quagga for CentOS 5.3 is compiled with -enable-multipath? I want to implement ECMP over 2 ISP. Thanks, Cristi Carstea ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Screen capture in Terminal
I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
On Thu, Dec 10, 2009 at 08:05:06AM -0500, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. Would script take care of it for you? John -- I want a government small enough to fit inside the Constitution. -- DownsizeDC.org co-founder Harry Browne (1933-2006) pgp6uVCxljWxq.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Quagga ECMP
On Thu, Dec 10, 2009 at 7:42 AM, Cristian Carstea c...@crisnet.ro wrote: Hello, does anybody know if quagga for CentOS 5.3 is compiled with -enable-multipath? I want to implement ECMP over 2 ISP. You can look in the /boot/config-* files. Those are the configs that it was built with. In my 5.4 system: [r...@xm-c32-001 boot]# grep -i multipath config-2.6.18-128.2.1.el5xen CONFIG_IP_ROUTE_MULTIPATH=y # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set CONFIG_MD_MULTIPATH=m CONFIG_DM_MULTIPATH=m CONFIG_DM_MULTIPATH_EMC=m CONFIG_DM_MULTIPATH_RDAC=m CONFIG_DM_MULTIPATH_HP=m ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
On Dec 10, 2009, at 4:28 AM, Timo Schoeler timo.schoe...@riscworks.net wrote: [off list] Thanks for your eMail, Ross. So, reading all the stuff here I'm really concerned about moving all our data to such a system. The reason we're moving is mainly, but not only the longisch fsck UFS (FreeBSD) needs after a crash. XFS seemed to me to fit perfectly as I never had issues with fsck here. However, this discussion seems to change my mindset. So, what would be an alternative (if possible not using hardware RAID controllers, as already mentioned)? ext3 is not, here we have long fsck runs, too. Even ext4 seems not too good in this area... I thought 3ware would have been good. Their cards have been praised for quite some time...have things changed? What about Adaptec? Well, for me the recommended LSI is okay as it's my favorite vendor, too. I used to abandon Adaptec quite a while ago and my optinion was confirmed when the OpenBSD vs. Adaptec discussion came up. However, the question on the hardware RAID's vendor is totally independent from the file system discussion. Oh yeah it is. If you use hardware raid, you do not need barriers and can afford to turn it off for better performance or use LVM for that matter. Hi, this ist off list: Could you please explain me the LVM vs. barrier thing? AFAIU, one should turn off write caches on HDs (in any case), and -- if there's a BBU backed up RAID controller -- use this cache, but turn off barriers. When does LVM come into play here? Thanks in advance! :) LVM like md raid and drbd is a layered block device and If you turn the wire caches off on the HDs then there is no problem, but HDs aren't designed to perform to spec with the write cache disabled they expect important data is written with FUA access (forced unit access), so performance will be terrible. I re-read XFS's FAQ on this issues, seems to me that we have to set up two machines in the lab, one purely software RAID driven, and one with a JBOD configured hardware RAID controller, and then benchmark and stress testing the setup. JBOD? You plan to use software raid with that? Why?! Mainly due to better manageability and monitoring. Honestly, all the proprietary tools are not the best. Timo ___ 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] Migrating to RAID
I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Virtualization Howto
I see this virtualization howto for Ubuntu https://help.ubuntu.com/community/UEC/CDInstall It goes into how to make your own cloud. Is there a similiar howto anywhere for CentOS 5.4 or anything? Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization Howto
Matt: It goes into how to make your own cloud. Is there a similiar howto anywhere for CentOS 5.4 or anything? Does the RHEL Virtualization Guide help? http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualiz ation_Guide/index.html Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net CentOS 5.4 VPS with unmetered bandwidth only $25/month! No overage charges, 7 day free trial, Google Checkout accepted ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
Mathieu Baudier wrote: LVM like md raid and drbd is a layered block device and If you turn the wire caches off on the HDs then there is no problem, but HDs aren't designed to perform to spec with the write cache disabled they expect important data is written with FUA access (forced unit access), so performance will be terrible. I hope that I'm not going too much off topic here, but I'm getting worried not to be sure to understand, especially when it has to do with data safety: Considering a stack of: - ext3 - on top of LVM2 - on top of software RAID1 - on top of regular SATA disks (no hardware RAID) is it safe to have the HD cache enabled? (Note: ext3, not XFS, hence the possible off-topic...) Nothing is safe once device-mapper is involved. In other words, is this discussion about barriers, etc. only relevant to XFS? No, it applies to all filesystems. Prior to barriers, fsync/fsyncdata lies. See the man page for fsync. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
You will have to reinstall because if you add two more 500GB drives to make your set up into a three drive horse, you then need to format each drive and synchronise them together creating the new logical RAID volume so no data can be kept on said disks prior to the creation of the RAID. HTH! -- Regards, James ;) Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux router with CentOS
On Thu, Dec 10, 2009 at 2:11 AM, Sorin Srbu sorin.s...@orgfarm.uu.se wrote: From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alvaro Schneider Guevara Sent: Thursday, December 10, 2009 1:40 AM To: centos@centos.org Subject: [CentOS] Linux router with CentOS Hello everybody. I'm wondering here if is it possible to setup a CentOS machine as a router for two Internet connections in a LAN. This _router_ would work as the gateway for the workstations using DHCPD. The purpose of this is to optimize the broadband joining both connections, and given the case, do not lose the Internet access. You’d be better off with dedicated firewall-distro like, Smoothwall et al. Html should be off in mails. -- /Sorin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Another Vote for Pfse3nse, the best router7firewall distro around, well just my opinion. Cheers, -- Linux User #452368 http://twitter.com/vpadro Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux router with CentOS
Victor Padro wrote: On Thu, Dec 10, 2009 at 2:11 AM, Sorin Srbu sorin.s...@orgfarm.uu.se wrote: From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alvaro Schneider Guevara Sent: Thursday, December 10, 2009 1:40 AM To: centos@centos.org Subject: [CentOS] Linux router with CentOS Hello everybody. I'm wondering here if is it possible to setup a CentOS machine as a router for two Internet connections in a LAN. This _router_ would work as the gateway for the workstations using DHCPD. The purpose of this is to optimize the broadband joining both connections, and given the case, do not lose the Internet access. You’d be better off with dedicated firewall-distro like, Smoothwall et al. Html should be off in mails. -- /Sorin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Another Vote for Pfse3nse, the best router7firewall distro around, well just my opinion. Cheers, PFSense or IPCop, IPCop is a little easier to configure IMO. http://www.netzensolutions.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux router with CentOS
On Thu, Dec 10, 2009 at 12:06 PM, Victor Padro vpa...@gmail.com wrote: Another Vote for Pfse3nse, the best router7firewall distro around, well just my opinion. One caveat is hardware support. I assume because it is FreeBSD and not Linux About a month or two ago I decided to go out and google for firewall distros. I made a short list which include pfSense, IPCop, and one other. My first choice was pfSense so I tried it first - and did not get very far. The PC I tried it on is about 5 years old, but had 1GB RAM, big enough HD and so on. I could not get pfSense to even install on it and decided not even to put any effort into it so I moved right on to IP Cop which installed without a catch. The irony is that I have a just about identical piece of hardware which runs my firewall right now. It is running a fairly old FreeBSD distro with no issues. It seems it is the newer FreeBSD that has issues, either that or the particulars of how pfSense slices and dices FreeBSD. Of course this is only 1 datapoint. I'd at least recommend trying it on your hardware. If it works, then don't look back. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
Rick Barnes wrote: On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script Hi all. I'm new on this list but I think this might help. If you start screen first, enable logging (default ^a H) then run telnet and your commands, it will create a screenlog.X (where X is the screen number) file. Mileage may vary depending on how the data is being output to the terminal but it's worth s try. -- Never trust a computer you can't throw out a window. - Steve Wozniak ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CUPS designjet 500
Hi everyone!! Does someone have configured a plotter HP designjet 500?, what driver did you use?, or what did you do? I'm using centos 5.4 -- Alejandro Rodriguez Luna E-mail: el_alexl...@yahoo.com.mx -- Encuentra las mejores recetas en Yahoo! Cocina. http://mx.mujer.yahoo.com/cocina/___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Quagga ECMP
yes, that's right, but i am asking here about Quagga, which is a routing software (OSPF, BGP etc.), not about kernel multipath, i mean if Quagga is compiled with Equal Cost MultiPath (ECMP), the -enable-multipath compile option. Can someone post here the spec file from which quagga rpm was built for CentOS? Thanks. On Thu, Dec 10, 2009 at 7:42 AM, Cristian Carstea c...@crisnet.ro wrote: Hello, does anybody know if quagga for CentOS 5.3 is compiled with -enable-multipath? I want to implement ECMP over 2 ISP. You can look in the /boot/config-* files. Those are the configs that it was built with. In my 5.4 system: [r...@xm-c32-001 boot]# grep -i multipath config-2.6.18-128.2.1.el5xen CONFIG_IP_ROUTE_MULTIPATH=y # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set CONFIG_MD_MULTIPATH=m CONFIG_DM_MULTIPATH=m CONFIG_DM_MULTIPATH_EMC=m CONFIG_DM_MULTIPATH_RDAC=m CONFIG_DM_MULTIPATH_HP=m ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
At Thu, 10 Dec 2009 09:39:25 -0600 CentOS mailing list centos@centos.org wrote: I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? If you can install 4 drives, eg you have 4 bays and 4 SATA connections, yes, it is easy. Just install the three new drives (to SATA port 2, 3, and 4), create the RAID-5 array (actually you'll need one small RAID-1 array for /boot, so you'll create two RAID sets: a small RAID-1 for /boot and the rest for the RAID-5) and copy everything over. You'll need to re-install grub (using grub-install) and then shutdown the machine and move the drive connectors around so that the new drives are 1, 2, and 3, and the old drive is 4 (or remove it completely), and start the machine up. You can then add the original drive as a hot spare disk (or not). Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] An error message I don't recognize
I have recently been told I will have to maintain some CentOS servers at work. Since I have only been using Slackware for the last 16 years, I decided to install CentOS on one of my servers at home to get an idea of the differences. I installed CentOS 5.4 from CD with no problems, did a yum update, set up a couple of samba shares and started to copy over some files from one of my other servers. Everything looks ok, but I keep seeing this message on the active console. I have no idea where it comes from nor what it means. type=1400 audit(1260446462.444:9): avc: denied { getattr } for pid=2200 comm=smbd path=/proc/sys/fs/binfmt_misc dev=binfmt_misc ino=4348 scontext=root:system_r:smbd_t:s0 tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir What is it, what is triggering it and how do I fix it? Thanks, Bob McConnell N2SPP ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
Bob McConnell wrote: [...] Everything looks ok, but I keep seeing this message on the active console. I have no idea where it comes from nor what it means. type=1400 audit(1260446462.444:9): avc: denied { getattr } for pid=2200 comm=smbd path=/proc/sys/fs/binfmt_misc dev=binfmt_misc ino=4348 scontext=root:system_r:smbd_t:s0 tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir It's selinux. See http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/ch-selinux.html -- Benjamin Franz -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
I have recently been told I will have to maintain some CentOS servers at work. Since I have only been using Slackware for the last 16 years, I decided to install CentOS on one of my servers at home to get an idea of the differences. I installed CentOS 5.4 from CD with no problems, did a yum update, set up a couple of samba shares and started to copy over some files from one of my other servers. Everything looks ok, but I keep seeing this message on the active console. I have no idea where it comes from nor what it means. type=1400 audit(1260446462.444:9): avc: denied { getattr } for pid=2200 comm=smbd path=/proc/sys/fs/binfmt_misc dev=binfmt_misc ino=4348 scontext=root:system_r:smbd_t:s0 tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir What is it, what is triggering it and how do I fix it? selinux. For your machine at home, you may want to just turn it off; if you really want to see what might be going on at work, set it to permissive, which will let it all happen, but gripe. setenforce 0 turns it off. Edit /etc/selinux/config to fix it over reboots. Also look at /var/log/audit/audit.log. It will get the error, and tell you to run sealert to see what the error's complaining about. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
Rick Barnes wrote: On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script That saves the whole session and is sometimes useful. But, usually with command line programs you would just redirect the individual command's output to a file with ' filename' on the command line, or pipe through tee '|tee filename' if you want to see it at the same time. Also, the terminal windows have a fairly big scroll-back buffer which you can increase with edit/profile so if you do decide to copy something after it happens you don't have to stop while it is still showing. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
Google say no to RAID 5 http://baarf.com/ http://www.tomshardware.com/news/RAID-5-Doomed-2009,6525.html -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
On Thursday 10 December 2009, Matt lm7...@gmail.com wrote: I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? In theory you can create a 3-drive RAID-5 with a missing drive, rsync your filesystems over, and then repartition and force the existing drive to rebuild in. You can't boot off a RAID-5, so you'll need to put /boot on a separate partition, also preferably raid-1'd on at least 2 of the drives. It's not terribly hard but it's possibly to mess up and nuke your good drive before you're ready, so you should have a full backup on yet another drive anyway, and if you have that you might as well just build up a new system on the 3 drives and then restore your old filesystems over it. -- No animals were harmed in the recording of this episode. We tried but that damn monkey was just too fast. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Quagga ECMP
On Thu, Dec 10, 2009 at 07:23:06PM +0200, Cristian Carstea wrote: yes, that's right, but i am asking here about Quagga, which is a routing software (OSPF, BGP etc.), not about kernel multipath, i mean if Quagga is compiled with Equal Cost MultiPath (ECMP), the -enable-multipath compile option. Can someone post here the spec file from which quagga rpm was built for CentOS? Thanks. On Thu, Dec 10, 2009 at 7:42 AM, Cristian Carstea c...@crisnet.ro wrote: Hello, does anybody know if quagga for CentOS 5.3 is compiled with -enable-multipath? I want to implement ECMP over 2 ISP. Looks like it. Spec file configure on my i386 box is: + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/quagga --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib/quagga --libexecdir=/usr/libexec/quagga --localstatedir=/var/run/quagga --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-ipv6 --enable-multipath=64 --enable-nssa --enable-opaque-lsa --enable-ospf-te --enable-vtysh --enable-ospfclient=yes --enable-ospfapi=yes --with-libpam --enable-user=quagga --enable-group=quagga --enable-vty-group=quaggavt --enable-rtadv --enable-netlink which matches the configure options at the top of the spec file: # configure options %define with_snmp 0 %define with_vtysh 1 %define with_ospf_te1 %define with_nssa 1 %define with_opaque_lsa 1 %define with_tcp_zebra 0 %define with_pam1 %define with_ipv6 1 %define with_ospfclient 1 %define with_ospfapi1 %define with_rtadv 1 %define with_multipath 64 %define quagga_uid 92 %define quagga_gid 92 %define quagga_user quagga %define vty_group quaggavt %define vty_gid 85 Cheers, Gavin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] poweredge 1950 hangs at starting udev
Hi all, I have a PowerEdge 1950 that was acting weird. Network connectivity was only performing at a quarter of what was expected (if that). Even if I scp'd something to localhost it would perform poorly. Rather than fight with it, I just decided to reload it. It was running 5.3, and it is now running 5.4. However, when I go to boot it gets stuck at starting udev. If I let it sit long enough it will then give me errors with something along the lines of: Dazed and confused, but trying to continue Uhhuh. NMI received for unknown reason 00 Do you have a strange power saving mode enabled? Wondering if anyone has an idea.. Thanks, Ryan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
Benjamin Franz wrote: Bob McConnell wrote: [...] Everything looks ok, but I keep seeing this message on the active console. I have no idea where it comes from nor what it means. type=1400 audit(1260446462.444:9): avc: denied { getattr } for pid=2200 comm=smbd path=/proc/sys/fs/binfmt_misc dev=binfmt_misc ino=4348 scontext=root:system_r:smbd_t:s0 tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir It's selinux. Thank you for that link. Looks like I have some reading to do. I do know they have it enabled on the production servers I will be duplicating, so I'll have to figure out whether we need it on the development and test servers or not. I also have a problem with syslogd. I added '-r' to SYSLOGD_OPTIONS in /etc/rc.d/init.d/syslog, but after a restart it still won't accept network traffic, and that flag doesn't show up in the command line in the 'ps ax' dump. What do I have to do to enable traffic into syslogd from my firewall and other servers? This machine will be replacing an older Slackware 7 server once I get the wrinkles worked out. Thank you, Bob McConnell N2SPP ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] poweredge 1950 hangs at starting udev
Ryan Pugatch wrote: Wondering if anyone has an idea.. Run hardware diagnostics? Check power management settings in the bios? nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ntop from rpmforge
I don't know why I haven't signed up for this list before since we use CentOS all over the place. The list is very useful and it is good for me to participate and give back to the community. Anywho, I wanted to post this response to a thread that was created back in November 2008 about the ntop daemon failing to start. I'm currently setting up ntop as a NetFlow SFlow collector and came across the issue. A quick refresher, the init script for ntop has an issue where it can't parse the ntop.conf file correctly if switches are entered before the @/etc/ntop.conf. The suggested work around was to move the -d -L switches from in front of the @/etc/ntop.conf and put them behind it. This is definitely the fix. There is a caveat to that and I haven't found anyone that has mentioned it so I thought I would. According to the documentation, if you add the switches after the @/etc/ntop.conf those will override the configurations in the ntop.conf file. While this isn't an issue with the -d option, if you decide to use a custom syslog level and add it to the conf file, the -L switch after the conf file will override your custom log facility. In my init file I left the -d but removed the -L expecting me to put my own syslog entry in the conf file. Matt Ausmus Network Administrator Chapman University 635 West Palm Street Orange, CA 92868 (714)628-2738 maus...@chapman.edu mailto:maus...@chapman.edu Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. - Churchill's Commentary on Man ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
Chan Chung Hang Christopher wrote: Mathieu Baudier wrote: LVM like md raid and drbd is a layered block device and If you turn the wire caches off on the HDs then there is no problem, but HDs aren't designed to perform to spec with the write cache disabled they expect important data is written with FUA access (forced unit access), so performance will be terrible. I hope that I'm not going too much off topic here, but I'm getting worried not to be sure to understand, especially when it has to do with data safety: Considering a stack of: - ext3 - on top of LVM2 - on top of software RAID1 - on top of regular SATA disks (no hardware RAID) is it safe to have the HD cache enabled? (Note: ext3, not XFS, hence the possible off-topic...) Nothing is safe once device-mapper is involved. In other words, is this discussion about barriers, etc. only relevant to XFS? No, it applies to all filesystems. Prior to barriers, fsync/fsyncdata lies. See the man page for fsync. No mention of barriers in the man page, I'm also getting confused. is device mapper used for software raid - i.e. /dev/mdX? If so what are the implications of barriers and where are they turned on / off? Forgive me for potential off topic, but I too run xfs on lvm which uses mapper...risky?? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos attachment: rkampen.vcf___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
Alan McKay wrote: Google say no to RAID 5 http://baarf.com/ http://www.tomshardware.com/news/RAID-5-Doomed-2009,6525.html Say goodbye to whole-disk based RAID solutions and hello to next generation sub-disk RAID solutions, dramatically extending the real world lifetime of RAID 5(and RAID 6 which will become equally useless as RAID 5 is when drives get big enough). http://www.xiotech.com/Products-and-Services_ISE.aspx http://www.3par.com/products/inspire_architecture.html#fgv http://www.compellent.com/Products/Software/Virtualization.aspx (maybe more that I'm not aware of those are off the top of my head) http://www.techopsguys.com/2009/11/24/81000-raid-arrays/ nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
On Thursday 10 December 2009 17:28:45 Bob McConnell wrote: I have recently been told I will have to maintain some CentOS servers at work. Since I have only been using Slackware for the last 16 years, I decided to install CentOS on one of my servers at home to get an idea of the differences. I installed CentOS 5.4 from CD with no problems, did a yum update, set up a couple of samba shares and started to copy over some files from one of my other servers. Everything looks ok, but I keep seeing this message on the active console. I have no idea where it comes from nor what it means. type=1400 audit(1260446462.444:9): avc: denied { getattr } for pid=2200 comm=smbd path=/proc/sys/fs/binfmt_misc dev=binfmt_misc ino=4348 scontext=root:system_r:smbd_t:s0 tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir What is it, what is triggering it and how do I fix it? It's a selinux denial. Selinux is permissive/enforcing on the system. # sestatus will tell you which. It's got something to do with samba comm=smbd trying to access the file path=/proc/sys/fs/binfmt_misc Don't know why it would want to do that. Try this # sealert -b This will dispaly all the AVC's graphically. Look for one from smbd. This will give you the full AVC and possibly suggest a way to fix it. Tony Thanks, Bob McConnell N2SPP ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Dept. of Comp. Sci. University of Limerick. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
Bob McConnell wrote: I also have a problem with syslogd. I added '-r' to SYSLOGD_OPTIONS in /etc/rc.d/init.d/syslog, but after a restart it still won't accept network traffic, and that flag doesn't show up in the command line in the 'ps ax' dump. What do I have to do to enable traffic into syslogd from my firewall and other servers? You need to edit /etc/sysconfig/syslog That is a general pattern for CentOS5 - look for options to be set in a file in the /etc/sysconfig directory. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
Thanks for all the input everyone, Basically I trashed the smb.conf and the folder I wanted to share, restarted the machine, re-wrote the smb.conf (again) and re-made the directory and set permissions etc, restarted the machine and all is well! Thanks all for your input it has helped me write an improved smb.conf on my original attempt! -- Regards, James ;) Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ntop from rpmforge
On Dec 10, 2009, at 1:39 PM, Ausmus, Matt wrote: Anywho, I wanted to post this response to a thread that was created back in November 2008 about the ntop daemon failing to start. I’m currently setting up ntop as a NetFlow SFlow collector and came across the issue. A quick refresher, the init script for ntop has an issue where it can’t parse the ntop.conf file correctly if switches are entered before the “@/etc/ntop.conf”. The suggested work around was to move the “-d –L” switches from in front of the “@/ etc/ntop.conf” and put them behind it. This is definitely the fix. There is a caveat to that and I haven’t found anyone that has mentioned it so I thought I would. According to the documentation, if you add the switches after the “@/etc/ntop.conf” those will override the configurations in the ntop.conf file. While this isn’t an issue with the “-d” option, if you decide to use a custom syslog level and add it to the conf file, the “-L” switch after the conf file will override your custom log facility. In my init file I left the “-d” but removed the “-L” expecting me to put my own syslog entry in the conf file. thanks for the report! the appropriate place to report such issues is the RPMforge users' list, us...@lists.rpmforge.net. i've committed a fix; once the package is rebuilt, it should appear in the repository. -steve -- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v http://five.sentenc.es PGP.sig Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
On 05.12.2009 18:15, Miguel Medalha wrote: And, as of CentOS 5.4, xfs is now enabled in the kernel, so no need for any external kernel module. But yes, this is available for x86_64 only ... a decision that many people have trouble at understanding! XFS is not stable on 32-bit systems. You should not use it there. You need a 64-bit kernel. Default for servers should be 64-bit now anyway. Not many reasons left for a 32-bit system, and more and more 3. party applications have less and less support for 32-bit platforms in general. -- //Morten Torstensen //Email: mor...@mortent.org //IM: morten.torsten...@gmail.com I can't listen to that much Wagner. I start getting the urge to conquer Poland. -- Woody Allen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
On 05.12.2009 22:04, John R Pierce wrote: that same OS/2 JFS was backported to AIX as JFS2, I believe. When JFS was implemented on OS/2 it was based on JFS on AIX. After that, JFS for Linux and JFS2 was based on the same code. Not sure I would say backported, but there you go There are many differences between JFS and JFS2 on AIX and the latter is better in many ways... more tuning and support for shrinking. -- //Morten Torstensen //Email: mor...@mortent.org //IM: morten.torsten...@gmail.com I can't listen to that much Wagner. I start getting the urge to conquer Poland. -- Woody Allen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
On 08.12.2009 13:34, Chan Chung Hang Christopher wrote: Speaking for me (on Linux systems) on top of LVM on top of md. On IRIX as it was intended. That is a disaster combination for XFS even now. You mentioned some pretty hefty hardware in your other post... If XFS doesn't play well with LVM, how can it even be an option? I couldn't live without LVM... -- //Morten Torstensen //Email: mor...@mortent.org //IM: morten.torsten...@gmail.com I can't listen to that much Wagner. I start getting the urge to conquer Poland. -- Woody Allen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
XFS is not stable on 32-bit systems. You should not use it there. You need a 64-bit kernel. Default for servers should be 64-bit now anyway. Not many reasons left for a 32-bit system, and more and more 3. party applications have less and less support for 32-bit platforms in general. That is for you rich people :-) Not everyone can afford the latest and greatest server hardware. There are tons of older servers out there. I still manage some servers with only 2GB of RAM and some of their motherboards accept a *maximum* of 4GB. Those precious few GB are better used with a 32bit OS, don't you agree? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
Mark Caudill wrote: Rick Barnes wrote: On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script Hi all. I'm new on this list but I think this might help. If you start screen first, enable logging (default ^a H) then run telnet and your commands, This sounds like what I am looking for, where is it documented? it will create a screenlog.X (where X is the screen number) file. Mileage may vary depending on how the data is being output to the terminal but it's worth s try. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
Les Mikesell wrote: Rick Barnes wrote: On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script That saves the whole session and is sometimes useful. But, usually with command line programs you would just redirect the individual command's output to a file with ' filename' on the command line, or pipe through tee '|tee filename' if you want to see it at the same time. I use that a lot, but it doesn't work for telnet. Also, the terminal windows have a fairly big scroll-back buffer which you can increase with edit/profile so if you do decide to copy something after it happens you don't have to stop while it is still showing. This last case it was ~4000 lines worth, the default is 500. And I did not know it was that much until I started dealing with the debug dump. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Miguel Medalha wrote: XFS is not stable on 32-bit systems. You should not use it there. You need a 64-bit kernel. Default for servers should be 64-bit now anyway. Not many reasons left for a 32-bit system, and more and more 3. party applications have less and less support for 32-bit platforms in general. That is for you rich people :-) Not everyone can afford the latest and greatest server hardware. There are tons of older servers out there. I still manage some servers with only 2GB of RAM and some of their motherboards accept a *maximum* of 4GB. Those precious few GB are better used with a 32bit OS, don't you agree? If they do what you want without making you wait, why even consider changing the filesystem that has been working for years on these machines? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
If they do what you want without making you wait, why even consider changing the filesystem that has been working for years on these machines? Adding new, bigger disks and new filesystems? Wanting these to be the fastest that is reasonably possible? As for the system that arose the question (again) for me, I've decided to make it ext3, wait for a while as ext4 matures, and convert it later. This interesting possibility made me decide for ext3 (again). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Screen capture in Terminal
Robert Moskowitz wrote: Mark Caudill wrote: Rick Barnes wrote: On 12/10/2009 08:05 AM, Robert Moskowitz wrote: I don't see how to do it. I had to telnet into a firewall and run a trace, and I had to stop it, copy and paste to gedit, then start again, etc. I find it interesting, and sad, that there is no easy 'output to file' profile setting. man script Hi all. I'm new on this list but I think this might help. If you start screen first, enable logging (default ^a H) then run telnet and your commands, This sounds like what I am looking for, where is it documented? Mainly in man screen. Just do this though (this will work if you have a stock install and no custom .screenrc): 1) yum install screen # Install screen 2) screen # Start screen 3) Press Ctrl-a then H # This starts logging the current window (should be 0) 4) telnet firewall # Log in to your firewall 5) Ctrl-a H again # Run this once you're done on the firewall to close the log 6) exit # Exits screen 7) less screenlog.0 # View your screenlog. -- Never trust a computer you can't throw out a window. - Steve Wozniak ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] .htaccess and ?
Hi, I'm trying to write .htaccess Rewrite rules and it doesn't seem to work for me: Match the string between the domain and the question mark: ? http://www.abc.com/blog:long-name-of-page?action=diff and I want to redirect it to: http://www.abc.com/blog:long-name-of-page Any suggestion? Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] .htaccess and ?
You might have to enable re-writes in you Apache conf? Or did I imagine that??? -- Regards, James ;) Stephen Leacock - I detest life-insurance agents: they always argue that I shall some day die, which is not so. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Miguel Medalha wrote: If they do what you want without making you wait, why even consider changing the filesystem that has been working for years on these machines? Adding new, bigger disks and new filesystems? Wanting these to be the fastest that is reasonably possible? As for the system that arose the question (again) for me, I've decided to make it ext3, wait for a while as ext4 matures, and convert it later. This interesting possibility made me decide for ext3 (again). The only thing that can make filesystems fast is buffering in RAM so you'd probably want to match up that increase in disk space with lots more RAM, especially if you use a filesystem that needs it for the improvements it claims. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] raid10, centos 4.x
I just created a 4 drive mdadm --level=raid10 on a centos 4.8-ish system here, and shortly thereafter remembreed I hadn't updated it in a while, so i ran yum update... while installing/updating stuff, got these errors: Installing: kernel ### [14/69] raid level raid10 (in /proc/mdstat) not recognized ... Installing: kernel-smp ### [19/69] raid level raid10 (in /proc/mdstat) not recognized is this a problem? the raid10 'seems' to work ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
On 12/10/2009 10:39 AM, Matt wrote: I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? Moving to RAID-1 is going to be fairly easy. Moving to RAID-5 or RAID-6 will be a good bit trickier. You're going to want a good bare-metal backup (maybe Mondo Rescue http://www.mondorescue.org/) before you get started. Then your basic process is going to be: - make sure that mdadm is loading - partition the new 500GB disks similar to the old disk - build mdadm raid1 arrays on the new 500GB disk (with 1 drive missing) - copy your files over (cp -a) - make sure grub is on the new disk - change your fstab on the new disk to mount the arrays (/dev/mdX) instead of the partitions (/dev/sdaX) - remove the old disk and see if you can boot up on the new one I'm sure I'm forgetting something, just remember that you'll want to make lots and lots of backups (on a 3rd and 4th disk). And be ready to rebuild or restore from the bare-metal backup if you screw up. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? Moving to RAID-1 is going to be fairly easy. Moving to RAID-5 or RAID-6 will be a good bit trickier. The more I hear I am thinking moving to RAID-1 would be fine. Is there a basic howto somewhere for that? Thanks. Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An error message I don't recognize
Benjamin Franz wrote: Bob McConnell wrote: I also have a problem with syslogd. I added '-r' to SYSLOGD_OPTIONS in /etc/rc.d/init.d/syslog, but after a restart it still won't accept network traffic, and that flag doesn't show up in the command line in the 'ps ax' dump. What do I have to do to enable traffic into syslogd from my firewall and other servers? You need to edit /etc/sysconfig/syslog That is a general pattern for CentOS5 - look for options to be set in a file in the /etc/sysconfig directory. Thank you, I am now getting log records over the network. Bob McConnell N2SPP ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
Matt wrote: I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? Moving to RAID-1 is going to be fairly easy. Moving to RAID-5 or RAID-6 will be a good bit trickier. The more I hear I am thinking moving to RAID-1 would be fine. Is there a basic howto somewhere for that? I've seen a howto about converting an existing disk, but I'd do it by creating matching RAID1 partitions with one of the devices 'missing', then copying the existing data over, installing grub on the new disk, then swapping drives. Once you are sure the new copy is good you can add the old partitions to the raid devices and let them sync up. If your grub install turns out wrong you can always boot the install disk in rescue mode to fix it. On a second thought, I'd probably install Centos 5.x on the new disk, then copy the old stuff back. It's pretty late in the cycle to spend much time fixing a 4.x system. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
I have CentOS 4.x installed on a single 500GB SATA drive. Drive is about 10 percent used. I would like to migrate to software RAID 5 without reinstalling the OS. Was thinking 3 500GB drives. Is that possible or must I reinstall? Moving to RAID-1 is going to be fairly easy. Moving to RAID-5 or RAID-6 will be a good bit trickier. The more I hear I am thinking moving to RAID-1 would be fine. Is there a basic howto somewhere for that? I've seen a howto about converting an existing disk, but I'd do it by creating matching RAID1 partitions with one of the devices 'missing', then copying the existing data over, installing grub on the new disk, then swapping drives. Once you are sure the new copy is good you can add the old partitions to the raid devices and let them sync up. If your grub install turns out wrong you can always boot the install disk in rescue mode to fix it. On a second thought, I'd probably install Centos 5.x on the new disk, then copy the old stuff back. It's pretty late in the cycle to spend much time fixing a 4.x system. I am thinking that way too. Even though everything is running perfectly fine on 32bit 4.x right now moving too 64bit 5.x would be much better. Was thinking upgrading to RAID1 would let me wait and do that at my leisure though. Reinstalling and moving all this too 5.x is no small task though. Yuk. Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Morten Torstensen wrote: On 08.12.2009 13:34, Chan Chung Hang Christopher wrote: Speaking for me (on Linux systems) on top of LVM on top of md. On IRIX as it was intended. That is a disaster combination for XFS even now. You mentioned some pretty hefty hardware in your other post... If XFS doesn't play well with LVM, how can it even be an option? I couldn't live without LVM... I meant it in the sense of data guarantee. XFS has a major history of losing data unless used with hardware raid cards that have a bbu cache. That changed when XFS got barrier support. However, anything on LVM be it ext3, ext4 or XFS that has barrier support will not be able to use barriers because device-mapper does not support barriers and therefore, if you use LVM, it better be on a hardware raid array where the card has bbu cache. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS and LVM2 (possibly in the scenario of snapshots)
No mention of barriers in the man page, I'm also getting confused. is device mapper used for software raid - i.e. /dev/mdX? Nope. Software raid is the md layer. Nothing to do with dm. Two separate layers although they share a bit of stuff. If so what are the implications of barriers and where are they turned on / off? Barriers allow one to ensure true fsync/fsyncdata when used with hard disks that have their write cache enabled. This is not talking about hard drives connected to hardware raid controllers which is a different ball game. Forgive me for potential off topic, but I too run xfs on lvm which uses mapper...risky?? IF you are not using hardware raid with bbu cache and of course, if you have disabled the write caches on the hard drives connected to the raid via the raid controller. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid10, centos 4.x
John R Pierce wrote: I just created a 4 drive mdadm --level=raid10 on a centos 4.8-ish system here, and shortly thereafter remembreed I hadn't updated it in a while, so i ran yum update... while installing/updating stuff, got these errors: Installing: kernel ### [14/69] raid level raid10 (in /proc/mdstat) not recognized ... Installing: kernel-smp ### [19/69] raid level raid10 (in /proc/mdstat) not recognized is this a problem? the raid10 'seems' to work If anaconda is doing the update here, I guess it is because anaconda in 4.x does not have raid10 personality support. The raid10 personality is NOT the same as nested raid1+0. It is an entirely new module from Neil Brown that has a poor choice of a name imho. It does things very differently from what you expect from a nested raid1+0 array. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid10, centos 4.x
Christopher Chan wrote: If anaconda is doing the update here, I guess it is because anaconda in 4.x does not have raid10 personality support. The raid10 personality is NOT the same as nested raid1+0. It is an entirely new module from Neil Brown that has a poor choice of a name imho. It does things very differently from what you expect from a nested raid1+0 array. the update was a simple `yum update` differently how?I expect to be striping two mirrors, all munged into one unit, without generating intermediate MD devices which has always seemed messy to me. . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Christopher Chan wrote: Morten Torstensen wrote: On 08.12.2009 13:34, Chan Chung Hang Christopher wrote: Speaking for me (on Linux systems) on top of LVM on top of md. On IRIX as it was intended. That is a disaster combination for XFS even now. You mentioned some pretty hefty hardware in your other post... If XFS doesn't play well with LVM, how can it even be an option? I couldn't live without LVM... I meant it in the sense of data guarantee. XFS has a major history of losing data unless used with hardware raid cards that have a bbu cache. That changed when XFS got barrier support. However, anything on LVM be it ext3, ext4 or XFS that has barrier support will not be able to use barriers because device-mapper does not support barriers and therefore, if you use LVM, it better be on a hardware raid array where the card has bbu cache. Wait, just to be clear, are you saying that all use of LVM is a bad idea unless on hardware RAID? That's bad it if it's true since it seems to me that most modern distros like to use LVM by default. Am I missing something? -- Never trust a computer you can't throw out a window. - Steve Wozniak ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Mark Caudill wrote: Wait, just to be clear, are you saying that all use of LVM is a bad idea unless on hardware RAID? That's bad it if it's true since it seems to me that most modern distros like to use LVM by default. Am I missing something? if LVM is ignoring write barriers, its not a good idea on hardware raid, either, at least not for applications that rely on committed writes, like transactional databases. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid10, centos 4.x
John R Pierce wrote: Christopher Chan wrote: If anaconda is doing the update here, I guess it is because anaconda in 4.x does not have raid10 personality support. The raid10 personality is NOT the same as nested raid1+0. It is an entirely new module from Neil Brown that has a poor choice of a name imho. It does things very differently from what you expect from a nested raid1+0 array. the update was a simple `yum update` differently how?I expect to be striping two mirrors, all munged into one unit, without generating intermediate MD devices which has always seemed messy to me. http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
John R Pierce wrote: Mark Caudill wrote: Wait, just to be clear, are you saying that all use of LVM is a bad idea unless on hardware RAID? That's bad it if it's true since it seems to me that most modern distros like to use LVM by default. Am I missing something? if LVM is ignoring write barriers, its not a good idea on hardware raid, either, at least not for applications that rely on committed writes, like transactional databases. Write barriers are for the case of getting a data guarantee with hard disks connected via sata/scsi that have their write caches enabled. Hardware raid + bbu cache change that game. LVM on hardware raid is safe due to the bbu cache (with write caches on connected hard drives set to off) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
Mark Caudill wrote: Christopher Chan wrote: Morten Torstensen wrote: On 08.12.2009 13:34, Chan Chung Hang Christopher wrote: Speaking for me (on Linux systems) on top of LVM on top of md. On IRIX as it was intended. That is a disaster combination for XFS even now. You mentioned some pretty hefty hardware in your other post... If XFS doesn't play well with LVM, how can it even be an option? I couldn't live without LVM... I meant it in the sense of data guarantee. XFS has a major history of losing data unless used with hardware raid cards that have a bbu cache. That changed when XFS got barrier support. However, anything on LVM be it ext3, ext4 or XFS that has barrier support will not be able to use barriers because device-mapper does not support barriers and therefore, if you use LVM, it better be on a hardware raid array where the card has bbu cache. Wait, just to be clear, are you saying that all use of LVM is a bad idea unless on hardware RAID? That's bad it if it's true since it seems to me that most modern distros like to use LVM by default. Am I missing something? Yes, the Linux kernel has long been criticized for a fake fsync/fsyncdata implementation. At the latest, since 2001. Unless you had your hard drive caches turned off, you were at risk of losing data no matter what you used: ext2, ext3, reiserfs, xfs, jfs, whether on lvm or not. Write barriers were introduced to give data guarantees with hard drives that have their write cache enabled. Unfortunately, not everything has been given barrier support. LVM and JFS do not have write barrier support. So it is use LVM but turn off write caches on disks (painfully slow) or do not use LVM and use a filesystem with write barrier support and enable write caches on disks. Hardware raid with bbu caches were introduced to provide speed and data guarantees. The other option would be to use software raid, disable write caching, use a bbu nvram stick and use ext3 with data=journal. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
On Dec 10, 2009, at 7:52 PM, Mark Caudill mar...@codelulz.com wrote: Christopher Chan wrote: Morten Torstensen wrote: On 08.12.2009 13:34, Chan Chung Hang Christopher wrote: Speaking for me (on Linux systems) on top of LVM on top of md. On IRIX as it was intended. That is a disaster combination for XFS even now. You mentioned some pretty hefty hardware in your other post... If XFS doesn't play well with LVM, how can it even be an option? I couldn't live without LVM... I meant it in the sense of data guarantee. XFS has a major history of losing data unless used with hardware raid cards that have a bbu cache. That changed when XFS got barrier support. However, anything on LVM be it ext3, ext4 or XFS that has barrier support will not be able to use barriers because device-mapper does not support barriers and therefore, if you use LVM, it better be on a hardware raid array where the card has bbu cache. Wait, just to be clear, are you saying that all use of LVM is a bad idea unless on hardware RAID? That's bad it if it's true since it seems to me that most modern distros like to use LVM by default. Am I missing something? If you use a leading edge distro then they will most likely be using a LVM version with barrier support as it was implemented as of 2.6.29-2.6.30+. It should be backported by the next release of CentOS hopefully. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux router with CentOS
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of KJS Sent: Thursday, December 10, 2009 6:16 PM To: CentOS mailing list Subject: Re: [CentOS] Linux router with CentOS PFSense or IPCop, IPCop is a little easier to configure IMO. Is IPCop the one that is so similar to Smoothwall, and also able to share mods? -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos