[CentOS-virt] iowait / Perfomance problems with xen on drbd (centos 5.2)
Hi, we have 2 servers on centos5.2 in a cluster with the redhat cman in the configuration SERVER1 LVM \ CMAN DRBD XEN SERVER2 LVM / For each xen we create a new local LVM on each node, put them in a drbd and install an os (debian 4 or ubuntu 8). The xens are running as pvm. Everything works fine since over 4 months now. But we have some performance-Problems: Writing on the Xen-devices produces an iowait about 50 to 60% on the xen-processors. we have 3 szenarios tested: a) Xen on DRBD b) Xen on DRBD but disconnected c) direct mounted DRBD You can see the difference in Write pro Char and Write per Block. a: 3792 / 4011 b: 52037 / 103777 c: 57135 / 325002 See bonnie_result.txt for more data. We attached our drbd.conf and a xen-config for your information. The Server are each 2xDual-Core AMD Opteron(tm) Processor 2214 HE with 32 Gb RAM and 2TB-Harddrive on Raid5 running von CentOS 5.2. The XEN-DomUs are Debian 4 or Ubuntu 8. The NICs are bonded Intel 1GBit. For the DRBD we have an own connection on a seperately subnet. Though we are wondering what there happens. Any Idea? And: YES, we tried a some configurations in the last past months before we are asking you today :) Best regards an Thank you in advance Jan resource server206 { protocol C; handlers { pri-on-incon-degr echo o /proc/sysrq-trigger ; halt -f; pri-lost-after-sb echo o /proc/sysrq-trigger ; halt -f; local-io-error echo o /proc/sysrq-trigger ; halt -f; } startup { degr-wfc-timeout 120;# 2 minutes. wait-after-sb; } disk { on-io-error detach; } net { allow-two-primaries; after-sb-0pri discard-least-changes; after-sb-1pri violently-as0p; after-sb-2pri violently-as0p; rr-conflict violently; max-buffers 16384; max-epoch-size 16384; sndbuf-size 1M; } syncer { rate 100M; al-extents 3313; } on server101.werk21system.de { device /dev/drbd6; disk /dev/xendisk/server206; address10.20.0.101:7795; meta-disk internal; } on server102.werk21system.de { device/dev/drbd6; disk /dev/xendisk/server206; address 10.20.0.102:7795; meta-disk internal; } } ## Ubuntu 64Bit Kernel kernel = '/etc/xen/kernel/vmlinuz-2.6.24-19-xen' ramdisk = '/etc/xen/kernel/initrd.img-2.6.24-19-xen' memory = '1024' root= '/dev/xvda ro' disk= [ 'drbd:server206,xvda,w' ] name= 'server206' vcpus = 2 vif = [ 'ip=X.Y.Z.205,bridge=xenbr0','ip=10.10.10.205,bridge=xenbr1' ] vfb = [ 'type=vnc,vncunused=1,keymap=de' ] keymap = 'de' on_poweroff = 'destroy' on_reboot = 'restart' on_crash= 'restart' = XEN ON DRBD CONNECTED Version 1.03b --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ubuntu64 2G 3792 6 4011 0 3170 0 33006 40 182491 6 231.1 0 --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 + +++ + +++ + +++ + +++ + +++ + +++ = XEN ON DRBD DISCONNECTED Version 1.03b --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ubuntu64 2G 52037 85 103777 26 43139 5 33510 41 174650 5 212.8 0 --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 + +++ + +++ + +++ + +++ + +++ + +++ ubuntu64,2G,52037,85,103777,26,43139,5,33510,41,174650,5,212.8,0,16,+,+++,+,+++,+,+++,+,+++,+,+++,+,+++ = DRBD CONNECTED W/O XEN Version 1.03 --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP server1012G 57135 97 325002 94 16498 3 61150 94 1166962 100 + +++ --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 +
Re: [CentOS-virt] iowait / Perfomance problems with xen on drbd (centos 5.2)
Hello, Jan.If you are using 2.6.18 kernel you can disable DEVFS.Follow this steps to ensure that you dont have forgot anything.http://wiki.xen-br.org/index.php?title=Xen-haEm 15:30, Jan Kellermann escreveu: Hi,we have 2 servers on centos5.2 in a cluster with the redhat cman in theconfigurationSERVER1 LVM \CMAN DRBD XENSERVER2 LVM /For each xen we create a new local LVM on each node, put them in a drbdand install an os (debian 4 or ubuntu 8). The xens are running as pvm.Everything works fine since over 4 months now.But we have some performance-Problems:Writing on the Xen-devices produces an iowait about 50 to 60% on thexen-processors.we ha ve 3 szenarios tested:a) Xen on DRBDb) Xen on DRBD but disconnectedc) direct mounted DRBDYou can see the difference in Write pro Char and Write per Block.a: 3792 / 4011b: 52037 / 103777c: 57135 / 325002See bonnie_result.txt for more data.We attached our drbd.conf and a xen-config for your information.The Server are each 2xDual-Core AMD Opteron(tm) Processor 2214 HE with32 Gb RAM and 2TB-Harddrive on Raid5 running von CentOS 5.2. TheXEN-DomUs are Debian 4 or Ubuntu 8. The NICs are bonded Intel 1GBit. Forthe DRBD we have an own connection on a seperately subnet.Though we are wondering what there happens. Any Idea?And: YES, we tried a some configurations in the last past months beforewe are asking you today :)Best regards an Thank you in advanceJan ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-es] gravar con ftp pasando por squid
Hola, tengo el siguiente problema, configure hace poco un servidor squid para la salida a Internet, el problema es que ahora estoy intentando poder acceder a un servidor ftp externo, al cual necesito autencicarme con usuario y contraseña, pero no me deja poder ingresar, en el squid.conf, leí un poco, y por lo que entendi, parece que por defecto cuando intentas conectarte por ftp el tipo mete un usuario generico, esto creo que es lo que me esta complicando, alguno sabe como hacer para poder hacerlo transparente el acceso a un ftp cuando tengo que pasar por el proxy?? gracias y salu2 Carlitos ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Red
Saludos, me interesa mucho trixbox lo instale en una maquina: hp pavilion pc procesador amd athlon 64 3800+ 512 mb ram 200gb hd lo instale pero no me reconocio la targeta de red asi que no puedo entrar soy nuevo en esto me pueden ayudar por favor le estoy muy agradecido de antmano att. Richard Tonato Ecuador ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
RE: [CentOS-es] Red
hola nos seria de mucha utilidad que nos mandaras el modelo de la tarjeta de red ya que no todos tenemos la habilidad de adivinar esas cosas -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Richard Tonato Enviado el: Lunes, 18 de Agosto de 2008 09:49 a.m. Para: centos-es@centos.org Asunto: [CentOS-es] Red Saludos, me interesa mucho trixbox lo instale en una maquina: hp pavilion pc procesador amd athlon 64 3800+ 512 mb ram 200gb hd lo instale pero no me reconocio la targeta de red asi que no puedo entrar soy nuevo en esto me pueden ayudar por favor le estoy muy agradecido de antmano att. Richard Tonato Ecuador No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.5/1618 - Release Date: 18/08/2008 06:51 a.m. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] graBar con ftp pasando por squid
grabar con b por favor conectate a la maquina por ssh o vpn, ya que quieres tocar el fichero squid.conf y eso solamente tiene que tocarlo el administrador de la maquina o sea el root... Nightduke 2008/8/18 Carlos Moreira [EMAIL PROTECTED]: Hola, tengo el siguiente problema, configure hace poco un servidor squid para la salida a Internet, el problema es que ahora estoy intentando poder acceder a un servidor ftp externo, al cual necesito autencicarme con usuario y contraseña, pero no me deja poder ingresar, en el squid.conf, leí un poco, y por lo que entendi, parece que por defecto cuando intentas conectarte por ftp el tipo mete un usuario generico, esto creo que es lo que me esta complicando, alguno sabe como hacer para poder hacerlo transparente el acceso a un ftp cuando tengo que pasar por el proxy?? gracias y salu2 Carlitos ___ 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
[CentOS] OT NIS Question
Hi People, I have been been using a NIS setup that I inherited for some time now and my eventual goal is to replace it with LDAP. But in the mean time I am looking at migrating some servers to new equipment and wondered if it is possible to have a single ypserv install servicing two NISDOMAINS? In this particular situation it would be a situation where for one domain the server would be a master and the other a slave. My initial research can't find anyone doing something similar. So can anyone familiar with NIS advise as to whether what I am thinking of is plausible ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: file manager over ssh
Thanks too all for you help, works great! Best regards 2008/8/17 Les Mikesell [EMAIL PROTECTED]: Mike wrote: I need to copy several file from one PC to another over Internet, both using CentOS. What file manager that works over console do you recommend me? Thanks at all Best Regards You've got a lot of good suggestions already but sftp is also a good one. Very similar to ftp but over ssh. Rsync is even better, especially if you are updating files that already exist or are taking a whole subdirectory but even if not, the syntax is similar to scp and lets you add -z for compression. -- Les Mikesell [EMAIL PROTECTED] ___ 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] Re: finding older rpms
Rogelio wrote: I'm on a fairly old RHEL box, when I cat /proc/version, I get the following: Linux version 2.4.21-4.ELsmp ([EMAIL PROTECTED]) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)) This is RHEL3 GA, released Oct 23, 2003. At this stage, I guess I don't have 'yum', so where exactly do I get the individual RPMs? Using up2date ofcourse, or simple logging into your RHN account at redhat. If you don't have a working RHN subscription for that host then you won't get any updates as they are not available anywhere outside of Redhat. If you can't get any updates then I would strongly recommend you reinstall with CentOS. -tgc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: DRBD 8.2 crashes CentOS 5.2 on rsync from remote host
Scott Silva wrote: on 8-14-2008 12:55 AM Chris Miller spake the following: nate wrote: Chris Miller wrote: I've got a pair of HA servers I'm trying to get into production. Here are some specs : [..] [EMAIL PROTECTED] ~]# BUG: unable to handle kernel paging request at virtual address c This typically means bad RAM While I won't rule this out, my local hardware vendor does a 48 hour burn-in including a full gamut of tests (including memory) before handing over the servers. These servers are less than two weeks old... Seems like this is a common type of error in some situations. I tried to boot in kexec/kdump mode (CentOS 5 replacement for diskdumputils), but the e1000 driver isn't seeing the NICs after a reboot via the capture kernel, so I can't replicate the (rsync induced) problem and perform kernel debugging. I'll explore this more tomorrow. Chris When the servers are shipped to you, do you open them and make sure all modules are seated completely, and haven't been dislodged by the shipping? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos why not try a memtest, you can download a bootable cd/usb and do a check _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: DRBD 8.2 crashes CentOS 5.2 on rsync from remote host
What server are? IBM, HP, DELL? 2008/8/18 Toshaan Bharvani [EMAIL PROTECTED]: Scott Silva wrote: on 8-14-2008 12:55 AM Chris Miller spake the following: nate wrote: Chris Miller wrote: I've got a pair of HA servers I'm trying to get into production. Here are some specs : [..] [EMAIL PROTECTED] ~]# BUG: unable to handle kernel paging request at virtual address c This typically means bad RAM While I won't rule this out, my local hardware vendor does a 48 hour burn-in including a full gamut of tests (including memory) before handing over the servers. These servers are less than two weeks old... Seems like this is a common type of error in some situations. I tried to boot in kexec/kdump mode (CentOS 5 replacement for diskdumputils), but the e1000 driver isn't seeing the NICs after a reboot via the capture kernel, so I can't replicate the (rsync induced) problem and perform kernel debugging. I'll explore this more tomorrow. Chris When the servers are shipped to you, do you open them and make sure all modules are seated completely, and haven't been dislodged by the shipping? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos why not try a memtest, you can download a bootable cd/usb and do a check Get news, entertainment and everything you care about at Live.com. Check it out! ___ 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] gftp crashing on IPv6 to vsftp
Carlos Eduardo Pedroza Santiviago wrote: Hi, On Fri, Aug 15, 2008 at 4:30 PM, Robert Moskowitz [EMAIL PROTECTED] wrote: I am running vsftp pretty much 'out of the box', though I turned off IPv4 and have it listening on IPv6. [...] But when I try to download or upload a file, gftp just crashes. Nothing in /var/log on either system. Any advice? Try running strace to see when gtfp crashes. Probably ~/.xsession-errors could have some useful info. Please tell me how to do this? Others I am working with have also found gftp not working with IPv6 ftp. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Looking for linphone
Karanbir Singh wrote: John R Pierce wrote: Robert Moskowitz wrote: And nowhere in centos.karan.org/el5/extras/testing/i386/RPMS or centos.karan.org/el5/misc/testing/i386/RPMS am I finding linphone google found me... http://centos.karan.org/el5/extras/testing/x86_64/RPMS/linphone-0.12.2-7.x86_64.rpm but not the i386 version. /me shrugs let me investigate, I recall there was a lib issue at the time. So what is the status of this? I can't even find linphone for FC6: http://fr.rpmfind.net/linux/rpm2html/search.php?query=linphone I am getting very paranoid about IPv6 apps. Broken, brain-dead, or just not there. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Disabling IPv4
I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Yes, I did an service network restart after changing ifcfg-lo. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disabling IPv4
Quoting Robert Moskowitz [EMAIL PROTECTED]: I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Try adding alias net-pf-2 off to your /etc/modprobe.conf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Boot CentOS 5 to command line
Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? Thanks. Best. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
Quoting ABBAS KHAN [EMAIL PROTECTED]: Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? Edit the /etc/inittab file and change the line that says: id:5:initdefault: to id:3:initdefault: This will tell your system to boot into text mode. If you want to switch while you are running .. you can type init 3 to go to text mode and init 5 to go to graphical mode. This will need to be done as the root user. Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
On Mon, Aug 18, 2008 at 2:46 PM, ABBAS KHAN [EMAIL PROTECTED] wrote: Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? You can change to multi-processing command line mode with 'init 3' and single user mode with the command 'init 1'. Modes can be changed dynamically in a running system. See the file /etc/inittab, it lists all the possible modes, the first line of this file defines the default mode: id:5:initdefault: which defaults to running the GUI at boot, change it to: id:3:initdefault: to not run the GUI at boot. Brett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
On Mon, Aug 18, 2008 at 11:46 AM, ABBAS KHAN [EMAIL PROTECTED] wrote: Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? When the grub screen showing which OS it will boot in X seconds comes up, type space, edit the boot line and add a 3 (with the space but without the quotes) to the end of the line, and it will come up at level 3 (no GUI). mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Boot CentOS 5 to command line
Once you boot into GUI you can login as root or login as a user and once in a terminal window su - to root and then change the line in /etc/inittab from id:5:initdefault: to id:3:initdefault: You can also do init 3 after saving the change to see what will happen before rebooting. This will keep the GUI login from being run and boot all enabled console screens and leave you at a character login. The way to boot without any services as needed is to login as root or become root with su - once the system is booted into runlevel 3 or 5 and do init 1 or telinit 1. This will put the system in single user runlevel and shut off all services similar to rescue mode. This would only allow you work from the console until you changed back to runlevel 3 or 5. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ABBAS KHAN Sent: Monday, August 18, 2008 1:46 PM To: centos@centos.org Subject: [CentOS] Boot CentOS 5 to command line Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? Thanks. Best. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
Sharing my experience with SSO of Linux clients to Active Directory. Over the last 2 years or so, i had a great deal of trouble getting and _keeping_ authentication to our Win2000/Win2003 Active Directory system working from OpenSUSE and CentOS clients. ADS authentication would work until reboot, a few days, a month max. We'll see how long this lasts. Another problem was dealing with the fact that i setup dns in AD using aMixedCaseDomain.com name. Had to add all variants to the [realms] and [domain_realm] names to /etc/krb5.conf. snslatc.hp.com, snslatc.HP.com, SNSLATC.HP.COM ... Over the weekend i gave up on CentOS and tried Fedora because Fedora repositories have SaMBa 3.2, but CentOS only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Still had problems with Fedora. Since i had to change the hostname in the middle of the process and update krb5.conf as mentioned above and i noticed that somehow dNSHostName in Active Directory was set to HOST/localhost:localdomain which clearly cannot be correct. So i used SysInternals LDAP Explorer (ADExplorer.exe) to change the entry in ActiveDirectory to remove any reference to localhost. Unless i changed /etc/hosts to not have rmonster in 127.0.0.1 localhost.localdomain localhost rmonster, deleted from WinAD and rejoined. dNSHostName: rmonster.snslatc.hp.com servicePrincipalName: CIFS/rmonster.snslatc.hp.com servicePrincipalName: CIFS/rmonster servicePrincipalName: HOST/rmonster.snslatc.hp.com servicePrincipalName: HOST/rmonster Is the line servicePrincipalName: CIFS/rmonster.snslatc.hp.com only required when you want your Linux box shares to show to other clients (Windows)? Successfully joined and authenticating using Fedora, but really want to use CentOS and have group policy support from likewise. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
On Monday 18 August 2008 14:46:22 ABBAS KHAN wrote: Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? Thanks. Best. Then there is the temporary method for when you forget the passwd. Or simply want to get into single user mode. Which is to add the word single to the kernel boot line (if you are using GRUB boot loader, which is default in CentOS). When GRUB appears press any key to stop the automatic countdown. Select the kernel to boot from and press e for edit. Then cursor down to the line that starts with kernel (usually the 2nd line), and press e to edit that line. Go to the end of the line and add a space and the word single. Press Enter to accept your change, and b to boot. It will now boot with your change. Please note, since we did not actually alter the config file it will not retain this change at any subsequent boots. -- Bobby ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem copying files to flash drive
I had an interesting experience this weekend backing up some flash drives to another flash drive on my CentOS 5.2 home desktop. My son had two 256MB flash drives and one 1GB flash drive that he wanted backed up onto his newer 2GB flash drive. I used rsync to copy the two smaller ones to the big one without any trouble, but when I tried to backup the 1GB files to the 2GB drive, I started getting massive no space on disk errors. After doing this several times, I copied to files to a directory on my hard drive and then tried to copy the files again from there to the 2GB flash drive (removing all files on the flash drive in between each iteration). Same problem. Then I did a cp -R of the directory itself from my hard drive to the flash drive, and voila! All files copied, no problems, except that now the files are in a new directory of the same name on the flash drive. The total number of files in the base directory is 171, and the total size of the files copied was a little over 500MB, so I believe that everything should have fit just fine. The commands I used that failed were 'rsync -av /media/drive_name/ /media/2GB_drive_name/' (which worked for the two smaller drives but not the bigger one), and then (after using the same command to copy the files to my hard drive), 'rsync -av ./ /media/2GB_drive_name/' The command that worked was 'cp -R . /media/2GB_drive_name/' The only thing that comes to mind is that there were a lot of files with ._xxx names on the 1GB flash drive, so I'm wondering if they just overloaded the capacity of the flash drive's FAT32 root directory name space, but I thought that limit was 512 entries, not less than 171. Any ideas? Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Lightweight MTA for XEN CentOS guests
All, For a production environment, I'd like to setup CentOS XEN guests as lightweight as possible. I'd like the XEN guests to be able to send nightly email as all CentOS servers do, but there is no reason to run a mail server as the CentOS Dom0 already has an email server running that can act as an email smart host. The options that seem most appealing to me are either ssmtp or sendmail minimally configured to only run the queuing submission agent. As far as ssmtp, I have not as yet found an CentOS RPM, presumably a Fedora RPM might be suitable. The down side of ssmtp is the lack of queuing should the smart host not be available, not likely but it is possible the email daemon could crash or be down for maintenance or other reason. As far as sendmail, it is simple to switch off the sendmail daemon and only run the queuing submission agent: 1) edit /etc/sysconfig/sendmail and set DAEMON=no 2) edit /etc/mail/submit.mc and set FEATURE(`msp', `[IP.of.relayhost]')dnl and of course add an alias for root. Does anyone on this list have experience running a minimal MTA? What other options/software should I be looking at? Any other insights, suggestions or insights? Both the Dom0 and guests are CentOS 5.2. Thanks in advance, Brett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem copying files to flash drive
On Mon, Aug 18, 2008 at 12:41 PM, MHR [EMAIL PROTECTED] wrote: I had an interesting experience this weekend backing up some flash drives to another flash drive on my CentOS 5.2 home desktop. My son had two 256MB flash drives and one 1GB flash drive that he wanted backed up onto his newer 2GB flash drive. I used rsync to copy the two smaller ones to the big one without any trouble, but when I tried to backup the 1GB files to the 2GB drive, I started getting massive no space on disk errors. After doing this several times, I copied to files to a directory on my hard drive and then tried to copy the files again from there to the 2GB flash drive (removing all files on the flash drive in between each iteration). Same problem. Then I did a cp -R of the directory itself from my hard drive to the flash drive, and voila! All files copied, no problems, except that now the files are in a new directory of the same name on the flash drive. The total number of files in the base directory is 171, and the total size of the files copied was a little over 500MB, so I believe that everything should have fit just fine. The commands I used that failed were 'rsync -av /media/drive_name/ /media/2GB_drive_name/' (which worked for the two smaller drives but not the bigger one), and then (after using the same command to copy the files to my hard drive), 'rsync -av ./ /media/2GB_drive_name/' The command that worked was 'cp -R . /media/2GB_drive_name/' The only thing that comes to mind is that there were a lot of files with ._xxx names on the 1GB flash drive, so I'm wondering if they just overloaded the capacity of the flash drive's FAT32 root directory name space, but I thought that limit was 512 entries, not less than 171. Any ideas? Thanks. mhr Sparse files?? See the -S or --sparse flag -- NiftyCluster T o m M i t c h e l l ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Lightweight MTA for XEN CentOS guests
I like exim for this purpose. I used to run a number of high performance clusters and some of the nodes needed to send status information via e-mail. Exim was just right for me. It is also pretty easy to configure. http://www.exim.org/ Geoff Galitz Blankenheim NRW, Deutschland http://www.galitz.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Serkez Sent: Montag, 18. August 2008 22:00 To: CentOS mailing list Subject: [CentOS] Lightweight MTA for XEN CentOS guests All, For a production environment, I'd like to setup CentOS XEN guests as lightweight as possible. I'd like the XEN guests to be able to send nightly email as all CentOS servers do, but there is no reason to run a mail server as the CentOS Dom0 already has an email server running that can act as an email smart host. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disabling IPv4
Barry Brimer wrote: Quoting Robert Moskowitz [EMAIL PROTECTED]: I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Try adding alias net-pf-2 off to your /etc/modprobe.conf I did that and rebooted. Then did a ifconfig and lo is still showing an inet address of 127.0.0.1 and I can ping 127.0.0.1 So that tends to imply that ipv4 is still running. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lightweight MTA for XEN CentOS guests
Brett Serkez wrote: Does anyone on this list have experience running a minimal MTA? What other options/software should I be looking at? Any other insights, suggestions or insights? I run postfix on all of my vmware VMs with this minimal config: /etc/postfix/main.cf - queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix inet_interfaces = 127.0.0.1 recipient_delimiter = _ setgid_group = postdrop relayhost = (my relay host) If you wanted it smaller I just tested it with this config and it still works: mail_owner = postfix inet_interfaces = 127.0.0.1 setgid_group = postdrop relayhost = (my relay host) Could probably reduce it further.. I do re-route mail destined for accounts like root to a different account on a remote system, which is configured in the aliases file. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing fonts for tightvnc
Getting back to this. Progress. Fonts 'fixed', but... Rob Lockhart wrote: On Wed, Aug 13, 2008 at 12:14 PM, Toby Bluhm [EMAIL PROTECTED] wrote: Robert Moskowitz wrote: Toby Bluhm wrote: Robert Moskowitz wrote: You would think installing via yum would handle dependencies, but perhaps fonts are not managed like dependencies. Anyway, I installed tightvnc to test out its IPv6 support. Installed ok (after I erased regular vnc). But when I tried to start it, I got 5 warnings about: Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring (then the same message for Speedo, Type1, 75dpi, and 100dpi). Then a fatel server error about: could not open default fount 'fixed' So I looked in the repos (curtesy of yumex) and did find a few 75dpi a 100dpi fonts, but there seemed to be a lot of these two. I installed a ocuple of them and tried again. Got the same errors. So how do I fix this one? But I stopped both iptables and ip6tables and the same error messages. And installing OpenOffice did not 'fix' things. Perhaps setting symlinks may be needed. I remember playing games with Matlab to get it to find it's own fonts. I think it went something like: mkdir fontdir cp fonts* fontdir mkfontdir fontdir Add fontdir to /etc/X11/fs/config Like you say, maybe just a link to /usr/share/X11/fonts/misc would do the trick. Perhaps a vnc/X startup script somewhere is hardcoded? Robert, I noticed the same thing, so what I did is the following: cd /usr/X11R6/; mkdir lib; cd lib; ln -s /usr/share/X11 . Now try it. Seems like the repository from which I got TightVNC has issues in directory compatibility but at least I got it working. I didn't have a misc fonts directory, and my $HOME/.vnc/xtartup has: #!/bin/sh # Red Hat Linux VNC session startup script exec /etc/X11/xinit/xinitrc If that still doesn't work, I'll post the /etc/init.d/vncserver script that works for me (possibly from an older install of tightvnc - 1.2.9 I believe). Now I get: vncserver: The USER environment variable is not set. If there's a more elegant solution, someone please let us know! :-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [Centos] mirroring with LVM?
Gordon McLellan [EMAIL PROTECTED] writes: I'm pulling my hair out trying to setup a mirrored logical volume. lvconvert tells me I don't have enough free space, even though I have hundreds of gigabytes free on both physical volumes. your problem is that vg1 only has one PV. if you are mirroring with --corelog you need a minimum of 2 PVs. (3 if you are using --mirrorlog disk) You have other PVs, they just aren't available to vg1. add them with vgextend ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
Rob Townley wrote: Over the weekend i gave up on CentOS and tried Fedora because Fedora repositories have SaMBa 3.2, but CentOS only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Rebuild the samba src rpms on CentOS? I gave up on integrating windows+(insert any OS here) integration years ago, not worth the headaches. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
nate wrote: Rob Townley wrote: Over the weekend i gave up on CentOS and tried Fedora because Fedora repositories have SaMBa 3.2, but CentOS only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Rebuild the samba src rpms on CentOS? I gave up on integrating windows+(insert any OS here) integration years ago, not worth the headaches. less headaches use Services For Unix in your AD. if you need winbind, use the samba rpms from Sernet. http://enterprisesamba.org/ almost all my nightmares with integrations with AD+winbind was resolved with this ones. -- Black Hand ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lightweight MTA for XEN CentOS guests
Brett Serkez wrote: All, For a production environment, I'd like to setup CentOS XEN guests as lightweight as possible. I'd like the XEN guests to be able to send nightly email as all CentOS servers do, but there is no reason to run a mail server as the CentOS Dom0 already has an email server running that can act as an email smart host. how about just have logwatch use a mua and have that use a remote smtp server ( mutt works well ). - KB -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lightweight MTA for XEN CentOS guests
Karanbir Singh wrote: Brett Serkez wrote: For a production environment, I'd like to setup CentOS XEN guests as lightweight as possible. I'd like the XEN guests to be able to send nightly email as all CentOS servers do, but there is no reason to run a mail server as the CentOS Dom0 already has an email server running that can act as an email smart host. how about just have logwatch use a mua and have that use a remote smtp server ( mutt works well ). Since when is the mutt in base compiled with esmtp support? Ralph pgpDYnfQI0S5w.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Looking for linphone
Robert Moskowitz wrote: let me investigate, I recall there was a lib issue at the time. So what is the status of this? its in the queue, I'll get around to it soon -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lightweight MTA for XEN CentOS guests
Ralph Angenendt wrote: how about just have logwatch use a mua and have that use a remote smtp server ( mutt works well ). Since when is the mutt in base compiled with esmtp support? must it be from base :D - KB -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lightweight MTA for XEN CentOS guests
Karanbir Singh wrote: Ralph Angenendt wrote: how about just have logwatch use a mua and have that use a remote smtp server ( mutt works well ). Since when is the mutt in base compiled with esmtp support? must it be from base :D Not necessarily :P Ralph pgpeKR9XqU0Fw.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
We've had good luck with this approach: http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/ Basically using the Windows 2003 R2 schema extensions (as opposed to SFU) and Identity Management for Unix mmc. On Mon, Aug 18, 2008 at 4:17 PM, BlackHand [EMAIL PROTECTED] wrote: nate wrote: Rob Townley wrote: Over the weekend i gave up on CentOS and tried Fedora because Fedora repositories have SaMBa 3.2, but CentOS only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Rebuild the samba src rpms on CentOS? I gave up on integrating windows+(insert any OS here) integration years ago, not worth the headaches. less headaches use Services For Unix in your AD. if you need winbind, use the samba rpms from Sernet. http://enterprisesamba.org/ almost all my nightmares with integrations with AD+winbind was resolved with this ones. -- Black Hand ___ 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] Problem copying files to flash drive
On Mon, Aug 18, 2008 at 1:10 PM, NiftyClusters Mitch [EMAIL PROTECTED] wrote: Sparse files?? See the -S or --sparse flag I don't think so (have to check when I get home), but wouldn't that cause problems regardless of the target directory? Remember, I _was_ able to copy all the files to a directory on the flash drive, just not the root directory. Most of the files were image files, although there were others, too Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [Request] mod_auth_ntlm_winbind
http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind I have built an rpm for my own use, by grabbing the source files from sambas' web interface to cvs. It would be real neat to have it packaged and available through yum. -- Cheers, Morten :wq ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem copying files to flash drive
MHR wrote: Remember, I _was_ able to copy all the files to a directory on the flash drive, just not the root directory. Most of the files were image files, although there were others, too IIRC FAT(32?) has a limit of 512 files in the root directory. Ralph pgp131IjVyfnS.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem copying files to flash drive
On Mon, Aug 18, 2008 at 3:18 PM, Ralph Angenendt [EMAIL PROTECTED] wrote: IIRC FAT(32?) has a limit of 512 files in the root directory. Me, too, but there weren't that many files total, and a lot of those were in subdirectories. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing fonts for tightvnc
Hi, On Mon, Aug 18, 2008 at 16:42, Robert Moskowitz [EMAIL PROTECTED] wrote: vncserver: The USER environment variable is not set. So, is it set or not? It's usually set by /etc/profile, so if it's not set, that might indicate you have an issue with your setup. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [Centos] mirroring with LVM?
Hi, On Sun, Aug 17, 2008 at 09:50, Gordon McLellan [EMAIL PROTECTED] wrote: Command: lvconvert -m1 /dev/vg1/iscsi_deeds_data Insufficient suitable allocatable extents for logical volume : 10240 more required Any ideas? Did you try: lvconvert -m1 /dev/vg1/iscsi_deeds_data /dev/sdb4 ? HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gftp crashing on IPv6 to vsftp
Hi, On Mon, Aug 18, 2008 at 10:00, Robert Moskowitz [EMAIL PROTECTED] wrote: Please tell me how to do this? Try running strace to see when gtfp crashes. $ strace -tt -s 1024 -f -o /tmp/strace_gftp.txt gftp ... Where gftp ... is the command line you want to run. The output will be in /tmp/strace_gftp.txt, if you look at the end of that file you will see what gftp was doing when it crashed. You may try to send the last few lines of the file to this list (the whole file will certainly be blocked because of the attachment size) for us to help you figure out what was going on. Probably ~/.xsession-errors could have some useful info. $ cat ~/.xsession-errors This should show you if there was an error in an X application, this file is basically the stderr of all the applications launched from X (IIRC). HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
On Mon, Aug 18, 2008 at 4:50 PM, David Miller [EMAIL PROTECTED] wrote: We've had good luck with this approach: http://blog.scottlowe.org/2007/01/15/linux-ad-integration-version-4/ Basically using the Windows 2003 R2 schema extensions (as opposed to SFU) and Identity Management for Unix mmc. On Mon, Aug 18, 2008 at 4:17 PM, BlackHand [EMAIL PROTECTED] wrote: nate wrote: Rob Townley wrote: Over the weekend i gave up on CentOS and tried Fedora because Fedora repositories have SaMBa 3.2, but CentOS only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Rebuild the samba src rpms on CentOS? I gave up on integrating windows+(insert any OS here) integration years ago, not worth the headaches. less headaches use Services For Unix in your AD. if you need winbind, use the samba rpms from Sernet. http://enterprisesamba.org/ almost all my nightmares with integrations with AD+winbind was resolved with this ones. -- Black Hand ___ 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 i forgot about EnterpriseSamba - thanks for the link. Maybe i wont compile on CentOS because EnterpriseSamba has a repository now - * http://ftp.sernet.de *for Yum, debs, and YaST. Fedora seems to be working fairly well, but i won't really trust it until i have put it thru about 2 months of use. Scott Lowe also has an article on Win2003R1. (A license to Win2003R1 does not give you a license to Win2003R2 - It has to be purchased.) There are so many more comments and user experiences on his blog now - thanks for the link. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
Barry Brimer wrote: id:3:initdefault: This will tell your system to boot into text mode. If you want to switch while you are running .. you can type init 3 to go to text mode and init 5 to go to graphical mode. This will need to be done as the root user. The obligatory warning:- Run level 3 may have different services loaded than run level 5. Study the output from chkconfig --list on your server to see what services are started in each run level. E.g.:- [EMAIL PROTECTED] ~]# chkconfig --list nfslock 0:off 1:off 2:off 3:on4:on5:on6:off ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off acpid 0:off 1:off 2:off 3:on4:on5:on6:off diskdump0:off 1:off 2:off 3:off 4:off 5:off 6:off webmin 0:off 1:off 2:on3:on4:off 5:on6:off cqcs_acs0:off 1:off 2:on3:on4:on5:on6:off ntpd0:off 1:off 2:off 3:on4:off 5:on6:off xfs 0:off 1:off 2:on3:on4:on5:on6:off snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off sshd0:off 1:off 2:on3:on4:on5:on6:off nscd0:off 1:off 2:off 3:off 4:off 5:off 6:off syslog 0:off 1:off 2:on3:on4:on5:on6:off sysstat 0:off 1:on2:on3:on4:on5:on6:off cpuspeed0:off 1:on2:on3:on4:on5:on6:off readahead 0:off 1:off 2:off *3:off* 4:off *5:on*6:off smartd 0:off 1:off 2:on3:on4:on5:on6:off rpcsvcgssd 0:off 1:off 2:off 3:on4:on5:on6:off radiusd 0:off 1:off 2:off 3:off 4:off 5:off 6:off mysqld 0:off 1:off 2:on3:on4:off 5:on6:off snip Ian smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Request] mod_auth_ntlm_winbind
On Mon, Aug 18, 2008 at 5:18 PM, Morten Nilsen [EMAIL PROTECTED] wrote: http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind I have built an rpm for my own use, by grabbing the source files from sambas' web interface to cvs. It would be real neat to have it packaged and available through yum. -- Cheers, Morten :wq ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos One of the other users posted about EnterpriseSamba.com. Their repository is at *http://ftp.sernet.de http://ftp.sernet.de/pub/services/samba/README.txt Haven't tried it myself. Then again, you are referring to using AD Authentication in a web browser, but i would think their package would eliminate some of the steps, anyway. * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: Problem copying files to flash drive
on 8-18-2008 12:41 PM MHR spake the following: I had an interesting experience this weekend backing up some flash drives to another flash drive on my CentOS 5.2 home desktop. My son had two 256MB flash drives and one 1GB flash drive that he wanted backed up onto his newer 2GB flash drive. I used rsync to copy the two smaller ones to the big one without any trouble, but when I tried to backup the 1GB files to the 2GB drive, I started getting massive no space on disk errors. After doing this several times, I copied to files to a directory on my hard drive and then tried to copy the files again from there to the 2GB flash drive (removing all files on the flash drive in between each iteration). Same problem. Then I did a cp -R of the directory itself from my hard drive to the flash drive, and voila! All files copied, no problems, except that now the files are in a new directory of the same name on the flash drive. The total number of files in the base directory is 171, and the total size of the files copied was a little over 500MB, so I believe that everything should have fit just fine. The commands I used that failed were 'rsync -av /media/drive_name/ /media/2GB_drive_name/' (which worked for the two smaller drives but not the bigger one), and then (after using the same command to copy the files to my hard drive), 'rsync -av ./ /media/2GB_drive_name/' The command that worked was 'cp -R . /media/2GB_drive_name/' The only thing that comes to mind is that there were a lot of files with ._xxx names on the 1GB flash drive, so I'm wondering if they just overloaded the capacity of the flash drive's FAT32 root directory name space, but I thought that limit was 512 entries, not less than 171. Any ideas? Thanks. mhr I believe that long file names on fat32 take more than 1 directory entry each. If you had long names they can take up to 20 entries for each file. http://en.wikipedia.org/wiki/Long_filename -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disabling IPv4
On Mon, 18 Aug 2008, Robert Moskowitz wrote: Barry Brimer wrote: Quoting Robert Moskowitz [EMAIL PROTECTED]: I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Try adding alias net-pf-2 off to your /etc/modprobe.conf I did that and rebooted. Then did a ifconfig and lo is still showing an inet address of 127.0.0.1 and I can ping 127.0.0.1 So that tends to imply that ipv4 is still running. I would agree with you. Have you tried setting ONBOOT=no in /etc/sysconfig/network-scripts/ifcfg-lo ?? Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disabling IPv4
Barry Brimer wrote: On Mon, 18 Aug 2008, Robert Moskowitz wrote: Barry Brimer wrote: Quoting Robert Moskowitz [EMAIL PROTECTED]: I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Try adding alias net-pf-2 off to your /etc/modprobe.conf I did that and rebooted. Then did a ifconfig and lo is still showing an inet address of 127.0.0.1 and I can ping 127.0.0.1 So that tends to imply that ipv4 is still running. I would agree with you. Have you tried setting ONBOOT=no in /etc/sysconfig/network-scripts/ifcfg-lo ?? No, but I do want iPv6 loopback, so I need something working for ifcfg-lo Will try some more tomorrow ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot CentOS 5 to command line
Thanks you :) On Mon, Aug 18, 2008 at 12:33 PM, Bobby [EMAIL PROTECTED] wrote: On Monday 18 August 2008 14:46:22 ABBAS KHAN wrote: Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD? Thanks. Best. Then there is the temporary method for when you forget the passwd. Or simply want to get into single user mode. Which is to add the word single to the kernel boot line (if you are using GRUB boot loader, which is default in CentOS). When GRUB appears press any key to stop the automatic countdown. Select the kernel to boot from and press e for edit. Then cursor down to the line that starts with kernel (usually the 2nd line), and press e to edit that line. Go to the end of the line and add a space and the word single. Press Enter to accept your change, and b to boot. It will now boot with your change. Please note, since we did not actually alter the config file it will not retain this change at any subsequent boots. -- Bobby ___ 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] Re: Problem copying files to flash drive
On Mon, Aug 18, 2008 at 4:23 PM, Scott Silva [EMAIL PROTECTED] wrote: I believe that long file names on fat32 take more than 1 directory entry each. If you had long names they can take up to 20 entries for each file. http://en.wikipedia.org/wiki/Long_filename That was probably it - there were actually 325 files in the base directory, some with really long filenames. Thanks! mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disabling IPv4
On Mon, 18 Aug 2008, Robert Moskowitz wrote: Barry Brimer wrote: On Mon, 18 Aug 2008, Robert Moskowitz wrote: Barry Brimer wrote: Quoting Robert Moskowitz [EMAIL PROTECTED]: I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Try adding alias net-pf-2 off to your /etc/modprobe.conf I did that and rebooted. Then did a ifconfig and lo is still showing an inet address of 127.0.0.1 and I can ping 127.0.0.1 So that tends to imply that ipv4 is still running. I would agree with you. Have you tried setting ONBOOT=no in /etc/sysconfig/network-scripts/ifcfg-lo ?? No, but I do want iPv6 loopback, so I need something working for ifcfg-lo Will try some more tomorrow Maybe you can try removing IPADDR and NETMASK and adding: IPV6INIT=yes IPV6ADDR=::1 The complete documentation for the ifcfg files is in : /usr/share/doc/initscripts-*/sysconfig.txt There is a log of other documentation in this file as well .. I would just search for ifcfg once inside the file. Hope this helps, Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos