Re: [CentOS] how to separate individual logs?

2010-12-03 Thread John Doe
From: Les Mikesell > If the first line of the input file used doesn't match the pattern you'd > probably get an error in the redirect since $LOGFILE would not be set. If the data file does not respect the order section+body... he could just add a LOGFILE="garbage.txt" at the begining of the

Re: [CentOS] centos 5.5 - using mp3

2010-12-03 Thread Johan Scheepers
Ron Blizzard wrote: > On Wed, Dec 1, 2010 at 9:04 AM, Johan Scheepers > wrote: >> Good day, >> >> Been googling about this matter. >> Afraid I am now confused. >> Too many options..: for/against/whatever. >> Some is years ago. >> >> Kindly please a step x step manner in which to accomplish to ena

[CentOS] XFS or EXT3 ?

2010-12-03 Thread Keith Roberts
There was a similar thread about which is the best FS for Centos. I'm using ext3, and wondered if XFS would be more 'data safe' than ext3. I had a 100GiB ext3 partition, and it took up 1.75GiB for FS administration purposes. I reformatted it to XFS, and it only used 50.8MB! I now have a fres

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Peter Kjellström
On Friday 03 December 2010 13:55:28 Keith Roberts wrote: > There was a similar thread about which is the best FS for > Centos. > > I'm using ext3, and wondered if XFS would be more 'data > safe' than ext3. 'data safe' is certainly not something easy to define. Short answer: no XFS is not better

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Rainer Traut
Am 03.12.2010 13:55, schrieb Keith Roberts: > There was a similar thread about which is the best FS for > Centos. > > I'm using ext3, and wondered if XFS would be more 'data > safe' than ext3. > > I had a 100GiB ext3 partition, and it took up 1.75GiB for FS > administration purposes. I reformatted

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Adam Tauno Williams
On Fri, 2010-12-03 at 14:20 +0100, Peter Kjellström wrote: > On Friday 03 December 2010 13:55:28 Keith Roberts wrote: > > There was a similar thread about which is the best FS for > > Centos. > > I'm using ext3, and wondered if XFS would be more 'data > > safe' than ext3. > 'data safe' is certainl

[CentOS] sysctl and gnome desktop

2010-12-03 Thread Andrej Moravcik
Hi all, I use CentOS 5.5 x86_64 on my laptop. I have couple of entries in /etc/sysctl.conf entries according to the recommendations http://www.lesswatts.org/projects/powertop/ When Gnome Desktop starts something resets them to defaults. For example 'vm.dirty_writeback_centisecs = 1500' resets b

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread cpolish
On Fri, Dec 03, 2010 at 08:31:12AM -0500, Adam Tauno Williams wrote: > On Fri, 2010-12-03 at 14:20 +0100, Peter Kjellström wrote: > > On Friday 03 December 2010 13:55:28 Keith Roberts wrote: > > > There was a similar thread about which is the best FS for > > > Centos. > > > I'm using ext3, and won

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Akemi Yagi
2010/12/3 Peter Kjellström : >> What about the XFS admin tools - do these get installed when >> you format a partition as XFS from anaconda, or are they a >> seperate rpm package, installed later? > > They are in a separate rpm (xfsprogs, repository: extras). There is a good chance that they are

Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-03 Thread Ross Walker
On Dec 2, 2010, at 11:47 AM, miguelmeda...@sapo.pt wrote: > >> For completeness (since many previous posts have touched on this), we don't >> use jumbo frames since we have no problem reaching wirespeed with normal 1500 >> frames. >> > > Jumbo frames have advantages other than "reaching wiresp

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Ross Walker
On Dec 3, 2010, at 9:25 AM, cpol...@surewest.net wrote: > On Fri, Dec 03, 2010 at 08:31:12AM -0500, Adam Tauno Williams wrote: >> On Fri, 2010-12-03 at 14:20 +0100, Peter Kjellström wrote: >>> On Friday 03 December 2010 13:55:28 Keith Roberts wrote: There was a similar thread about which is

[CentOS] WNA1100 Netgear Wireless USB

2010-12-03 Thread rey
Any chance this wireless USB can be made to work on 32 bit CentOS 5.5? [r...@young ~]# /sbin/lsusb Bus 001 Device 003: ID 0846:9030 NetGear, Inc. Bus 001 Device 001: ID : Bus 001 Device 002: ID 413c:0108 Dell Computer Corp. [r...@young ~]# uname -a Linux young 2.6.18-194.26.1.el5 #1

Re: [CentOS] x86_64 and Thunderbird Trash folder.

2010-12-03 Thread Scott Silva
on 12-1-2010 3:57 PM Jerry Geis spake the following: >> >> Um, do you ever log out, or close firefox? For that matter, do you have it >> set to empty trash when done? Or do you ever manually compress >> folders/empty trash? >> >> mark "or just leave it running for a year at a time?" >> >>

[CentOS] networking printer

2010-12-03 Thread ann kok
Hi all I would like to ask linux can do the networking printer as window Share it to office environment If yes, any brand name and concern Any documentation also Thank you so much ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/ma

Re: [CentOS] networking printer

2010-12-03 Thread Matty
On Fri, Dec 3, 2010 at 1:35 PM, ann kok wrote: > Hi all > > I would like to ask linux can do the networking printer as window > > Share it to office environment > > If yes, any brand name and concern > > Any documentation also > > Thank you so much Samba combined with cups can be used to share a

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Matty
On Fri, Dec 3, 2010 at 7:55 AM, Keith Roberts wrote: > There was a similar thread about which is the best FS for > Centos. > > I'm using ext3, and wondered if XFS would be more 'data > safe' than ext3. If your work load doesn't dictate the use of XFS, I would personally stick with EXT3. It's the

[CentOS] ipsec vpn client advice

2010-12-03 Thread aurfalien
Hi all, Any one use or can recommend a VPN client that works with a Juniper SSG5? - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] networking printer

2010-12-03 Thread Robert Heller
At Fri, 3 Dec 2010 10:35:14 -0800 (PST) CentOS mailing list wrote: > > Hi all > > I would like to ask linux can do the networking printer as window > > Share it to office environment Yes. You need to install and setup Samba. > > If yes, any brand name and concern Any PostScript Laser pri

Re: [CentOS] networking printer

2010-12-03 Thread Joshua Baker-LePain
On Fri, 3 Dec 2010 at 1:46pm, Robert Heller wrote > At Fri, 3 Dec 2010 10:35:14 -0800 (PST) CentOS mailing list > wrote: > >> >> Hi all >> >> I would like to ask linux can do the networking printer as window >> >> Share it to office environment > > Yes. You need to install and setup Samba. Mos

Re: [CentOS] x86_64 and Thunderbird Trash folder.

2010-12-03 Thread m . roth
Scott Silva wrote: > on 12-1-2010 3:57 PM Jerry Geis spake the following: >>> >>> Um, do you ever log out, or close firefox? For that matter, do you have >>> it set to empty trash when done? Or do you ever manually compress >>> folders/empty trash? >>> >>> mark "or just leave it running for a

Re: [CentOS] networking printer

2010-12-03 Thread m . roth
ann kok wrote: > Hi all > > I would like to ask linux can do the networking printer as window > man cups mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] ipsec vpn client advice

2010-12-03 Thread Dan Burkland
Have you tried vpnc? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-03 Thread Gordon Messmer
On 12/02/2010 04:28 AM, Peter Kjellström wrote: > IMO lots of people waste time on jumbo frames when there's really no (or > very little) need. That depends on the protocols in use and your TCP window configuration. Streaming protocols like HTTP may benefit less from jumbo frames (except, as h

Re: [CentOS] ipsec vpn client advice

2010-12-03 Thread Oscar Osta Pueyo
Hi, 2010/12/3 Dan Burkland : > Have you tried vpnc? > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > I use http://www.shrew.net/ with SSGx on fedora, work fine. -- Oscar Osta Pueyo oostap.lis...@gma

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread John Jasen
>From personal experience, the last three times I ran XFS on large volumes (4+ TB), they all became irrecoverably corrupted in some way or another. The final occasion resulted in XFS being permanently banned from that establishment. -- -- John E. Jasen (jja...@realityfailure.org) -- "Deserve Vi

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Keith Roberts
Thanks to everyone that answered, for all the replies to my questions about XFS. I've taken note of the points raised, and gone with ext3 for now (again). I do have a backup strategy in place, and you can use my PHP script from here, if you like it: http://forums.fedoraforum.org/showthread.ph

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Les Mikesell
On 12/3/2010 2:08 PM, John Jasen wrote: > >> From personal experience, the last three times I ran XFS on large > volumes (4+ TB), they all became irrecoverably corrupted in some way or > another. > > The final occasion resulted in XFS being permanently banned from that > establishment. Was this on

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Les Mikesell
On 12/3/2010 2:13 PM, Keith Roberts wrote: > Thanks to everyone that answered, for all the replies to my > questions about XFS. > > I've taken note of the points raised, and gone with ext3 for > now (again). > > I do have a backup strategy in place, and you can use my PHP > script from here, if you

[CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
I have a daemon that throws an exception whenever I shutdown or reboot. However, stopping it with kill -15, or calling the stop command in its start stop script (in /etc/init.d/) results in correct termination. Therefore, might it be that shutdown or reboot call an initial script in which I can s

Re: [CentOS] shutdown script

2010-12-03 Thread m . roth
Michael D. Berger wrote: > I have a daemon that throws an exception whenever I shutdown or > reboot. However, stopping it with kill -15, or calling the > stop command in its start stop script (in /etc/init.d/) results > in correct termination. > > Therefore, might it be that shutdown or reboot cal

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread John Jasen
On 12/03/2010 03:16 PM, Les Mikesell wrote: > Was this on 32-bit RH/Centos where the 4k stacks are a known problem for > XFS? Both 32 and 64 bit kernels. -- -- John E. Jasen (jja...@realityfailure.org) -- "Deserve Victory." -- Terry Goodkind, Naked Empire __

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread John R Pierce
On 12/03/10 12:25 PM, Les Mikesell wrote: > Whenever anyone mentions backups, I like to plug the backuppc program > (http://backuppc.sourceforge.net/index.html and packaged in EPEL). It > uses compression and hardlinks all duplicate files to keep much more > history than you'd expect on line with

[CentOS] Total Number of conecctions

2010-12-03 Thread Alejandro Rodriguez Luna
I have the need to know how many connection the server has, i run this command but i don't know how to sum all the results and get a final number. any ideas? netstat -an | grep -E 'tcp|udp' | awk '{print $6}' | sort | uniq -c | sort -n    1 CLOSE_WAIT    1 FIN_WAIT_2    1 LAST_ACK    1 TIME_WAIT

Re: [CentOS] ipsec vpn client advice

2010-12-03 Thread aurfalien
On Dec 3, 2010, at 11:45 AM, Oscar Osta Pueyo wrote: > Hi, > > 2010/12/3 Dan Burkland : >> Have you tried vpnc? >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > I use http://www.shrew.net/ wi

Re: [CentOS] WNA1100 Netgear Wireless USB

2010-12-03 Thread Ned Slider
On 03/12/10 18:22, r...@saf.com wrote: > > Any chance this wireless USB can be made to work on 32 bit CentOS 5.5? > > [r...@young ~]# /sbin/lsusb > Bus 001 Device 003: ID 0846:9030 NetGear, Inc. > Bus 001 Device 001: ID : > Bus 001 Device 002: ID 413c:0108 Dell Computer Corp. > > [r...@youn

Re: [CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
On Fri, 03 Dec 2010 15:43:10 -0500, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> I have a daemon that throws an exception whenever I shutdown or reboot. >> However, stopping it with kill -15, or calling the stop command in its >> start stop script (in /etc/init.d/) results i

[CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Adam Tauno Williams
On Fri, 2010-12-03 at 12:51 -0800, John R Pierce wrote: > On 12/03/10 12:25 PM, Les Mikesell wrote: > > Whenever anyone mentions backups, I like to plug the backuppc program > > (http://backuppc.sourceforge.net/index.html and packaged in EPEL). It > > uses compression and hardlinks all duplicate

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread Ned Slider
On 03/12/10 20:57, Alejandro Rodriguez Luna wrote: > I have the need to know how many connection the server has, i run this > command but i don't know how to sum all the results and get a final number. > any ideas? > > netstat -an | grep -E 'tcp|udp' | awk '{print $6}' | sort | uniq -c | sort -n >

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread Robert Heller
At Fri, 3 Dec 2010 12:57:59 -0800 (PST) CentOS mailing list wrote: > > > > I have the need to know how many connection the server has, i run this > command but i don't know how to sum all the results and get a final number. > any ideas? > > netstat -an | grep -E 'tcp|udp' | awk '{print $6}'

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread m . roth
Robert Heller wrote: > At Fri, 3 Dec 2010 12:57:59 -0800 (PST) CentOS mailing list > wrote: >> >> I have the need to know how many connection the server has, i run this >> command but i don't know how to sum all the results and get a final >> number. any ideas? >> >> netstat -an | grep -E 'tcp|udp

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread m . roth
Sorry, missed a close brace: m.r...@5-cent.us wrote: > Robert Heller wrote: >> At Fri, 3 Dec 2010 12:57:59 -0800 (PST) CentOS mailing list >> wrote: >>> >>> I have the need to know how many connection the server has, i run this >>> command but i don't know how to sum all the results and get a fin

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Bowie Bailey
On 12/3/2010 4:14 PM, Adam Tauno Williams wrote: > On Fri, 2010-12-03 at 12:51 -0800, John R Pierce wrote: >> On 12/03/10 12:25 PM, Les Mikesell wrote: >>> Whenever anyone mentions backups, I like to plug the backuppc program >>> (http://backuppc.sourceforge.net/index.html and packaged in EPEL).

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread Alexander Dalloz
Am 03.12.2010 22:27, schrieb m.r...@5-cent.us: > Robert Heller wrote: >> At Fri, 3 Dec 2010 12:57:59 -0800 (PST) CentOS mailing list >> wrote: >>> >>> I have the need to know how many connection the server has, i run this >>> command but i don't know how to sum all the results and get a final >>>

Re: [CentOS] ipsec vpn client advice

2010-12-03 Thread Scott Robbins
On Fri, Dec 03, 2010 at 12:58:54PM -0800, aurfal...@gmail.com wrote: > On Dec 3, 2010, at 11:45 AM, Oscar Osta Pueyo wrote: > > > Will also check vpnc. Haven't followed this thread, so don't know if it's a Cisco VPN, which is what one usually uses with vpnc. I have a page that covers a couple

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Les Mikesell
On 12/3/2010 2:51 PM, John R Pierce wrote: > On 12/03/10 12:25 PM, Les Mikesell wrote: >> Whenever anyone mentions backups, I like to plug the backuppc program >> (http://backuppc.sourceforge.net/index.html and packaged in EPEL). It >> uses compression and hardlinks all duplicate files to keep muc

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread m . roth
Alexander Dalloz wrote: > Am 03.12.2010 22:27, schrieb m.r...@5-cent.us: >> Robert Heller wrote: >>> At Fri, 3 Dec 2010 12:57:59 -0800 (PST) CentOS mailing list >>> wrote: I have the need to know how many connection the server has, i run this command but i don't know how to sum all

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Les Mikesell
On 12/3/2010 3:14 PM, Adam Tauno Williams wrote: > > I know nothing about backuppc; I don't use it. But we use rsync with > the same concept for a deduplicated archive. Backuppc is a couple of perl scripts, one of which happens to re-implement rsync in a way that lets it use stock rsync on the

Re: [CentOS] Total Number of conecctions

2010-12-03 Thread Les Mikesell
On 12/3/2010 2:57 PM, Alejandro Rodriguez Luna wrote: > I have the need to know how many connection the server has, i run this > command but i don't know how to sum all the results and get a final number. > any ideas? > > netstat -an | grep -E 'tcp|udp' | awk '{print $6}' | sort | uniq -c | > sort

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Gavin Carr
On Fri, Dec 03, 2010 at 04:07:06PM -0600, Les Mikesell wrote: >The backuppc scheme works pretty well in normal usage, but most >file-oriented approaches to copy the whole backuppc archive have scaling >problems because they have to track all the inodes and names to match up >the hard links. That's

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Les Mikesell
On 12/3/2010 4:32 PM, Gavin Carr wrote: > On Fri, Dec 03, 2010 at 04:07:06PM -0600, Les Mikesell wrote: >> The backuppc scheme works pretty well in normal usage, but most >> file-oriented approaches to copy the whole backuppc archive have scaling >> problems because they have to track all the inode

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Frank Cox
On Fri, 03 Dec 2010 16:54:50 -0600 Les Mikesell wrote: > You should probably ask this on the backuppc list. But note that the > performance issue is not using backuppc itself, it is only a problem > when you try to copy the whole archive by some file-oriented method. I don't use backuppc myse

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Gavin Carr
On Fri, Dec 03, 2010 at 04:54:50PM -0600, Les Mikesell wrote: >On 12/3/2010 4:32 PM, Gavin Carr wrote: >> We've moved to brackup (http://code.google.com/p/brackup/) for these >> reasons, and are doing nightly backups of 18TB of data quite happily. >> Brackup does fancy chunk-based deduplication (so

Re: [CentOS] Deduplicated archives via hardlinks [Was: XFS or EXT3 ?]

2010-12-03 Thread Les Mikesell
On 12/3/2010 5:03 PM, Frank Cox wrote: > > >> You should probably ask this on the backuppc list. But note that the >> performance issue is not using backuppc itself, it is only a problem >> when you try to copy the whole archive by some file-oriented method. > > I don't use backuppc myself but I'

Re: [CentOS] shutdown script

2010-12-03 Thread Keith Roberts
On Fri, 3 Dec 2010, m.r...@5-cent.us wrote: > To: CentOS mailing list > From: m.r...@5-cent.us > Subject: Re: [CentOS] shutdown script > > Michael D. Berger wrote: >> I have a daemon that throws an exception whenever I shutdown or >> reboot. However, stopping it with kill -15, or calling the >>

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread Warren Young
On 12/3/2010 6:20 AM, Peter Kjellström wrote: >> What about the XFS admin tools - do these get installed when >> you format a partition as XFS from anaconda, or are they a >> seperate rpm package, installed later? > > They are in a separate rpm (xfsprogs, repository: extras). On that topic, there

Re: [CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
On Fri, 03 Dec 2010 23:20:17 +, Keith Roberts wrote: > On Fri, 3 Dec 2010, m.r...@5-cent.us > wrote: > [...] > Is this any good? > > #! /bin/bash > > # Bash script to perform a gracefull shutdown of apache web server # > called from /root/root-admin-scripts/databases/fedora-8-mysql/ # > bac

Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-03 Thread Ross Walker
On Dec 3, 2010, at 2:33 PM, Gordon Messmer wrote: > On 12/02/2010 04:28 AM, Peter Kjellström wrote: >> IMO lots of people waste time on jumbo frames when there's really no (or >> very little) need. > > That depends on the protocols in use and your TCP window configuration. > Streaming protocol

[CentOS] # chkconfig: kill at run level 3

2010-12-03 Thread Michael D. Berger
In the control script of my daemon in /etc/init.d?, I have # chkconfig: 35 97 3 The result of this is that I have links: /etc/rc.d/rc1.d/K03... /etc/rc.d/rc3.d/S97... /etc/rc.d/rc5.d/S97... As mentioned in a previous thread, my complex daemon throws an exception when I shutdown. Perh

Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-03 Thread Gordon Messmer
On 12/03/2010 03:48 PM, Ross Walker wrote: > > If the protocol is latency sensitive then jumbo frames are BAD as it > adds more latency because frames take longer to fill, longer to > transmit and thus other conversations have to wait longer (poor > pipelining/interlacing). > > CIFS/NFS aren't real

Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-03 Thread Ross Walker
On Dec 3, 2010, at 7:48 PM, Gordon Messmer wrote: > On 12/03/2010 03:48 PM, Ross Walker wrote: >> >> If the protocol is latency sensitive then jumbo frames are BAD as it >> adds more latency because frames take longer to fill, longer to >> transmit and thus other conversations have to wait longe

[CentOS] LVM change disk

2010-12-03 Thread muhammad panji
Dear all, I have a 4,1TB Logical volume consist of four disks with size of 2TB, 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so that I can replace it with 2TB disk. most LVM tutorial ask to use pvmove to move