[CentOS] LVM overhead? Does it cripple I/O?

2012-08-19 Thread Smithies, Russell
For a high-performance system (64-cores, 512GB RAM, 5TB local disk, 110TB 
NFS-mounted storage) is there any advantage of dropping lvm and mounting 
partitions directly?
We're not planning on changing partition sizes, but if we did we'd probably do 
a full rebuild.
Has anyone done performance testing to show that lvm isn't crippling I/O?

Thanx,

Russell

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===

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


Re: [CentOS] rsync question

2012-07-31 Thread Smithies, Russell
As far as I can see timestamp and size is the default.
I've turned off compression and I think I'm getting better throughput.
Running 4 rsync tasks and getting sustained transfers for several hours of just 
over 800Mb/sec :- )

--Russell

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
John R Pierce
Sent: Tuesday, 31 July 2012 5:16 p.m.
To: centos@centos.org
Subject: Re: [CentOS] rsync question

On 07/30/12 10:05 PM, Smithies, Russell wrote:
 I'm trying to rsync a 8TB data folder containing squillions of small files 
 and it's taking forever (i.e. weeks) to get anywhere.
 I'm assuming the slow bit is check-summing everything with a single 
 CPU (even though it's on a 12-core server ;-(  ) Is it possible to do 
 something simple like scp the whole dir in one go so they're duplicates in 
 the first instance, then get rsync to just keep them in sync without an 
 initial transfer?

use the rsync mode that goes off file timestamp and size.  the checksuming 
block algorithm is only useful on large files that get small random block 
changes.

-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rsync question

2012-07-30 Thread Smithies, Russell
I'm trying to rsync a 8TB data folder containing squillions of small files and 
it's taking forever (i.e. weeks) to get anywhere.
I'm assuming the slow bit is check-summing everything with a single CPU (even 
though it's on a 12-core server ;-(  )
Is it possible to do something simple like scp the whole dir in one go so 
they're duplicates in the first instance, then get rsync to just keep them in 
sync without an initial transfer?

Or is there a better way?

Thanx,

Russell Smithies
Infrastructure Technician
T 03 489 9085
M 027 4734 600
E russell.smith...@agresearch.co.nz
Invermay Agricultural Centre
Puddle Alley, Private Bag 50034, Mosgiel 9053, New Zealand
T  +64 3 489 3809  F  +64 3 489 3739  
www.agresearch.co.nzhttp://www.agresearch.co.nz/




===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best way to duplicate a live Centos 5 server?

2012-06-13 Thread Smithies, Russell
How about using one of the backup tools to image the server?
We use Symantec System Recovery and image all the disks. We then have the 
option of restoring to different hardware (physical or virtual) which works 
very well.
There's a 60-day evaluation period.
http://www.symantec.com/products/trialware.jsp?pcid=pcat_business_contpvid=1602_1

--Russell

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Emmanuel Noobadmin
Sent: Thursday, 14 June 2012 2:36 a.m.
To: CentOS mailing list
Subject: Re: [CentOS] Best way to duplicate a live Centos 5 server?

I'm using KVM so didn't have the tool.

While Les' suggestion looked like it was going to be pretty useful for a 
variety of backup/restore situations, I didn't know if I had the time to go 
through the docs and get things working in time.

So in the end I went with the repeated rSync method Scott mentioned.
The advantage is, I also went and made the new system C6 first, then rsync the 
necessary data files instead of leaving it still on C5.

Thankfully nothing broke, well, except SSL certs for some reason but that was 
easily fixed once people started complaining.



On 6/13/12, Tris Hoar trish...@bgfl.org wrote:

 On 08/06/2012 17:33, Emmanuel Noobadmin wrote:
 I've got a CentOS 5 server that I want to migrate over into a 
 virtualized instance.
 The problem is I need to minimize downtime so was trying to figure 
 out a way to live clone the original.

 Initially, I thought I could do this via exporting an iSCSI target 
 from the virtual host, create a MD raid 1 array on the C5 server, 
 wait for it to sync, then shutdown the physical server and switch to 
 the virtual one.

 But after getting iSCSI working... I realize I could not create a md 
 device on a mounted disk. Unfortunately this old C5 wasn't setup with 
 md raid 1 originally so I can't just add a the iSCSI target as an 
 additional member for a triplicate.

 So I remembered DRBD was supposed to be used for replication.

 But after getting things set up, running the drbd-admin create-md 
 command gave me this scary warning it will destroy data on the disk.
 Apparently because drbd writes meta data to the drive. So that 
 appears to be a no go too.

 Am I missing something glaringly obvious here, or is the only way I'm 
 going be able to migrate is to shutdown the C5 server for a few hours 
 while duping the old drives? Would greatly appreciate any pointers 
 how best to do this.


 You don't say what virtualisation platform you are using is, but if 
 it's VMware, then you can use VMware converter to do the migration. 
 This can, if you want, clone the physical computer into VMware, shut 
 down the physical computer and bring up the new virtual instance. All 
 whilst the physical remained up. I've used it for a few Linux boxes, 
 where I've wanted a quick dev version of an existing server and its been fine.

 I guess, you could try pulling it into an ESXi host, and then 
 exporting that in a format whatever virtualisation program it is you use 
 supports...

 Regards,

 Tris

 *
 This email and any files transmitted with it are confidential and 
 intended solely for the use of the individual or entity to whom they 
 are addressed. If you have received this email in error please notify 
 postmas...@bgfl.org

 The views expressed within this email are those of the individual, and 
 not necessarily those of the organisation
 *

 ___
 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
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] windbind and AD authentication - UPPER CASE usernames?

2012-03-15 Thread Smithies, Russell
We're looking at using windbind and AD for our user account details but have 
run into a small snag. All user accounts in AD are upper case but our linux 
accounts are lower-case.
Is there a simple solution we've overlooked?
We really don't want to have to hack this...

Thanx,

Russell SMithies

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mount NFS share over specific nic?

2012-03-14 Thread Smithies, Russell
I have 4 nics each on all the servers (DL385-G7 for FreeNAS and 4 x DL585-G7s) 
so dedicating a couple for NFS traffic on their own subnet is no problem.
We may even go for 10gig on the nfs if the performance increase can be 
justified.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Les Mikesell
 Sent: Wednesday, 14 March 2012 5:28 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] mount NFS share over specific nic?
 
 On Tue, Mar 13, 2012 at 10:42 PM, Smithies, Russell
 russell.smith...@agresearch.co.nz wrote:
  I suspected some subnetting would be involved but hoped I could get away
 with different IPs on the nics.
  Might have to get the networking books out, it's not my strong suit
  :-(
 
 If you look at network addresses and subnet masks in binary it is easy to see
 how routing decisions are made.  But you don't need to do that, you can just
 use a subnet chart or stick to /24 ranges where the first
 3 octets are different for different subnets and you netmask is
 255.255.255.0.But first you need to decide what you want to do -
 will both the server and clients have separate NICs for NFS?  That makes it
 easy - use a different range, hook them to a different switch and you are
 done.  Bonus, you can restrict the sharing to that set of addresses for 
 security
 - and maybe use jumbo frames.
 
 --
Les Mikesell
   lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mount NFS share over specific nic?

2012-03-13 Thread Smithies, Russell
I have a new server with multiple nics running Centos 6.2 and I'd like to force 
all NFS traffic over one nic.
We're using FreeNAS to dish out NFS shares and I have different IPs on my 2 
nics but how can I get the server to mount the share over one particular nic?
Or is there a better way to do it?

Thanx,

Russell Smithies

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mount NFS share over specific nic?

2012-03-13 Thread Smithies, Russell
I suspected some subnetting would be involved but hoped I could get away with 
different IPs on the nics.
Might have to get the networking books out, it's not my strong suit  :-(

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Les Mikesell
 Sent: Wednesday, 14 March 2012 4:30 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] mount NFS share over specific nic?
 
 On Tue, Mar 13, 2012 at 10:15 PM, Fajar Priyanto fajar...@arinet.org
 wrote:
  On Wed, Mar 14, 2012 at 9:29 AM, Smithies, Russell
  russell.smith...@agresearch.co.nz wrote:
  I have a new server with multiple nics running Centos 6.2 and I'd like to
 force all NFS traffic over one nic.
  We're using FreeNAS to dish out NFS shares and I have different IPs on
 my 2 nics but how can I get the server to mount the share over one particular
 nic?
  Or is there a better way to do it?
 
  You can force it from the server, you do it from the client.
  Just tell the client to mount the NFS from the IP you want.
  :)
 
 That's assuming you have a normal network topology where each NIC is on a
 separate subnet with appropriate routes controlling which way other
 destinations will head.  From the question, I'm not sure that is the case 
 here.
 
 --
Les Mikesell
  lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Smithies, Russell
Try the Sybase driver.
I can connect Perl to Microsoft SQL Server using Sybase drivers it so might 
work with Access.
Parts of this might be useful: http://www.peceny.de/misc/freetds.html

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Les Mikesell
 Sent: Thursday, 15 December 2011 10:58 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] Using an MS Access database from CentOS release 5.7
 (Final)
 
 On Wed, Dec 14, 2011 at 3:21 PM, Ron Young ronyo...@nc.rr.com wrote:
  @Work requires me to manipulate the MS Access database (mdb) file
  located on an XP box that is an integral part of a third party
  application that is central to the business.
 
  Does anyone have experience doing so?
 
  I have used odbtp in the recent past but it is extremely difficult to
  set up on the linux box as I learned when I recently upgraded from
  CentOS 4.x to 5.x.
 
  Is there another way to get read and write access to the mdb file from
  apache/php running from the linux box?  A couple of hours of googling
  last night has resulted in finding very expensive odbc drivers for the
  linux box and nothing really foss except the odbc driver managers.
 
 
 The best approach to doing this is to convert the access tables to use
 a sql server instead of the native mdb.   This may or may not be
 practical/easy, but access can work over ODBC with the db on
 linux/postgresql (among others) where you would have a matching php
 client.Next best would be to write something to give web server
 access to the data you need on the windows box, and access it remote via
 http.
 
 --
   Les Mikesell
  lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iso size?

2011-11-22 Thread Smithies, Russell
The whole gigabyte vs. gibibyte argument again!
According to IEEE, NIST, and bunch of other organizations, a gigabyte is 
1,000,000,000 bytes, and a gibibyte is 1,073,741,824 bytes.
I can't wait until we start dealing with yobibytes!!

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Yves Bellefeuille
 Sent: Tuesday, 22 November 2011 2:04 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] iso size?
 
 On Monday 21 November 2011 14:13, Beartooth wrote:
 
  I've been being told, over and over, by K3B, Brasero, and Isomaster,
  on two machines, with three different downloads of 6.0, that the file
  is too large for the medium. Nautilus and the browser that die each
  download all say it's 4.4 GB; I've tried with two +R and an RW DVD,
  all of which are labelled 4.7 GB Two of the files are 32-bit, and one
  is 64
 
 Nautilus and the browser think that 1 Gb is 1024 * 1024 * 1024 =
 1,073,741,824 bytes, while the DVD manufacturer thinks that 1 Gb is
 1,000,000,000 bytes.
 
 Therefore, what Nautilus and the browser call 4.4 Gb is what the DVD
 manufacturer calls 4.724 Gb, and that's why the image doesn't fit.
 
 Yves
 
 --
 Yves Bellefeuille y...@storm.ca
 La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se ili
 konscias pri sia eraro. -- Heroldo Komunikas, n-ro 473.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-20 Thread Smithies, Russell
Nope, doesn't work for me still.
It's the root partition I'm trying to resize so if I delete then recreate to 
larger size, partprobe still fails then if I reboot it won't start as it can't 
find the root partition.
As Barry suggested, I don't think you can reread the root partition.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of James A. Peltier
 Sent: Friday, 18 November 2011 6:29 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 - Original Message -
 |  I've tried that, it returns a warning about kernel unable to reread
 |  partition table and requiring a reboot to see any modifications.
 |  Then the next call to pvcreate fails as it can't find the partition.
 | 
 |  --Russell
 | 
 |  -Original Message-
 |  From: centos-boun...@centos.org [mailto:centos-
 boun...@centos.org]
 |  On
 |  Behalf Of Barry Brimer
 |  Sent: Friday, 18 November 2011 11:13 a.m.
 |  To: CentOS mailing list
 |  Subject: Re: [CentOS] not using LVM for Linux VM guests?
 | 
 |  Quoting Smithies, Russell russell.smith...@agresearch.co.nz:
 | 
 |  Perhaps I'm doing it wrong then.
 | 
 |  1). In Vmware, extend the existing disk by changing the
 |  provisioned size in the vSphere client.
 |  2). In Centos, create an additional partition with fdisk, 3).
 |  Somehow
 |  reread the partition table without rebooting??
 |  4). pvcreate
 |  5). vgextend
 |  6). lvextend
 |  7). resize2fs
 | 
 |  What I find is that without a reboot, the OS doesn't see the
 |  partition so can't pvcreate etc.
 | 
 |  --Russell
 |
 | I don't believe partprobe works when you change the partitiontable of
 | the disk that the root filesystem is on. I could be remembering it
 | wrong.
 |
 | Barry
 
 It does but it (the new size) is not recognized until you delete the 
 partition,
 recreate it with the new size, then run partprobe again, then resize the file
 system.  It's worked for me in the past.
 
 --
 James A. Peltier
 IT Services - Research Computing Group
 Simon Fraser University - Burnaby Campus
 Phone   : 778-782-6573
 Fax : 778-782-3045
 E-Mail  : jpelt...@sfu.ca
 Website : http://www.sfu.ca/itservices
   http://blogs.sfu.ca/people/jpeltier
 I will do the best I can with the talent I have
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-17 Thread Smithies, Russell
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Jon Detert
 Sent: Friday, 18 November 2011 5:13 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 Hello,
 
 - Original Message -
  From: Russell Smithies russell.smith...@agresearch.co.nz
  To: CentOS mailing list centos@centos.org
  Sent: Wednesday, November 16, 2011 2:37:54 PM
  Subject: [CentOS] not using LVM for Linux VM guests?
 
  I came across an old post comment yesterday (from
  http://echenh.blogspot.com/2010/04/how-to-extend-lvm-on-vmware-
 guest-o
  s.html
  ) discussing the hack of LVM on Linux VM guests and whether it's
  better not to use it to simplify disk management.
  I've re-posted the comment below, does it sound reasonable? Is it
  better to not use LVM on Linux VM guests?
 
  --Russell
 
 I've had the same question.  I've decided to continue to use LVM, for these 2
 reasons:
 
 1) my hypervisor, good, bad or indifferent, is VMware ESX 4.x and ESXi 4.x.
 Those hypervisors can't create virtual disks greater than 256 GB.  So, if I 
 want
 a file-system larger than 256 GB, I have to have some other software - LVM,
 in this case.
 
 2) I like being able to give disk devices descriptive names, like
 /dev/mapper/zimbra-data instead of simply '/dev/sdb' or similar.  There are
 probably ways other than LVM to do that, but LVM does offer that flexibility.
 
 One thing I do avoid, however, is partitioning the virtual disks that might
 need to grow.  This is because of the pain described in part below.  The
 kernel often seems to have a hard time letting go of it's view of the 
 partition
 table - either i have to umount the partition, or reboot.  However, if i use 
 the
 disk unpartitioned, the kernel has no prob, and I can *extend and/or
 resize*fs without umount or reboot.
 
 - Jon

I have the same problem - I can never get the partition table reread without a 
reboot.
It's a little annoying as I can resize the disk on a Win2k8 VM without a reboot 
but not Linux :-(

--Russell
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-17 Thread Smithies, Russell


 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Paul Griffith
 Sent: Friday, 18 November 2011 8:04 a.m.
 To: centos@centos.org
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 On 11/17/2011 11:13 AM, Jon Detert wrote:
  Hello,
 
  - Original Message -
  From: Russell Smithiesrussell.smith...@agresearch.co.nz
  To: CentOS mailing listcentos@centos.org
  Sent: Wednesday, November 16, 2011 2:37:54 PM
  Subject: [CentOS] not using LVM for Linux VM guests?
 
  I came across an old post comment yesterday (from
  http://echenh.blogspot.com/2010/04/how-to-extend-lvm-on-vmware-
 guest-
  os.html
  ) discussing the hack of LVM on Linux VM guests and whether it's
  better not to use it to simplify disk management.
  I've re-posted the comment below, does it sound reasonable? Is it
  better to not use LVM on Linux VM guests?
 
  --Russell
 
  I've had the same question.  I've decided to continue to use LVM, for these
 2 reasons:
 
  1) my hypervisor, good, bad or indifferent, is VMware ESX 4.x and ESXi 4.x.
 Those hypervisors can't create virtual disks greater than 256 GB.  So, if I 
 want
 a file-system larger than 256 GB, I have to have some other software - LVM,
 in this case.
 
 Just to clarify one thing with large virtual disks. The size limitation is
 determined by the block size.
 
 To create a file bigger than 256GB, the VMFS filesystem needs to have a
 block size larger than 1MB. These are the maximums:
 
 VMFS-3 (ESX/ESXi 4.x)
 
 Block Size Maximum File Size
 1 MB - 256 GB (default)
 2 MB - 512 GB
 4 MB - 1 TB
 8 MB - 2 TB
 
 http://kb.vmware.com/kb/1003565
 
 With VMFS-5 has a maximum virtual disk size of 2TB minus 512B, with a 1 MB
 block size.
 
 Cheers,
 Paul

I just did the vSphere 5 What's New course and it looked they'd pumped all 
the maximums up to usable levels now.
Be nice if they could decide on a licensing model that made more sense...

--Russell
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-17 Thread Smithies, Russell
Tried that, as well as rescanning the scsi bus, 
Everything I've tried returns a warning about kernel unable to reread partition 
table and requiring a reboot to see any modifications.
--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Alexander Dalloz
 Sent: Friday, 18 November 2011 9:07 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 Am 17.11.2011 20:25, schrieb Smithies, Russell:
 
  I have the same problem - I can never get the partition table reread
 without a reboot.
  It's a little annoying as I can resize the disk on a Win2k8 VM without a
 reboot but not Linux :-(
 
 Next time simply use the partprobe command.
 
  --Russell
 
 Alexander
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-17 Thread Smithies, Russell
Perhaps I'm doing it wrong then.

1). In Vmware, extend the existing disk by changing the provisioned size in the 
vSphere client.
2). In Centos, create an additional partition with fdisk, 
3). Somehow reread the partition table without rebooting??
4). pvcreate
5). vgextend
6). lvextend
7). resize2fs

What I find is that without a reboot, the OS doesn't see the partition so can't 
pvcreate etc.

--Russell


 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Reindl Harald
 Sent: Friday, 18 November 2011 10:48 a.m.
 To: centos@centos.org
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 
 
 Am 17.11.2011 22:36, schrieb Smithies, Russell:
  Tried that, as well as rescanning the scsi bus, Everything I've tried
  returns a warning about kernel unable to reread partition table and
  requiring a reboot to see any modifications.
 
 gparted does tell you this since years after modify but i have never in my 
 life
 rebooted a linux system because partition changes

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-17 Thread Smithies, Russell
I've tried that, it returns a warning about kernel unable to reread partition 
table and requiring a reboot to see any modifications.
Then the next call to pvcreate fails as it can't find the partition.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Barry Brimer
 Sent: Friday, 18 November 2011 11:13 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 Quoting Smithies, Russell russell.smith...@agresearch.co.nz:
 
  Perhaps I'm doing it wrong then.
 
  1). In Vmware, extend the existing disk by changing the provisioned
  size in the vSphere client.
  2). In Centos, create an additional partition with fdisk, 3). Somehow
  reread the partition table without rebooting??
  4). pvcreate
  5). vgextend
  6). lvextend
  7). resize2fs
 
  What I find is that without a reboot, the OS doesn't see the partition
  so can't pvcreate etc.
 
  --Russell
 
 
   -Original Message-
   From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]
   On Behalf Of Reindl Harald
   Sent: Friday, 18 November 2011 10:48 a.m.
   To: centos@centos.org
   Subject: Re: [CentOS] not using LVM for Linux VM guests?
  
  
  
   Am 17.11.2011 22:36, schrieb Smithies, Russell:
Tried that, as well as rescanning the scsi bus, Everything I've
tried returns a warning about kernel unable to reread partition
table and requiring a reboot to see any modifications.
  
   gparted does tell you this since years after modify but i have never
   in my
  life
   rebooted a linux system because partition changes
 
 Step 3 .. run partprobe.
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] not using LVM for Linux VM guests?

2011-11-16 Thread Smithies, Russell
I came across an old post comment yesterday (from 
http://echenh.blogspot.com/2010/04/how-to-extend-lvm-on-vmware-guest-os.html ) 
discussing the hack of LVM on Linux VM guests and whether it's better not to 
use it to simplify disk management.
I've re-posted the comment below, does it sound reasonable? Is it better to not 
use LVM on Linux VM guests?

--Russell


---
At my job, after doing the same kind of procedure graph, we began to ask 
ourselves, why are using a LVM on a Linux VM guests?

Since we're no longer living in the physical OS world, we didn't need to use 
the OS hacks(LVM) to overcome physical disk limitations anymore.
We decided to Just let the hypervisor and virtual storage do that work for us.

For example, in our production setup (3 tier commerce with VMs for database , 
webserver, and appserver), we're see a great improvement in managability and 
performance (10%) by just dropping LVM, and most partitions.

In your example, the resize process is 7 functional steps:
1. Increase size of VMDK
2. In VM OS, Create Partition (??)
3. REBOOT (!!)
4. PVCreate
5. VGExtend
6. LVExtend
7. Resize2fs

Going to a LVM/partition-less setup reduces expansion to 3 steps and we don't 
need to take the VM OS offline!
1. Increase size of VMDK
2- Inside the VM, OS, rescan the scsi drive with:'echo 1 
/sys/class/scsi_device//rescan; dmesg' (dmesg will check that you drive isize 
has grown)
3- Resize2fs.

Our current disk arrangement has 3 VM HD devices
0 - small device (100M) with a single BOOT partition
1 - entire device is /
2 - entire device is SWAP

Doing this has simplified resizing so much, I now let the junior admins and my 
manager expand drive space as needed.

It's also let's us really be spartan on space since expansion is so quick. 
Instead of increasing systems in 30-50GB chunks, we can do 10-15GB and let our 
rmonitoring system warn us when space gets tight.
-

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] reading vdump files?

2011-09-19 Thread Smithies, Russell
I have a lot of data in some vdump files backed up from a Tru64 system that I 
now need to recover to a Centos server.
We no longer have any servers running Tru64, is there any way to 
extract/convert them on a standard linux system?
Ideally converting in bulk to a tar would do.

Any ideas?

Russell Smithies



===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommended mailing list manager for CentOS 5.6

2011-07-19 Thread Smithies, Russell
I'll put in a plug for HP Cluster Management Utility
http://h20311.www2.hp.com/HPC/cache/412128-0-0-0-121.html?jumpid=reg_R1002_USEN

We also use C3 - an oldy but a goody :-)
http://www.csm.ornl.gov/torc/C3/index.html


--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Patrick Lists
 Sent: Wednesday, 20 July 2011 12:27 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] Recommended mailing list manager for CentOS 5.6
 
 On 07/20/2011 02:17 AM, Dave Stevens wrote:
  On Tuesday, July 19, 2011 05:07:16 PM John J. Boyer wrote:
  Does CentOS 5.6 have a mailing list manager like ecartis or
 majordomo? I
  want to set up mailing lists for my server in the cloud for three
  domains that I own. What mailing list managers do yourecommend, and
  where can they be found? I don't ming compiling source code.
 
  Thanks,
 
  mailman has always worked well for me, easy to use, reasonable
 defaults, mail
  archived by default.
 
 In addition to Dave's fine suggestion, there is also Sympa:
 http://www.sympa.org/
 
 Regards,
 Patrick
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] preventing symlinks?

2011-06-29 Thread Smithies, Russell
This may be more of a general linux question but is there a simple way of 
preventing users from creating symlinks to or from certain directories?
I have a /scratch dir that's a single 27TB volume and I don't want users 
linking their home dirs as there's a chance it will screw up our external 
backups.
Is this a job for SELinux?
Any ideas?

Thanx,

Russell

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4 in CentOS 5.6?

2011-06-23 Thread Smithies, Russell
We have a single 27TB partition (35 x 1TB drives as RAID5+0 in an HP MDS600), 
just formatted it xfs and had no problems with it so far.
It's used as scratch space so not too concerned about performance.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Marian Marinov
 Sent: Friday, 24 June 2011 7:48 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] ext4 in CentOS 5.6?
 
 On Thursday 23 June 2011 22:31:28 PJ wrote:
  On Thu, Jun 23, 2011 at 1:07 PM, Marian Marinov m...@yuhu.biz wrote:
   On Thursday 23 June 2011 19:16:37 PJ wrote:
   I'm sure many are running ext4 FS's in production, but just want
 to
   be re-assured that there are not currently any major issues before
   starting a new project that looks like it will be using ext4.
  
   I've previously been using xfs but the software for this project
   requires ext3/ext4.
  
   I'm always very cautious before jumping onto a new FS, (new in the
   sense it is officially supported now)
  
   Thanks in advance!
  
   I'm running some 50 servers with ext4 each server has 2x15TB ext4
   partitions. I haven't had an issue with that setup. The first
 server
   was setup 3 years ago. It is quite faster then XFS in terms of
 write
   performance and thus far reliable without any major problem.
  
   Keep in mind that user land tools are limited and the biggest
   partition you can create with them at the moment is 16TB. You can
   recompile the tools and remove this limitation if that is a problem
 for you.
  
   Regards,
   Marian Marinov
 
  Thanks for all the great replies everyone.
 
  I've got an 18TB partition - the limit is 16TB even in x86_64?
 
 Yes. At least it was so, last year. I haven't checked recently. And I
 don't have a spare machine to repartition for the test.
 We have a 30TB RAID6 array and I was really annoyed that I had to make
 two partitions to utilze the whole space.
 
 The wiki pages are still not updated:
   http://en.wikipedia.org/wiki/Comparison_of_file_systems
   https://ext4.wiki.kernel.org/index.php/Ext4_Howto
 
 NOTE: Although very large fileystems are on ext4's feature list,
 current e2fsprogs currently still limits the filesystem size to 2^32
 blocks (16TiB for a 4KiB block filesystem). Allowing filesystems larger
 than 16T is one of the very next high-priority features to complete for
 ext4.
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 --
 Best regards,
 Marian Marinov
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: high static in server room

2011-06-21 Thread Smithies, Russell
Are you using anti-static flooring?
I know in our new server room extension there was some very expensive lino that 
went down.
This sort of stuff: 
http://www.afloor.co.uk/vinyl-flooring-lino/anti-static-flooring.html

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Rob Kampen
 Sent: Thursday, 16 June 2011 2:24 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] OT: high static in server room
 
 Fajar Priyanto wrote:
  On Thu, Jun 16, 2011 at 2:19 AM, Dan Carl d...@bluestarshows.com
 wrote:
 
  If you spend a lot of time in your server room, you might also
  consider a fish tank.
  It will add moisture to your room and give you something to look at
  other than flashing leds:-)
 
 
  Is this a joke or a real thing? I'm really considering the fish tank.
 
  Btw, I've checked. My room humidity is 23%. That should be ok,
  shouldn't it? But still I saw the spark.
 
 Very low - adding some water somewhere would likely help.
 Carpet? Nylon products against natural ones like cotton or wool??
  Btw again, I was in the middle of major work on a blade chassis, and
 I
  left some of the slots open for several days.
  Could that be the reason of the high static too?
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] changing column widths in top?

2011-04-12 Thread Smithies, Russell
Not specifically a Centos question but does anyone know how to change the 
column widths in top?
I'm in the unique position where I need to be able to see more than .0% CPU 
:-)

Thanx,

Russell
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] changing column widths in top?

2011-04-12 Thread Smithies, Russell
Thought as much :-(
Atop seems to display much better, currently running at 12728% CPU :-)

--Russell 

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of John R Pierce
 Sent: Wednesday, 13 April 2011 9:27 a.m.
 To: centos@centos.org
 Subject: Re: [CentOS] changing column widths in top?
 
 On 04/12/11 2:10 PM, Smithies, Russell wrote:
  Not specifically a Centos question but does anyone know how to change
 the column widths in top?
  I'm in the unique position where I need to be able to see more than
 .0% CPU :-)
 
 probably have to hack the source :-/
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] changing column widths in top?

2011-04-12 Thread Smithies, Russell
Htop looks interesting and I might try it on one of our other servers but on 
this one I only see the first 60 CPUs.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Lucian
 Sent: Wednesday, 13 April 2011 9:41 a.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] changing column widths in top?
 
 On Tue, Apr 12, 2011 at 10:35 PM, Smithies, Russell
 russell.smith...@agresearch.co.nz wrote:
  Thought as much :-(
  Atop seems to display much better, currently running at 12728% CPU :-
 )
 
 Give htop a try as well; it's in EPEL AFAIK.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIC bonding - missing eth0?

2011-02-16 Thread Smithies, Russell
Yep, that's the problem - it keeps coming up with 3 ports instead of 4 and eth0 
is always has a different Aggregator ID.
No idea why it does that - the other server is setup the same and it's bonding 
works perfectly.
The only thing I can think of is some of the Xen virtual interfaces and bridges 
as disrupting it.

--Russell


From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Cameron Kerr
Sent: Thursday, 17 February 2011 6:18 a.m.
To: CentOS mailing list
Subject: Re: [CentOS] NIC bonding - missing eth0?


On 16/02/2011, at 3:12 PM, Smithies, Russell wrote:

802.3ad info
LACP rate: slow
Active Aggregator Info:
Aggregator ID: 19
Number of ports: 3 
Actor Key: 17
Partner Key: 5
Partner Mac Address: 00:1b:90:3d:90:c0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5c
Aggregator ID: 18

This is different.



Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5d
Aggregator ID: 19

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5e
Aggregator ID: 19

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5f
Aggregator ID: 19


===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NIC bonding - missing eth0?

2011-02-15 Thread Smithies, Russell
I have nic bonding (mode=802.3ad) setup on 2 servers, both running Centos 5.5
In the Active Aggregator Info, on one reports 4 ports - which is correct - 
but the other only reports 3 ports.
It's always eth0 that shows a different aggregator ID. Changing the cables 
around so it hits a different port on the switch makes no difference. The 
switch is correctly configured for the port channel.
The only difference between the 2 servers is one is running Xen 
(kernel-xen-2.6.18-194.32.1.el5.centos.plus) so I have a few virtual interfaces 
and bridges.

Any ideas what might be happening?

Thanx,

Russell Smithies


[root@invmhp01 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Active Aggregator Info:
Aggregator ID: 19
Number of ports: 3 
Actor Key: 17
Partner Key: 5
Partner Mac Address: 00:1b:90:3d:90:c0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5c
Aggregator ID: 18

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5d
Aggregator ID: 19

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5e
Aggregator ID: 19

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5f
Aggregator ID: 19

[root@invmhp01 ~]# ifconfig
bond0 Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  inet addr:147.158.130.183  Bcast:147.158.131.255  Mask:255.255.252.0
  inet6 addr: fe80::1ec1:deff:fe74:975c/64 Scope:Link
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
  RX packets:64087 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18179 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:8293500 (7.9 MiB)  TX bytes:31362799 (29.9 MiB)

eth0  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:5770 errors:0 dropped:0 overruns:0 frame:0
  TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:410102 (400.4 KiB)  TX bytes:2524 (2.4 KiB)

eth1  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:22247 errors:0 dropped:0 overruns:0 frame:0
  TX packets:17436 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1424685 (1.3 MiB)  TX bytes:31161969 (29.7 MiB)
  Interrupt:239

eth2  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:6223 errors:0 dropped:0 overruns:0 frame:0
  TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:442326 (431.9 KiB)  TX bytes:19993 (19.5 KiB)
  Interrupt:235

eth3  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:29852 errors:0 dropped:0 overruns:0 frame:0
  TX packets:537 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:6016657 (5.7 MiB)  TX bytes:179281 (175.0 KiB)
  Interrupt:231

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:26818 errors:0 dropped:0 overruns:0 frame:0
  TX packets:26818 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:38558929 (36.7 MiB)  TX bytes:38558929 (36.7 MiB)

peth0 Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
  inet6 addr: fe80::fcff::feff:/64 Scope:Link
  UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
  RX packets:41498 errors:0 dropped:0 overruns:0 frame:0
  TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:312 (2.8 MiB)  TX bytes:59877 (58.4 KiB)
  Interrupt:243

vif0.0Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
  inet6 addr: fe80::fcff::feff:/64 Scope:Link
  UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
  RX packets:127 errors:0 dropped:0 overruns:0 frame:0
  TX packets:39354 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:15520 (15.1 KiB)  TX bytes:2817598 (2.6 MiB)

virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  inet6 addr: 

Re: [CentOS] Virtualization supporting 1000Mbps nics?

2011-02-15 Thread Smithies, Russell
I'm using the gplpv passthru driver now so it's using my nic directly rather 
than a virtual Realtek 100Mbps one and I'm getting much better transfer speeds 
- a recommendation from the Xen mailing list.
Regularly getting 120Mbps drag and drop to a file share on a 2k8R2 server a 
thousand miles away.
Was getting 25Mbps with the virtual Realtek.

--Russell


 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Nico Kadel-Garcia
 Sent: Wednesday, 16 February 2011 3:42 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] Virtualization supporting 1000Mbps nics?
 
 On Mon, Feb 14, 2011 at 2:34 PM, Smithies, Russell
 russell.smith...@agresearch.co.nz wrote:
  I've got xen-3.0.3-105.el5_5.5 running on Centos 5.5 and all is
 running
  smooth but I notice that any VMs running under it only have access to
  Realtek RTL8139C at 100 Mbps nics.
 
 In general, don't bother. Let the virtualization server handle all the
 cute features of the network interfaces, because it's going to
 *anyway* as part of its role translating the kernel operations of the
 virtualized driver into real hardware interactions with the NIC you
 actually use.
 
  We have 4 x 1G nics configured in a port channel so I'd really like
 to be
  able to give my VMs 1000Mbps nics.
 
 Actually test the performance, and if possible, use a para-virtualized
 kernel. You should see surprisingly good performance.
 
  Does anyone know if this is possible and how to do it?
 
  If not, does KVM support faster nics because at this point it would
 be
  fairly simple to change.
 
 See above. In reality, I'll be surprised if you don't easily
 outperform a physical RealTek device.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Virtualization supporting 1000Mbps nics?

2011-02-14 Thread Smithies, Russell
I've got xen-3.0.3-105.el5_5.5 running on Centos 5.5 and all is running smooth 
but I notice that any VMs running under it only have access to Realtek RTL8139C 
at 100 Mbps nics.
We have 4 x 1G nics configured in a port channel so I'd really like to be able 
to give my VMs 1000Mbps nics.
Does anyone know if this is possible and how to do it?
If not, does KVM support faster nics because at this point it would be fairly 
simple to change.

Thanx,

Russell Smithies

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ~/.forward file?

2011-02-01 Thread Smithies, Russell
Hi all,
I'm just poking thru our previous sysadmin's user adding script and saw 
reference to a ~/.forward file containing the users email address.
Any idea what it might be for?
It's a tricky one to Google ;-)

Thanx,

Russell Smithies
 

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nic bonding

2011-01-16 Thread Smithies, Russell
I've just setup nic bonding on our server (DL585-G7 running Centos 5.5 x86_64) 
as detailed on the wiki: http://wiki.centos.org/TipsAndTricks/BondingInterfaces 
and all seems fine but from other howto's I've seen on the web, they're 
should be a /proc/net/bond0/info 
As far as I can see, I don't have one and I'm not sure if it should be there or 
its absence is a sign I've done something wrong. 
I found /proc/net/dev_snmp6/bond0 but is the same?

Any ideas?

Thanx,

Russell Smithies
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nic bonding

2011-01-16 Thread Smithies, Russell
Afraid not, no /proc/net/bonding either.
This is all I can see:

[root@inbfop03 ~]# find / -name bonding 2/dev/null
/lib/modules/2.6.18-194.32.1.el5/kernel/drivers/net/bonding
/lib/modules/2.6.18-194.el5/kernel/drivers/net/bonding
/usr/src/kernels/2.6.18-194.el5-x86_64/drivers/net/bonding
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/drivers/net/bonding
 [root@inbfop03 ~]# find / -name bond0 2/dev/null
/sys/class/net/bond0
/proc/sys/net/ipv6/conf/bond0
/proc/sys/net/ipv6/neigh/bond0
/proc/sys/net/ipv4/conf/bond0
/proc/sys/net/ipv4/neigh/bond0
/proc/net/dev_snmp6/bond0

It's not really a problem as it's working OK, just odd it's not there.

--Russell

 -Original Message-
 From: Steve Thompson [mailto:s...@vgersoft.com]
 Sent: Monday, 17 January 2011 2:13 p.m.
 To: Smithies, Russell
 Subject: Re: [CentOS] nic bonding
 
 On Mon, 17 Jan 2011, Smithies, Russell wrote:
 
  I've just setup nic bonding on our server (DL585-G7 running Centos
 5.5
  x86_64) as detailed on the wiki:
  http://wiki.centos.org/TipsAndTricks/BondingInterfaces and all seems
  fine but from other howto's I've seen on the web, they're should be
 a
  /proc/net/bond0/info
 
 That would be /proc/net/bonding/bond0
 
 -steve
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nic bonding

2011-01-16 Thread Smithies, Russell
Sorry, I'm not sure I understand your comments.
I understand what bonding is and how it works and ours is working fine.
Just not sure why I don't have any /proc/net/bond* files

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Rajagopal Swaminathan
 Sent: Monday, 17 January 2011 4:31 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] nic bonding
 
 Greetings,
 
 do updatedb
 Please locate the somethingbonding.txt in the installation
 
 go through the procedure
 
 You need to modprobe bonding (with mii settings)
 you need to manually create the bond0 files
 you need to edit ethx interfaces to enslave them to the bonding master
 you need to configure the ports in a managed switch to accomodate
 bonded interface ports.
 
 Don't expect n x speed (where n is the number of NICs bonded).
 
 HTH
 
 Regards,
 
 Rjagopal
 
 On 1/17/11, Smithies, Russell russell.smith...@agresearch.co.nz
 wrote:
  Afraid not, no /proc/net/bonding either.
  This is all I can see:
 
  [root@inbfop03 ~]# find / -name bonding 2/dev/null
  /lib/modules/2.6.18-194.32.1.el5/kernel/drivers/net/bonding
  /lib/modules/2.6.18-194.el5/kernel/drivers/net/bonding
  /usr/src/kernels/2.6.18-194.el5-x86_64/drivers/net/bonding
  /usr/src/kernels/2.6.18-194.32.1.el5-x86_64/drivers/net/bonding
   [root@inbfop03 ~]# find / -name bond0 2/dev/null
  /sys/class/net/bond0
  /proc/sys/net/ipv6/conf/bond0
  /proc/sys/net/ipv6/neigh/bond0
  /proc/sys/net/ipv4/conf/bond0
  /proc/sys/net/ipv4/neigh/bond0
  /proc/net/dev_snmp6/bond0
 
  It's not really a problem as it's working OK, just odd it's not
 there.
 
  --Russell
 
  -Original Message-
  From: Steve Thompson [mailto:s...@vgersoft.com]
  Sent: Monday, 17 January 2011 2:13 p.m.
  To: Smithies, Russell
  Subject: Re: [CentOS] nic bonding
 
  On Mon, 17 Jan 2011, Smithies, Russell wrote:
 
   I've just setup nic bonding on our server (DL585-G7 running Centos
  5.5
   x86_64) as detailed on the wiki:
   http://wiki.centos.org/TipsAndTricks/BondingInterfaces and all
 seems
   fine but from other howto's I've seen on the web, they're should
 be
  a
   /proc/net/bond0/info
 
  That would be /proc/net/bonding/bond0
 
  -steve
 
 ===
  Attention: The information contained in this message and/or
 attachments
  from AgResearch Limited is intended only for the persons or entities
  to which it is addressed and may contain confidential and/or
 privileged
  material. Any review, retransmission, dissemination or other use of,
 or
  taking of any action in reliance upon, this information by persons or
  entities other than the intended recipients is prohibited by
 AgResearch
  Limited. If you have received this message in error, please notify
 the
  sender immediately.
 
 ===
  ___
  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