Re: [CentOS] Slightly OT: First Time KVM and LVM on Centos

2011-06-20 Thread Kwan Lowe
On Thu, Jun 16, 2011 at 8:59 AM, Les Mikesell wrote: > >> There is no reason that should be true.  Copying 20GB out of an LV >> should take exactly the same amount of time as copying 20GB out of a file. > > What about the destination?  Wouldn't it likely be harder to find a place to > put > the L

[CentOS] lots of disk activity keep process from responding

2011-06-20 Thread Jerry Geis
hi all I have something like 3000 log files in a directory (from data collection). At 4am in the morning cron runs a script of mine that essentiallly trims all files in that directory back to a certain size. Basically does a "tail -c filename > tmp_filename" I have noticed that only around

Re: [CentOS] lots of disk activity keep process from responding

2011-06-20 Thread Leonard den Ottolander
Hello Jerry, On Mon, 2011-06-20 at 11:05 -0400, Jerry Geis wrote: > My question is how do I tell the script that runs to run at a lower > priority perhaps ??? A similar issue came up just a few days ago. $ man ionice Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research _

Re: [CentOS] lots of disk activity keep process from responding

2011-06-20 Thread m . roth
Jerry Geis wrote: > hi all > > I have something like 3000 log files in a directory (from data > collection). > At 4am in the morning cron runs a script of mine that essentiallly trims > all files in that directory back to a certain size. > Basically does a "tail -c filename > tmp_filename" > >

Re: [CentOS] lots of disk activity keep process from responding

2011-06-20 Thread Kai Schaetzl
Jerry Geis wrote on Mon, 20 Jun 2011 11:05:34 -0400: > The trimmming of the log files is just so they they dont take a bunch of > space on the HD. use logrotate and zip them. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mail

Re: [CentOS] lots of disk activity keep process from responding

2011-06-20 Thread Les Mikesell
On 6/20/2011 10:31 AM, Kai Schaetzl wrote: > Jerry Geis wrote on Mon, 20 Jun 2011 11:05:34 -0400: > >> The trimmming of the log files is just so they they dont take a bunch of >> space on the HD. > > use logrotate and zip them. Not sure how that helps with the issue of queuing up a whole lot of di

Re: [CentOS] lots of disk activity keep process from responding

2011-06-20 Thread Emmanuel Noobadmin
On 6/20/11, Jerry Geis wrote: > I have noticed that only around the 4am-4:15 time frame when the trim is > happening does my > other process log connection attempts but my process (forking and > opening databases) is not responding in time to give data back > to the connecting process. Not critica

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Warren Young
On 6/18/2011 8:51 PM, Stephen Harris wrote: > On Sat, Jun 18, 2011 at 10:13:00PM -0400, Lamar Owen wrote: >> On Saturday, June 18, 2011 10:00:25 PM Stephen Harris wrote: >>> But space is running out; I wondering if the new 3Tb disks would work >>> in this scenario; most importantly will 2.6.18-238.

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Warren Young
On 6/18/2011 8:00 PM, Stephen Harris wrote: > > I wondering if the new 3Tb disks would work in this scenario; I've tried 3 TB disks on a 32-bit CentOS 5 box, plugged into generic Intel PIIX on-board SATA ports. It seemed to work fine. I only did it to see if it would work, so I currently have n

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Les Mikesell
On 6/20/2011 1:34 PM, Warren Young wrote: > On 6/18/2011 8:00 PM, Stephen Harris wrote: >> >> I wondering if the new 3Tb disks would work in this scenario; > > I've tried 3 TB disks on a 32-bit CentOS 5 box, plugged into generic > Intel PIIX on-board SATA ports. It seemed to work fine. > > I only

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Stephen Harris
On Mon, Jun 20, 2011 at 12:29:50PM -0600, Warren Young wrote: > On 6/18/2011 8:51 PM, Stephen Harris wrote: > > Only if I'm partitioning the disk, surely. If I just throw the whole > > raw disk into mdadm (sdd, sde, sdf...) then isn't partitioning > > irrelevant? > > So...you were planning on tre

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Markus Falb
On 20.6.2011 21:19, Stephen Harris wrote: > On Mon, Jun 20, 2011 at 12:29:50PM -0600, Warren Young wrote: >> On 6/18/2011 8:51 PM, Stephen Harris wrote: >>> Only if I'm partitioning the disk, surely. If I just throw the whole >>> raw disk into mdadm (sdd, sde, sdf...) then isn't partitioning >>> i

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Les Mikesell
On 6/20/2011 2:32 PM, Markus Falb wrote: > On 20.6.2011 21:19, Stephen Harris wrote: >> On Mon, Jun 20, 2011 at 12:29:50PM -0600, Warren Young wrote: >>> On 6/18/2011 8:51 PM, Stephen Harris wrote: Only if I'm partitioning the disk, surely. If I just throw the whole raw disk into mdadm (

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Stephen Harris
On Mon, Jun 20, 2011 at 09:32:03PM +0200, Markus Falb wrote: > On 20.6.2011 21:19, Stephen Harris wrote: > > LVM; pvcreate, vgcreate, lvcreate. What's a partition? :-) > > But your filesystem has still to be aligned correctly. Is lvm 4k > friendly ? Is md ? That is a very good question, and one

Re: [CentOS] CentOS 5 32bit and 3Tbyte drives

2011-06-20 Thread Robert Heller
At Mon, 20 Jun 2011 16:46:18 -0400 CentOS mailing list wrote: > > On Mon, Jun 20, 2011 at 09:32:03PM +0200, Markus Falb wrote: > > On 20.6.2011 21:19, Stephen Harris wrote: > > > > LVM; pvcreate, vgcreate, lvcreate. What's a partition? :-) > > > > But your filesystem has still to be aligned