Re: [CentOS] calendar
My manager's asked me about something that can run on our CentOS boxes that can connect to an (bleah!) Exchange server's calendar. It doesn't look like Lightening can, and from some googling, it appears that Evolution claims to, but It's got to be able to set dates, etc. Exchange has a web based interface: http://en.wikipedia.org/wiki/Outlook_Web_App ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.
Almost everyday around 3:30 AM the server completely locks up and has to be power cycled before it will come back online. (this means someone hat to wake up and reboot the server, oh how I love being an internet janitor! :) Smells like a hardware issue to me too, but I went through all of the dell diagnostics, updated the firmware, everything checks out as being okay, RAID, disks, RAM, etc... Spent an hour on the phone with a Dell tech. No hardware issues, at least that we were able to find. There are no cron jobs that run at 3:30, no backups, the server has a load of 0, nothing is scheduled around that time... do you have smartd set to run short/long hard disk checks during the night? it is done via /etc/smartd.conf, not via cron. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)
2011/3/7 Alexander Dalloz ad+li...@uni-x.org: Am 07.03.2011 08:46, schrieb Frank Cox: Roland's screencopy shows a java process rather than openswan. indeed, could it be http://www.iss.net/threats/414.html DoS? I would not expect that this is happening in the kernel, though... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba or NFS
Thinking of setup a backup process between two Centos systems. One will backup to the other one. For those people out there with Centos production severs what would you recommend to use Samba or NFS rsync+ssh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] folder quotas
2011/1/8 aurf alien aurfal...@gmail.com: Hmmm, perhaps user quotas? I can easily script that into any user creation process. So I can taylor home size on a per user basis as my power users would need more space than my standard users. Has any one done this? Group quotas are more flexible. They provide consumption control both per home directory and per-project directory. According to Redhat's convention - an user is created together with an unique primary group whose name equals the user's name. Home folder's space consumtion is regulated using per-group quota on user's primary group. Usually, users participate in different projects having corresponding file-sharing folders in the file system. For each project one creates a separate group. All users participating in the project are assigned members of this group. Consumption per project folder is regulated with per-group quota on the project's group. One should not, of course, forget to set appropriate group permitions on the folders and to activate the set-group-id bit. I read all this 12 years ago in the RedHat's users guide. Kind regards, Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Router for SOHO network - hardware considerations
2010/11/22 Niki Kovacs cont...@kikinovak.net: one server (an old IBM X225), seventeen desktops all running CentOS 5.5. One extra machine is acting as a router, in that it is installed between the DSL modem and the network, with two Ethernet cards, and it's taking care of DHCP, DNS, NTP and also acts like a proxy (with Squid). - quite big and noisy and electricity-consuming to me,. I've found two things: 1) Pyramid Soekris boards, where I can put something like Pyramid Linux on it. And 2) The Linksys WRT54GL, for which there are Linux firmwares like OpenWRT and DD-WRT. I would want to spare substantial effort and to keep things simple and stupid. I would: 1) migrate all services DHCP, DNS, NTP and Squid to the X225 server 2) Use the Linksys WRT54GL for routing/gateway. I would not bother installing the OpenWRT. I would do this, unless I am looking forward to increase my expertise in home built routers. Kind regards, Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] excel parser (preferably perl)?
Yeah, the inconvenient parts could probably be done in vbscript or something on a windows box, pushing the results into the db through odbc, but I thought this would be a common enough problem that cross-platform tools would be available. I am using some java stuff on the reporting side - maybe I should look there for conversion tools too. Yep, there a few java excel libraries like: http://jexcelapi.sourceforge.net/ - we are using this one for dumping into excel spreadsheets ... or http://poi.apache.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] excel parser (preferably perl)?
2010/10/20 Frank Cox thea...@sasktel.net: Yep, there a few java excel libraries like: Interesting. Are you aware of any similar libraries for C? Nope, but you can always use the COM interface. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Simple solution for small network in a school ?
2010/7/10 Niki Kovacs cont...@kikinovak.net: Hi, I have to install a small network in a school in a nearby village. The network will be Linux-only, one server and fifteen desktops. Here's the idea. 1) Authentication should be managed centrally on the server. 2) User home directories should also be on the server. 3) Users should all have disk quotas, something like 1 GB per user. 4) Some shared directories should be read/write for a defined group of users (teachers) and read-only for others. for a small setup like this, I would go with LTSP. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Simple solution for small network in a school ?
010/7/12 Carel Lubbe carel.lu...@gmail.com: Hi Niki, Have you had a look at the K12 systems available from different distro vendors? It is build specifically for schools. Indeed K12 should cover school specific requirements, and as far as I remember it was LTSP based. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Sorry for being to vague. Here is the XP Pro error I get when I try to join the domain. A domian controller for the domain admin could not be contacted. Esure that the domain name is typed correctly. If the name is correct, click on the Details for troubleshooting information. Details: Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt. The domain name admin might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain admin. The error was: No records found for given DNS query. (error code 0x251D DNS_INFO_NO_RECORDS) The query was for the SRV record for _ldap._tcp.dc._msdcs.admin For more information, click Help. Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. It seems, that the samba domain controller 192.168.6.1 fails to register with the WINS server - 192.168.4.1, and the XP station cannot locate it. You'd better post your smb.conf file and verify if the domain controller registers with WINS server. Best regards, Alexander. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP/DNS server for LAN with mainly Windows clients : Outlook Express vs. Webmail problem
2010/6/11 Niki Kovacs cont...@kikinovak.net: Now the curious problem I have: IP addresses are attributed correctly, people can surf on the internet all right. But the only thing they can't seem to do is send mail with Outlook or Outlook Express. I have to revert to the ISP's DNS, but so I lose the benefit of local DNS. And I don't have the slightest clue as to why that is so. Perhaps, they cannot resolve the IP address of their outgoing SMTP server? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MySQL max clustering package?
2010/3/17 Neil Aggarwal n...@jammconsulting.com: The only potential place a conflict may occur is in the qty available for a specific product. The inventory system updates the inventory regularly so even if the number is wrong, it gets refreshed shortly thereafter. Do you mean that a separate job, iterates the orders, accumulates the real ordered quantity and subtracts it from some initial quantity in order to produce available quantity? What do you do in cases where you have oversold a product. I mean when the ordered quantity got bigger than the available quantity due to a conflict in available quantity field? I assume that the system sends an email to the warehouse to increase additionally the quantity of that product? We even built an application layer on top of master-master replication to handle cases where a transaction fails. Could you describe a case where a transaction has failed , and how you deal with it? Thank you! Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Tomcat authentication via PAM (or other system methods)?
2009/12/2 Les Mikesell lesmikes...@gmail.com: Is there a way to coax java services running under tomcat to use the system authentication methods set up through PAM? In my case, this would be users in the local passwd file or through smb to a windows domain. I've added mod_auth_pam to get this effect with apache but would like to also handle java web services. java and J2EE (I think also tomcat) use JAAS for authentication purposes. JAAS is like PAM for java applications, in fact JAAS specification is based on PAM specification. There must be JAAS modules that authenticate against pam: http://www.google.bg/search?sourceid=chromeie=UTF-8q=jaas+pam+module ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Using Thunderbird as local mail reader
2009/8/23 fred smith fre...@fcshome.stoneham.ma.us: Hi! I'm trying to figure out how to use Thunderbird as a local mail reader. So far I don't see any way to configure it other than as a POP3 or IMAP mail reader, but I get my mail locally and would like to try using Tbird to read it. What am I overlooking? Several years ago it was possible to use directly the mailbox spool file. As I remember the mail account type was Movemail. Google for thunderbird + Movemail Search got several pages like: http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/2f79a51703e414ec?pli=1 perhaps it is still possible Best regards ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slow IDE on GeForce 8200 board
2009/8/11 Ian Murray murra...@yahoo.co.uk: In my haste for help, I stupidly hit reply and changed the subject which I thought was enough for a new message, not giving much thought for the threading, etc. So apologies for the hijack, although I would think it fairly obvious that it wasn't deliberate or obvious to me... or a big deal really. My mail doesn't thread. Some further info for those actually interested in helping, I forgot that the HD in question had an Ubuntu 8.10 install on it, so I fired that up and hdparm -t produced 56MB/Sec. So the issue is either kernel or config. Check if ultradma and unmasq interrupts flags are set(both under ubuntu and centos): hdparm -u -d /dev/hda ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] script to monitor interface errors
2009/7/23 Tom Brown t...@ng23.net: Has anyone knocked up a script to monitor for interface errors before? i know i can look at the interface statistics with ethtool -S but i wonder if anything has something that looks at the last value for this statistic and then can alert if they increase? any thought how to solve this? it has to be host based and cant be on the switch surprise, surprise I have a similar situation. On a very slow Pentium I machine, runing 2.2.XXX kernel, sometimes I have overruns and frame errors, which choke up the interface and I have to restart it using The overruns are due to torrent traffic generated by one of the geeks here. ifconfig eth1 down ifconfig eth1 up So I was thinking of using a cron job and a simple script that restarts the interface, provided the errors have increased since last check. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PCI modems
It doesn't need to be a PCI modem, but I would prefer one because everything can be nicely tucked away than and it's less wiring. But if only oldskool external serial modems do the job I'll use that then. Just to confirm, something like this one: http://www.usr-emea.com/products/p-dialup-product.asp?prod=hom-5631aloc=bene will just work out of the box? There are/were two products for unix faxing - mgetty and hylafax, so check out their hardware compatibility lists. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
2009/7/11 o hhh...@hotmail.com: You mentioned that the data can be retrieved from somewhere else. Is some part of this filename a unique key? The real key is up to 1023 chracters long and it's unique, but I have to trim to 256 charactes, by this way is not unique unless I add the hash. The fact that this 1023 file name is unique is very nice. And no trimming is needed! I think you have 2 issues to deal with: 1) you have files with unique file names unfortunatelly with lenth = 1023 characters. Regarding filenames and paths in linux and ext3 you have: file name length limit = 254 bytes path length limit = 4096 If you try to store such a file directly, you will break the file name limit. But if you decompose the name into N chunks each of 250 characters, you will be able to preserve the file as a sequence of N - 1 nested folders plus a file with a name equal to the Nth chunk residing into the N-1th folder. Via this decomposition you will translate the unique 1023 character 'file name' into a unique 1023 character 'file path' with length lower than the path length limit 2) You suffer performance degradation when number of files in a folder goes beyond 1000. Filipe Brandenburger has suggested a slick scheme to overcome this problem, that will work perfectly without a database: quote start $ echo -n example.txt | md5sum e76faa0543e007be095bb52982802abe - Then say you take the first 4 digits of it to build the hash: e/7/6/f Then you store file example.txt at: e/7/6/f/example.txt quote end of course, example.txt might be a long filename: exa . 1000 chars here .txt so after the hash tree e/7/6/f you will store the file path structure described in 1). As was suggested by Les Mikesell, squid and other products have already implemented similar strategies, and you might be able to use either the algorithm or directly the code that implements it. I would spend some time investigating squid's code. I think squid has to deal with exactly same problem - cache the contents of resources whose urls might be 254 characters. If you use this approach - no need for a database to store hashes! I did some tests on a Centos 3 system with the following script: =script start #! /bin/bash for a in a b c d e f g j; do f= for i in `seq 1 250`; do f=$a$f done mkdir $f cd $f done pwd some_file.txt =script end which creates a nested directory structure with and a file in it. Total file path length is 8 * 250. I had no problems accessing this file by its full path: $ find ./ -name some\* -exec cat {} \; | wc -c 2026 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
Thanks, using directories as file names is a great idea, anyway I'm not sure if that would solve my performance issue, as the bottleneck is the disk and not mysql. The situation you described initally, suffers from only one issue - too many files in one single directory. You are not the fists fighting this - see qmail maildir, see squid etc. The remedy is always one and the same - split the files into a tree folder structure. For a sample implementaition - check out squid, backup pc etc ... I just implemented the directories names based on the hash of the file and the performance is a bit slower than before. This is the output of atop (15 secs. avg.): PRC | sys 0.53s | user 5.43s | #proc 112 | #zombie 0 | #exit 0 | CPU | sys 4% | user 54% | irq 2% | idle 208% | wait 131% | cpu | sys 1% | user 24% | irq 1% | idle 54% | cpu001 w 20% | cpu | sys 2% | user 15% | irq 1% | idle 31% | cpu002 w 52% | cpu | sys 1% | user 8% | irq 0% | idle 52% | cpu003 w 38% | cpu | sys 1% | user 7% | irq 0% | idle 71% | cpu000 w 21% | CPL | avg1 10.58 | avg5 6.92 | avg15 4.66 | csw 19112 | intr 19135 | MEM | tot 2.0G | free 49.8M | cache 157.4M | buff 116.8M | slab 122.7M | SWP | tot 1.9G | free 1.2G | | vmcom 2.2G | vmlim 2.9G | I am under the impression that you are swapping. Out of 2GB of cache, you have just 157MB cache and 116MB buffers. What is eating the RAM? Why do you have 0.8GB swap used? You need more memory for file system cache. PAG | scan 1536 | stall 0 | | swin 9 | swout 0 | DSK | sdb | busy 91% | read 884 | write 524 | avio 6 ms | DSK | sda | busy 12% | read 201 | write 340 | avio 2 ms | NET | transport | tcpi 8551 | tcpo 8204 | udpi 702 | udpo 718 | NET | network | ipi 9264 | ipo 8946 | ipfrw 0 | deliv 9264 | NET | eth0 5% | pcki 6859 | pcko 6541 | si 5526 Kbps | so 466 Kbps | NET | lo | pcki 2405 | pcko 2405 | si 397 Kbps | so 397 Kbps | in sdb is the cache and in sda is all other stuff, including the mysql db files. Check that I have a lot of disk reads in sdb, but I'm really getting one file from disk for each 10 written, so my guess is that all other reads are directory listings. As I'm using the hash as directory names, (I think) this makes the linux cache slower, as the files are distributed in a more homogeneous and randomly way among the directories. I think that linux file system cache is smart enough for this type of load. How many files per directory do you have? The app is running a bit slower than using the file name for directory name, although I expect (not really sure) that it will be better as the number of files on disk grows (currently there are only 600k files from 15M). My current performance is around 50 file i/o per second. Something is wrong. Got to figure this out. Where did this RAM go? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
My original idea was using the just the hash as filename, by this way I could have a direct access. But the customer rejected this and requested to have part of the long file name (from 11 to 1023 characters). As linux only allows 256 characters in the path and I could get duplicates with the 256 first chars, I trim teh real filename to around 200 characters and I add the hash at the end (plus a couple metadata small fields). Yes, there requirements does not makes too much sense, but I've tried to convince the customer to use just the hash with no luck (seems he does not understand well what is a hash although I've tried to explain it several times). That's why I need or a) use mysql or b) do a directory lising. I would use either only a database, or only the file system. To me - using them both is a violation of KISS. If you were able to convince them to change the directory layout, and if you are more confortable with a database - try to convince them to use a database. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
2009/7/10, o hhh...@hotmail.com: Ok, I coudl use mysql, but think we have around 15M entries and I would have to add to each a file from 1KB to 150KB, in total the files size can be around 200GB. How will be the performance of this in mysql? in the worst case - 150kb for a 1500 of files I get: 1500 * 150 / (1024 * 1024) 2145.7672119140625000 or 2TB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
2009/7/10, Filipe Brandenburger filbran...@gmail.com: On Fri, Jul 10, 2009 at 16:21, Alexander Georgievalexander.georg...@gmail.com wrote: I would use either only a database, or only the file system. To me - using them both is a violation of KISS. I disagree with your general statement. Storing content that is appropriate for files (e.g., pictures) as BLOBs in an SQL database only makes it more complex. Please, explain why. I was under the impression that storing large binary streams is BLOB's reason to exist. Creating clever file formats to store relationships between objects in a filesystem instead of using a SQL database only makes it more complex (and harder to extend!). Indeed. Just because you are using less technologies doesn't necessarily make it simpler. Of course, but if one of those technologies can provide both functionalities without hacks, twists and abuse, I would stay with that single technology. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about optimal filesystem with many small files.
2009/7/9, o hhh...@hotmail.com: After a quick calculation, that could put around 3200 files per directory (I have around 15 million of files), I think that above 1000 files the performance will start to degrade significantly, anyway it would be a mater of doing some benchmarks. depending on the total size of this cache files, as it was suggested by nate - throw some hardware at it. perhaps a hardware ram device will provide adequate performance : http://www.tomshardware.com/reviews/hyperos-dram-hard-drive-block,1186.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware requirements for Centos 2
2009/7/6 Dmitry ti...@supportex.net: Hi. Could you please give me advice about issue described below. My friends have to use a PC with old hardware for a few months. They've got 128MB of RAM, 20 GB hard drive; Pentium 3 processor. At the moment they have windows xp running on it, but it's very slow. Just upgrade to 256MB, Windows XP will work like charm. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How best to allow users to change Samba passwords?
2009/7/1 Kevin Thorpe ke...@pibenchmark.com: On 01/07/2009 14:29, Jason Pyeron wrote: We're missing some bits on this. We don't run Windows servers at all so the Exchange route is out. Also most of our workstations are only windows Home, not Professional so we can't use a domain or the ctrl-alt-del approach. I think I'm going to have to use openLDAP to do this, but it seems overly hard to set up. It will however work for Samba, Scalix and our website (Drupal) so I think it's the way to go. I have successfully used http://www.pgina.org to authenticate Windows Home users against a Samba domain. Pgina has plugins for different authentication providers, so openLDAP should work. Of course you should ensure user and password synchronization between the 2 servers as a first step. OpenLDAP will work. I have used http://sourceforge.net/projects/smbldap-tools/ to store samba account database in openldap. The real challenge for me 7 years ago, was password expiration. I believe this requirement will sooner or later come to you. Users tend to use the same password for years. Therefore a mechanism of password expiration must be enforced to make sure those passwords will be changed, also the mechanism observes that passwords are strong and not rotated. When I was using a Windows NT4 domain there was a mechanism which would observe the password expiration of domain users and would trigger via RPC a password change request on the user workstation. Upon login, the user would not be granted login until the password is changed. I could not reproduce this behavior using samba 2.2.xxx and have not tried since then. With best regards Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How do I change passwords / remove users for Samba?
Well I finally worked it out. Reboot Windows then it works. Bah! Stupid Microsoft. Wasted half my morning because Windows is broken. restarting the workstation should also work: net workstation stop net workstation start in cmd.exe in windows xp. net use will show you current connections. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What is writing to my filesystem
2009/4/10 jcarriz...@crutchfield.com: I have a CentOS 5.2 box that every few months runs out of drivespace on its root filesystem. Last time I manually searched and deleted some big files, but don't remember what they were or what wrote to them. The applications I'm aware of on the box don't write to /. I have a Centos 3 system, which has its /boot in the / filesystem, and after several kernel upgrades it gets full, so I have to deinstall old kernels. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Help] About Participate in CentOS - knoweldge sharing.
I filled it out, but to be blunt - this survey complete stinks. Questions like: The Linux platform can perform complex tasks using various knowledge. What the !(*$*(!(* does that even mean? Please don't publish, or use, any results from this survey as they will be complete junk. (a) The Linux platform doesn't perform complex tasks. Users do, applications do, maybe. What is a complex task? (b) using various knowledge. Eh? Do you mean it requires various knowledge to set it up / configure it? Still: Eh? What is various knowledge? Yet a buck is a buck. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba 3.0.28/3.0.32
2008/10/9 Guy Boisvert [EMAIL PROTECTED]: Joseph L. Casale wrote: XP Home don't have: - The RDP server - Offline Folders - Dual CPU Support - Greater Access Control (shares, files folders) - Multi-Language interface Another annoyance is the lack of address bar in the Winblows Explorer. It's very handy to be able to type UNC name in address bar. It does have address bar. At least my copy of Windows XP Home has it. Regarding Dual CPU Support - Windows Task Manager shows 2 separate CPU Usage Histories for the CPU, which is Core3 CPU T7200. It has hyperthreading or something. Best regards. Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem with Arima HDAMA rev.G with Integrated SiliconImage Sil3114 Serial ATA 4 Ports and 1TB SATA disks. Recomendation for a cheap SATA controller for linux software raid?
Dear Everybody, I am telling you the whole story, perhaps you can give me a better idea. Almost 3 years ago I purchased Arima HDAMA rev. G motherboard with integrated Silicon Image Sil3114 Serial ATA 4 Ports SATA I adapter. ( http://www.arimacorp.com/ViewProduct.asp?View=86 ) . BIOS version is 2.13. My intention is to make a file server, using linux software raid, so I bought 2 new shiny 1TB SATA II disks, and installed them. Unfortunately the system does not boot - hangs in the Sil 3114 BIOS initialization stage. Apparently this is a known problem with Sil3114 and Sil3112: ( http://forums.seagate.com/stx/board/message?board.id=ata_drivesmessage.id=970 ) The Silicon people have issued a BIOS update for this issue, however they explicitly state - only for ADD-IN cards. Perhaps, integrated controlers share the same eeprom chip with the motherboard BIOS, and an attempt to flash it - will render the system unbootable. For integrated controllers - the mainboard producer should provide the update. Apparently the Arima people have sold their business to http://www.flextronics.com/en/default.aspx. The new site is at http://www.flextronics.com/arima/server/Product/ViewDownload.asp?View=HDAMA%20rev.G. The last BIOS update is from 8/30/2006. And I think this patch well predates the 1TB hard disks and has been issued before SiliconImage's patch: ( http://www.siliconimage.com/support/supportsearchresults.aspx?pid=28cid=15ctid=2osid=0; ) . So I am not willing to risk a BIOS update and I have decided to spend additional cash on a cheap but fast 4 port SATA II controller and use it with Centos 5.2. Where I reside, the following two have caught my attention: ADAPTEC SATA RAID 1420SA Serial ATA-150/Serial ATA II-300 PCI-X 4ch for 120 USD ( http://www.adaptec.com/en-US/products/Controllers/Hardware/sata/entry/AAR-1420SA/ ) and PROMISE FastTrak TX4300 Serial ATA II-300 PCI 4ch for 160 USD ( http://www.promise.com/product/product_detail_eng.asp?segment=RAID%200/1%20HBAsproduct_id=137 ) Do you have any experience any of these 2 adapters, operating as plain SATA controllers, under linux software raid? Which one would you recommend? Best regards, Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School Server Setup
2008/6/11, Harry Sukumar [EMAIL PROTECTED]: Hi Gopinath, Thank you for the reply, All the client machines have 1GB Ram and 80GB of hard disk so I don't think its efficient to run think client setup on the machines But thank any way Cheers Harry It is efficient in terms of spared free time. Go with http://k12ltsp.org/mediawiki/index.php/Main_Page or reinvent the wheel. Cheers, Alex. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Howto for LDAP authentication with replication
2008/1/10, Sean Carolan [EMAIL PROTECTED]: Can anyone point me to a how to or beginners guide to setting up LDAP authentication on CentOS5 with replication? http://freshmeat.net/projects/smbldap-tools/ this is what I've been using the last 4-5 years. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Which pop3 server
2007/11/16, Miark [EMAIL PROTECTED]: What's the best package for a plain-jane pop3 server? http://www.ex-parrot.com/~chris/tpop3d/ is your friend. The best C sources I've ever read. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A good primer to User Administration?
2007/11/13, Eric B. [EMAIL PROTECTED]: Hi, I've been running Linux as a workstation OS for years, and have been dealing with Windows networks and standalone Linux servers for a while now. However, the time has come for me to complete redo the server installation and am looking to move to a complete CentOS install base, with only Windows workstations. For a situation like yours I am using http://freshmeat.net/projects/smbldap-tools/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Runing a script under cron. Append stdout and stderr to a log file, propagate stderr back to cron for email reporting
Dear List, I want to run a rsync-ing script in cron, generating a very verbose -vv rsync log in a log file. The log file should combine both stderr and stdin, which is easy: backup.sh /var/log/backup.log 21 However, I would like to propagate only stderr to cron - in case there has been an error, cron will mail me the assembled stderr output. I tried the following: $ (./backup.sh /var/log/backup.log) 21 | tee -a /var/log/backup.log which propagates the stderr to cron, but lines written to /var/log/backup.log are out of sequence - for example if the contents of backup.sh are: #!/bin/bash echo out 1 1 echo out 2 1 echo out 3 1 echo out 4 1 echo err 5 2 echo out 6 1 echo out 7 1 echo out 8 1 I get in /var/log/backup.log: out 1 out 2 out 3 out 4 out 6 out 7 out 8 err 5 I would like the lines in their initial sequence. Do you know a shell trick or a tool that I can use to achive desired goal? Best regards, alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Suggestions for RAID HW for 2 SATA drives in Dell PowerEdge SC
2007/8/29, Lanny Marcus [EMAIL PROTECTED]: Looking at the Dell PowerEdge 440SC web page for Colombia. The box will have two 250 GB SATA drives. The HD controller is: SAS 5IR SAS,Internal Raid Adapter (SAS5IR) for HD Configuration) the options are: (1) Add-in SAS5iR (SATA/SAS Controller)-RAID 0 (ASASR0) (2) Onboard SATA, 2 Drives connected to Onboard SATA Controller No RAID (MST2) (3) Add-in SAS5iR (SATA/SAS Controller) which supports 1-2 Hard Drives-No RAID (ASAS) (4) Add-in SAS5iR (SATA/SAS Controller)-RAID 1 (ASASR1) Apparently the cost for them is the same. Option 1 (RAID 0) or Option 4 (RAID 1)? Suggestions solicited! TIA, Lanny BTW: I plan to put CentOS on it. If Dell installs Linux, with 1 year support, down here they charge: (a) Red Hat Enterprise Linux ES 4, 1 year subscription to Red Hat Network, English (RH4ES1) [about US$400] (b) SUSE Linux Enterprise Server 10, 1 CPU, 1 YR Subscription, FI (SL101S1) [about US$160] I would use software raid 1. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Hard disk recomendation for a software raid 5 array. Does Linux Software Raid support/interacts well with TLER enabled disks.
Not necessarily from different vendors as much as from different build lots, etc. The theory is ... items build from the same components at the same time and the same place should fail/EOL at about the same time (all things being equal). In practice, I have not seen that. If you are concerned about it, getting drives from different factories or lots (but the same manufacturer) should be OK. I have seen 18 out of 20 gone in 2 weeks period. Those were 20 PCs manifactured by IBM. I guess it must have been the famous Deathstar bug. I am not sure if I can buy disks of different lots here(I live in Bulgaria, where a rumour is spread, that hard disk on sale are from lots that have failed the tests for robustness). What I can do is to spread the purchase in 4 weeks period - buying each week a disk. I am not in a hurry on this project. However I wanted to do this in a 2 weeks period - buying each week one Barracuda and one Hitachy. As I intend to use software raid which in theory can even work with volumes on different channel types - like using one external USB disk and one internal ATA disk, I was not expecting problems mixing different vendors disks. BTW According to O'relly's book on linux hardware raid, the only reason to choose disks from the same vendor is not to jeopardise performance by combining one less performant disk with a more performant one. As this is a rsync server - performance is not a requirement. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Hard disk recomendation for a software raid 5 array. Does Linux Software Raid support/interacts well with TLER enabled disks.
Hi people, I am building a cheap remote rsync backup server using a software raid 5 array of 4 500GB disks. What I have available on the market is: 1. HITACHI GST Deskstar T7K500 500GB 7200rpm 16MB cache Serial ATA II-300 2. SEAGATE Barracuda 7200.10 with NCQ 500GB 7200rpm 16MB cache Serial ATA II-300 3. Western Digital 500GB SATAII RAID EDITION Caviar SE16 7200rpm 8.9ms 16MB cache I am tempted to use the Western Digital Raid Edition as it has 5 years of warranty. However I found out that the Raid Edition means that the disk supports TLER - time limited error recovery: http://www.excelmeridiandata.com/products/wd_raid_edition_drive.shtml A more profound description can be found here http://www.wdc.com/en/library/sata/2579-001098.pdf. In summary, the error recovery time of the hard disk is reduced to 8 second. If the hard disk cannot perform the recovery it will report an error to the RAID controller and delegate the recovery to the controller. As I intend to use linux software raid on Centos 5, I will not have a RAID controller to deal with this delegated error, but two cheap I/O SATA controllers. Has anybody used 'raid edition' disks with software raid? Does anybody know how linux software raid interacts/supports these TLER disks. Best regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos