Re: [CentOS] Problems with motherboard support? INTEL DP43BF

2010-12-28 Thread Fernando Gleiser


- Original Message 
 From: John R Pierce pie...@hogranch.com
 To: centos@centos.org
 Sent: Tue, December 28, 2010 2:59:09 AM
 Subject: Re: [CentOS] Problems with motherboard support? INTEL DP43BF
 
 On 12/27/10 9:09 PM, robert mena wrote:
  Regular realtek fast  ethernet.
 
 IMNSHO, realtek are pretty close to junk grade NICs.they have far too 
 many variations with far too many weird bugs when used for  any more than 
 single user desktop kind of systems.
 

rl nics are toy nics. I wouldn't use them on production servers unless I have 
no 
choice

For some reasons, see this, textually from FreeBSD's 5.4 if_rl.c:

/*
 * The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is
 * probably the worst PCI ethernet controller ever made, with the possible
 * exception of the FEAST chip made by SMC. The 8139 supports bus-master
 * DMA, but it has a terrible interface that nullifies any performance
 * gains that bus-master DMA usually offers.
 *
 * For transmission, the chip offers a series of four TX descriptor
 * registers. Each transmit frame must be in a contiguous buffer, aligned
 * on a longword (32-bit) boundary. This means we almost always have to
 * do mbuf copies in order to transmit a frame, except in the unlikely
 * case where a) the packet fits into a single mbuf, and b) the packet
 * is 32-bit aligned within the mbuf's data area. The presence of only
 * four descriptor registers means that we can never have more than four
 * packets queued for transmission at any one time.
 *
 * Reception is not much better. The driver has to allocate a single large
 * buffer area (up to 64K in size) into which the chip will DMA received
 * frames. Because we don't know where within this region received packets
 * will begin or end, we have no choice but to copy data from the buffer
 * area into mbufs in order to pass the packets up to the higher protocol
 * levels.
 *


sadly, things hadn't improved since then


Fer


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


[CentOS-virt] awful i/o performance on xen paravirtualized guest

2010-08-20 Thread Fernando Gleiser
Hi. I'm testing a centos 5.4 xen PV guest on top of a centos 5.4 host.

for some reason, the disk performance from the guest is awful. when I do an 
import , the io is fine for a while then climbs to 100% and stays there most of 
the time.
at first I tougth it was because I was using file-backed disks, so  deleted 
those and changed to LVM, but the situation did't improve.

Here's an iostat output from within the DomU:
Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz 
avgqu-sz   await  svctm  %util
xvda  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
xvda1 0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
xvda2 0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
xvdb  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
xvdc  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
xvdd  0.00   271.00  0.00 179.00 0.00  1800.0020.11 
1.99   11.11   5.59 100.00
dm-0  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-2  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-3  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-4  0.00 0.00  0.00 450.00 0.00  1800.00 8.00 
4.93   10.93   2.22 100.00


the service time is a bit high but the 

and here from within the dom0:

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz 
avgqu-sz   await  svctm  %util
cciss/c0d00.00 0.00  0.00 169.00 0.00  1640.0019.41 
2.00   11.74   5.94 100.40
cciss/c0d0p1
   0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00
0.00   0.00   0.00
cciss/c0d0p2
   0.00 0.00  0.00 169.00 0.00  1640.0019.41 2.00   
11.74   5.94 100.40
dm-0  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-2  0.00 0.00  0.00 87.00 0.00   768.0017.66 
1.00   11.45  11.49 100.00
dm-3  0.00 0.00  0.00  0.00 0.00 0.00 0.00 
0.000.00   0.00   0.00
dm-4  0.00 0.00  0.00 82.00 0.00   856.0020.88 
1.00   12.05  12.24 100.40

a DB import takes almost 10 times longer than in the bare-metal server, even if 
the server I'm planing to virtualize is 4 years old and the guest is a brand 
new 
DL380 from HP. In the old server takes 4hs, in the new one takes 2 days. That's 
not surprising given the fact that the disk shows a peak throughput below 2Mb/s


here's the vm config file:


[r...@xen2 xen]# cat vm-dbweb
name = vm-dbweb
uuid = 8560e33a-865e-cca5-725d-817de4972422
maxmem = 7168
memory = 7168
bootloader=/usr/bin/pygrub
vcpus = 2
on_poweroff = destroy
on_reboot = restart
on_crash = restart
disk = [ tap:aio:/var/lib/xen/images/vm-artweb.img,xvda,w, \
tap:aio:/var/lib/xen/images/dbweb_home.img,xvdb,w, \
phy:/dev/VolGroup00/dbweb_oradata,xvdc,w, \
phy:/dev/VolGroup00/dbweb_oradata2,xvdd,w ]
vif = [ mac=00:16:36:5a:4d:a1,bridge=xenbr0,script=vif-bridge ]


I'm pretty sure there is a way to get decent disk performance from a domU, and 
I 
must be screwing things up somewhere, I just don't find where :/

any help/pointers/tips for disk tuning would be greatly apreciated.


Fer


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


Re: [CentOS] directory permissions set to 600?

2010-07-21 Thread Fernando Gleiser


- Original Message 
 From: Robert Heller hel...@deepsoft.com
 To: CentOS mailing list centos@centos.org
 Cc: CentOS mailing list centos@centos.org
 Sent: Tue, July 20, 2010 9:17:28 PM
 Subject: Re: [CentOS] directory permissions set to 600?
 
  
  um... on a directory, the X bit means you can LS the  contents of the 
  directory.   of course, root ignores this anyways  and overrides it.
 
 Note that execute access is only needed on a directory  if you want to
 list its contents (eg ls).  If you know ahead of time the  name of the
 file in the directory you seek to access, you don't need execute  access
 on the directory.  Not having execute access on a directory  keeps
 'noisy' people from discovering the contents of the directory.   This is
 a not unreasonably security setting.


Nope. for dirs, 'w' means you can create and delete files (because creating 
and deleting files means inserting and removing entries in the dir), r means 
you can list the dir (which makes sense, since what 'ls' does is reading the 
dir entries. 'x' means you can cd into the directory) 




Fer



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


[CentOS-virt] accesing remote domU vnc console?

2010-07-05 Thread Fernando Gleiser
I'm having an strange weird problem while trying to connect to a remote domU 
console

The VM runs win2k3, I need to connect on the console in order to change its IP 
address

I log into dom0, find the domU ID:

[r...@btreptab01 xen]# virsh list
 Id Name State
--
  0 Domain-0 running
  8 linuxidle
  9 win2k3   running


so I open a new session and tunnel vnc through it:

ssh -L 5907:localhost:5907 r...@remoteip

then launch a vnc client

krdc localhost:7

and nothing happens :/

netstat shows the connection as established on both hosts, but I can't get a 
console working, just a blank screen

I tried enabling vncserver on dom0, connecting to it, launching virt-manager 
and 
trying to attach to it, same result. It shows a connecting to console message 
and nothing more

the dom0 host is in a datacenter many miles away from here, so walking to it 
and 
working on the server's console is not a practical option

any ideas/help would be greatly apreciated



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


[CentOS-virt] is the xenconsoled crash solved?

2010-06-09 Thread Fernando Gleiser
One of our machines are being bitten by that bug, once every 2-4 weeks or so 
xenconsoled dies and all the VMs stop responding intil xenconsoled is restarted.

I googled for it and I saw many people reporting it but no solution for it.

Does anyone know if it is solved in 5.5? I can't upgrade the box (it's a 
production box) unless I can prove the problem will go away.

thanks in advance


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


Re: [CentOS] ssh slow

2010-05-05 Thread Fernando Gleiser
- Original Message 

 From: ann kok oiyan...@yahoo.ca
 To: centos@centos.org
 Sent: Wed, May 5, 2010 9:44:12 PM
 Subject: [CentOS] ssh slow
 
 Hi

 How I can configure sshd_config to improve the ssh faster?

 It  is slow to prompt the login


Fix your DNS setup and/or configure it to UseDNS no.
Such slowdowns happen because sshd tries to get a reverse DNS lookup of your IP 
address.

It can be a big PITA when you try to login into a server to fix a broken DNS 
and the login times out because it tries to get a that PTR record back..


Just remember the mantra: most weird network problems are related to DNS 
problems.


Fer


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


Re: [CentOS] Debugging slow apache server?

2010-04-20 Thread Fernando Gleiser


From: Rob Kampen rkam...@kampensonline.com
To: CentOS mailing list centos@centos.org
Sent: Tue, April 20, 2010 9:59:57 AM
Subject: Re: [CentOS] Debugging slow apache server?





On Apr 20, 2010, at 8:28 AM, Roland RoLaNd r_o_l_a_...@hotmail.com wrote:


hello,

i'm using an apache server to host 8 virtual hosts.

even though this server is local.. 7 out of these 8 virtual hosts open 
extremly slow..
it takes around 10 seconds to open a page..

though the 8th (which is a completely different site) it opens fairly fast in 
around 1 or 2 seconds tops..

i tried tailing the error_log and i found nothing ..
is there a way i could monitor wht each branch is doing and what's causing it 
to be so slow?
any suggestion ?


Check DNS resolution for all the domains




+1 

Most unexplained delays and bizarre problems in network services can be 
traced back to broken DNS stuff


Fer


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


Re: [CentOS] How Do I ...

2010-04-15 Thread Fernando Gleiser




- Original Message 
 From: Jobst Schmalenbach jo...@barrett.com.au
 To: centos@centos.org
 Sent: Thu, April 15, 2010 1:20:45 AM
 Subject: Re: [CentOS] How Do I ...
 
 
;-)
 in the olden days it was so easy, you had PCI cards and they were 
 named by the slot number, starting with eth0 in PCI slot 1 and so on.
 Then 
 came the inbuilt nics
 Then came the PCIx built nics
 Then came the PCI-e 
 built nics

 OUCH! ;-)


Then came blade servers with built-in nics you can't  unplug because they're 
plugged to the blade center enclosure's internal switches :)

I had an awful time trying to install a bunch of servers via PXE, the server 
booted from one nic, then tried to configure eth0 which was ANOTHER nic which 
was (of course) connected to a different built in switch and the installation 
failed because it couldn't access the kickstart file.

We had to trunk the 4 internal switches for the install, then we had to look 
into the switch's management to see which card was in what port, then modify 
the ifcfg-ethX to configure each one of the NICs with the right IP


Fer



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


Re: [CentOS] help fdisk and dd

2010-03-05 Thread Fernando Gleiser




- Original Message 
 From: Paul Heinlein heinl...@madboa.com
 To: CentOS mailing list centos@centos.org
 Sent: Fri, March 5, 2010 8:16:19 PM
 Subject: Re: [CentOS] help fdisk and dd
 
 
 Or, donate the drives and a cheap torx driver to the educational 
 charity of your choice. Kids *love* taking them apart, and the magnets 
 are quite useful!

HD magnets are great. Those are one of the few things strong enough to keep my 
2-year old son from opening doors and drawers :)



Fer



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


Re: [CentOS] emergency! linux kickstart pxe boot needed

2010-02-28 Thread Fernando Gleiser




- Original Message 
 From: Alan McKay alan.mc...@gmail.com
 To: CentOS mailing list centos@centos.org
 Sent: Sun, February 28, 2010 1:51:18 PM
 Subject: [CentOS] emergency! linux kickstart pxe boot needed
 
 Is PXE kickstart easy to set up?  I have a laptop here with DHCP
 already going.   I google and a bunch of stuff comes up but it does
 not look simple.
 
 I'm just shooting htis out ther eon the odd chance someone gets it
 soon nad knows of a really easy howto for this


yum install cobbler and use cobbler to build a netinstall server in 10 
minutes :) 

These are very handy:

http://wiki.xdroop.com/space/RedHat/kickstart/Cobbler
http://magazine.redhat.com/2007/08/10/cobbler-how-to-set-up-a-network-boot-server-in-10-minutes/

And the oficial documentation

https://fedorahosted.org/cobbler/

Hope this helps


Fer


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


Re: [CentOS] Resizing a PV that belongs within a Volume Group?

2010-02-19 Thread Fernando Gleiser
- Original Message 

 From: Eric B. ebe...@hotmail.com
 To: centos@centos.org
 Cc: linux-...@redhat.com
 Sent: Thu, February 18, 2010 6:11:26 PM
 Subject: [CentOS] Resizing a PV that belongs within a Volume Group?
 
 Hi,
 
 I was wondering if there was a way to extend (ie: grow) a PV that is part of
 a Volume Group?  I currently have a partition on my HD that is being used as
 a PV for my Volume Group, but would like to make it larger.  I have the
 space on my drive to extend my partition, but using standard tools (ex:
 gparted, Partition Magic, etc) would likely end up corrupting the data on in
 the Logical Volumes that are housed within the VG.
 
 I realize that I could just create a new partition on my HD and just add it
 to my Volume Group and extend my Volume Group, however, given that it would
 be two contiguous partitions on the HD, I was just wondering if there was a
 way of resizing the original partition within the VG without causing any
 problems.
 
 I tried looking at tools like pvresize but I can't seem to understand the 
 right arguments to use it as whatever I try never seems to resize the 
 original partition itself.  I also looked at system-config-lvm GUI tool, but 
 that doesn't seem to allow me to make the PV any larger.
 
 Does anyone have any suggestions?


First extend the physical media (resize the partition, LUN, whatever), then 
just pvresize the new partition

Use with care, test it a few times in a test box or VM, then try it in 
production, if you screw up you'll lose your data. 


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


Re: [CentOS] best practice: how to setup a central network installation server?

2010-02-18 Thread Fernando Gleiser
- Original Message 

 From: Marcelo M. Garcia marcelo.maia.gar...@googlemail.com
 To: CentOS mailing list centos@centos.org
 Sent: Thu, February 18, 2010 7:16:45 AM
 Subject: Re: [CentOS] best practice: how to setup a central network 
 installation server?
 
 Rudi Ahlers wrote:
  
  
  
  
  
  kickstart file, if you are familiar with text based configurations?
  
  Is kickstart REALLY the only way? 
  
  How do I configure the server so that the client can use network boot, 
  without a CD?
 
 Hi
 
 You can use PXE. You have to set up a tftp and a DHCP server. Sometimes 
 you have to enable PXE in the BIOS - I always to do this with Dell machines.


Install cobbler, it makes building a netinstall server as easy as 1 2 3

cobbler handles pxe, dhcp, http repo setup, kickstart  and such. 

I've used it many times, it takes less than 15 minutes from yum install 
cobbler  to the start of the network installs of the client machines.

Once you set it up, just power on the client machine and watch it install 
automagically 


Fer


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


Re: [CentOS] HP Proliant ML150 : how do I access disks ?

2010-02-17 Thread Fernando Gleiser
- Original Message 

 From: Nickolay Bunev just4n...@gmail.com
 To: CentOS mailing list centos@centos.org
 Sent: Wed, February 17, 2010 10:45:52 AM
 Subject: Re: [CentOS] HP Proliant ML150 : how do I access disks ?
  
 Hello there,
 
 I don't know about ML's but with DL series CentOS don't have any
 problems at all and with seeing disks in particular. So I presume that
 Rainer is absolutely right. You have to build an array first.

ML and DL are the same beasts, the DLs are the rack-mount ones, the DLs are the 
tower ones

And yes, first build the array from within the smatarray utility, then you can 
install centos. 
I've installed centos, rhel and fedora on 100s of MLs and DLs without any 
problems


Fer


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


Re: [CentOS] HP Proliant ML150 : how do I access disks ?

2010-02-17 Thread Fernando Gleiser
- Original Message 

 From: Niki Kovacs cont...@kikinovak.net
 To: CentOS mailing list centos@centos.org
 Sent: Wed, February 17, 2010 7:26:03 PM
 Subject: Re: [CentOS] HP Proliant ML150 : how do I access disks ?
 
 Fernando Gleiser a écrit :
 
  
  And yes, first build the array from within the smatarray utility, then you 
  can 
 install centos. 
  I've installed centos, rhel and fedora on 100s of MLs and DLs without any 
 problems
  
 
 I'm sorry but I can't seem to find that Smart Array utility. The 
 machine I have was shipped as is, with some loose disks, no apparent 
 system on it, and it came without any CD or handbook. And the HP site 
 isn't exactly helpful for that. Officially this hardware supports RHEL3 
 and RHEL4, and that's it. Looks like there's no way to install CentOS5 
 on it (correct me if I'm wrong).
 
 Plus, I admit I'm lost in the sheer myriad of options in the various 
 boot configuration tools (bios, scsi configurator). So far I haven't 
 managed to have any disk recognized, and what puzzles me is that there 
 isn't the slightest mention of a disk in the bios.
 

google for ml150 rhel5 site:hp.com yields this results:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1266453497093+28353475threadId=1355141

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1266453513678+28353475threadId=1364104

http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=encc=usprodNameId=3884324prodTypeId=15351prodSeriesId=3884323swLang=8taskId=135swEnvOID=4006

the last ones have drivers and such for download

hope that helps


Fer





 Niki
 ___
 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] disk I/O problems with LSI Logic RAID controller

2010-02-11 Thread Fernando Gleiser




- Original Message 
 From: Ross Walker rswwal...@gmail.com
 To: CentOS mailing list centos@centos.org
 Cc: CentOS mailing list centos@centos.org
 Sent: Thu, February 11, 2010 12:30:43 PM
 Subject: Re: [CentOS] disk I/O problems with LSI Logic RAID controller
 
 On Feb 11, 2010, at 2:46 AM, Andrzej Szymanski   
 wrote:
 
  The iostat output looks good to me for the RAID setup you have.
  I'd look for the problem in a different place:
 
  note the output of
  cat /proc/sys/vm/dirty_background_ratio
  and try
  echo 1  /proc/sys/vm/dirty_background_ratio
  whether it helps.
 
 Excellent suggestion, on machines with lots of memory the default  
 dirty background ratio is way too big, and needs to be tuned down for  
 both data integrity in the event of a system failure and performance  
 of the underlying storage configuration.
 
 Take into account the RAID setup, write-back cache size and time it  
 takes to empty it to disk and pick a dirty background ratio somewhere  
 in between.

You nailed it. I tweaked the dirty_background ratio and changed the scheduller 
to deadline and now it works way better. it still see-saws a bit but the 
utilization never dropts to zero.


Thanks you for your help.



Fer


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


[CentOS] disk I/O problems with LSI Logic RAID controller

2010-02-09 Thread Fernando Gleiser
we're having a weird disk I/O problem on a 5.4 server connected to an external 
SAS storage with an LSI logic megaraid sas 1078.

The server is used as a samba file server.

Every time we try to copy some large file to the storage-based file system, the 
disk utilization see-saws up to 100% to several seconds of inactivity, to climb 
up again to 100% and so forth.
Here are a snip from the iostat -kx 1:

Device: rrqm/s   wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz 
  await  svctm  %util
sdb1  0.00 133811.00  0.00 1889.00 0.00 513660.00   543.84   
126.24   65.00   0.47  89.40
sdb1  0.00   138.61  0.00 109.90 0.00 29845.54   543.14 
2.54   54.32   0.37   4.06
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 134680.00  0.00 1920.00 0.00 526524.00   548.46   
126.06   64.57   0.47  90.00
sdb1  0.00   142.00  0.00 74.00 0.00 20740.00   560.54 1.25 
  45.14   0.47   3.50
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  1.00  0.00 4.00 0.00 8.00 0.01 
  14.00  14.00   1.40
sdb1  0.00 116129.00  1.00 1576.00 4.00 434816.00   551.45   
125.47   75.38   0.57  90.30
sdb1  0.00 17301.98  0.00 412.87 0.00 106506.93   515.93
24.59   75.40   0.48  19.80
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00
sdb1  0.00 0.00  0.00  0.00 0.00 0.00 0.00 0.00 
   0.00   0.00   0.00


It happens when I copy a file over the net using samba or when copying/creating 
a local file

It looks like the disk tries to get more than it can handle, then it chokes 
with data and stales for a few seconds until some buffer empties and it's able 
to get a bit more data again.

It happens in two identical servers, so I'd discard faulty hardware as the 
cause and look into a miscofiguration issue.

Are there any guidelines/docs for heavy I/O tuning? are there any issues with 
this raid controller?

any help will be apreciated



Fer


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


Re: [CentOS] disk I/O problems with LSI Logic RAID controller

2010-02-09 Thread Fernando Gleiser
- Original Message 

 From: nate cen...@linuxpowered.net
 
 Not sure I know what the issue is but telling us how many disks,
 what the RPM of the disks are, and what level of RAID would probably
 help.
 
 It sounds like perhaps you have a bunch of 7200RPM disks in a RAID
 setup where the data:parity ratio may be way out of whack(e.g. high
 number of data disks to parity disks), which will result in very
 poor write performance.


yes, ita bunch of 12 7k2 RPM disks organized as 1 hot spare, 2 parity disks, 9 
data disks in a RAID 5 configuration. is 9/2 a high ratio?

Thanks for your help

Fer


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


Re: [CentOS] How to force iscsi to see the new LUN size

2010-01-16 Thread Fernando Gleiser
- Original Message 

 From: Peter Blajev pbla...@ucsd.edu
 To: CentOS Mailing List centos@centos.org
 Sent: Fri, January 15, 2010 10:34:47 PM
 Subject: [CentOS] How to force iscsi to see the new LUN size
 
 Hi,
 
 I increased the size of one of the LUNs and on CentOS 5.4 if I restart 
 iscsi (`service iscsi restart`) I'll see the the new size but this will 
 disconnect all other LUNs.
 
 I'm hoping that there is isciadm or some other command that will force 
 iscsi to rediscover the LUNs but I can't seem to be able to come up with 
 one.

You can logout from that particular target and then login again

iscsiadm --mode node --targetname target --portal portalip:3260 --logout
iscsiadm --mode node --targetname target --portal portalip:3260 --login



Hope this helps


Fer



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


Re: [CentOS] Problem with checkinstall

2010-01-14 Thread Fernando Gleiser




- Original Message 
 From: Bob McConnell rmcco...@lightlink.com
 To: CentOS mailing list centos@centos.org
 Sent: Thu, January 14, 2010 10:44:59 AM
 Subject: [CentOS] Problem with checkinstall
 
 I installed checkinstall 1.6.2 on CentOS 5.4 VM (VMWare Server on 
 WinXP). After getting the dependencies installed it compiled with no 
 errors. But when I run it in its own source directory, I keep getting an 
 error that I can't track down. The message is:
 
 install: cannot change ownership of '/usr/local/lib/installwatch.so': No 
 such file or directory.
 
 But not only does the file exist, it has the correct permissions and 
 creation time. I am running this as root. I did change the permissions 
 on both make and install to 0755, but that did not help. The command 
 line is:


Is SELinux enabled? it sounds like the typical SELinux-related problem.

what does getenforce say? 

check the output of ls -lZ /usr/local/lib/  to get the file's context


Hope this helps

Fer


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


Re: [CentOS] High load since passing from rhas3 to centos4.8

2010-01-14 Thread Fernando Gleiser
- Original Message 

 From: fortin.pie...@bell.ca fortin.pie...@bell.ca
 To: centos@centos.org
 Sent: Thu, January 14, 2010 5:47:43 PM
 Subject: Re: [CentOS] High load since passing from rhas3 to centos4.8
 
 
 
 The purpose of the server is to run NMS Telephony cards. The only support is 
 for 
 Centos 4.x on 32 bit systems. Anyway, since I have not found the trouble, it 
 may 
 still be there with another centos version.
 
 When I execute multiple ps during high load average period (above 10), here 
 is 
 the kind of output I have:
 
 ps aux | grep  R
 USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
 root 16295  0.0  0.0  3492  772 pts/1R+   15:45   0:00 ps -aux
 root 16296  0.0  0.0  5400  648 pts/1S+   15:45   0:00 grep  R
 
 I see a lot of process in S, Sl, Ss+ and Ssl states.

first of all, if you have high load average with seemingly low utilization, it 
may be because of load imbalance between CPUs and/or short bursts of lots of 
short cpu-intensive processes.

Here's what I'd look at first:

run vmstat 1 10 and look at the first column. if it's higher than 1/ncpu 
you're having cpu saturation.

rum mpstat -P ALL 1 10, this gives you cpu utilisation per cpu (sar gives you 
the average among all processors)

Also take a look at sar -q 1 10 to look at the CPU's queues sizes


Hope this helps


Fer


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