Re: [CentOS] Querying netgroup information

2010-06-21 Thread Joshua Gimer
On Mon, Jun 21, 2010 at 9:17 AM, Gerhardus Geldenhuis 
gerhardus.geldenh...@gmail.com wrote:


 Two questions:
 * Is there a similar package with similar commands to query netgroup
 membership available for Centos? I have not been able to find such a
 package yet.


I believe that you can use the getent command that is built in to CentOS.

getent netgroup netgroup name

-- 
Thanks,
Joshua Gimer

---

http://www.linkedin.com/in/jgimer
http://twitter.com/jgimer
http://itsecops.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Yum on CentOS 5.4

2009-11-15 Thread Joshua Gimer
Could you please post the full output of the yum update? Also, are you using
any additional yum repos outside of the default centos repo or any plugins?

Thanks
Josh

On Sun, Nov 15, 2009 at 12:29 AM, Niki Kovacs cont...@kikinovak.net wrote:

 Hi,

 I recently downloaded and burned the 5.4 DVD ISO. All my machines are
 now running 5.4, but these are installs I performed with 5.0, 5.1, 5.2
 etc. and then progressively upgraded. Now I had to use 5.4 because a
 friend's laptop, a brandnew Fujitsu Esprimo Mobile, refuses to boot
 anything under 5.4.

 After a fresh install of the base system, first thing I do is 'yum
 update' with the default setup... only this time, nothing happens. I
 stays about a minute or two on 'Determining fastest mirror'... and then
 tells me :

 Could not retrieve mirrorlist...

 On the other hand, 'yum update' on all the other installs (from older
 CentOS disks) works correctly.

 What's wrong?

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




-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bash variable expansion moment

2009-11-15 Thread Joshua Gimer
You could pass the value of $LINENO to Line() as a function argument:

Here's the one file (func-file):
-
Line()
{
echo This is line $@
}
-

That one is called by this one:
-
#!/bin/bash

. ./func-file

Line $LINENO


Macintosh-5:/tmp joshuagimer$ cat func-file
Line()
{
echo This is line $@
}
Macintosh-5:/tmp joshuagimer$ cat test.sh
#!/bin/bash

. ./func-file

Line $LINENO
Macintosh-5:/tmp joshuagimer$ bash test.sh
This is line 5

Thanks
Josh

On Sat, Nov 14, 2009 at 5:37 PM, ken geb...@mousecar.com wrote:

 It's half a nice Saturday later and many attempts have brought no
 satisfaction.  Maybe this can't be done.

 I'm trying to write a function which, when called from one function
 execute in another.  In itself, that's not the problem.  Rather, there's
 one built-in variable which is evaluated in the function definition and
 it's value is then set (too early).

 Here's the one file (func-file):
 -
 Line()
 {
 echo This is line $LINENO $@
 }
 -

 That one is called by this one:
 -
 #!/bin/bash

 . ./func-file

 Line ... it should be $LINENO
 

 I want the function Line to show the line number in the second file
 where it's executed, not the line number from the sourced function.

 Any mavens got the skinny on this?

 tia


 --
 War is a failure of the imagination.
--William Blake

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




-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Invitation to connect on LinkedIn

2009-03-30 Thread Joshua Gimer
LinkedIn


Joshua Gimer requested to add you as a connection on LinkedIn:
--

Romeo,

I'd like to add you to my professional network on LinkedIn.

- Joshua

View invitation from Joshua Gimer
http://www.linkedin.com/e/c640Z0zoY42Hba6yQ6iWhZknxFvA/blk/1105858934_2/0OnPgPejwRe3kMcj4LqnpPbOYWrSlI/svi/
 

--
DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity 
URL and then promote this address on your business cards, email signatures, 
website, etc
http://www.linkedin.com/e/ewp/inv-21/


 
--
(c) 2009, LinkedIn Corporation

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


Re: [CentOS] Invitation to connect on LinkedIn

2009-03-30 Thread Joshua Gimer
I apologize for this in advance, I thought that I got all of the lists
out of this request when I sent it. :0

2009/3/30 Joshua Gimer jgi...@gmail.com:
 LinkedIn

 Joshua Gimer requested to add you as a connection on LinkedIn:



 Romeo,

 I'd like to add you to my professional network on LinkedIn.

 - Joshua

 View invitation from Joshua Gimer



 DID YOU KNOW you can use your LinkedIn profile as your website?
 Select a vanity URL and then promote this address on your business cards,
 email signatures, website, etc.



 © 2009, LinkedIn Corporation

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





-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables: forwarding on internal device

2009-02-06 Thread Joshua Gimer
 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:25 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:25 state NEW
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp
 spts:1024:65535 dpt:6277 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:2703 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:110 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:22 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:22 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:22 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:446 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpts:20:21 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:80 state NEW
 ACCEPT tcp  --  0.0.0.0/0192.168.100.4   tcp
 spts:1024:65535 dpt:80 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:443 state NEW
 ACCEPT tcp  --  0.0.0.0/0192.168.100.4   tcp
 spts:1024:65535 dpt:443 state NEW
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp
 dpt:53 state NEW
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp
 spts:1024:65535 dpt:53 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:53 state NEW
 ACCEPT udp  --  0.0.0.0/0134.130.4.17udp
 spts:1024:65535 dpt:37 state NEW
 ACCEPT udp  --  0.0.0.0/0130.149.17.21   udp
 spts:1024:65535 dpt:37 state NEW
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp
 dpt:123 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:43 state NEW
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 spts:1024:65535 dpt:113 state NEW
 ACCEPT icmp --  0.0.0.0/00.0.0.0/0   icmp type 8
 ACCEPT icmp --  0.0.0.0/00.0.0.0/0   icmp type 0
 ACCEPT icmp --  0.0.0.0/00.0.0.0/0   icmp type 0
 my_dropall  --  0.0.0.0/00.0.0.0/0

 Chain my_drop (7 references)
 target prot opt source   destination
 REJECT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 dpts:4661:4662 reject-with icmp-port-unreachable
 REJECT udp  --  0.0.0.0/00.0.0.0/0   udp
 dpt:4665 reject-with icmp-port-unreachable
 REJECT udp  --  0.0.0.0/00.0.0.0/0   udp
 dpt:1214 reject-with icmp-port-unreachable
 REJECT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 dpts:137:139 reject-with icmp-port-unreachable
 REJECT udp  --  0.0.0.0/00.0.0.0/0   udp
 dpts:137:139 reject-with icmp-port-unreachable
 LOGtcp  --  0.0.0.0/00.0.0.0/0   tcp
 flags:0x17/0x02 limit: avg 10/min burst 5 LOG flags 0 level 6 prefix
 `DROP-TCP-SYN '
 REJECT tcp  --  0.0.0.0/00.0.0.0/0   tcp
 flags:0x17/0x02 reject-with tcp-reset
 DROP   tcp  --  0.0.0.0/00.0.0.0/0   tcp 
 flags:0x17/0x02
 LOGtcp  --  0.0.0.0/00.0.0.0/0   limit:
 avg 10/min burst 5 LOG flags 0 level 6 prefix `DROP-TCP '
 REJECT tcp  --  0.0.0.0/00.0.0.0/0
 reject-with tcp-reset
 DROP   tcp  --  0.0.0.0/00.0.0.0/0
 LOGudp  --  0.0.0.0/00.0.0.0/0   limit:
 avg 10/min burst 5 LOG flags 0 level 6 prefix `DROP-UDP '
 REJECT udp  --  0.0.0.0/00.0.0.0/0
 reject-with icmp-port-unreachable
 DROP   udp  --  0.0.0.0/00.0.0.0/0
 LOGicmp --  0.0.0.0/00.0.0.0/0   LOG flags
 0 level 6 prefix `DROP-ICMP '
 DROP   icmp --  0.0.0.0/00.0.0.0/0
 LOGall  --  0.0.0.0/00.0.0.0/0   limit:
 avg 10/min burst 5 LOG flags 0 level 6 prefix `DROP-PROTO-ETC '
 REJECT all  --  0.0.0.0/00.0.0.0/0
 reject-with icmp-proto-unreachable
 DROP   all  --  0.0.0.0/00.0.0.0/0

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




-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Log File Reviewing

2009-01-05 Thread Joshua Gimer
What about:

perl -ne 'if (/^\s*word/) { print $_; }' logfile

any others?

On Mon, Jan 5, 2009 at 11:45 AM, Joseph L. Casale
jcas...@activenetwerx.com wrote:
 I need to review a logfile with Sed and cut out all the lines that start with 
 a certain word, problem
 is this word begins after some amount of whitespace and unless I search for 
 whitespace at the
 beginning followed by word I may encounter word somewhere legitimately 
 hence why
 I don't just search for word only...

 Anyone know how to make sed accomplish this?

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




-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] restricting mails from mail command to specific domains only in postfix

2009-01-01 Thread Joshua Gimer
On Thu, Jan 1, 2009 at 4:26 AM, ankush grover ankushcen...@gmail.com wrote:
 Hi Friends,

 I have configured Postfix mail server on Centos  for relaying mails
 from 5 linux servers (including itself) within the same LAN. The
 postfix mail server should relay mails from these 5 linux servers for
 specific domains only. For example hosts 192.168.0.23/24/25/26/27 and
 the postfix mail server should only be able to receive and send mails
 from and to example.com,example2.com and example3.com domains only.
 Below is the configuration of the postfix mail server

 myhostname = test.example.com
 myorigin = $mydomain
 inet_interfaces = all
 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
 mynetworks_style = subnet
 mynetworks = 
 192.168.0.23/32,192.168.0.24/32,192.168.0.25/32,127.0.0.1/32,192.168.0.26/32,192.168.0.27/32
 ,relay_domains = $mydestination,example.com,example2.com,example3.com
 smtpd_recipient_restrictions =
 reject_unauth_destination,permit_mynetworks,reject


 The issue I am facing is that whenever things are working fine when I
 check the things through telnet but when I do testing through command
 line through mail command I am able to send mails to any domain from
 these 5 servers.

 bash-2.05$ telnet test.example.com 25
 Trying 192.168.0.27...
 Connected to test.
 Escape character is '^]'.
 220 test.example.com ESMTP Postfix (2.2.5)
 mail from:ankush.gro...@example.com
 250 Ok
 501 Syntax: RCPT TO: address
 rcpt to:ank...@gmail.com
 554 ank...@gmail.com: Relay access denied


 How can I restrict mails even going through mail command from these
 5 servers to specific domains only. These 5 servers are running some
 cronjobs and these cronjobs output it mailed through mail command.


 Regards

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


If you are using sendmail as the local MTA on these 5 systems
(default) did you change your smarthost configuration to forward mail
through your postfix mail relay?

-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables Question

2008-12-10 Thread Joshua Gimer
Makes sense to me.

Is the host that you are wanting to bypass your proxy on the same segment as
the $LAN interface defined in your rulesets?

On Wed, Dec 10, 2008 at 1:22 PM, Joseph L. Casale [EMAIL PROTECTED]
 wrote:

 I have a squid proxy running transparently, so in my firewall script
 I run the following fairly early:

 iptables -A PREROUTING -t nat -i $LAN -p tcp -m multiport --dports 80,443
 -j REDIRECT --to-port 3128

 This is a multihomed server so after this change the masquerading was
 removed (as only web access on the lan side of this server was needed).

 I now need to masq cleanly one device so that it can bypass the squid
 proxy. As order is important, would it be correct to put the following
 _in front_ of the PREROUTING command above:

 iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
 iptables -A FORWARD -i $LAN -o $WAN -m mac --mac-source mac addr -m state
 --state NEW,ESTABLISHED,RELATED -p tcp -m multiport --dports 443 -j ACCEPT
 iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED -j
 ACCEPT

 Where is the best place to filter for the mac in this scenario? I am hoping
 anything w/o this mac will skip the whole masq setup and enter the
 PREROUTING
 command below, resulting in the traffic being proxied through squid.

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




-- 
Thx
Joshua Gimer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using tcpdump to sniff telnet password

2008-02-07 Thread Joshua Gimer


On Feb 6, 2008, at 1:57 AM, Fajar Priyanto wrote:


Hi all,
As long as I can remember reading various articles/docs, they all  
say that
telnet is not secure because all traffic is in clear text. Well, out  
of

boredom, I try to sniff username and password from a telnet session.


I would suggest using dsniff, it has the ability to parse out  
passwords in the flows that it see's.


http://monkey.org/~dugsong/dsniff/

Joshua Gimer 
___

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


Re: [CentOS] Auth/Security tool at first boot

2008-01-25 Thread Joshua Gimer

system-config-security and systemauth?

Joshua Gimer
On Jan 25, 2008, at 10:21 AM, Joseph L. Casale wrote:

What is the name of this tool that appears when you reboot from  
install and allows you to setup your selinux, iptables and auth  
configuration?


Thanks!
jlc
___
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] Out of disk space at 2 GB?

2008-01-12 Thread Joshua Gimer
By default 5% of the disk is going to be allocated for use by the root  
user. If you are seeing as a non root user that the disk is full, but  
when you become root you are able to write files, then this could be  
your issue. You can change the amount of blocks that are allocated for  
root, but using the -m switch with tune2fs.


Just a thought
Joshua Gimer

On Jan 12, 2008, at 7:49 AM, Les Mikesell wrote:


Scott Ehrlich wrote:
On an ext3 filesystem, what would cause the system to claim it is  
out of disk space for a program writing information to disk, when  
df -h shows ample GB available and the file is being written to  
local disk rather than an nfs-mounted filesystem?

I believe the hard drive is good.
Ideas welcome.


If the application is old it might not have been compiled with large  
file support.


--
 Les Mikesell
  [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] anyone care to point me in the right direction? LVS

2008-01-03 Thread Joshua Gimer

There are several things that I would suggest looking at.

Red Hat has some really good documentation on setting up LVS using  
piranha (rpm's are available for CentOS) you can get that here: https://www.redhat.com/docs/manuals/csgfs/


There is a document outlining the steps that need to be taken when  
doing direct routing LVS in /usr/share/piranha-version/docs/ 
HOWTO.direct-routing.


I have had several issues with getting two load balancers setup for  
LDAP lookups, I have yet to get them resolved.


Josh G.

On Jan 3, 2008, at 9:02 AM, William Ottley wrote:


i'm trying to setup LVS, and tried both the lvs-dr and the lvs-nat,
but can't get any to work.
I'm hoping people here can answer a few questions that might help and
shed light onto the situation?

#1 with regards to the Real Servers, is there anything that needs to
be configured other that the http service? I ask this, because I
suspect yes, and it has to do with what type of LVS you have:

1a) lvs-dr: on the RIP of the web servers, create an lo:0 and assign
the VIP to it
1b ) lvs-nat: on the RIP of the web servers, make sure the default gw
points to the inside network card eth1
1b) lvs-nat: on the LVS, with 2 nics, eth1 (private where web servers
are located): 192.168.0.100, and create a nat gateway of
192.168.0.254, where the real web servers gw is, and make it eth1:1

how do I go about getting diagnostic info from all this? pulse? i
can't connect at all to any of the web servers..

If any has the time, i will glady send my configs..

Thanks!

william

--
---
Morpheus: After this, there is no turning back. You take the blue pill
- the story ends, you wake up in your bed and believe whatever you
want to believe. You take the red pill - you stay in Wonderland and I
show you how deep the rabbit-hole goes.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] Re: How to size an email server to handle 5 million emails per day

2008-01-03 Thread Joshua Gimer
I can only talk from experience; we are currently doing spam and anti- 
virus checks in our inbound flow of around 600,000 messages per day.  
To do this we have three inbound SMTP gateways running Sophos  
Puremessage with Sendmail as the MTA.. These systems are quad proc  
systems with 6 to 8 GB of ram. This is still not enough to handle the  
inbound flow efficiently at our organization.


We are currently looking into Ironport, which should be able to handle  
our entire inbound and outbound flow on one system. They say that they  
have the ability to drop around 98% of traffic that is coming in using  
reputation filtering, anti-spam checks and anti-virus checks. We have  
been demoing the device for a couple of months and I am really happy  
with it, it has been doing what was promised.


Josh G.

On Jan 3, 2008, at 9:21 AM, Ugo Bellavance wrote:


Erick Perez wrote:

I have no idea as to how to size an email server. I was approached by
a customer that wanted a single server with RAID 1 disks to handle
about 5 million emails a day.
In general terms, what parameters should I take into account to size
the hardware specs when the average email is about 10kb, the smalles
email is 2kb and the largest email is about 5meg (with attachment)
thanks,


I don't know if you have done it yet, but Fort System's new  
offering, BarricadeMX, could help you cut spam.


http://www.fsl.com/barricademx.html

It is closed-source, but FSL gives a lot to open-source communities,  
especially MailScanner's.


Ugo

___
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] boot hangs on trying to start sendmail

2007-12-27 Thread Joshua Gimer
Make sure that the system has an entry for itself in /etc/hosts. This  
will allow the system to boot up even if DNS is unavailable.


Josh

On Dec 27, 2007, at 8:29 AM, Robert Moskowitz wrote:


Ed Donahue wrote:
At startup, you will see a message that say Press I to run in  
interactive mode, there you can reject starting sendmail when you  
are prompted.

Now this is something to add to my Linux support/admin notes.

THANKS!


On Dec 27, 2007 10:03 AM, Robert Moskowitz  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:


   I am building a new server.  It will be a temporary firewall of
   sorts.

   I am well into the config, made a lot of changes; almost ready to
   set it
   up in the target networks, but now

   The system hangs trying to start sendmail.  I was thinking hard  
about

   disabling sendmail, but thought I needed it for internal
   functions, so
   did not.  yet.

   So is there someway to get the system working so I can change
   something
   like disable sendmail?

   The system has no cdrom, diskette, etc.  In fact the kybd/monitor
   require a special temp setup.  Perhaps I can edit the kernel  
line in

   grub to disable something?

   If necessary, I can pull the drive and put it in a system that  
does
   support cdrom.  That is the way I did the initial harddrive  
install.



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




___
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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Filesystem for Maildir

2007-11-26 Thread Joshua Gimer
We use ext3 for maildir. I have not had any issues to date. This is  
also on fibre SAN drives, not ATA.


On Nov 26, 2007, at 12:22 PM, Heitor Augusto M Cardozo wrote:


Hi all,

In last year, i had made some research and benchmarks based on  
CentOS 4 to know which filesystem is better for Maildir:  ReiserFS,  
XFS or EXT3.


My conclusion was as follows:

- EXT3: reliable but very slow to read many small files.
- ReiserFS: best performance but unreliable and bad recovery tools.
- XFS: My choice, good performance and reliability.

On CentOS 5.0, a had the same benchmarks and now, EXT3 and XFS seems  
to had better or equivalent performance on Read and Create Random  
files. One of this tests, using bonnie++, show this:


# bonnie++ -d /mnt/sdc1/testfile -s 8192 -m `hostname` -n  
50:15:5000:1000


XFS:
Version  1.03   --Sequential Output-- --Sequential  
Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- -- 
Block-- --Seeks--
MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec  
%CP  /sec %CP
localhost 8G 74048  99 201584  32 74014  12 61610  92  
228977  18 623.5   0
--Sequential Create-- Random  
Create
-Create-- --Read--- -Delete-- -Create-- -- 
Read--- -Delete--
files:max:min/sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec  
%CP  /sec %CP
50:158999:5125/1000   692  1282   0  3502  28   529   7   107
0  1149  11
localhost,8G, 
74048,99,201584,32,74014,12,61610,92,228977,18,623.5,0,50 
:158999:5125/1000,692,12,82,0,3502,28,529,7,107,0,1149,11


EXT3:
Version  1.03   --Sequential Output-- --Sequential  
Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- -- 
Block-- --Seeks--
MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec  
%CP  /sec %CP
localhost 8G 54569  99 249788  68 75268  11 59128  91  
211926  15 587.2   0
--Sequential Create-- Random  
Create
-Create-- --Read--- -Delete-- -Create-- -- 
Read--- -Delete--
files:max:min/sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec  
%CP  /sec %CP
50:158999:5125/1000   748  15   256   1  1081   5   713  15   108
0   207   1
localhost,8G, 
54569,99,249788,68,75268,11,59128,91,211926,15,587.2,0,50 
:158999:5125/1000,748,15,256,1,1081,5,713,15,108,0,207,1



What i want to know is: Anyone use or recommend EXT3 for Maildir?

My configuration: 3Ware 9650SE-8LPML, 8 drives SATA2  ST3500630AS  
500GB on RAID 10.


Regards,

Heitor A.M. Cardozo
___
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] Postfix dying

2007-11-10 Thread Joshua Gimer
 Postfix is dying on one of my servers almost nightly.  This system  
is running CentOS5 with postfix-2.3.3-2.


What does the IO wait look like on the system? Is this system under  
high load?


You might want to check to make sure that syslog is not calling sync  
every time that it writes to file.


/etc/syslog.conf

Should be a -' in front of /var/log/messages

Just a thought.

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


[CentOS] MS Exchange to MBOX

2007-08-09 Thread Joshua Gimer
We are planning on moving a large amount of Exchange mailboxes to  
UNIX mbox format.


My question is, does anyone know of any projects out there or of any  
tools that can assist in this conversion?


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