Re: [CentOS] Full server restore-point image
On Thursday 02 August 2007 22:26:48 Alain Reguera Delgado wrote: > Hi, > > After some months of configuring and testing a small server, think > that would be nice to make a full server restore-point image in order > to recover it if something goes wrong in the future, just restoring > the image back and not making the full install and configure process > all over again. The server uses Logical Volumes. > > I was thinking on using the CentOS LiveCD and then use dd command to > clone all partitions to another storage device. But I have no > experience on this. > > What do you suggest ? I would give partimabge a try. I was using it several times, and it's really simple and efficient. The only problem you can hit is your hardware RAID controller not being recognized. You can make images of partitions, and recover them (even to disks with different geometry) easily. Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
On Thursday 02 August 2007 16:56:46 Ray Leventhal wrote: > As it will be a production server and this is my first foray into > CentOS/SELinux in a production environment I was hoping to get a > recommended list of what to include and, more specifically, what *not* > to include from the distro CDs > > I will be doing a text based install, hoping to avoid the installation > of X. Other than BIND and vsftpd, I don't think I need much. This > machine will be pulling zone files from my primary web server and > storing some archive files and backups for me. > > I'm dilligently R`ingTFMs, and will continue to I'd sure be > appreciative of any jumpstart help and/or any pitfalls of which to be > cognizant. > Apart from installation, I would suggest using PowerDNS as a secondary DNS. It's not only robust, fast and secure, but also has very interesting capability of automated zones depolying (espacially usefull for secondary NS). I'm using it on all my secondary nameservers, and that's saving me lot of time. Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
> I'm coming in late to this thread. We too are a hosting provider > (small time), hosting approximately 1600 live domains. > > Not to say tinydns is a bad alternative, as it has it's strengths, but > we moved away from [outgrew] it 2 years ago. > > If you were already running Bind, CentOS 5 is a great platform. I run > a few multi-domain (3-10) slaves using a chrooted Bind for a couple > offsite clients. Fine for small number of domains. Short term, I'd > recommend just getting another Bind install up and running to fix your > issue, THEN look at alternatives. > > I've personally used PowerDNS, TinyDNS, MyDNS, nsd, Bind 8/9, and MS > DNS. PowerDNS is phenomenal. Look into the proprietary > "supermaster/superslave" functionality. To manage the 1600+ domains, > we have our primary server setup using a MySQL backend. This allows > simple integration of our accounting and support systems. The slaves > are using sqlite3 backends. One word of caution, while a "superslave" > may automatically add a new domain, it will not remove domains deleted > at the master. I've solved this by removing all non NS/SOA records > from that domain and updating the serial on the master - so changes > propagate to slaves. Then have a cronjob running that purges empty > domains from the databases on the master and slaves. > > Also, I've found the PowerDNS RPM's located at the EPEL repo to be > completely stable. They even have the backends broken out separately. > > Lastly, I don't know about you, but I hate giving shell access where > it's not needed ... especially to support staff under a Tier3 level. > So I use Pure-FTPD running virtual users and an FTPS (not SFTP) > client like lftp or filezilla for transfers. If I need a higher level > of security then I use rsync over SSH. > > Forgive me for being so verbose. :-) > > -ken Overly Verbose? Not at all, Ken. I am thrilled to hear of your experiences and was, actually, intending to do a straight BIND install first as it's what I'm most familiar with at this time. I certainly have a lot of material to review before making the leap away from BIND proper, but that I now know what that material is, at least in part, is a blessing. Please be verbose as you'd like. I, for one, truly appreciate it. Thanks again, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] where the problem
Dear All I have jus migrated to centos 5 and jus wondering why n where this problem could be server A which is running for the past 2 years used as my primary dns and mail server redhat linux 8 sendmail ver-8.12.5-7 bind ver -9.2.1-9 since the server is old and is prone to all security problems i have a new machine which i have installed the following and will replace my existing redhat dns + mail server centOS 5 bind-9.3.3-8.el5 sendmail-8.13.8-2.el5 mailscanner latest spam assassin + clamav - latest dkim filter plus the lastest updates now when i send a mail to my yahoo account from my old redhat server it goes fine to inbox I disconect my old red hat server cable and plug it new centos server since both have the same IP's and when i send a mail from the centos server it goes to yahoo bulk mail and not to inbox receving is fine with both server i am jus wondering why. even i see the DKIM filter inserts a global key ( text record of my DNS ) in my mail logs and also in the yahoo when i see full headers in yahoo apprecite if someone could help me thnks and regards simon -- Network Administrator -- Network Administrator ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Tomasz Napierała wrote: > Apart from installation, I would suggest using PowerDNS as a secondary DNS. > It's not only robust, fast and secure, but also has very interesting > capability of automated zones depolying (espacially usefull for secondary > NS). I'm using it on all my secondary nameservers, and that's saving me lot > of time. > > Regards, > Thank you Tomasz, I'll have a look at PowerDNS. Much appreciated. ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Ray Leventhal wrote: Tomasz Napierała wrote: Apart from installation, I would suggest using PowerDNS as a secondary DNS. It's not only robust, fast and secure, but also has very interesting capability of automated zones depolying (espacially usefull for secondary NS). I'm using it on all my secondary nameservers, and that's saving me lot of time. Regards, Thank you Tomasz, I'll have a look at PowerDNS. Much appreciated. Well, if you are willing to look into BIND alternatives, please take a look also at tinydns which is part of the djbdns package. Dead simple format for dns configuration and on-the-fly zone updating are some of its features. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
On Fri, 2007-08-03 at 13:49 +0200, Martin Hamant wrote: > Le Tue, 31 Jul 2007 14:16:54 +0200 > Martin Hamant <[EMAIL PROTECTED]> écrivait: > > (snip) > > I don't know how it's possible to improve this, maybe a yum plugin > > which could detect any drbd modules and if it's matches with > > any installed kernels... what do you think ? > > > > Thanks to you :) > > > > Hmm in other words, I can contribute if something started to improve the > system ;) I have written a plugin to carry over modules that are kabi compatible if no new package was found to cover for the module for a new kernel. The latest alpha version is available from: http://people.centos.org/~daniel/code/yum/3.0/yum-kmodorphans/ Please don't use this for production machines! There are still some glitches that need fixing, and the policy of what to handle still has to be finalized. -- Daniel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Tue, 31 Jul 2007 14:16:54 +0200 Martin Hamant <[EMAIL PROTECTED]> écrivait: (snip) > I don't know how it's possible to improve this, maybe a yum plugin > which could detect any drbd modules and if it's matches with > any installed kernels... what do you think ? > > Thanks to you :) > Hmm in other words, I can contribute if something started to improve the system ;) Cheers -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] command for dhcp client
Is there a command that says DONT use the ifcfg-eth0 setting(s) that basically have a static address and start the network in DHCP. I dont want to disturb the static settings in ifcfg-eth0 or re-enter them once my DHCP setting is done... I just want to temporarily run with DHCP (I'm on different network than the static setup). dhclient eth0 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] where the problem
Hi Simon, You can post your maillog of the CentOS? []s Daniel Bruno On 8/3/07, simon <[EMAIL PROTECTED]> wrote: > > > Dear All > > I have jus migrated to centos 5 and jus wondering why n where this problem > could be > server A which is running for the past 2 years used as my primary dns and > mail server > > redhat linux 8 > sendmail ver-8.12.5-7 > bind ver -9.2.1-9 > > since the server is old and is prone to all security problems i have a new > machine which i have installed the following and will replace my existing > redhat dns + mail server > > centOS 5 > bind-9.3.3-8.el5 > sendmail-8.13.8-2.el5 > mailscanner latest > spam assassin + clamav - latest > dkim filter > plus the lastest updates > > now when i send a mail to my yahoo account from my old redhat server it > goes fine to inbox > > I disconect my old red hat server cable and plug it new centos server > since both have the same IP's and when i send a mail from the centos > server it goes to yahoo bulk mail and not to inbox > > receving is fine with both server > > i am jus wondering why. even i see the DKIM filter inserts a global key ( > text record of my DNS ) in my mail logs and also in the yahoo when i see > full headers in yahoo > > apprecite if someone could help me > > thnks and regards > > simon > > > -- > Network Administrator > > > > -- > Network Administrator > ___ > 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] tomcat error on x86_64 with 2.6.18-8.1.8.el5xen & jre 1.6.*
I get the same error as this person: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9349 Like the poster, I get the error with tomcat 6.0.13 on x86_64, kernel 2.6.18-8.1.8.el5xen and both jre 1.6.0_01 and 1.6.0_02 When I revert to jre 5u12 on the same kernel, I don't get the problem. If I stay with jre 6, but use kernel 2.6.18-8.el5, I also don't get the error. So it's not clear to me whether this is a java problem or a kernel problem. Any hints? For now, I can use jre 5u12, but I could file a bug if I could figure out which one is actually causing the error. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Well, if you are willing to look into BIND alternatives, please take a look also at tinydns which is part of the djbdns package. Dead simple format for dns configuration and on-the-fly zone updating are some of its features. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Feizhou, I'm more than willing to look into alternatives, especially when recommended by those more knowledgeable than I (which is *most* of this list, I might add) So, thank you *very* much for that. The machine is slated to go live this weekend so i've clearly got some reading and evaluating to do (on my testbed machine, of course). Thanks again...and again, ~Ray I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. If you were already running Bind, CentOS 5 is a great platform. I run a few multi-domain (3-10) slaves using a chrooted Bind for a couple offsite clients. Fine for small number of domains. Short term, I'd recommend just getting another Bind install up and running to fix your issue, THEN look at alternatives. I've personally used PowerDNS, TinyDNS, MyDNS, nsd, Bind 8/9, and MS DNS. PowerDNS is phenomenal. Look into the proprietary "supermaster/superslave" functionality. To manage the 1600+ domains, we have our primary server setup using a MySQL backend. This allows simple integration of our accounting and support systems. The slaves are using sqlite3 backends. One word of caution, while a "superslave" may automatically add a new domain, it will not remove domains deleted at the master. I've solved this by removing all non NS/SOA records from that domain and updating the serial on the master - so changes propagate to slaves. Then have a cronjob running that purges empty domains from the databases on the master and slaves. Also, I've found the PowerDNS RPM's located at the EPEL repo to be completely stable. They even have the backends broken out separately. Lastly, I don't know about you, but I hate giving shell access where it's not needed ... especially to support staff under a Tier3 level. So I use Pure-FTPD running virtual users and an FTPS (not SFTP) client like lftp or filezilla for transfers. If I need a higher level of security then I use rsync over SSH. Forgive me for being so verbose. :-) -ken ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. I used to work for a messaging service provider and they had two systems. The first system was the service provider offering its messaging platform for its own domains and a hundred or so domains for quite a lot of clients and these were managed with BIND by hand. eek. i can imagine that was a pain. So I do not know how you 'outgrew' tinydns. After all the only part that involves tinydns is 'generate the cdb file from a database for tinydns to chew' or in other words, generating the cdb file for tinydns is the least of your problems to tackle. Look, in no way was i bashing TinyDNS or starting a flamewar. This is why i prefaced my comment with "Not to say tinydns is a bad alternative, as it has it's strengths". By "outgrew" i mean we required more of our DNS server. We weren't a top level domain provider. Our clients required authoritative and sometimes secondary service. As a result, we required better RFC compliance and a broader range of features then TinyDNS provided. That's all. Our business simply required greater flexibility. Generally, your business needs should determine the solution. Not the other way around. Cheers. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Feizhou wrote: > Ray Leventhal wrote: >> Tomasz Napierała wrote: >> >>> Apart from installation, I would suggest using PowerDNS as a >>> secondary DNS. It's not only robust, fast and secure, but also has >>> very interesting capability of automated zones depolying (espacially >>> usefull for secondary NS). I'm using it on all my secondary >>> nameservers, and that's saving me lot of time. >>> >>> Regards, >>> >> Thank you Tomasz, I'll have a look at PowerDNS. Much appreciated. >> > > Well, if you are willing to look into BIND alternatives, please take a > look also at tinydns which is part of the djbdns package. > > Dead simple format for dns configuration and on-the-fly zone updating > are some of its features. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos Feizhou, I'm more than willing to look into alternatives, especially when recommended by those more knowledgeable than I (which is *most* of this list, I might add) So, thank you *very* much for that. The machine is slated to go live this weekend so i've clearly got some reading and evaluating to do (on my testbed machine, of course). Thanks again...and again, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. I used to work for a messaging service provider and they had two systems. The first system was the service provider offering its messaging platform for its own domains and a hundred or so domains for quite a lot of clients and these were managed with BIND by hand. The other system was used for solely one client and that client is a rather big Registrar, whom I shall not name, with thousands of domains of which a good portion (over 50k) were hosted by this messaging service provider since the registrar did not have its own messaging platform. All these domains were automatically managed with tinydns. So I do not know how you 'outgrew' tinydns. After all the only part that involves tinydns is 'generate the cdb file from a database for tinydns to chew' or in other words, generating the cdb file for tinydns is the least of your problems to tackle. The secondaries are handled just the same (actually, you do not need 'secondaries' anymore...if IIRC, you just have to rsync the cdb file over so there is no real master/slave thing here) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
On Friday 03 August 2007 15:46:49 Ken Price wrote: > I've personally used PowerDNS, TinyDNS, MyDNS, nsd, Bind 8/9, and MS > DNS. PowerDNS is phenomenal. Look into the proprietary > "supermaster/superslave" functionality. To manage the 1600+ domains, > we have our primary server setup using a MySQL backend. This allows > simple integration of our accounting and support systems. The slaves > are using sqlite3 backends. One word of caution, while a "superslave" > may automatically add a new domain, it will not remove domains deleted > at the master. I've solved this by removing all non NS/SOA records > from that domain and updating the serial on the master - so changes > propagate to slaves. Then have a cronjob running that purges empty > domains from the databases on the master and slaves. > Just to add one comment, PowerDNS is also easy migration path from BIND as it can use existing BIND configuration files as a backend in addition to MySQL (or other dbms) Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Chmod Explaination
On Thu, 2007-08-02 at 22:30 -0400, Steve Huff wrote: > On Aug 2, 2007, at 5:58 PM, Ross S. W. Walker wrote: > > >>As far as root not being able to, do you have selinux running? > >> > >> No, I don't have. > > > > Then I dunno why root didn't, as with selinux disabled root also > > has implicit rights to all files/folders, but with selinux enabled > > security context can be setup on a directory hierarchy to only > > give implict rights to owners. > > is user_dir on an NFS share? By default root will have the least privileged access to NFS shares (nobody.nogroup or nfsnobody.nfsnogroup) unless no_root_squash is specified for the client machine in the server's /etc/exports. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 4 vs 5 for VMware?
For stability reasons, I'm running CentOS 4 for VMware (it's the devil I know). Are there any compelling reasons to upgrade to CentOS 5 for it? I'm relatively new to the whole virtualisation scene and perhaps there are some updated packages that might be good for VMware? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: Re: [CentOS] yum-updatesd.conf on centos 5
On 02 August 2007, "Indunil Jayasooriya" <[EMAIL PROTECTED]> wrote: > Hey, Why should I remove ProtectBase ? Whithout removing ProtectBase, > Is it NOT proper to install Priorities? I believe it is one or the other. If you decide to change to Priorities, which is recommended on the Wiki, remove ProtectBase, before you install Priorities. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On Fri, Aug 03, 2007 at 10:24:44AM -0700, Rogelio Bastardo wrote: > For stability reasons, I'm running CentOS 4 for VMware (it's the devil I > know). > > Are there any compelling reasons to upgrade to CentOS 5 for it? I'm > relatively new to the whole virtualisation scene and perhaps there are > some updated packages that might be good for VMware? Seems to run fine on CentOS 5 as well. CentOS 5 kernel lets you exclude some processes from consideration for "death" by the OOM killer which is kinda nice. :) Of course there are plenty of other settings in the 4 kernel that help keep VMware safe from being accidentally killed. Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] command for dhcp client
Is there a command that says DONT use the ifcfg-eth0 setting(s) that basically have a static address and start the network in DHCP. I dont want to disturb the static settings in ifcfg-eth0 or re-enter them once my DHCP setting is done... I just want to temporarily run with DHCP (I'm on different network than the static setup). Yes I can copy files and then recopy files and all that - but is there a command that just says startup the network in DHCP and dont change anything in the files. Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Can't print PDFs or PSs in CentOS 5.0
On 8/2/07, fredex <[EMAIL PROTECTED]> wrote: > > I missed earlier postings in this thread, so please allow me to ask: > Areyou trying to print with (e.g.) Acroread, or are you trying to print > using "lpr foo.pdf"? Does either (or neither) work? > I would be amazed if the lpr command worked - never tried it. Printing directly from Acroread mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: Re: [CentOS] yum-updatesd.conf on centos 5
On Fri, 2007-08-03 at 07:54 -0500, Lanny Marcus wrote: > On 02 August 2007, "Indunil Jayasooriya" <[EMAIL PROTECTED]> wrote: > > > Hey, Why should I remove ProtectBase ? Whithout removing ProtectBase, > > Is it NOT proper to install Priorities? > > I believe it is one or the other. If you decide to change to Priorities, > which is recommended on the Wiki, remove ProtectBase, before you install > Priorities. priorities and protectbase can coexist, but could lead to confusion for the administrator. I use protectbase as a safety measure for the core repos and priorities for fine-grained control for add-on repos. Johnny's recommendation to use only one may make me re-evaluate this approach. YMMV. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
> VMware works fine under either 4 or 5, and both 4 and 5 run under VMware > on a Linux host, but is your question about CentOS as a host or guest > OS? Mostly as the host OS, but I will be running some guest CentOS sessions as well. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On Fri, 2007-08-03 at 10:27 -0700, Ray Van Dolson wrote: > On Fri, Aug 03, 2007 at 10:24:44AM -0700, Rogelio Bastardo wrote: > > For stability reasons, I'm running CentOS 4 for VMware (it's the devil I > > know). > > > > Are there any compelling reasons to upgrade to CentOS 5 for it? I'm > > relatively new to the whole virtualisation scene and perhaps there are > > some updated packages that might be good for VMware? > > Seems to run fine on CentOS 5 as well. > > CentOS 5 kernel lets you exclude some processes from consideration for > "death" by the OOM killer which is kinda nice. :) > > Of course there are plenty of other settings in the 4 kernel that help > keep VMware safe from being accidentally killed. > > Ray > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos I've run GSX on both 4 and 5, nothing really of note to say other than that VMWare does not yet "support" GSX on RHEL5 as of version 1.0.3. Really that only means that there aren't pre-compiled versions of the kernel modules and you will need to re-run vmware-config.pl each time the kernel is updated Also, there is a special kernel that helps out on running VMWare that changes the default speed of the system timer, reducing the LA on the host system especially if your guests are mostly idle. The kernel is available for both 4 and 5. Please look at http://bugs.centos.org/view.php?id=2189 for more info. -- Timothy Selivanow <[EMAIL PROTECTED]> Linux System Administrator EasyStreet Online Services, Inc. http://www.easystreet.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On Fri, 2007-08-03 at 10:24 -0700, Rogelio Bastardo wrote: > For stability reasons, I'm running CentOS 4 for VMware (it's the devil I > know). > > Are there any compelling reasons to upgrade to CentOS 5 for it? I'm > relatively new to the whole virtualisation scene and perhaps there are > some updated packages that might be good for VMware? VMware works fine under either 4 or 5, and both 4 and 5 run under VMware on a Linux host, but is your question about CentOS as a host or guest OS? Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: Can't print PDFs or PSs in CentOS 5.0
On Fri, 2007-08-03 at 00:15 -0400, Ross S. W. Walker wrote: > Not in reader, but down at the CUPS setup when you setup your printer > originally you probably chose a model from the foomatic database that > was close-enough, go back and change that model to HP Deskjet which > should provide the lowest level of PCL support that almost all PCL > compatible printers should support. If that works then try an HP > LaserJet 4 next, if that works then you have a good fall-back. > Interesting. I set it to be an HP Deskjet, and it almost worked (clipped a little at the top and bottom of the image). Then I set it for the Minolta HP Laserjet 4d PPD, and that worked. There are some other Minolta drivers that look promising, so I'll play around with it and see what happens. Many, many thanks! mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
> Also, there is a special kernel that helps out on running VMWare that > changes the default speed of the system timer, reducing the LA on the > host system especially if your guests are mostly idle. The kernel is > available for both 4 and 5. Please look at > http://bugs.centos.org/view.php?id=2189 for more info. Very interesting. Wasn't aware of that. Thanks for posting. Have you noticed tangible differences when running stock vs the kernels mentioned there? Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On 8/3/07, Ray Van Dolson <[EMAIL PROTECTED]> wrote: > > Also, there is a special kernel that helps out on running VMWare that > > changes the default speed of the system timer, reducing the LA on the > > host system especially if your guests are mostly idle. The kernel is > > available for both 4 and 5. Please look at > > http://bugs.centos.org/view.php?id=2189 for more info. > > Very interesting. Wasn't aware of that. Thanks for posting. Have you > noticed tangible differences when running stock vs the kernels > mentioned there? > > Ray In my case, the default kernel (1000Hz) produces "many lost ticks" messages. So far this has not been seen on VM guests running the 100Hz kernel (both i686 and x86_64). There seems to be performance improvement also. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] command for dhcp client
Barry Brimer wrote: Is there a command that says DONT use the ifcfg-eth0 setting(s) that basically have a static address and start the network in DHCP. I dont want to disturb the static settings in ifcfg-eth0 or re-enter them once my DHCP setting is done... I just want to temporarily run with DHCP (I'm on different network than the static setup). dhclient eth0 After: ifconfig eth0 up I do this regularly. My ethernet has one set config and then I might do as I need. My 'regular' connection is wireless. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos 5 as p2p client
Hello, I'm running centos5. I'm wanting this machine only, none of my other ones, to participate in p2p file sharing, bittorrent, edonkey, maybe other networks. Does anyone have a howto or step by step guide for this? I've installed bittorrent and mldonkey clients, but neither is working, i'm assuming gateway firewall issue, but i've enabled the correct ports, 6881 through 6999 redirecting to the centos box. I've not made any additions to the centos5 firewall. I've got some audio available on bittorrent network i'd like to get, and a .torrent file for it and on edonkey there's an iso any help appreciated. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Power burn test
I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] proxy arp on CentOS 5?
Florin Andrei wrote: Anybody implemented a working proxy ARP with CentOS 5? I am trying to implement DNAT on a dual-homed firewall (servers behind firewall are on private IPs) and that requires proxy ARP. I've tried several different methods but nothing seems to work. I figured it out. I actually tested the idea yesterday, but it failed because one of the test machines was not configured properly. To make proxy ARP work with DNAT, an IP alias must be created on the external interface, with the public IP address of the machine behind the firewall. ip address add XXX.YYY.ZZZ.KKK dev eth0 where XXX.YYY... is the public IP address that corresponds to the private IP address of a server behind the firewall. It's not even necessary to play with proxy_arp in /proc. Just the IP alias and DNAT. -- Florin Andrei http://florin.myip.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
On Fri, Aug 03, 2007 at 03:01:53PM -0400, Robert Moskowitz enlightened us: > I need a program that will just run everything at max so I can measure > the max power used on some systems. My 'Kill a Watt' meter should show > up early next week. > > SO run that CPU at max, using all memory, and keeping the harddrive > spinning. > > I can jsut do pings on the lan card for it to stay awake. > > I have searched here and on the net and have come back with nothing. Might try sys_basher - it has memory, cpu and disk stress tests. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: > I need a program that will just run everything at max so I can measure > the max power used on some systems. My 'Kill a Watt' meter should show > up early next week. > > SO run that CPU at max, using all memory, and keeping the harddrive > spinning. > > I can jsut do pings on the lan card for it to stay awake. > > I have searched here and on the net and have come back with nothing. > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos Are you wanting max power for provisioning purposes? If so, the max power on the power supply or chassis will give you absolute max. 80% of that number is what it is rated for on a continuous basis, 100% is for max burst. If you need a more accurate number (as the above is the rated Wattage, which /will/ be different than actual usage for safety purposes), you could run multiple of something like this: `dd if=/dev/urandom of={somefile} bs=1024k count=1024`. Depending on your processor speed, that won't keep the disks busy all the time which is why I suggested multiple running at the same time. What that will do is pull 1GB worth of random data (stresses CPU) and writes it as fast as possible to the disk. Running a few of those in a loop should give you enough time to see actual power draw. Shifting bits around in the memory register probably won't add too much power draw, as it is mostly CPU and chipset (just CPU if you are using AMD). The RAM stick is fully powered regardless. Hope that helps at least a little. -- Timothy Selivanow <[EMAIL PROTECTED]> Linux System Administrator EasyStreet Online Services, Inc. http://www.easystreet.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Adaptec 39320A woes
I'm having speed problems with the SCSI card we're using to do tape backup. It seems to be functioning in 16 bit mode and the current thinking is that perhaps it's using a legacy driver instead of the correct one. The Adaptec site has a 'driver' for RHEL5 which I've downloaded and tried to install but it seems to have a problem installing on a CentOS-5 system. [EMAIL PROTECTED] modules]# cd /proc/scsi [EMAIL PROTECTED] scsi]# cat scsi Attached devices: Host: scsi0 Channel: 00 Id: 08 Lun: 00 Vendor: DP Model: BACKPLANERev: 1.05 Type: EnclosureANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC 5/i Rev: 1.03 Type: Direct-AccessANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 06 Lun: 00 Vendor: CERTANCE Model: ULTRIUM 2Rev: 1914 Type: Sequential-AccessANSI SCSI revision: 03 Host: scsi1 Channel: 00 Id: 06 Lun: 01 Vendor: DELL Model: PV-124T Rev: 0043 Type: Medium Changer ANSI SCSI revision: 02 Host: scsi3 Channel: 00 Id: 00 Lun: 00 Vendor: Dell Model: Virtual CDROM Rev: 123 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi4 Channel: 00 Id: 00 Lun: 00 Vendor: Dell Model: Virtual Floppy Rev: 123 Type: Direct-AccessANSI SCSI revision: 02 [EMAIL PROTECTED] scsi]# ll total 0 dr-xr-xr-x 2 root root 0 Aug 3 13:21 aic79xx -r--r--r-- 1 root root 0 Aug 3 13:21 device_info -r--r--r-- 1 root root 0 Aug 3 13:21 scsi dr-xr-xr-x 2 root root 0 Aug 3 13:21 sg dr-xr-xr-x 2 root root 0 Aug 3 13:21 usb-storage [EMAIL PROTECTED] scsi]# cd aic79xx/ [EMAIL PROTECTED] aic79xx]# ll total 0 -rw-r--r-- 1 root root 0 Aug 3 13:09 1 -rw-r--r-- 1 root root 0 Aug 3 13:09 2 [EMAIL PROTECTED] aic79xx]# cat 1 Adaptec AIC79xx driver version: 3.0 Adaptec 39320A Ultra320 SCSI adapter aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs Allocated SCBs: 4, SG List Length: 128 Serial EEPROM: 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x17c8 0x09f4 0x0142 0x2807 0x0010 0x 0x 0x 0x 0x 0x 0x 0x 0x 0x 0x0430 0xb3f3 Target 0 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 1 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 2 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 3 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 4 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 5 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 6 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Goal: 3.300MB/s transfers Curr: 3.300MB/s transfers Channel A Target 6 Lun 0 Settings Commands Queued 29 Commands Active 0 Command Openings 1 Max Tagged Openings 0 Device Queue Frozen Count 0 Channel A Target 6 Lun 1 Settings Commands Queued 20 Commands Active 0 Command Openings 1 Max Tagged Openings 0 Device Queue Frozen Count 0 Target 7 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 8 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 9 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 10 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 11 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 12 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 13 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 14 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) Target 15 Negotiation Settings User: 320.000MB/s transfers (160.000MHz RDSTRM|DT|IU|RTI|QAS, 16bit) [EMAIL PROTECTED] ~]# rpm -e a320raid-3.00.063.5.V580A1-1 [EMAIL PROTECTED] ~]# rpm -ivh a320raid.rhel5.i686.rpm Preparing...### [100%] 1:a320raid ### [100%] Adaptec adp94xx driver installer - V1.2.5934.0-1 Backing up all modified files to /boot/adp94xx-backup-3 Using GRUB configuration If this is not what you want, rename your /boot/grub/grub.conf fi
Re: [CentOS] Power burn test
Timothy Selivanow wrote: On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Are you wanting max power for provisioning purposes? If so, the max power on the power supply or chassis will give you absolute max. 80% of that number is what it is rated for on a continuous basis, 100% is for max burst. No for UPS purposes. Actually some of these are 'portable' and I want to size an external battery. I will be running a number of tests. Max, min, 'typical'. If you need a more accurate number (as the above is the rated Wattage, which /will/ be different than actual usage for safety purposes), you could run multiple of something like this: `dd if=/dev/urandom of={somefile} bs=1024k count=1024`. Depending on your processor speed, that won't keep the disks busy all the time which is why I suggested multiple running at the same time. What that will do is pull 1GB worth of random data (stresses CPU) and writes it as fast as possible to the disk. Running a few of those in a loop should give you enough time to see actual power draw. Shifting bits around in the memory register probably won't add too much power draw, as it is mostly CPU and chipset (just CPU if you are using AMD). The RAM stick is fully powered regardless. Hope that helps at least a little. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
On 8/3/07, Robert Moskowitz <[EMAIL PROTECTED]> wrote: > > I need a program that will just run everything at max so I can measure > the max power used on some systems. My 'Kill a Watt' meter should show > up early next week > SO run that CPU at max, using all memory, and keeping the harddrive > spinning. 'yum install stress' maybe what you need I can jsut do pings on the lan card for it to stay awake. > > I have searched here and on the net and have come back with nothing. > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
APC has a selector tools on their website that takes the parameters of your system and tells you what model you need. Not sure how accurate it is, but it's probably fairly close considering how many things you need to enter. Geoff Sent from my BlackBerry wireless handheld. -Original Message- From: "Robert Moskowitz" <[EMAIL PROTECTED]> Date: Fri, 3 Aug 2007 16:29:00 To:CentOS mailing list Subject: Re: [CentOS] Power burn test Timothy Selivanow wrote: > On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: > >> I need a program that will just run everything at max so I can measure >> the max power used on some systems. My 'Kill a Watt' meter should show >> up early next week. >> >> SO run that CPU at max, using all memory, and keeping the harddrive >> spinning. >> >> I can jsut do pings on the lan card for it to stay awake. >> >> I have searched here and on the net and have come back with nothing. >> >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > Are you wanting max power for provisioning purposes? If so, the max > power on the power supply or chassis will give you absolute max. 80% of > that number is what it is rated for on a continuous basis, 100% is for > max burst. > No for UPS purposes. Actually some of these are 'portable' and I want to size an external battery. I will be running a number of tests. Max, min, 'typical'. > If you need a more accurate number (as the above is the rated Wattage, > which /will/ be different than actual usage for safety purposes), you > could run multiple of something like this: `dd if=/dev/urandom > of={somefile} bs=1024k count=1024`. Depending on your processor speed, > that won't keep the disks busy all the time which is why I suggested > multiple running at the same time. What that will do is pull 1GB worth > of random data (stresses CPU) and writes it as fast as possible to the > disk. Running a few of those in a loop should give you enough time to > see actual power draw. Shifting bits around in the memory register > probably won't add too much power draw, as it is mostly CPU and chipset > (just CPU if you are using AMD). The RAM stick is fully powered > regardless. > > Hope that helps at least a little. ___ 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] Power burn test
On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: > I need a program that will just run everything at max so I can measure > the max power used on some systems. My 'Kill a Watt' meter should show > up early next week. > > SO run that CPU at max, using all memory, and keeping the harddrive > spinning. > > I can jsut do pings on the lan card for it to stay awake. > > I have searched here and on the net and have come back with nothing. > Sorry for the HTML format - looked really bad in text mode in Evolution. Selected returns from "yum search stress" with some 3rd party repos enabled: stress.i386 0.18.8-1.2.el5.rf rpmforge Matched from: stress tool to impose stress on a POSIX-compliant operating system Stress is a tool which imposes a configurable amount of CPU, memory, I/O, or disk stress on a POSIX-compliant operating system. Stress is written in highly-portable ANSI C, and uses the GNU Autotools to compile on a great number of UNIX-like operating systems. Stress is not a benchmark, it is rather a tool which puts the system under a repeatable, defined amount of load so that a systems programmer or system administrator can analyze the performance characteristics of the system or specific components thereof. http://weather.ou.edu/~apw/projects/stress/ spew.i3861.0.4-1.2.el5.rf rpmforge Matched from: Spew is used to measure I/O performance of character devices, block devices, and regular files. It can also be used to generate high I/O loads to stress systems while verifying data integrity. Spew is easy to use and is flexible. No configuration files or complicated client/server configurations are needed. Spew also generates its own data patterns that are designed to make it easy to find and debug data integrity problems. cpuburn.i586 1.4-1.2.el5.rf rpmforge Matched from: cpuburn is a suite of assembly-coded routines designed to put maximum heat stress on the CPU and motherboard components by a P6/P5/K6/K7-optimized mix of FPU and ALU instructions. There are also routines to test RAM controllers (burnMMX/BX). Please note that this program is designed to heavily load chips. Undercooled, overclocked, or otherwise weak systems may fail, causing data loss (filesystem corruption) and possibly permanent damage to electronic components. Use it at your own risk!! cpuburn.i686 1.4-1.2.el5.rf rpmforge Matched from: cpuburn is a suite of assembly-coded routines designed to put maximum heat stress on the CPU and motherboard components by a P6/P5/K6/K7-optimized mix of FPU and ALU instructions. There are also routines to test RAM controllers (burnMMX/BX). Please note that this program is designed to heavily load chips. Undercooled, overclocked, or otherwise weak systems may fail, causing data loss (filesystem corruption) and possibly permanent damage to electronic components. Use it at your own risk!! cpuburn.athlon 1.4-1.2.el5.rf rpmforge Matched from: cpuburn is a suite of assembly-coded routines designed to put maximum heat stress on the CPU and motherboard components by a P6/P5/K6/K7-optimized mix of FPU and ALU instructions. There are also routines to test RAM controllers (burnMMX/BX). Please note that this program is designed to heavily load chips. Undercooled, overclocked, or otherwise weak systems may fail, causing data loss (filesystem corruption) and possibly permanent damage to electronic components. Use it at your own risk!! fio.i386 1.16.5-1.el5.rfrpmforge Matched from: I/O benchmark and stress/hardware verification tool fio is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 6 different types of I/O engines (sync, mmap, libaio, posixaio, SG v3, splice), I/O priorities (for newer Linux kernels), rate I/O, forked or threaded jobs, and much more. It can work on block devices as well as files. fio accepts job descriptions in a simple-to-understand text format. Several example job files are included. fio displays all sorts of I/O performance information, such as completion and submission latencies (avg/mean/deviation), bandwidth stats, CPU, and disk utilization, and more. It supports Linux, FreeBSD, and OpenSolaris. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] D-Link DFE-580TX
On 8/3/07, Rodrigo Barbosa wrote: > Has anyone here had any experience with D-Link's quad-port ethernet NIC, > model DFE-580TX ? > > The people from Mikrotik says it can cause systemwide lockup, but from > what I have been reading around, this board seem to work ok. > > This is the only quad-port NIC I have found with a reasonable price, > so I'm seriously considering using it. > > Comments ? Neither RHEL4, RHEL5 nor CENTOS4, CENTOS5 ship the needed sundance kernel driver. I've requested the inclusion of this driver in RedHat bugzilla ages ago, but so far only got the answer that they maybe consider it for a future update release. Anyway, you can compile the driver yourself. Be sure to install kernel-devel as this is needed to get it compiled. After installing the driver in the proper place under /lib/modules//kernel/drivers/net/ run depmod -a. Then you should be able to load the sundance.ko module. I'm using the sundance driver on several CENTOS4/5 servers without any issues since several month. Best regards, Bernd ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] D-Link DFE-580TX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone here had any experience with D-Link's quad-port ethernet NIC, model DFE-580TX ? The people from Mikrotik says it can cause systemwide lockup, but from what I have been reading around, this board seem to work ok. This is the only quad-port NIC I have found with a reasonable price, so I'm seriously considering using it. Comments ? - -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFGs5JNpdyWzQ5b5ckRAvDJAKC00XZIqvD0EA80oCKklFGY/12RYgCgnP5v gwakIR4lBxgNMbhY1f28b/c= =xS0B -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
Robert Moskowitz wrote: I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. nothing I know heats up a CPU faster than mersenne.org's mprime in its torture test mode. heat is power. run one instance per CPU core using the CPU affinity option then simulataneously run some heavy cconcurrent disk IO operation, like tarring large numbers of files disk to disk... and, if you have a hard core graphics, run some kinda fancy openGL demoware (in Windows, with a nvidia card, I'd suggest running one of nvidia's geforce demo programs..) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: centos 5 as p2p client
Dave spake the following on 8/3/2007 11:49 AM: > Hello, >I'm running centos5. I'm wanting this machine only, none of my other > ones, to participate in p2p file sharing, bittorrent, edonkey, maybe > other networks. Does anyone have a howto or step by step guide for this? > I've installed bittorrent and mldonkey clients, but neither is working, > i'm assuming gateway firewall issue, but i've enabled the correct ports, > 6881 through 6999 redirecting to the centos box. I've not made any > additions to the centos5 firewall. >I've got some audio available on bittorrent network i'd like to get, > and a .torrent file for it and on edonkey there's an iso any help > appreciated. > Thanks. > Dave. Some internet providers are blocking those ports. Try a higher range like 26881 to 26999. The client will advertise its ports to the other p2p clients. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Intel P35 / quad-core support for HPC applications
Hello all, Does anyone have experience with CentOS and the Intel P35 or G33 chipset? I've googled about and poked in the CentOS forums, but I've generally found questions without responses. I'm part of a university research group doing CFD (computational fluid dynamics). We're incrementally updating our computing power and have been looking at Intel quad-cores and the P35 or G33 chipset. We're particularly interested in motherboards with DDR2-1066 support. As we're in a production environment, we're more interested in reliability than squeezing out that last fraction of a percent of performance (I'm aware of the inherent contradiction in stating this as we're extending a bit on to the leading edge with this hardware selection). We've patched and rolled custom kernels in the past, but would just as soon not again. Hence, I'd be grateful if you're willing to share your specific experiences with CentOS and P35 or G33 motherboards. I'll compile the responses I get and post them in a consolidated message. Secondarily, I'd like to connect with anyone else doing similar work and/or in similar environments. Currently, we're running a 22-node, diskless (I believe the favored buzzword is now "stateless") cluster of mostly Athlon XP 2500 processors. It's on Centos 3 with Warewulf 2.1.12. Thanks, Henry -- Henry Shiu California Wind Energy Collaborative Department of Mechanical and Aeronautical Engineering University of California, Davis One Shields Avenue Davis, CA 95616-5294 (530) 752-2261 http://cwec.ucdavis.edu/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] KStars on CentOS 4.4?
On Thursday 26 July 2007, Lanny Marcus wrote: > Is there an RPM for this? I think it's in the kdeedu package on the FC6 > DVD. My wife is an amateur astronomer and she uses this excellent > program. If upstream isn't including it, can I get it and not break my > CentOS 4.4 system? (Also, I'd like to migrate her and my daughter to > CentOS). TIA, Lanny Use the KDE-Redhat repository; see kde-redhat.sourceforge.net. Note that KDE-Redhat does a forklift upgrade of KDE and will change a large number of packages; this may or may not be desireable for you. I have used and currently use KDE-RedHat with several CentOS 4 installs, to get KStars for us to do telescope control. The KDE in CentOS 4 is quite old, and kstars has improved by leaps and bounds since then. -- Lamar Owen Chief Information Officer Pisgah Astronomical Research Institute 1 PARI Drive Rosman, NC 28772 (828)862-5554 www.pari.edu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Strange kernel error message: EDAC GART TLB blahblah..
What does the following EDAC problem means? The machine is a AMD 64bit box running Centos 5. It looks like some problems aroung AMD DRAM Memory controller. But what does it really mean b/c most of my AMD boxes has these messages in /var/log/messages. Please help. ... Aug 1 23:29:40 ccn128 kernel: EDAC MC: Ver: 2.0.1 Jun 12 2007 Aug 1 23:29:40 ccn128 kernel: EDAC MC0: Giving out device to k8_edac Athlon64/Opteron: DEV :00:18.2 Aug 1 23:29:40 ccn128 kernel: EDAC MC1: Giving out device to k8_edac Athlon64/Opteron: DEV :00:19.2 Jul 31 04:02:12 ccn128 kernel: EDAC k8 MC0: GART TLB errorr: transaction type(generic), cache level(generic) Jul 31 04:02:12 ccn128 kernel: EDAC k8 MC0: extended error code: GART error Jul 31 14:13:14 ccn128 kernel: EDAC k8 MC0: GART TLB errorr: transaction type(generic), cache level(generic) Jul 31 14:13:14 ccn128 kernel: EDAC k8 MC0: extended error code: GART error ... [EMAIL PROTECTED] ~]# lspci -s :00:18.02 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [EMAIL PROTECTED] ~]# Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Ken Price wrote: I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. I used to work for a messaging service provider and they had two systems. The first system was the service provider offering its messaging platform for its own domains and a hundred or so domains for quite a lot of clients and these were managed with BIND by hand. eek. i can imagine that was a pain. In the beginning it sure was. Good thing BIND has this $INCLUDE thing. That reduced the amount of work after I cleaned up the mess from the previous configuration maintainer. So I do not know how you 'outgrew' tinydns. After all the only part that involves tinydns is 'generate the cdb file from a database for tinydns to chew' or in other words, generating the cdb file for tinydns is the least of your problems to tackle. Look, in no way was i bashing TinyDNS or starting a flamewar. This is why i prefaced my comment with "Not to say tinydns is a bad alternative, as it has it's strengths". By "outgrew" i mean we required more of our DNS server. We weren't a top level domain provider. Our clients required authoritative and sometimes secondary service. As a result, we required better RFC compliance and a broader range of features then TinyDNS provided. That's all. Our business simply required greater flexibility. You should have come out with this in the first place. Stating 1600 domains as a hosting provider and then not clearly stating the technical reasons on why you had to switch away from tinydns looks like a veiled snipe at djbdns. If anybody dares insinuate ease of use, performance or security reasons for not using djbdns, I am going to grill them because 'I' have tried to find something to replace dnscache, which has this knack of not caching CNAME records and hammering the authoritative servers of a zone when it receives multiple new requests for records in that zone before it gets an answer, and I have yet to find anything that is as scalable as dnscache despite its annoying shortcomings. Generally, your business needs should determine the solution. Not the other way around. Agreed. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] HotPlug, eSATA, and /media
Ok, got a quickie. I have an eSATA drive, a 750GB Seagate in an eSATA external enclosure, and a Silicon Image sil3132 ExpressCard controller for my laptop. The disk and controller work great in CentOS 5 (or F7, for that matter), if I specifically mount it. This is not how I want to have to use this drive, however. I want to hotplug it; that is, plug the controller into the laptop, and then plug the drive into the controller, and have it come up just like a USB drive would. It does not currently do that. Anyone here know how to make an eSATA (or a hotplug SATA mobile slide, for that matter) show up in /media, and have all the nice hotplug capabilities USB drives have? That is, KDE brings up the dialog asking what to do with the drive, it can be automounted, etc. Then when going to hot-unplug, I'd use the 'safely remove' context menu entry (just like a USB drive) and it would unmount the drive and unload anything it might need to unload. Anybody have this working? If not, i'm going to figure it out, but didn't want to reinvent the wheel. -- Lamar Owen Chief Information Officer Pisgah Astronomical Research Institute 1 PARI Drive Rosman, NC 28772 (828)862-5554 www.pari.edu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] D-Link DFE-580TX
As of CentOS 4, the sundance driver is in the centosplus kernel. I've seen strange behaviour with kudzu when using sundance with that D-Link adapter (i.e. on every bootup kudzu tells you the NICs were removed and that four new NICs were installed). That might be the issue why RH decided to disable the driver in their kernel. However, disabling kudzu solved the issue. I use that Adapter in a Firewall-Box at one of my customer's sites and we only had one issue in the last two years: one day one of the ports suddenly stopped working. However, a reboot solved the issue. Regards, Andreas Am Freitag, den 03.08.2007, 22:47 +0200 schrieb Bernd Bartmann: > On 8/3/07, Rodrigo Barbosa wrote: > > Has anyone here had any experience with D-Link's quad-port ethernet NIC, > > model DFE-580TX ? > > > > The people from Mikrotik says it can cause systemwide lockup, but from > > what I have been reading around, this board seem to work ok. > > > > This is the only quad-port NIC I have found with a reasonable price, > > so I'm seriously considering using it. > > > > Comments ? > > Neither RHEL4, RHEL5 nor CENTOS4, CENTOS5 ship the needed sundance > kernel driver. I've requested the inclusion of this driver in RedHat > bugzilla ages ago, but so far only got the answer that they maybe > consider it for a future update release. > > Anyway, you can compile the driver yourself. Be sure to install > kernel-devel as this is needed to get it compiled. After installing > the driver in the proper place under > /lib/modules//kernel/drivers/net/ run depmod -a. Then > you should be able to load the sundance.ko module. > > I'm using the sundance driver on several CENTOS4/5 servers without any > issues since several month. > > Best regards, > Bernd > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HotPlug, eSATA, and /media
Lamar Owen wrote: Ok, got a quickie. I have an eSATA drive, a 750GB Seagate in an eSATA external enclosure, and a Silicon Image sil3132 ExpressCard controller for my laptop. The disk and controller work great in CentOS 5 (or F7, for that matter), if I specifically mount it. This is not how I want to have to use this drive, however. I want to hotplug it; that is, plug the controller into the laptop, and then plug the drive into the controller, and have it come up just like a USB drive would. It does not currently do that. Anyone here know how to make an eSATA (or a hotplug SATA mobile slide, for that matter) show up in /media, and have all the nice hotplug capabilities USB drives have? That is, KDE brings up the dialog asking what to do with the drive, it can be automounted, etc. Then when going to hot-unplug, I'd use the 'safely remove' context menu entry (just like a USB drive) and it would unmount the drive and unload anything it might need to unload. Er...it is not treated like USB disks or CDs or DVDs but as a regular hard disk. Anybody have this working? If not, i'm going to figure it out, but didn't want to reinvent the wheel. I guess you will need some scripting... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Can't print PDFs or PSs in CentOS 5.0
On Fri, Aug 03, 2007 at 10:32:30AM -0700, Mark Hull-Richter wrote: > On 8/2/07, fredex <[EMAIL PROTECTED]> wrote: > > > > I missed earlier postings in this thread, so please allow me to ask: > > Areyou trying to print with (e.g.) Acroread, or are you trying to print > > using "lpr foo.pdf"? Does either (or neither) work? > > > > I would be amazed if the lpr command worked - never tried it. > Printing directly from Acroread At the time I posted that, I tried it from the commandline just to make sure it did work (as I had believed it would but had never before tried), and sure enough it printed just fine. Note that I'm using Centos 4.5, if that makes any difference. -- Fred Smith -- [EMAIL PROTECTED] - "For him who is able to keep you from falling and to present you before his glorious presence without fault and with great joy--to the only God our Savior be glory, majesty, power and authority, through Jesus Christ our Lord, before all ages, now and forevermore! Amen." - Jude 1:24,25 (niv) - pgpTBxPGjw2Z8.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HotPlug, eSATA, and /media
On Friday 03 August 2007, Feizhou wrote: > Lamar Owen wrote: > > I have an eSATA drive, a 750GB Seagate in an eSATA external enclosure, > > and a Silicon Image sil3132 ExpressCard controller for my laptop. The > > disk and controller work great in CentOS 5 (or F7, for that matter), if I > > specifically mount it. > > This is not how I want to have to use this drive, however. > Er...it is not treated like USB disks or CDs or DVDs but as a regular > hard disk. I still remember when USB disks were treated as 'regular' disks, too. Not long ago, in fact. Hotplug should just be hotplug, regardless of interface technology. SATA, and specifically eSATA, is designed for hotplug; the drive handles it, the controller handles it, and in ExpressCard, the bus handles it. When '/dev/sdb1' shows up, with a LABEL=eSATA750GS, then it should (in the ideal) show up in /media/eSATA750GS, whether it's USB, IEEE1394, or eSATA connected. And the system handles the event, it just doesn't do anything with it at present. The sata_sil24 driver supports phy hotplug; should be just some udev rules magic; after all, the USB hotplug does essentially the same thing, and on the SCSI layer just like SATA. And if you've played with eSATA for long, you'll see the use for this in a hurry. eSATA gives you the fastest and best external drive connection currently available; my drive, enclosure, and controller all run at 3Gb/s, and I can get...hmm, hdparm -t gives me between 65 and 90 MB/s read speed consistently, to an external drive. > I guess you will need some scripting... Given that USB disks come in as SCSI, I don't see why a libata disk (which also comes in as SCSI) would need anything beyond what already works for USB. Just wondering if I need to come up with the magic myself, or if someone else has already done this. Of course, I reserve the right to be wrong, but I don't think I'm too far off the mark. I'm looking at the udev rules stuff now, but if anyone has any pointers to specific docs, it would be great to hear it! Following is /var/log/messages for a hot unplug (pulling the eSATA data cable from the controller) followed by a hotplug (plugging it back in a few seconds later), for those who might be interested: ++ HOTUNPLUG Aug 3 20:13:47 localhost kernel: ata3: exception Emask 0x10 SAct 0x0 SErr 0x8 action 0x2 frozen Aug 3 20:13:47 localhost kernel: ata3: (irq_stat 0x01100010, PHY RDY changed) Aug 3 20:13:47 localhost kernel: ata3: soft resetting port Aug 3 20:13:47 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:13:47 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Aug 3 20:13:52 localhost kernel: ata3: hard resetting port Aug 3 20:13:54 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:13:54 localhost kernel: ata3.00: limiting speed to UDMA/100:PIO3 Aug 3 20:13:54 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Aug 3 20:13:59 localhost kernel: ata3: hard resetting port Aug 3 20:14:01 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:14:01 localhost kernel: ata3.00: disabled Aug 3 20:14:02 localhost kernel: ata3: EH complete Aug 3 20:14:02 localhost kernel: ata3.00: detaching (SCSI 2:0:0:0) Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Synchronizing SCSI cache Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK, SUGGEST_OK Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Stopping disk Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] START_STOP FAILED Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK, SUGGEST_OK HOTPLUG Aug 3 20:14:18 localhost kernel: ata3: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen Aug 3 20:14:18 localhost kernel: ata3: (irq_stat 0x00800080, device exchanged) Aug 3 20:14:19 localhost kernel: ata3: soft resetting port Aug 3 20:14:19 localhost kernel: ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Aug 3 20:14:19 localhost kernel: ata3.00: ATA-7: ST3750640AS, 3.AAE, max UDMA/133 Aug 3 20:14:19 localhost kernel: ata3.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32) Aug 3 20:14:19 localhost kernel: ata3.00: configured for UDMA/100 Aug 3 20:14:19 localhost kernel: ata3: EH complete Aug 3 20:14:19 localhost kernel: scsi 2:0:0:0: Direct-Access ATA ST3750640AS 3.AA PQ: 0 AN Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB) Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't su pport DPO or FUA Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB) Aug 3 20:14:19 localhost kernel: sd 2:0:0:0
Re: [CentOS] centos 5 as p2p client
Dave wrote: Hello, I'm running centos5. I'm wanting this machine only, none of my other ones, to participate in p2p file sharing, bittorrent, edonkey, maybe other networks. Does anyone have a howto or step by step guide for this? I've installed bittorrent and mldonkey clients, but neither is working, i'm assuming gateway firewall issue, but i've enabled the correct ports, 6881 through 6999 redirecting to the centos box. I've not made any additions to the centos5 firewall. I've got some audio available on bittorrent network i'd like to get, and a .torrent file for it and on edonkey there's an iso any help appreciated. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi Dave, I am using bittorrent-curses. Simple command line programm. If you have your firewall enabled it will block incomming traffic. Try stopping iptables just to to verify if it is the problem or not. Yiorgos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HotPlug, eSATA, and /media
On 8/3/07, Lamar Owen <[EMAIL PROTECTED]> wrote: > On Friday 03 August 2007, Feizhou wrote: > > Lamar Owen wrote: > Hotplug should just be hotplug, regardless of interface technology. SATA, and > specifically eSATA, is designed for hotplug; the drive handles it, the > controller handles it, and in ExpressCard, the bus handles it. > When '/dev/sdb1' shows up, with a LABEL=eSATA750GS, then it should (in the > ideal) show up in /media/eSATA750GS, whether it's USB, IEEE1394, or eSATA > connected. > > And the system handles the event, it just doesn't do anything with it at > present. This wiki aricle may help: http://wiki.centos.org/TipsAndTricks/HAL Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS things to mod for VMware server
Rogelio Bastardo wrote: I'd like to make a CentOS-based VMware server. Anything I should consider before doing so? (e.g. stuff to disable, kernel tweaks, etc) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos XFS allegedly handles large files better than ext3/reiserfs. and we all know that vmx files can be . . . . big! Has anyone run any benchmarks on xfs / ext3 / reiserfs to establish which is better suited for holding virtual machines? Yiorgos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Diskless client from system-config-netboot doesn't boot.
Hi folks, I've followed a set of instructions I found on http://www.linuxtopia.org/online_books/centos_linux_guides/centos_enterprise_linux_sysadmin_guide/ch-diskless.htmli which describes using system-config-netboot to set up PXE booting. I used a CentOS-4.3 install (custom, all options de-selected, then anaconda-busybox installed after the fact) as a reference/base. I followed the instructions, extrapolating a bit as the window defining the diskless client has more options than those presented in the example. When I boot the PXE client, it does the pivot root operation, and finally concludes with: SELinux: Disabled at runtime SELinux: Unregistering netfilter hooks ...at which point it hangs for ever. I have tried performing a yum -y update on my reference system, then recreating the root mount point, but it fails the same way. I should probably mention that both the reference and diskless client are identical hardware, and that the hardware has successfully PXE booted a diskless OS (a RedHat 8.0 as it happens) in the past. The lack of any information on the web implies that I'm doing something trivially incorrect, can anyone tell me what it is? Thanks for any hints or pointers you can provide. -- /\oo/\ / /()\ \ David Mackintosh | [EMAIL PROTECTED] | http://www.xdroop.com pgpvIFGr5JRt6.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Asterisk
Is an RPM for Asterisk (the PBX system) available for CentOS 5? It looks like RPMforge is supposed to have one, as I can see dependent packages like asterisk-sounds, but the base package seems to be absent from the repository. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] new CentOS 5 install, 'Network is unreachable'
Hi all, I've a new CentOS 5 minimalist install; this will be the name server from my prior thread. I have configured eth0 during setup with the static IP the unit will have when in production. During this setup phase, selinux is set to permissive. Setting up on a different network, I did this: dhclient eth0 and successfully got a private address; I also validated that the resolv.conf file was created by the dhclient-script and it was, accurately pointing to my gateway and listing a domain name server by IP. That's where the fun stops. Even pinging an IP, so as not to rely on name resolution, I get the dreaded 'Network is unreachable' error. Any pointers would be more than appreciated. Thanks in advance, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: new CentOS 5 install, 'Network is unreachable'
[EMAIL PROTECTED] wrote: I've a new CentOS 5 minimalist install; this will be the name server from my prior thread. I have configured eth0 during setup with the static IP the unit will have when in production. During this setup phase, selinux is set to permissive. Setting up on a different network, I did this: dhclient eth0 and successfully got a private address; I also validated that the resolv.conf file was created by the dhclient-script and it was, accurately pointing to my gateway and listing a domain name server by IP. That's where the fun stops. Even pinging an IP, so as not to rely on name resolution, I get the dreaded 'Network is unreachable' error. Without DHCP in the picture you're not getting the needed default route set up. I'm not sure what you mean by "resolv.conf ... accurately pointing to my gateway." AFAIK, resolv.conf has nothing to do with routing gateways. If you're not going to be using DHCP, you need to run system-config-network, edit the entry for your network device, and, under the "Route" tab, enter an explicit default route and gateway address. As a quick check before doing the above, just run route add default gw nnn.nnn.nnn.nnn dev eth0 supplying the appropriate gateway address and device, of course. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: new CentOS 5 install, 'Network is unreachable'
Robert Nichols wrote: [EMAIL PROTECTED] wrote: I've a new CentOS 5 minimalist install; this will be the name server from my prior thread. I have configured eth0 during setup with the static IP the unit will have when in production. During this setup phase, selinux is set to permissive. Setting up on a different network, I did this: dhclient eth0 and successfully got a private address; I also validated that the resolv.conf file was created by the dhclient-script and it was, accurately pointing to my gateway and listing a domain name server by IP. That's where the fun stops. Even pinging an IP, so as not to rely on name resolution, I get the dreaded 'Network is unreachable' error. As a quick check before doing the above, just run route add default gw nnn.nnn.nnn.nnn dev eth0 supplying the appropriate gateway address and device, of course. Robert, Thank you. That did the trick. It's clearly been a long day. I'd read earlier that even if I'd a static IP/NM, etc, setup, dhclient eth0 would temporarily let me use my private network, but taking the interface down and up would return to the static settings. Never even dawned on me that it was a routing issue. yeah, it's been a long day Thanks loads, ~R ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Data corruption on external hard disk
Hi, I'm using CentOS 5 on all my computers here (work + home) and I'm very satisfied with it. Some time ago I purchased a 300 GB external hard drive to store films, music, pictures and documents. Since there's no Windows machine around here (small South French village, town hall and public library use Linux :o)), I replaced the FAT filesystem on the disk by an ext2 filesystem. Now it's already almost full with data. A few days ago I had a problem with the subdirectory Cinema/ containing a collection of my favourite movies. I wanted to copy them from the disk to my newly purchased laptop (ASUS W6F, already running CentOS 5), when suddenly I got a read error on data. I checked in a Terminal what was going on, and the file ownerships were all curiously set, like missing read flags, no more --x rights on directories, whereas I remember I had set them right in the first place. So I started a series of recursive chmod's on the directory Cinema/... but I got nothing: the command prompt never went back. Unmounting the disk was not responsive neither, so I just shut it off. When I was performing this, it was a very hot day, almost 40°C. The disk was really very hot, so I wonder if this might have damaged it. I could retrieve some of the data on the disk (music, pictures, documents), but now, instead of the Cinema/ directory, I have one big file that looks like this: [EMAIL PROTECTED]:/media/disk/Films] $ ls -l total 692996 -rw-r- 1 678756852 34537972 148381783526817280 avr 28 01:01 Cinema drwxr-xr-x 3 kikinovak kikinovak 4096 mai 9 10:07 Anime drwxrwxrwx 4 kikinovak kikinovak 4096 mai 10 12:25 Series Notice that the file size is something like petabytes :oD Is there any way to repair this obviously corrupt data? Cheers, Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Data corruption on external hard disk
Quoting Niki Kovacs <[EMAIL PROTECTED]>: *snip* Is there any way to repair this obviously corrupt data? fsck.ext2 /dev/sda1 Obviously replacing sda1 with your partition and drive for your external device. -- Steven Haigh Email: [EMAIL PROTECTED] Web: http://www.crc.id.au Phone: (03) 9017 0597 - 0404 087 474 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Data corruption on external hard disk
On Sat, 2007-08-04 at 07:09 +0200, Niki Kovacs wrote: > [EMAIL PROTECTED]:/media/disk/Films] $ ls -l > total 692996 > -rw-r- 1 678756852 34537972 148381783526817280 avr 28 01:01 Cinema > drwxr-xr-x 3 kikinovak kikinovak 4096 mai 9 10:07 Anime > drwxrwxrwx 4 kikinovak kikinovak 4096 mai 10 12:25 Series > > Notice that the file size is something like petabytes :oD > > Is there any way to repair this obviously corrupt data? Looks like a broken inode (or incorrect directory entry). I'd make a backup image of the disk first (if that works without serious errors) with dd. After that, run a badblocks check, and a fsck. -- Daniel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos