Re: [CentOS] Still considering backup utilities

2015-07-15 Thread S.Tindall
On Wed, 2015-07-15 at 16:29 -0400, m.r...@5-cent.us wrote:
 I hear that backuppc does *not* have a native *Doze client...

It is simple to set up a rsyncd server under Cygwin / WinX to feed
BackupPC. I normally install full cygwin to access rsyncd, but there
is a limited client available.

http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/

From the readme:

Download and run cygwin-rsyncd-3.0.9.0_installer.exe to install rsyncd
on your WinXX client for doing BackupPC backups.

At one time, the prepacked rsyncd client did not work on Win7 and later,
but I think that was fixed. Otherwise, install full cygwin and follow
the instructions for the prepacked rsyncd client.

Steve

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


Re: [CentOS] unable to recover software raid1 install

2015-03-17 Thread S.Tindall
On Tue, 2015-03-17 at 20:20 -0400, S.Tindall wrote:
 On Tue, 2015-03-17 at 23:28 +0100, johan.vermeul...@telenet.be wrote:
  
  on a Centos5 system installed with software raid I'm getting: 
  
  raid1: raid set md127 active with 2 out of 2 mirrors 
  
  md: autorun DONE 
  
  md: Autodetecting RAID arrays 
  
  md: autorun. 
  
  md : autorun DONE
  
  trying to resume form /dev/md1
 
 Hi Johan,
 
 Your system is assembling md127, but is apparently expecting md1.
 
 I suspect that you examined the raid1 from a previously working EL5
 system using a more-recent-than-EL5 LiveDVD, which assembled the raid1
 as md127 and wrote super-minor 127 to the raid1 (assuming ver. 0.90
 metadata). When started under EL5, it then assembled as md127, not md1,
 hence the problem.
 
 If that is what happened, then boot the system with the same LiveDVD,
 stop the raid and then assemble it as md1 while updating the
 super-minor. (You might want to mount the installation and look at fstab
 and grub.conf while running the LiveDVD to verify that it is looking for
 md1).
 
 For example (assuming md1 contained partitions sda1 and sdb1):
 
 - (Boot using the LiveDVD)

I forgot (at least) one thing:

- (Stop md127-based swap  # swapoff -a )

 - (Unmount anything from md127  # df -h)
 
 - (Inactivate any VGs/LVs  # vgchange -an VG or lvchange -an LV)
 
 # mdadm -S /dev/md127
 
 # mdadm -A /dev/md1 -U super-minor /dev/sd[ab]1
 
 Then shut down the LiveDVD and attempt to boot the system under EL5.
 
 Steve
 
 PS I don't watch EL5 boot very often/recently, so I might have misses
 something relevant in your post.
 
 ___
 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] unable to recover software raid1 install

2015-03-17 Thread S.Tindall
On Tue, 2015-03-17 at 23:28 +0100, johan.vermeul...@telenet.be wrote:
 
 on a Centos5 system installed with software raid I'm getting: 
 
 raid1: raid set md127 active with 2 out of 2 mirrors 
 
 md: autorun DONE 
 
 md: Autodetecting RAID arrays 
 
 md: autorun. 
 
 md : autorun DONE
 
 trying to resume form /dev/md1

Hi Johan,

Your system is assembling md127, but is apparently expecting md1.

I suspect that you examined the raid1 from a previously working EL5
system using a more-recent-than-EL5 LiveDVD, which assembled the raid1
as md127 and wrote super-minor 127 to the raid1 (assuming ver. 0.90
metadata). When started under EL5, it then assembled as md127, not md1,
hence the problem.

If that is what happened, then boot the system with the same LiveDVD,
stop the raid and then assemble it as md1 while updating the
super-minor. (You might want to mount the installation and look at fstab
and grub.conf while running the LiveDVD to verify that it is looking for
md1).

For example (assuming md1 contained partitions sda1 and sdb1):

- (Boot using the LiveDVD)

- (Unmount anything from md127  # df -h)

- (Inactivate any VGs/LVs  # vgchange -an VG or lvchange -an LV)

# mdadm -S /dev/md127

# mdadm -A /dev/md1 -U super-minor /dev/sd[ab]1

Then shut down the LiveDVD and attempt to boot the system under EL5.

Steve

PS I don't watch EL5 boot very often/recently, so I might have misses
something relevant in your post.

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


Re: [CentOS] Looking for a life-save LVM Guru

2015-02-27 Thread S.Tindall
On Sat, 2015-02-28 at 07:25 +0700, Khemara Lyn wrote:

 I have tried with the following:
 
 1. Removing the broken PV:
 
 # vgreduce --force vg_hosting /dev/sdc1
   Physical volume /dev/sdc1 still in use

Next time, try vgreduce --removemissing VG first.

In my experience, any lvm command using --force often has undesirable
side effects.


Regarding getting the lvm functioning again, there is also a --partial
option that is sometimes useful with the various vg* commands with a
missing PV (see man lvm).

And vgdisplay -v often regenerates missing metadata (as in getting a
functioning lvm back).

Steve

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


Re: [CentOS] Nvidia Mod Update

2015-02-07 Thread S.Tindall
On Sat, 2015-02-07 at 23:06 -0500, Mark LaPierre wrote:
 Hey all,
 
 On my X86-64 CentOS 6.6 machine I just ran yum update.  In the update
 was an upgrade from the 340.XX Nvidia package to the 346.XX package.
 Hrmmm?  I'm thinking this is not a good idea but, since this is just a
 test system any way, I let it run.  Sure enough I was right.  Dmesg says
 that my video is supported by the 340.XX driver, not the 346.XX driver.
  It's not happy cause it can't find a supported GPU.
 
 1. So, having only a command line interface, how do I tell yum to rip
 out the 346.XX package and reinstall the 340.XX package?
 
 2. How do I tell yum not to do such stupid stuff again?

Assuming you mean that you just updated the kmod-nvidia package, then
follow the instructions at the top of this page.

http://elrepo.org/tiki/kmod-nvidia

It happened to me, too. Easy fix. :-)

Steve

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


Re: [CentOS] LVM - pvmove and multiple servers

2015-01-10 Thread S.Tindall
On Sun, 2015-01-11 at 00:13 +1100, Daniel Hoffman wrote:
 Hi All.
 
 Looking for some guidance/experience with LVM and pvmove.
 
 I have a LUN/PV being presented from a iscsi SAN. The LUN/PV is presented
 to 5 servers as a shared VG they all have LV's they use for data, they are
 all connected via iSCSI.
 
 As the SAN I am using is being replaced I need to move onto a new unit.
 
 My migration strategy at this time is to
 
 1. Present a new LUN from the new SAN to all machines.
 2. Make a PV with the new LUN.
 3. Add it to the existing VG.
 4. Use pvmove to move all the data from one PV to another.
 5. Once the old LUN is empty, complete a pvresize to remove the old LUN.
 
 This all seems sound but looking for advice, specifically around the fact
 that the VG/PV data is being used by a number of machines/servers and the
 LV's are active on a number of different nodes.
 
 All the documentation/examples I can find assume a disk in a server, not a
 LUN on a SAN being shared by a number of servers.
 
 Any advice is appreciated.

Cannot help with the SAN question other than to say that you are just
adding another PV block device to a VG and LVM shouldn't care.

My comment is on step 5. You want to vgreduce -a VG to remove empty
PVs (assuming only the old one is empty) followed by pvremove PV to
remove the old PV.

As always, be wary of any Are you sure? or You need to --force LVM
output.

Steve

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


Re: [CentOS] clamav

2014-05-30 Thread S.Tindall
On Fri, 2014-05-30 at 14:14 -0700, Emmett Culley wrote:
 On 05/30/2014 10:46 AM, John R Pierce wrote:
  On 5/30/2014 8:27 AM, Emmett Culley wrote:
  So I removed it all again and reinstalled from RPMforge.  Now it all works 
  as expected.  I never should have switch from RPMforge to EPEL for these 
  programs.
  
  
  actually, IMHO, you should have switched.   EPEL is much better
  maintained than RPMforge these days.   the catch is, to do that switch
  cleanly, you woudl have had to completely uninstall the rpmforge
  version, disable rpmforge, THEN install the epel version
  
 I did that, and still clam failed to filter mail.  I do admin that I didn't 
 delete all related files before installing from EPEL, ANsd I do also feel 
 that EPEL is the better choice, so I guess I'll do it all over again.
 
 Emmett

Way up in this thread, you mentioned updating amavisd-new from epel plus
clam\* from epel. In addition to the user clamav vs clam issue, epel
amavisd uses service clamd.amavisd, whereas the rpmforge amavisd uses
service clamd.

 # rpm -q amavisd-new clamd postgrey
 amavisd-new-2.8.0-8.el6.noarch
 clamd-0.98.3-1.el6.i686
 postgrey-1.34-1.el6.noarch

 # service clamd status
 clamd is stopped

 # service clamd.amavisd status
 clamd.amavisd (pid  2860) is running...

The use of clamd.amavisd actually simplifies the setup since you don't
need to add group amavis to clam.

 # id clam
 uid=493(clam) gid=493(clam) groups=493(clam)

Looking through my rpmforge  epel conversion notes, the other
significant issue was to find folders/files with owner:group
clamav:clamav and chown to clam:clam. I think you already corrected that
problem.

There are also several differences in the default rpmforge vs epel
amavisd.conf, but I don't think any would stop it from working.

I converted 3 mail servers to epel amavisd/clam\* about a year ago and I
think all conversion issues have been resolved, but you never know. :-)


Steve

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


Re: [CentOS] Firewall/Gateway Hardware Question

2013-10-15 Thread S.Tindall
On Tue, 2013-10-15 at 18:05 -0400, SilverTip257 wrote:

 @Steve:
 Based on your statement, I figure you do not have a crypto accelerator and
 the CPU is handling all the crypto.  Correct?

 @Terre:
 I don't know how VIA C7 CPUs stack up against the Intel Atom CPUs in terms
 of performance, but they're low power consuming x86 processors.  And
 there's the VIA Padlock [0] security/encryption engine.

 AMD Geode CPUs like those in PC Engines ALIX [1] hardware have an
 integrated crypto accelerator [2].  If it wasn't for your web proxy
 requirements, etc an ALIX might fit the bill (with the right embedded OS -
 think Voyage Linux). You're better off with the hardware you're researching
 right now though.
 
 [0] http://www.via.com.tw/en/initiatives/padlock/hardware.jsp
 [1] http://www.pcengines.ch/alix.htm
 [2] http://www.twam.info/hardware/alix/using-geodes-aes-engine-on-alix3d3

You should look at the single board computers sold by Soekris
Engineering.

 http://soekris.com

Specifically the net6501 series:

 http://soekris.com/products/net6501.html

 Specifications:

  •  600 Mhz to 1.6 Ghz Intel Atom E6xx single chip processor
 with EG20T companion chip 
  •  512 to 2048 Mbyte DDR2-SDRAM, soldered on board 
  •  2x SATA 3 Gbit interfaces with +5V and +12V power header
  •  4x Intel 82574L Gigabit Ethernet ports, Auto-MDIX RJ-45,
 protected to 700W/40A Surge 
  •  2x Serial ports, DB9 and 10 pins internal header
  •  USB 2.0 interface, 2x internal, 1x external port, bootable 
  •  1 Full Mini-PCI Express shared with mSATA socket.
  •  1 USB only Mini-PCI Express shared with mSATA socket
  •  2x PCI Express Slots, right angle 
  •  16 bit general purpose I/O, 24 pins header, connected to FPGA

...in either a tiny or a rackable box.

The number of lan slots can be increased above 4 by using expansion
cards.

Steve



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


Re: [CentOS] OT: UPS battery vendor, cont'd

2013-02-12 Thread S.Tindall
On Tue, 2013-02-12 at 13:28 -0500, m.r...@5-cent.us wrote:
 Here's the state of my search: BatteriesPlus is... odd. The corporate
 site, and after a phone call, tell me they don't do GSA, but some of their
 franchises do. I called the local one, and they do.
 
 However, the only RBC 43 they offer, I might as well buy direct from APC,
 at well over $300 for the set.
 
 Battery Sharks, and Apex, don't do GSA... but they *do* offer replacements
 for about $100 for the set.
 
 Having checked with my manager, we'll try the open market quotes. I would
 like a third recommendation, so I can offer purchasing three quotes.
 
 Recommendations?

When it was not an emergency purchase, I have historically used
McMaster-Carr, an industrial supplier, for my replacement batteries.

http://www.mcmaster.com/#sealed-lead-acid-batteries/=lg9y5y

I think you are looking for either the 7448K26 (12V 5Ah F2 $21.67 each)
or the 7448K81 (12V 6Ah F2 $26.72 each), which are NOT the ones I am
usually buying. I have never had a problem with their batteries.

Their web site makes no GSA claim, but Google suggests they do.

http://www.gsacontractswon.com/department/gsa/mc-master-carr-supply-company-006931349.asp?yr=09

You pay shipping, which is typically reasonable. Or they will ship on
your shipper number. My ground delivery for orders placed before 5PM is
typically the next business day, which is one reason I use them.

Like others have suggested, it's the local BatteriesPlus for
emergencies.

Steve


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


Re: [CentOS] Upgrading to Verizon FIOS from Verizon DSL - Linux machine as router/Gateway/LAN server]

2012-04-16 Thread S.Tindall
On Mon, 2012-04-16 at 16:45 -0400, Tim Evans wrote:
 On 04/16/2012 04:17 PM, m.r...@5-cent.us wrote:
  Max Pyziur wrote:
  Greetings,
 
  A long time ago I setup a Linux machine as a Gateway/LAN Server using
  Verizon DSL as the ISP.
 
  I used the following HOWTO as the guide - DSL HOWTO For Linux:
  http://www.tldp.org/HOWTO/DSL-HOWTO/index.html
 
  Is there something comprable for Verizon FIOS?
 
  My Gateway machine runs Fedora.
 
  For a new server, I'm considering setting up a CentOS machine, while still
  using Fedora on my desktop and laptop.
 
  FIOS comes with a FIOS router. You have straight ethernet to it.
 
 
 And it you wire it right, you can set up an internal/external network 
 config with your own firewall.  (The FIOS router also acts as a 
 firewall, but you might trust an iptables firewall more as a second line 
 of defense.

Unless it changed recently, Verizon supplies a wireless router via a
MoCA (coaxial cable) connection. Just ask the Verizon tech to set up the
wireless router with a conventional Ethernet cable.

Their server is down right now, but dslreports.com has a nice Verizon
fios faq with lots of details regarding the router setup. I think the
correct link is:

 http://www.dslreports.com/faq/verizonfios

I administer both dynamic (DHCP) and static Verizon fios circuits and am
currently using IPCop V2 for the firewalls. For DHCP, you need to either
clone their router MAC or call tech support and ask them to break the
lease when you connect a new router. The static circuit works without
any funny stuff. Spring for Static IP if $$$ is not a big issue.


Steve

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


Re: [CentOS] RAID-10 vs Nested (RAID-0 on 2x RAID-1s)

2012-03-29 Thread S.Tindall
On Thu, 2012-03-29 at 16:49 -0500, Tim Nelson wrote:

 [root@c6r10tester ~]# mdadm --detail /dev/md1
 /dev/md1:
 Version : 1.1
   Creation Time : Thu Mar 29 16:14:17 2012
  Raid Level : raid10
...
  Layout : near=2
  Chunk Size : 512K
...

 Am I overthinking this? Does the kernel handle the mirror/stripe 
 configuration under the hood, simply presenting me with a magical RAID10 
 array? Or, is this something different and I really should be performing the 
 RAID creation manually as noted in option #1?

Two resources to look at are:

 1) Wikipedia Linux MD RAID 10

  http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10

 2) mdadm manpage section for --layout= (the raid10 part)

  Finally, the layout options for RAID10 are one of ’n’, ’o’ or ’f’...

The key to understanding your setup is mdadm --detail Layout: near=2.
The cited Wikipedia reference for a standard near layout describes
your situation.

Steve

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


Re: [CentOS] ext4 support in anaconda?

2011-04-10 Thread S.Tindall
On Sun, 2011-04-10 at 16:40 +0200, Rainer Traut wrote:
 Am 10.04.2011 15:30, schrieb Tom H:
  On Sun, Apr 10, 2011 at 7:59 AM, Rainer Trauttr...@gmx.de  wrote:
 
  it looks like, I cannot format a partition as ext4 while install.
  I thought upstream has ext4 fully supported in 5.6?
  I looked in release notes but only found reference to ext4 in RHEL5.6
 
  From
  http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/5.6_Technical_Notes/index.html
 
  As of Red Hat Enterprise Linux 5.6 the ext4 file system is fully
  supported. However, provisioning ext4 file systems with the anaconda
  installer is not supported, and ext4 file systems need to be
  provisioned manually after the installation.
 
 Thx Tom for making this clear.
 
 Rainer

Just boot the installer with the ext4 option and anaconda will be able
to format ext4, or at least that works in 5.5.

http://wiki.centos.org/TipsAndTricks/InstallOnExt4



Steve

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


Re: [CentOS] How to verify all dependencies are being met

2011-04-10 Thread S.Tindall

On Sun, 2011-04-10 at 21:00 -0400, Stephen Harris wrote:
 On Mon, Apr 11, 2011 at 12:33:56AM +0200, Ljubomir Ljubojevic wrote:
   Is there an easy way to determine what rpms might be missing?  I'd hoped
   to use something like rpm -qR against each of the installed packages,
   but that output isn't simply converted to rpm package names.
 
  Try something like this:
  
  yum reinstall $(yum list installed | awk '{print $1}')
 
 Hmm, interesting idea.  Not too efficient, and could possibly break
 config files if the rpm isn't well formed.  But, hmm... interesting.
 
 This led me to yum deplist... which sounds like it might also be
 usable.  Not quite clean-cut but a definite possibility!
 

Install yum-utils and then try:

 # package-cleanup --problems


From the package-cleanup manpage:

 --problems

  List dependency problems in the local RPM database.

Steve


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


Re: [CentOS] OT LVM question

2011-03-24 Thread S.Tindall

On Thu, 2011-03-24 at 10:06 -0400, Steve Campbell wrote:
 The setup is a Raid6 of 5 drives. As best I can understand, this is 
 basically a warning caused by Raid itself duplicating the UUID on all of 
 the drives, as it should. For some reason, though, LVM is now looking at 
 each drive in the container instead of looking at the device the Raid is 
 presenting to LVM.
 
 Haven't changed anything in the conf file, but keep seeing a filter 
 suggestion to resolve the warning. All LVM related commands show the 
 same duplicate error. Don't know what changed that caused this to start 
 happening, and it may have been going on for some time. I just noticed 
 it when I needed to start investigating what might be a failing drive in 
 the container. It only shows up when I issue an LVS type command or 
 reboot. Being Centos, the reboot rarely happens.
 
 Thanks for the reply. I know I'm not offer much help here, so sorry for 
 that.
 
 On 3/24/2011 8:02 AM, Digimer wrote:
  On 03/24/2011 07:33 AM, Steve Campbell wrote:
  I've got a situation here where my LVM is showing the following problem:
 
  Found duplicate PV xx: using /dev/sdb2 not /dev/sda2
 

Normally, you can just change the uuid on the duplicate PV to resolve
the issue.

# pvchange -u /dev/sdb2

Not sure that will work in your case.

Steve (a different Steve :-)


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


Re: [CentOS] PAM_shield locking me out?

2010-08-24 Thread S.Tindall

On Tue, 2010-08-24 at 14:56 -0400, Rob Kampen wrote:
 No my server is 32 bit and I think there were no seg faults in
 actuality 
 - the pam_shield module was causing a ?? response to su and sudo auth
 requests and they reported segmentation error - nothing in the logs -
 I assume that it had somehow locked my account and thus all auth
 requests to pam were being dumped. It also appeared to do the same to
 the login prompt on the console - any user entered just went back to
 the the login prompt no request for the password,
 I have thus commented out the auth line I added yesterday until I work
 out what went wrong.
 I am wondering if I entered the auth line in the wrong place??
 Anyone know where it should go?
 The instructions from the INSTALL file in the tar.gz that I used was
 not centos / rh specific.
 HTH Rob

A pam_shield-related login failure happened to me once and fixing
system-auth cured it.

It happened too long ago to remember the details, but I think the
failure was on centos 4. The thing that sticks in my mind was the
inability of any user to login from a console.

Here are the examples you requested.


Centos 4 example (64-bit):

# cat /etc/pam.d/system-auth
...
auth  required/lib/security/$ISA/pam_env.so
auth  sufficient  /lib/security/$ISA/pam_unix.so likeauth nullok
#
auth  optional/lib64/security/pam_shield.so
#
auth  required/lib/security/$ISA/pam_deny.so
...


Centos 5 example:

# cat /etc/pam.d/system-auth
...
auth  requiredpam_env.so
auth  sufficient  pam_unix.so nullok try_first_pass
#
auth  optionalpam_shield.so
#
auth  requisite   pam_succeed_if.so uid = 500 quiet
auth  requiredpam_deny.so
...


rhel6-beta2 example:
...
# cat /etc/pam.d/system-auth
...
authrequired  pam_env.so
authsufficientpam_fprintd.so
authsufficientpam_unix.so nullok try_first_pass
#
authoptional  pam_shield.so
#
authrequisite pam_succeed_if.so uid = 500 quiet
authrequired  pam_deny.so
...


Steve

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


Re: [CentOS] lm_sensors and Shuttle

2010-07-10 Thread S.Tindall

On Sat, 2010-07-10 at 18:47 -0700, listmail wrote:
 On Sat, 10 Jul 2010 11:48:50 +0100, Ned Slider wrote
  On 10/07/10 03:07, Yves Bellefeuille wrote:
  
   The version at ElRepo works with my Phenom II:
  
 http://elrepo.org/linux/elrepo/el5/i386/RPMS/lm_sensors-2.10.8-2.el5.elrepo.i386.rpm
  
  
  ELRepo also has a kernel module for the AMD K10 core temperature sensor:
  
  http://elrepo.org/tiki/kmod-k10temp
 
 Many thanks to both Yves and Ned for the pointers. After installing
 lm_sensors-2.10.8.-2 from elrepo, then installing the necessary drivers (also
 from elrepo) for the sensors on my Shuttle SA76G2, the readings are now
 available. For anyone else who runs into this, the SA76G2 needs the it87 and
 k10temp kernel drivers.
 
 Now I just have to get the ranges set correctly. Unfortunately, Shuttle
 publishes absolutely nothing in the way of documentation, and their tech
 support people refuse to provide information, claiming that it is proprietary.
 I guess I'll post it in their user forums once I figure which measurements are
 meaningful.

Since the elrepo kmod-k10temp/lm_sensors packages worked, then you may
also benefit from the elrepo kmod-powernow-k8 package.

With AMD Phenom II quad-cores running centos 5, kmod-powernow-k8
typically gives a 8-10C drop in core temperature at idle and a
significant reduction in power consumption at idle as described in this
centos bug report:

http://bugs.centos.org/view.php?id=3766

You will also likely notice that your cpu fan slows down at idle. It is
worth installing the kmod if just to quieten down the cpu fan.

As per the bug report, this issue should be fixed in rhel/centos 5.6

Steve


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


Re: [CentOS-virt] Moving vmware guests to a CentOS KVM server

2010-02-20 Thread S.Tindall
On Sat, 2010-02-20 at 14:10 +0100, Kenni Lund wrote:
 2010/2/20 S.Tindall tindall.sat...@brandxmail.com:
 
  Are you using test-signed drivers or do you have a redistributable
  source for release-signed drivers (that chain to a microsoft root)?
 
 I don't think that anyone are talking about Windows in this thread?

You are correct. Thought this was a continuation of the windows guest
thread (same people) and it is not:

http://lists.centos.org/pipermail/centos-virt/2010-February/001654.html

I missed the change in subject/title. Sorry for the noise.


Steve

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


Re: [CentOS-virt] Moving vmware guests to a CentOS KVM server

2010-02-19 Thread S.Tindall

On Sat, 2010-02-20 at 02:41 +0100, Kenni Lund wrote:
 2010/2/18 compdoc comp...@hotrodpc.com:
  I would also just use the e1000 emulation. Theres nothing
  better about the virtio devices...
 
 ...other than lower CPU utilization and higher throughout? Since these
 are CentOS/RHEL guests, I wouldn't even consider using e1000, I would
 just go for virtio_net.
 
 I don't have any links, but some time ago there were some benchmarks
 (on the KVM development list?), showing the e1000 maxing out at around
 300-400mbit/s while the virtio got around 900mbit/s. Even with the
 much higher throughput, the virtio_net driver still had the same or
 lower CPU utilization.
 
 Do your own testing if in doubt.
 
 Best Regards
 Kenni Lund

Are you using test-signed drivers or do you have a redistributable
source for release-signed drivers (that chain to a microsoft root)?

Of course, things are much simpler if you are using 32-bit M$ guests.

Never got the chance to test relative performance of e1000 vs the netkvm
drivers on a M$ guest, but on a centos5 guest, virtio absolutely blows
the doors off e1000 performance.

Using ttcp in both directions, typical C5-host-to-C5-guests for e1000
was in the 30-60MB/s range and virtio was in the 300-400MB/s range.


Steve


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


Re: [CentOS-virt] Which driver interface do I need to install Windows 2008 R2 as a KVM guest?

2010-02-17 Thread S.Tindall

On Wed, 2010-02-17 at 19:21 +0100, carlopmart wrote:
 compdoc wrote:
  I have both windows 7 and win 2008 installed as kvm guests,
  but they were installed with the initial release of centos
  5.4. And I have installed all updates since. I don't like
  the virtio drivers, so I never use them. Are you having
  issues?
  
 Not at this momment because i didn't start any installation. I would to know 
 where I 
 can find problems using virtio or e1000 net drivers ...

Of the two, I only have win7 64-bit installed as a kvm guest.

Using e1000 was trivial. Use it at installation or add it after
installation.


To use the virtio-win drivers in vista 64-bit and later, you will need
signed drivers for installation. From my reading about 32-bit vista and
later, you can use unsigned drivers there.

As far as I know, only redhat provides release-signed drivers via the
virtio-win supplement.  Those have redistribution restriction, so unless
you have a rhn entitlement... The unsigned drivers themselves were
opensourced.

You can test-sign the netkvm (virtio net) driver, but you need to run
the guest in testsigning mode to install them after the fact. I have run
test-signed netkvm drivers (Sept. 24, 2009 driver release) on win7 and
they worked OK, but did not extensively test them. Actually, they worked
fine on all guests I tried (winxp 32-bit, vista 64-bit, win7 64-bit).

Went back to e1000, rather than run the system in testsigning mode (ugly
display, something like safe mode). The e1000 works fine, no hassles
installing/using it under win7.

Currently, the only guest I have running the netkvm driver is winxp,
because e1000 was not a trivial option.


Before you ask, could never get win7 to boot using the viostor (virtio
blk) drivers, but could get winxp and vista to boot on them. From what I
have read, the viostor drivers (Sept. 24, 2009 release) are not ready
for prime time, but there were updated viostor drivers released recently
that I have not tested.

Steve

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


Re: [CentOS] Backup server

2010-01-13 Thread S.Tindall

On Wed, 2010-01-13 at 10:03 -0600, Les Mikesell wrote:
 On 1/13/2010 9:04 AM, John Doe wrote:
 
  One thing that made me not use BackupPC was that (from the doc):
  The advantage of the mod_perl setup is that no setuid script is needed,
  and there is a huge performance advantage  The
  typical speedup is around 15 times.
 
  Since I don't have a dedicated backup server, I did not want to mess up the 
  existing apache configurations...
 
 You really don't spend any time in the web interface which is the only 
 thing affected by this.  And it is fast enough when run as a normal CGI 
 anyway.  Try it without mod_perl.  You'd also have the option of running 
 backuppc as apache, but that is less secure if other web admins have 
 access to the machine.

As a side note, the epel BackupPC package does NOT use mod_perl by
default and the centos-testing package does use mod_perl by default.

I run the centos-testing package (with mod_perl) and the epel package
with and without mod_perl usage and see no practical advantage of using
BackupPC with mod_perl in terms of time/cycle usage.

So just use the stock epel package and you don't need to modify apache.


Steve

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


Re: [CentOS] selinux violation does not get logged

2010-01-08 Thread S.Tindall

On Fri, 2010-01-08 at 17:34 -0700, Nataraj wrote:
 After upgrading to centos 5.4 I am getting a selinux violation, yet
 nothing is logged to /var/log/audit/audit.log.  Other violations do get
 logged.
 
 The violation occurs when running the following command on the mail
 server:
 
 aspen send-mail: warning: premature end-of-input on /usr/sbin/postdrop
 -r while reading input attribute name
 send-mail: fatal: nataraj(500): unable to execute /usr/sbin/postdrop -r:
 Success
 
 Any ideas how I can find out what the violation is so I can add rules to
 allow it?

See:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=24135forum=41
and
https://bugzilla.redhat.com/show_bug.cgi?id=553492


Steve

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


Re: [CentOS] kvm and virto on Centos 5.4

2010-01-05 Thread S.Tindall
On Wed, 2010-01-06 at 10:48 +0800, Christopher Chan wrote:
 I have not tried kvm on Centos 5.4 yet...does anyone know if it has 
 support for virtio?

Yes, it does.

From two guests hosted on centos 5.4/kvm:

# uname -rpmi
2.6.9-89.0.18.ELsmp i686 athlon i386

# lspci|grep -i virtio
00:04.0 SCSI storage controller: Qumranet, Inc. Virtio block device
00:08.0 RAM memory: Qumranet, Inc. Virtio memory balloon


# uname -rpmi
2.6.18-164.9.1.el5 i686 athlon i386

# lspci|grep -i virtio
00:03.0 Ethernet controller: Qumranet, Inc. Virtio network device
00:04.0 SCSI storage controller: Qumranet, Inc. Virtio block device
00:06.0 RAM memory: Qumranet, Inc. Virtio memory balloon


Steve

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


Re: [CentOS-docs] Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware install manual

2009-12-12 Thread S.Tindall
On Sat, 2009-12-12 at 15:58 +, Alan Bartlett wrote:
 2009/12/12 Gytis Repečka gy...@repecka.com:
 
  actually I've also solved BCM problems on Dell laptop. A complete 
  walkthough I made is posted at 
  http://wiki.centos.org/HowTos/Laptops/Dell/Vostro-1400 and I'm almost sure 
  this might work for many BCM chipsets. If anybody checked this on diffrent 
  laptops, maybe a universal tutorial could be posted at 
  http://wiki.centos.org/HowTos/Laptops/Wireless.
 
 Perhaps you could collaborate with Milos on such a guide?
 
  Of course if there's already a RPM package for Broadcom, would be nice to 
  see instructions on Wiki.
 
 That will not happen until such time as Broadcom change their
 restrictive license. If (when) that does happen, ELRepo will happily
 provide kernel independent, kABI tracking kmod package(s) for the
 Broadcom wireless cards.

To follow up on Alan's comments, if you wonder why ELRepo will not
create a Broadcom package for this one, then review the following
section 2.3.(b) of Broadcom's LICENSE AGREEMENT (from the referenced
Broadcom download):

2.3. Restriction on Distribution.  Licensee shall only distribute the
Software (a) under the terms of this Agreement and a copy of this
Agreement accompanies such distribution, and (b) agrees to defend and
indemnify Broadcom and its licensors from and against any damages,
costs, liabilities, settlement amounts and/or expenses (including
attorneys' fees) incurred in connection with any claim, lawsuit or
action by any third party that arises or results from the use or
distribution of any and all Software by the Licensee except as
contemplated herein.

It would be hard to imagine a more redistribution unfriendly agreement
than that one.

Steve


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


Re: [CentOS-virt] Shell command to list cpu usage for KVM guests?

2009-11-24 Thread S.Tindall
On Wed, 2009-11-25 at 00:48 -0600, Neil Aggarwal wrote:
 Hello:
 
 I am looking for a way to check CPU usage for
 KVM guests.
 
 I see that capability in virt-manager, but that would
 require me to install a GUI on the host.
 
 Is there a simple report from a command line tool?
 
 Something like the three load average numbers per
 guest in a list?
 
 I took a look at virsh but could not find anything.

Look at virt-top from epel.

Works something like top and shows all guests.

# rpm -q virt-top
virt-top-1.0.1-7.el5


Steve



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


Re: [CentOS] stupid Centos-DS questions

2009-11-19 Thread S.Tindall

On Thu, 2009-11-19 at 12:31 -0500, Alan McKay wrote:
 This is the sort of thing that leaves me baffled :
 
 http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Creating_Directory_Entries.html
 
 It tells me the following, but does not really provide a context for
 me as to why I'd want to do this or how this would relate to the
 real-world problem I am trying to solve.   I think I'm going to have
 to pick up a copy of the LDAP book someone mentioned a while back in
 another of my threads.

Alan,

Yes, RH documentation can be a little terse.


Look at the fedora 389 directory server (aka fedora directory server)
documentation:

http://directory.fedoraproject.org/wiki/Documentation


There is also a brief writeup on LDAP architecture there:

http://directory.fedoraproject.org/wiki/Architecture


Steve



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


Re: [CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

2009-11-10 Thread S.Tindall

On Tue, 2009-11-10 at 15:07 -0500, James B. Byrne wrote:
 On Tue, November 10, 2009 11:55, Kenni Lund wrote:
 
 
  Hmm, try to have a look at this:
  http://www.linux-kvm.com/content/using-bridged-networking-virt-manager
 
 
 Got it. Thanks. I will give this a read tonight while I am relaxing
 with the Red Hat Virtualization guide.

James,

Sometimes it helps to read an explanation from two sources.

At libvirt.org, the bridged networking (shared physical device) writeup
gives similar info to the above link and can be found here:

http://wiki.libvirt.org/page/Networking#Creating_network_initscripts

Once you define the bridge in /etc/sysconfig/network-scripts/, modify
the host ifcfg-eth0 to include the BRIDGE= statement (and remove the
normal BOOTPROTO= statement) and either disable netfilter on the bridge
or add the physdev --physdev-is-bridged iptables rule, then you are
basically done.

Restart the network/iptables/libvirtd and you are good to go.  Takes
maybe 5 min. to set up and does not require any knowledge of brctl.


Steve

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


Re: [CentOS] USB disks for VMs in kvm, 5.4 x86_64

2009-11-07 Thread S.Tindall

On Sat, 2009-11-07 at 18:49 -0500, David McGuffey wrote:
 Have a fresh install of 5.4 x86_64 with kvm. Created a WinXP VM and it
 works well.  Now trying to get the VM to use a usb thumb-dirve.  I
 seemed to have hit a wall trying to figure out how to configure it.
 
 Any tips?
 
 DaveM

libvirt.org is your friend.

There is a section on usb:

http://libvirt.org/formatdomain.html#elementsUSB

I remember getting a usb flash drive hotplug to work with an winxp guest
under F10/kvm, but do not remember the details offhand. Seems like it
was covered on the fedora-virt ML maybe 6-9 months ago.

Sorry my memory isn't better. ;-)

Steve

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


Re: [CentOS] mismatch_cnt after 5.3 - 5.4 upgrade

2009-10-25 Thread S.Tindall
On Sun, 2009-10-25 at 14:52 -0400, Ron Loftin wrote:
 On Sun, 2009-10-25 at 12:33 -0600, Devin Reade wrote:
  Saturday I did an upgrade from 5.3 (original install) to 5.4.  Saturday
  night, /etc/cron.weekly reported the following:
  
 /etc/cron.weekly/99-raid-check:
  
 WARNING: mismatch_cnt is not 0 on /dev/md0
  
 I had this happen on a box that I upgraded Friday.  I went ahead and
 tested each partition in the affected mirror with badblocks ( found no
 errors ) and after multiple resyncs, there was no change.  After similar
 experiences with Google, I did run across a note saying that this went
 away after a reboot.  I broke down and applied the Micro$lop solution
 ( reboot ) and the error has gone away.
 
 Like you, I'm interested in a better understanding of this issue, so if
 anyone else has more info, I'm all ears. ;
 

mismatch_cnt (/sys/block/md*/md/mismatch_cnt) is the number of
unsynchronized blocks in the raid.

The repair is to rebuild the raid:

# echo repair /sys/block/md#/md/sync_action

...which does not reset the count, but if you force a check after the
rebuild is complete:

# echo check /sys/block/md#/md/sync_action

...then the count should return to zero.

Or at least that worked for me on three systems today.

Steve



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


Re: [CentOS] Dag's comment at linuxtag

2009-06-30 Thread S.Tindall

On Wed, 2009-07-01 at 00:10 +0100, Ned Slider wrote:
 R P Herrold wrote:
  On Tue, 30 Jun 2009, Ned Slider wrote:
  
  Rather than dumping *even more work* on the core CentOS project (who are
  already clearly struggling to provide even the core distro 
  at present), ...
  
  It may be clear to Ned, but is not the case.
  
 
 Then we disagree. Others can look and judge for themselves :)

+1

  I wish people not in the know would not purport to 
  characterize CentOS internals, but speculation is a human 
  trait, I guess
  
 
 Bingo! That's the whole point Russ - members of the Community don't know 
 what's going on with *their* Community Enterprise OS because there is no 
 dissemination of information.

+1

 What I *do* know is that 5.3 took ~10 weeks to release, and before 
 that 4.7 took ~7 weeks. We are already 6 weeks into the 4.8 release 
 cycle with no news of how it's progressing or when a release is to be 
 expected. Prior to this, update sets typically took ~4 weeks to release.

+1

 Struggling? Maybe/maybe not. Struggling within a reasonable time frame - 
 depends on your definition of reasonable and time frame I guess. Perhaps 
 this is where we disagree above.
 
 Anyway, as I said previously, I would rather see the CentOS Project 
 concentrate on the core product and do a really good job on that (i.e, a 
 move closer to the old 4 week release lag than the current 10 week 
 release lag), and I would much rather see this than effort diluted by 
 taking on a contrib repo.

+1

Steve

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


Re: [CentOS] Secure mail login problem

2009-06-25 Thread S.Tindall

On Thu, 2009-06-25 at 23:00 +0100, Ned Slider wrote:
 Bob Hoffman wrote:
  Hi all,
  Finally got around to making sendmail and dovecot use a secure log in
  procedure on my server.
  Now when I open up outlook it goes through a secure log in.
  Unfortunately, I am using my own self signed cert on the server for this.
  
  Hence, I get, for every single account, everytime I open up outlook a
  warning about untrusted cert.
  
  I have looked around and found a spot in IE to 'import' a cert of some
  kind...and this would seem like the way to make it work.
  
  I am unsure exactly what I am supposed to copy or run on the server to then
  save to my home computer to then add to the 'import' part.
  
  For sendmail I made a sendmail.pem and dovecot already came installed with
  its cert.
  
  It is annoying to have the warnings everytime I open outlook up and if
  anyone has experience with this stuff I would not mind a quick helping hand.
  
  Thanks all.
  
  Bob
  
 
 What warnings are you getting?
 
 You'll probably need to generate your own cert for dovecot too. The 
 dovecot cert that ships with the package is for imap.example.com, so 
 you'll probably get a warning that the cert doesn't match the host, and 
 it also expired in Jan 2009 so you might get a warning for that too. If 
 you generate your own cert, be sure the cert matches your FQ hostname.
 
 The other common warning is for an untrusted or self-signed cert, which 
 can normally be overcome by importing the cert the first time.
 
 SSL/TLS for Dovecot is covered in the Wiki here:
 
 http://wiki.centos.org/HowTos/postfix_sasl#head-67159b2747e8ff10df5bf5da41d4f21a245afd7f
 
 I'll leave it for a sendmail user to advise you for that :)

Adding to NedSlider's comments, you can also create your own Certificate
Authority for signing your local certs and then clients can import your
CA cert as a trusted authority. After that, any local cert you create
and sign will be recognized as trusted by the client systems. It's
surprisingly easy to do.

The steps are nicely addressed in Apache Security (O'Reilly) by I.
Ristic: Chapter 4, Apache and SSL pp.86-93 and Setting up a
Certificate Authority pp. 93-99. They leave little to your imagination.

And as NedSlider pointed out, be sure the host name on the cert. matches
the actual host name. Outlook/OE are very unforgiving on that point.


Steve


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


Re: [CentOS] Which external WiFi device for laptop running CentOS5.3?

2009-06-19 Thread S.Tindall

On Fri, 2009-06-19 at 17:06 -0400, Robert Moskowitz wrote:
 Julian Thomas wrote:
 
  Why not look at a small access point that plugs into the RJ45 and uses USB 
  for power?  DLink DWL-G730AP or 
  other equivalent.
 
 If it really is an AP, it won't do the job, as an AP cannot be a client 
 to another AP. 802.11 DOES have the concept of a wireless backbone, 
 called WDS (wireless distribution system), but it is not yet defined 
 (Work In Progress: 802.11s, I am a contributor to the security 
 features). So each vendor has its own WDS implementation (MIT's OnePC 
 implements part of draft 1 of 802.11s).
 
 Of course there are devices out there that are referred to as wireless 
 bridges (Linksys WRT54g is one) that act as a client and bridges an 
 ethernet as a single client to the AP. Note that a wireless bridge is 
 NOT an AP. Of course there are probably devices out there that can be 
 configured either way
 
 Note, I work on the 802.11 standards and know them well, but I don't 
 know of all the flavors of implementations out in the wild.


At least when running the Tomato Firmware, the Linksys WRT54GL (L =
linux) and WRT54G versions 4 and earlier (also linux-based) run WDS as
hosts/clients very effectively. I run several GLs as access points
across my lan with 0-2 more as WDS clients as needed.

As a side note, Tomato Firmware allows you to adjust transmitter power
up to 6 times the normal level and that has let me go through some very
think brick walls to pick up remote network cameras.

I should point out that both the host (access point) and client need to
be WRT54G/L routers for the above scenarios to work. As RM said, WDS is
vendor dependent.


Steve


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


Re: [CentOS] Missing Dependency: /usr/share/magic.mime

2009-05-10 Thread S.Tindall
On Sun, 2009-05-10 at 07:28 -0400, Robert Moskowitz wrote:
 Akemi Yagi wrote:
  On Sun, May 10, 2009 at 3:41 AM, Robert Moskowitz r...@htt-consult.com 
  wrote:

  Can someone help me figure out what I have to do about to get update to
  work with this happening:  

  -- Processing Dependency: /usr/share/magic.mime for package: httpd
  Error: Missing Dependency: /usr/share/magic.mime is needed by package
 
  Run a 'yum clean all' and try again.  Please see:
 
  http://bugs.centos.org/view.php?id=3613
 
 Thanks.
 
 I did a search here first before asking, but either there were no posts 
 on this or I did not search for the right thing.

I was waiting for you to open a thread on the subject. ;-)

The file.rpm updating problem was seen here on two x86_64 systems, but
not on any i386 systems.

yum clean all resolved the problem today.

 Wanted to get that new kernel installed before heading out for the week...

Steve

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


Re: [CentOS-docs] New Wiki Page

2009-05-09 Thread S.Tindall
On Sat, 2009-05-09 at 18:32 +0100, Ned Slider wrote:
 Dag Wieers wrote:
  On Sat, 9 May 2009, R P Herrold wrote:
  
  I think you like to complain
  
 
 I for one find that type of attitude offensive and not an appropriate 
 way to talk to contributors on this list, not to mention damaging to the 
 wider project. If you don't understand why, then Dag does a rather good 
 job of explaining it below.
 
  How many people tell the waiter that they were not satisfied with a meal ?
  
  How many people just don't return to a restaurant when they were not 
  satisfied with a meal ?
  
  I prefer feedback, so we can improve.
  
  I don't like people not returning back with no feedback.
  
  And I certainly don't like a waiter who tells me I am wrong if I don't 
  like the food.

+1

Steve

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


Re: [CentOS] smartd and 3ware 9xxx configs

2009-02-10 Thread S.Tindall
On Tue, 2009-02-10 at 21:42 -0500, Jim Perrin wrote:
 I'm looking to do a bit more monitoring of my 3ware 9550 with smartd,
 and wanted to see what others were doing with smart for monitoring
 3ware hardware.
 
 Do you have the smartd.conf configured to test, or simply monitor health 
 status?
 Are you monitoring the drive as centos sees it (/dev/sdX) or are you
 using the 3ware /dev/twaX for monitoring?
 
 Opinions and discussions are welcome :-P

This is my smartd.conf for monitoring drives on a 9550SX:

/dev/twa0 -d 3ware,0 -H -m root
/dev/twa0 -d 3ware,1 -H -m root
/dev/twa0 -d 3ware,2 -H -m root
/dev/twa0 -d 3ware,3 -H -m root

Using smartctl is similar:

# smartctl -Hd 3ware,0 /dev/twa0 

It's straightforward to do testing with smartctl, but the above
-H/--health output gives you some warning that things aren't right
before the drive fails, especially the later lines of output (e.g.
Current_Pending_Sector, Offline_Uncorrectable). I run it as a weekly
cron job.


Steve


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


Re: [CentOS] smartd and 3ware 9xxx configs

2009-02-10 Thread S.Tindall
On Tue, 2009-02-10 at 21:52 -0800, Ray Van Dolson wrote:
 On Wed, Feb 11, 2009 at 12:46:24AM -0500, S.Tindall wrote:
  On Tue, 2009-02-10 at 21:42 -0500, Jim Perrin wrote:
   I'm looking to do a bit more monitoring of my 3ware 9550 with smartd,
   and wanted to see what others were doing with smart for monitoring
   3ware hardware.
   
   Do you have the smartd.conf configured to test, or simply monitor health 
   status?
   Are you monitoring the drive as centos sees it (/dev/sdX) or are you
   using the 3ware /dev/twaX for monitoring?
   
   Opinions and discussions are welcome :-P
  
  This is my smartd.conf for monitoring drives on a 9550SX:
  
  /dev/twa0 -d 3ware,0 -H -m root
  /dev/twa0 -d 3ware,1 -H -m root
  /dev/twa0 -d 3ware,2 -H -m root
  /dev/twa0 -d 3ware,3 -H -m root
  
  Using smartctl is similar:
  
  # smartctl -Hd 3ware,0 /dev/twa0 
  
  It's straightforward to do testing with smartctl, but the above
  -H/--health output gives you some warning that things aren't right
  before the drive fails, especially the later lines of output (e.g.
  Current_Pending_Sector, Offline_Uncorrectable). I run it as a weekly
  cron job.
  
 
 Do you ever run the long/short tests?  These are mentioned in the
 smartd.conf 3ware examples.
 
 I've never enabled them.
 
 Ray

No, I scheduled the selftest through the 3ware controller itself, but
it's been so long since I set it up, that I would have to get out the
manual to remember how to do it.

# /usr/local/sbin/tw_cli show selftest

Selftest Schedule for Controller /c2

Slot Day Hour UDMA SMART

1 Sun 12:00am enabled enabled
2 Mon 12:00am enabled enabled
3 Tue 12:00am enabled enabled
4 Wed 12:00am enabled enabled
5 Thu 12:00am enabled enabled
6 Fri 12:00am enabled enabled
7 Sat 12:00am enabled enabled


Steve


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


[CentOS-docs] Info related to the use of trademarks in documentation

2009-02-03 Thread S.Tindall
There was an interesting note in a recent fedoraproject.org newsletter
regarding Redhat's legal views on referring to others' trademarks. Since
the comments are lengthy, they are not reproduced here and are available
at the links below.

FWN/Issue161: http://fedoraproject.org/wiki/FWN/Issue161#Legal

Callaway note:
http://www.redhat.com/archives/fedora-devel-announce/2009-January/msg00012.html

Fedora Packaging Guidelines:
https://fedoraproject.org/wiki/Packaging:Guidelines#Trademarks_in_Summary_or_Description

Although they are really talking about non-Redhat trademarks, the points
are equally applicable to the Redhat trademarks and related issues as
might (or might not) be used in CentOS documentation.

Those comments make interesting food-for-thought with regard to the off
and on discussions on how to or how not to (or how if-at-all to) refer
to Redhat in CentOS documentation.


Steve

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


Re: [CentOS-docs] Info related to the use of trademarks in documentation

2009-02-03 Thread S.Tindall

On Tue, 2009-02-03 at 18:36 +, Alan Bartlett wrote:

 Steve,
 
 The first thing to get right is the name of the upstream company. It
 is (and here I am quoting from upstream themselves) Red Hat.
 
 Two three letter words, the first letter of each in upper case.
 
 Alan.

I knew someone would say something, but you see, there can be no
trademark infringement using Redhat. ;-)

Besides, it saves a few electrons from an internet death.


Steve


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


Re: [CentOS] BackupPC: two newbie questions

2008-12-21 Thread S.Tindall

On Sun, 2008-12-21 at 14:02 +, Timothy Murphy wrote:
 I'm running BackupPC under Centos-5.2.
 
 1. Will BackupPC backup files in NFS-mounted directories?
 If so, is there any simple way of preventing this?

Not sure I understand the question, but I assume you are talking about
backing up a remote system that has a nfs mount. Have not tried it, but
would guess that the answer is Yes It Could.

Using the rsync or rsyncd modes, you have the options to include and/or
exclude whatever you want. Very simple to do.

 2. I have seen it suggested that it is not a good idea
 to backup onto a partition on the same drive
 as the BackupPC server?
 Is that true?
 If so, is a partition on a separate drive on the same machine also bad?

Sidestepping your question a little, are you planning to Not use some
form of redundant storage? Given that you are making backups, single
drive or nonredundant storage would be a bad idea.

In general, it is true that using a storage system for data/files
physically separate from the os/utilities is typically faster, but that
does not sound like the gist of your question. What I do is to mount a
logical volume at the storage location (/var/lib/backuppc) so that it
can grow or be otherwise modified as needed.

If the problem you expect is congestion, then you can limit the number
of concurrent backups to less than the default of 4 (see MaxBackups and
MaxUserBackups). I find that even modest single core systems can handle
1 backup without a lot of trouble.

As a first approximation, start up a manual rsync of something big
(e.g., /usr, iso image, etc.) from the remote system and see how that
impacts the proposed BackupPC server. Once the BackupPC server is put
into service, it is easy to figure out what the number should be.

HTH

Steve

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


Re: [CentOS] BackupPC: two newbie questions

2008-12-21 Thread S.Tindall

On Sun, 2008-12-21 at 22:04 +, Timothy Murphy wrote:
 S.Tindall wrote:
  2. I have seen it suggested that it is not a good idea
  to backup onto a partition on the same drive
  as the BackupPC server?
  Is that true?
  If so, is a partition on a separate drive on the same machine also bad?
  
  ... What I do is to mount a
  logical volume at the storage location (/var/lib/backuppc) so that it
  can grow or be otherwise modified as needed.
 
 I've had bad experiences with LVM, so will avoid that if possible.

LVM is an acquired taste, but one worth developing.

 I'm running BackupPC on machine 1 (helen)
 and would like to back up onto machine 2 (alfred).
 As far as I can see, that means NFS-mounting alfred:/backup
 on helen:/var/lib/backup .

But doesn't that mean alfred's backups will be on alfred?  Hard drives
are cheap and BackupPC is very frugal with using disk space.

Hope it all works out.

Steve



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


Re: [CentOS-docs] Added BackupPC Guide

2008-12-18 Thread S.Tindall

On Thu, 2008-12-18 at 13:55 -0500, Max Hetrick wrote:
 S.Tindall wrote:
  5) A section addressing backing up Macs would be very helpful (to me).
  The official documentation is very lacking in that area.
 
 Do you have edit rights on the wiki? If so, feel free to add to or edit.

Nope. Maybe someday.

 Adding a section on Windows and Macs isn't very CentOS specific, so I 
 doubt I'll be adding that, but if others want it, and have the ability 
 to edit, feel free to add to my work.

My view of a HowTo's purpose is to make the described service useful to
a wide audience.  You don't interact with or administer window$ systems?

If we limited the HowTos to centos-specific issues, they would read like
a readme file.  Consider the centos wiki mail HowTos which contain
significant non-centos information that helps people get their mail
server up and running securely.

 As I stated in the guide, it's primary content is for installing 
 configuring BackupPC on CentOS, and backing up across rsync to other 
 Linux servers.

Yes, I back up content and configurations on my web and mail servers
along with my linux workstations using it. Adding window$ and Mac
clients strikes me as a natural and useful extension.

Steve

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


Re: [CentOS-docs] Added BackupPC Guide

2008-12-18 Thread S.Tindall

On Thu, 2008-12-18 at 15:18 -0500, Max Hetrick wrote:
 S.Tindall wrote:
 
 That being said, I'm personally done discussing this. You don't seem to 
 be very appreciative to others volunteering any kind of time to the Wiki.

Yes, I agree.  Our discussion is concluded.

Steve

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


Re: [CentOS] yum provides on centos 5.2

2008-08-27 Thread S.Tindall

On Wednesday, August 27, 2008 at 8:49 PM, Jerry Geis wrote:


I am trying things like yum provides alsamixer on centox 5.2 
i386 and x86_64

also yum provides vi
yum provides gvimdiff
yum provides dumpiso
yum provides uname

All of these return no matches found

is something broke???


Include the path:

# yum provides uname
No Matches found

# which uname
/bin/uname

# yum provides /bin/uname
coreutils.x86_64 : The GNU core utilities...


Steve 


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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread S.Tindall

On Monday, August 04, 2008 at 5:08 AM, Kai Schaetzl wrote:


...The older one is a 3800+ EE and the newer one is a 4850e
which I bought right after it became available. Unless rev. G
and up are only quad core CPUs at least the latter 45nm one
should be rev G or up, too. But I can't find a definitive list,
shouldn't there be one on the AMD site?



You can look up the processor revision/stepping here:

 http://products.amd.com/en-us/DesktopCPUFilter.aspx

You can search by model number, etc. on the left side or more 
specifically by the cpu OPN (e.g., ADO4600CUBOX) on the right 
side.


If you select steppings G1/G2 and then pull down the model list, 
you can see the range of processors in each stepping.  I don't 
think any of them are quad/triple cores.



Searching the 3800+ and knowing it is 65 watts (EE) shows 
either an F2 or F3.  Likewise, the 4850e is a G2.


Checking the cpuinfo on systems using a 4850e (G2) and a 4600+ EE 
(F2) both give cpu family: 15, so they have included the Gs in 
the excluded group, too.



Steve 


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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-03 Thread S.Tindall

On Sunday, August 03, 2008 at 8:31 AM, Kai Schaetzl wrote:


...I have an older low-voltage AMD CPU (probably about 2 years
on the market) that is recognized as X2 3800+ but frequency
scaling fails because it miscalculates the current speed to
800 MHz as well. Is there anything I can do about that? Where
could I check whether this CPU should be supported in full and
frequency scaling working?



The cpuspeed changelog may be relevant:

[quote]
* Thu Mar 06 2008 Jarod Wilson [EMAIL PROTECTED]

- Disable freq scaling by default on AMD rev F and earlier cpus
when running xen, due to clock instability (#435321)
[/quote]

I didn't look up your cpu, but I think it's a revision F.


Also, thanks for the /etc/sysconfig/cpuspeed ondemand tip.

It seemed counterintuitive to explicitly specify the so-called
default governor value (i.e., empty defaults to ondemand),
but doing so did the trick under xen for my
revision G AMD processor.


Steve

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


Re: [CentOS] Getting something into centosplus for 5.2?

2008-07-06 Thread S.Tindall

On Sunday, July 06, 2008 at 6:45 PM, Ian Forde wrote:


I've got a USB to serial adapter that I picked up from Radio 
Shack

earlier this year.  The updated pl2303 driver is already in the
mainstream kernel as per
https://bugzilla.redhat.com/show_bug.cgi?id=429652 but I'm not 
getting
much traction from Red Hat as far as them updating the kernel. 
So every

time there's an updated kernel, I have to rebuild the srpm.


Seems like it would be simpler to get an adapter that work with 
the current/native pl2303 driver.


For the purpose of serial consoles, these two adapters work for 
me under pl2303 without any problems using current/past CentOS5 
kernels:


Tripp-Lite U209-000-R:
 http://www.tripplite.com/products/product.cfm?productID=2430

Cables-To-Go 26886:
 http://www.cablestogo.com/product.asp?cat%5fid=101sku=26886

Think they cost about US$15 each at provantage.com.


# uname -rpmi
2.6.18-92.1.6.el5 x86_64 x86_64 x86_64

# lsmod|grep pl2303

# # Inserted serial-to-USB adapter

# lsusb|grep Tripp-Lite
Bus 002 Device 004: ID 2478:2008 Tripp-Lite U209-000-R Serial 
Port


# lsmod|grep pl2303
pl2303 53317  0
usbserial  67505  1 pl2303

Steve 


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


Re: [CentOS] enabling maildir @ cli

2008-06-13 Thread S.Tindall

On Friday, June 13, 2008 at 3:28 PM, Ray Leventhal wrote:



Hi all,

I'm following a how-to for ISPConfig using CentOS5.1 and have 
run into the following instruction:


-
Dovecot uses Maildir format (not mbox), so if you install 
ISPConfig on the server, please make sure you enable Maildir 
under Management - Server - Settings - Email. ISPConfig will 
then do the necessary configuration.



Since I'm ssh'd in to the box and X isn't installed, what's the 
CLI to accomplish this?



# vi /etc/dovecot.conf


See: http://wiki.centos.org/HowTos/postfix

Or: http://wiki.dovecot.org/MailLocation/Maildir


When all else fails, read the instructions.

Steve

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


Re: [CentOS] Re: I need hardware advice here

2008-06-04 Thread S.Tindall

On Wednesday, June 04, 2008 12:07 PM, Victor Padro wrote:


Actually I did that but there was no solution
like you said:
# chroot /mnt/sysimage
# grub-install /dev/sda
I even tried:
# grub-install /dev/sda2
# grub-install /dev/hda
but there was no possitive result and couldn't boot at all.
I tried installing FC9 but there was no sucess at all.

I guess I'll wait until CentOS 5.2 its released, because my 
subscription to
Red Hat will finish sometime in September, mean while I'll test Xen 
under

RHEL 5.2.


Since you installed using AHCI, but then changed to SATA (hence the 
kernel panic), you probably need to rebuild the initrd image (see 
mkinitrd) from rescue mode.


Steve 


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


Re: [CentOS] Re: I need hardware advice here

2008-06-04 Thread S.Tindall

On Wednesday, June 04, 2008 12:31 PM, Victor Padro wrote:

On Wed, Jun 4, 2008 at 11:21 AM, S.Tindall [EMAIL PROTECTED] 
wrote:



On Wednesday, June 04, 2008 12:07 PM, Victor Padro wrote:


Actually I did that but there was no solution
like you said:
# chroot /mnt/sysimage
# grub-install /dev/sda
I even tried:
# grub-install /dev/sda2
# grub-install /dev/hda
but there was no possitive result and couldn't boot at all.
I tried installing FC9 but there was no sucess at all.

I guess I'll wait until CentOS 5.2 its released, because my 
subscription

to
Red Hat will finish sometime in September, mean while I'll test 
Xen under

RHEL 5.2.



Since you installed using AHCI, but then changed to SATA (hence the 
kernel
panic), you probably need to rebuild the initrd image (see 
mkinitrd) from

rescue mode.

Steve



How can I rebuild the initrd image if it doesn't see the HD?
I tried that...I having the conclusion that perhaps it's the sata_nv 
and the
AHCI drivers provided in CentOS/RHEL 5, 5.1 that they're not well 
compiled

or something because I did install using RHEL 4.
that's kinda odd to me...


My misunderstanding.  I thought you were implying that you could 
successfully mount in rescue mode.


Steve 


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


Re: [CentOS] last resort before hard reboot

2008-04-21 Thread S.Tindall

On Monday, April 21, 2008 at 6:32 PM, Joshua Frankamp wrote:


Is there a resource for CentOS for things to do before a hard reboot?

My situation is apparently an out of memory condition where I am seeing
fatal 'oops' output all over the place, Ctrl-Alt-F3 (for example) new
console login attempts will accept credentials and then never get to a 
login

prompt. Remoting in is just as useless. I cannot therefore use any of the
standard restart commands, since I cannot enter commands.

By default in CentOs (and on my machine) Alt- SysRq is disabled.

Do I have any other options before hard resetting the box?

Thanks,

- Joshua


A quick press of the on/off switch initiates an orderly shutdown on most 
modern systems.


Probably more reliable, from a console (logged in or not), the universal 
window$ repair procedure ([Alt][Ctrl][Del]) initiates an orderly reboot 
(init 6).  If it appears to be ineffective, it can be repeated multiple 
times to trigger the reboot.  Again, the result is the same you would expect 
from typing init 6.


Given what you have described, you may need to wait a while for either 
approach to be effective.


Steve 


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


Re: [CentOS] create raid /dev/md2

2008-04-18 Thread S.Tindall

David Hlácik wrote on Friday, April 18, 2008 11:40 AM:
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 
2
new disks, fdisked , created 2 primary partitions with type fd (linux 
raid autodetect)

Now i want to create raid from them

[EMAIL PROTECTED] ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall


Forgot to ask, does /dev/md2 exists in /dev?

If not, you can still use makedev to generate it:

# cd /dev
# MAKEDEV md

Undocumented, but it still works.

Steve Tindall 


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


Re: [CentOS] create raid /dev/md2

2008-04-18 Thread S.Tindall

David Hlácik wrote on Friday, April 18, 2008 11:40 AM:
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 
2

new disks, fdisked , created 2 primary partitions with type fd (linux raid
autodetect)
Now i want to create raid from them

[EMAIL PROTECTED] ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory

will return that error, what shouldi do?


Not familiar with that error, but try specifying the number of devices:

# mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1

Steve Tindall 


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


Re: [CentOS] Building a 64bit rpm

2008-04-08 Thread S.Tindall
On Tue, Apr 08, 2008 at 1:48 PM,  Akemi Yagi wrote:
 On Tue, Apr 8, 2008 at 10:34 AM, Frank Cox wrote:
 On Tue, 08 Apr 2008 19:29:01 +0200, Rudi Ahlers wrote:

  Use yum to install rpmdevtools.  Then rpmdev-setuptree will do all of the 
 work
  that's required to build rpms as a user.
 
 I suppose rpmdevtools is only available from EPEL.  But the following
 procedures will do the job:
 
 cd
 mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
 echo %_topdir %(echo $HOME)/rpmbuild  .rpmmacros
 
 Then as root, yum install rpm-build
 
 Akemi

Adding to Rudi Ahlers's  Akemi's suggestions, also define the distro while you 
are at it (.el4, .el5, etc.):

$ rpmdev-setuptree

$ echo %dist .el5  ~/.rpmmacros 

$ cat ~/.rpmmacros

%_topdir  %(echo $HOME)/rpmbuild
%_smp_mflags  -j3
%__arch_install_post   /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot
%dist .el5


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


Re: [CentOS] CA files (SSL): where?

2008-04-03 Thread S.Tindall
 
 I was talking about something like ca-certificates.deb package in
 Ubuntu, for example, you have a directory
 /usr/share/ca-certificates/mozilla/ which has many CA certificates.
 But it seems that not all distros have it, I googled in internet but
 nothing I found but Ubuntu package.
 
 Thanks.
 -- 
 --
 Open Kairos http://www.openkairos.com
 Watch More TV http://sebelk.blogspot.com
 Sergio Belkin -

Do you mean (as Barry Brimer pointed out)...

# cat /etc/pki/tls/certs/ca-bundle.crt

# This is a bundle of X.509 certificates of public Certificate
# Authorities.  It was generated from the Mozilla root CA list.
#
# Source: mozilla/security/nss/lib/ckfw/builtins/certdata.txt
#
# Generated from certdata.txt RCS revision 1.39
#
...
?

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


Re: [CentOS] How to create LVM after Centos installation

2008-04-02 Thread S.Tindall
 I wanted to create a Raid0 partition using LVM based on 2 LUNs
 available;  I was unable to find an LVM GUI selection in the
 System-Adminsitration selection in the gui  system-config-lvm is
 not available.
 
 What am I missing during the installation?
 
 Vince

You need to set up a scattered logical volume manually from CLI before doing an 
installation.

Boot using a live cd or the rescue cd to do the manual setup.

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


Re: [CentOS] How to create LVM after Centos installation

2008-04-02 Thread S.Tindall
 I wanted to create a Raid0 partition using LVM based on 2 LUNs
 available;  I was unable to find an LVM GUI selection in the
 System-Adminsitration selection in the gui  system-config-lvm is
 not available.
 
 What am I missing during the installation?
 
 Vince

You need to set up a scattered logical volume manually from CLI before doing 
an installation.

Boot using a live cd or the rescue cd to do the manual setup.

Sorry, didn't read the title.  You want post installation.

You do the scattered logical volume from CLI.

Look at the lvcreate manpage options -i and -I.

Steve Tindall

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