Re: [CentOS] ext4 or XFS

2011-01-12 Thread Rajagopal Swaminathan
On 1/12/11, compdoc  wrote:
> I didn't bring up experimental software - I thought that's what he was
> using. I misread.
>
> And it worked quite well, except for write speeds. There are some cool
> features with zfs.
>


http://www.redhat.com/rhel/compare/

As it stands,
16/25/100 TB ext/gfs2(HA)/xfs respective max sizes

I guess of course, dunno about OCFS/GPFS or afs or gluster and the such..

Season's greetings to all,

Regards,

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


[CentOS] Kernel Errors Present

2011-01-12 Thread Keith Roberts
I'm getting this message in my logwatch email notification:

- Kernel Begin 


  WARNING:  Kernel Errors Present
  sdb:<3>Buffer I/O error on device sdb, l ...:  2 
Time(s)
 Buffer I/O error on device sdb, l ...:  12 Time(s)
 hde: dma_intr: error=0x84 { DriveStat ...:  12 Time(s)
 hde: dma_intr: status=0x51 { DriveReady SeekComplete 
Error } ...:
12 Time(s)

  -- Kernel End -

It's an old drive I'm using for swap space, /var, and /tmp.
(It's on a PCI IDE controller, that's why it comes up as 
hde.)

If I test it for bad sectors using Vivard, there are no bad 
sectors found or remapped.

I'm just trying to move a lot of regular disk I/O from my 
main drive with the root installtion on it, to a replaceable 
spare.

I cannot find which log file these messages are going to.

Nothing in /var/log/dmesg or messages.

Where does logwatch get these messages from?

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Errors Present

2011-01-12 Thread Kwan Lowe
On Wed, Jan 12, 2011 at 4:45 AM, Keith Roberts  wrote:

>
> It's an old drive I'm using for swap space, /var, and /tmp.
> (It's on a PCI IDE controller, that's why it comes up as
> hde.)
>
> If I test it for bad sectors using Vivard, there are no bad
> sectors found or remapped.
>
> I'm just trying to move a lot of regular disk I/O from my
> main drive with the root installtion on it, to a replaceable
> spare.
>
> I cannot find which log file these messages are going to.
>
> Nothing in /var/log/dmesg or messages.
>
> Where does logwatch get these messages from?
>

Take a look at your /etc/syslog.conf and /etc/sysconfig/syslog and see
where the kernel messages are being logged.

There's a klogd service that logs these particular messages.. it's
started from the same runscript as syslog (/etc/rc.d/init.d/syslog).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] replace x86 with x64 system and reuse existing LVM

2011-01-12 Thread Kai Schaetzl
Thanks for the vgexport/vgimport info. I remember I used vgchange in the 
past, but I would not have thought about it, anyway. Good safety measure. 
Thanks!

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Kernel Errors Present

2011-01-12 Thread compdoc
Bad sectors get reallocated automatically, so you might not find any with
testing. You need to see how many have been reallocated.

SMART should already be enabled, so maximize your term window and type:

smartctl -a /dev/sdb

That will show the reallocated sector count, as well as power on hours, and
temps, etc. Do that for each drive.

If its attached to a raid controller, you have to take additional steps as
found on google.

If there are any reallocated sectors, you might want to think about
replacing it. I have a customer with a failing drive in a server that causes
it to freeze from time to time as it develops new bad sectors. I'm replacing
it this weekend...



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


Re: [CentOS] ext4 or XFS

2011-01-12 Thread Gene Brandt
Hey I've been watching the thread on and off. How large in the file
system you are trying to share? What will it / they be used?


--
Thanks,

Gene Brandt SCSA 
8625 Carriage Road
River Ridge, LA 70123

home 504-737-4295

cell 504-452-3250

Family Web Page  |  My Web Page  | LinkedIn  | Facebook  |  Resumebucket


On Tue, 2011-01-11 at 14:19 -0500, Joshua Baker-LePain wrote:

> On Tue, 11 Jan 2011 at 11:12am, aurfal...@gmail.com wrote
> 
> > My RAID has a strip size of of 32KB and a block size of 512bytes.
> >
> > I've usually just done blind XFS formats but would like to tune it for
> > smaller files.  Of course big/small is relative but in my env, small
> > means sub 300MB or so.
> >
> > What would your XFS tuning params be for such an env?
> 
> It's been a long while since I've done tuned XFS formats.  But you also 
> need to consider how many disks are in the array and what RAID level 
> you're using.
> 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] httpd LDAP auth module

2011-01-12 Thread Joseph L. Casale
>>I am looking at LDAP module for Apache httpd for authentication. The
>>'yum install' gives me 'mod_authz_ldap.i386 0:0.26-9.el5_5.1', whereas
>>on Apache documentation site I find mod_authNz_ldap module. Both

^  ^^^

>>modules appear to be different looking at available directives. Any
>>clues or suggestions on which module should be used? Where can I find
>>documentation for mod_authz_ldap?
>
>Look inside your httpd.conf file, it will answer that one for you. RHEL's httpd
>supports ldap auth as shipped.
>
>
>What I did in my httpd.conf file;

/snip

Your question was about modules, in your httpd.conf you find a list of _modules_
it loads... That should remove the ambiguity around which documentation to 
follow.

See the line:
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so


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


Re: [CentOS] Bonding performance question

2011-01-12 Thread Paul Heinlein
On Tue, 11 Jan 2011, James Pearson wrote:

> You could use xmit_hash_policy=layer2+3 - which just uses MAC and IP 
> addresses (which you do have more control over) - and see if you can 
> pick a mix of IP/MAC addresses that would result in all four 
> interfaces being used (theoretically) - and see if it matches 
> reality?

I semi-apologize for this question, but I don't have a suitably 
equipped machine-switch combination free for testing, so I can't do 
empirical testing.

I don't see the layer2+3 option listed in the CentOS 5.5 bonding 
module:

# modinfo bonding | egrep 'version|xmit'
version:3.4.0
srcversion: 0B48FBAC9285804638A6BE7
parm:   xmit_hash_policy:XOR hashing method: 0 for layer 2
 (default), 1 for layer 3+4 (charp)

Is the layer2+3 option simply undocumented via modinfo or is it not 
present in the CentOS bonding module?

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bonding performance question

2011-01-12 Thread lhecking

> Is the layer2+3 option simply undocumented via modinfo or is it not 
> present in the CentOS bonding module?
 
 It's docuemnted in the kernel docs rpm,
 /usr/share/doc/kernel-doc-2.6.18/Documentation/networking/bonding.txt.



---
This message and any attachments may contain Cypress (or its
subsidiaries) confidential information. If it has been received
in error, please advise the sender and immediately delete this
message.
---

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


Re: [CentOS] ext4 or XFS

2011-01-12 Thread Mathieu Baudier
> Hey I've been watching the thread on and off. How large in the file system 
> you are trying to share? What will it / they be used?

http://lists.centos.org/pipermail/centos/2011-January/thread.html
http://lists.centos.org/pipermail/centos/2011-January/104184.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4 or XFS

2011-01-12 Thread aurfalien
On Jan 12, 2011, at 8:19 AM, Gene Brandt wrote:

> Hey I've been watching the thread on and off. How large in the file  
> system you are trying to share? What will it / they be used?

Home dirs which are low/medium bandwidth and other low bandwidth data.

Basically 3 individual NFS exports.

Currently served off an Xserve(s)/Xraid(s) so this new server will be  
a boost in both reliability, performance and simplicity in terms of  
management.

And the parity calcs for Raid 6 are taking quite some time, almost  
twice as long as Raid 5, but then again its more robust.

I'm not overly concerned with performance as it will be leaps above  
what we have now.

What I require is reliable bulk storage.

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


Re: [CentOS] RAID configuration suggestion???

2011-01-12 Thread Ryan Wagoner
On Mon, Jan 10, 2011 at 8:41 PM, mcclnx mcc  wrote:

> I would like listen to your opinion on follwoing:
>
> 1. which configuration have better performance?
>
> 2. put two MD1000 on same PERC 6/E adapter will cause battery life shorter?
>
> 3. other comment?
>
> Thanks.

1. Configuration 2 will have better performance under high load. The
PERC 6 is 3Gb/s per port. Each external connector has 4 x ports so you
get 12Gb/s across all ports.

2. Battery life is just used to keep the PERC cache memory contents
during a power failure.

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


[CentOS] variable raid1 rebuild speed?

2011-01-12 Thread Les Mikesell
I have a 750Gb 3-member software raid1 where 2 partitions are always 
present and the third is regularly rotated and re-synced (SATA disks in 
hot-swap bays).  The timing of the resync seems to be extremely variable 
recently, taking anywhere from 3 to 10 hours even if the partition is 
unmounted and the drives aren't doing anything else and regardless of 
what I echo into /proc/sys/dev/raid/speed_limit_min or _max.  Is there 
some way to tell if the drives are going bad or speed it up consistently 
if they aren't?
-- 
   Les Mikesell
lesmikes...@gmail.com


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


Re: [CentOS] variable raid1 rebuild speed?

2011-01-12 Thread m . roth
Les Mikesell wrote:
> I have a 750Gb 3-member software raid1 where 2 partitions are always
present and the
> third is regularly rotated and re-synced (SATA disks in hot-swap bays). 
The timing of
> the resync seems to be extremely variable recently, taking anywhere from
3 to 10 hours
> even if the partition is unmounted and the drives aren't doing anything
else and
> regardless of what I echo into /proc/sys/dev/raid/speed_limit_min or
_max.  Is there
> some way to tell if the drives are going bad or speed it up consistently
if they aren't?

Only thing I can think is if there's a lot of activity on the disks, with
many, many gigs of files added or deleted.

  mark



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


Re: [CentOS] variable raid1 rebuild speed?

2011-01-12 Thread Les Mikesell
On 1/12/2011 1:17 PM, m.r...@5-cent.us wrote:
> Les Mikesell wrote:
>> I have a 750Gb 3-member software raid1 where 2 partitions are always
> present and the
>> third is regularly rotated and re-synced (SATA disks in hot-swap bays).
> The timing of
>> the resync seems to be extremely variable recently, taking anywhere from
> 3 to 10 hours
>> even if the partition is unmounted and the drives aren't doing anything
> else and
>> regardless of what I echo into /proc/sys/dev/raid/speed_limit_min or
> _max.  Is there
>> some way to tell if the drives are going bad or speed it up consistently
> if they aren't?
>
> Only thing I can think is if there's a lot of activity on the disks, with
> many, many gigs of files added or deleted.

No, I'd expect the issue with any activity that would keep pulling the 
heads away from the current track being sync'd - but when it is slow it 
doesn't speed up even if I unmount the device.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] variable raid1 rebuild speed?

2011-01-12 Thread JohnS

On Wed, 2011-01-12 at 12:38 -0600, Les Mikesell wrote:
> I have a 750Gb 3-member software raid1 where 2 partitions are always 
> present and the third is regularly rotated and re-synced (SATA disks in 
> hot-swap bays).  The timing of the resync seems to be extremely variable 
> recently, taking anywhere from 3 to 10 hours even if the partition is 
> unmounted and the drives aren't doing anything else and regardless of 
> what I echo into /proc/sys/dev/raid/speed_limit_min or _max.  Is there 
> some way to tell if the drives are going bad or speed it up consistently 
> if they aren't?

echo 10 > /proc/sys/dev/raid/speed_limit_min

echo 10 > /proc/sys/dev/raid/speed_limit_max

Should equate to around 100MiBs and I suppose bad sectors or punctured
block will bring it to a crawl also.  Check the disk out with smart.  On
way to tell is keep a "hdparm" baseline.

John

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


[CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread mcclnx mcc
We have several LINUX servers with Backup Exec 12.5 client on it.  Based on 
Backup administrator told us when configure backup EXEC client he need "root" 
password.  Also we can NOT change "root" password after configure otherwise 
backup will failed.

Does there has way I can create a account with special group assign to it for 
Backup EXEC to use?

Thanks.




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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Sven Aluoor
On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc  wrote:
> We have several LINUX servers with Backup Exec 12.5 client on it.  Based on 
> Backup administrator told us when configure backup EXEC client he need "root" 
> password.  Also we can NOT change "root" password after configure otherwise 
> backup will failed.
>
> Does there has way I can create a account with special group assign to it for 
> Backup EXEC to use?
>
> Thanks.

Hi

Try to create an account with UID 0 and try if Backup Exec accept
this. Report back if it works. You may also ask this question at the
Symantec forums
http://www.symantec.com/connect/backup-and-archiving/forums/backup-exec.
This software is really crap!

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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Gene Brandt
Hey you should not have 2 accounts with the same UID.  My sincere
condolences for having to use this package!
--
Thanks,

Gene Brandt SCSA 
8625 Carriage Road
River Ridge, LA 70123

home 504-737-4295

cell 504-452-3250

Family Web Page  |  My Web Page  | LinkedIn  | Facebook  |  Resumebucket


On Wed, 2011-01-12 at 21:57 +0100, Sven Aluoor wrote:

> On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc  wrote:
> > We have several LINUX servers with Backup Exec 12.5 client on it.  Based on 
> > Backup administrator told us when configure backup EXEC client he need 
> > "root" password.  Also we can NOT change "root" password after configure 
> > otherwise backup will failed.
> >
> > Does there has way I can create a account with special group assign to it 
> > for Backup EXEC to use?
> >
> > Thanks.
> 
> Hi
> 
> Try to create an account with UID 0 and try if Backup Exec accept
> this. Report back if it works. You may also ask this question at the
> Symantec forums
> http://www.symantec.com/connect/backup-and-archiving/forums/backup-exec.
> This software is really crap!
> 
> cheers Sven
> ___
> 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] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Lisandro Grullon
Hi Sven,
I like your line "This software is really crap!" I am a victim of this "crap" 
myself. What do you personally use to backup your boxes, it would be great to 
know since I am looking for an alternative.

>>> Sven Aluoor  1/12/2011 3:57 PM >>>
On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc  wrote:
> We have several LINUX servers with Backup Exec 12.5 client on it.  Based on 
> Backup administrator told us when configure backup EXEC client he need "root" 
> password.  Also we can NOT change "root" password after configure otherwise 
> backup will failed.
>
> Does there has way I can create a account with special group assign to it for 
> Backup EXEC to use?
>
> Thanks.

Hi

Try to create an account with UID 0 and try if Backup Exec accept
this. Report back if it works. You may also ask this question at the
Symantec forums
http://www.symantec.com/connect/backup-and-archiving/forums/backup-exec.
This software is really crap!

cheers Sven
___
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] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Gene Brandt
EMC's Networker (Originally Legato) It can be as simple or as
complicated as you want it to be.
--
Thanks,

Gene Brandt SCSA 
8625 Carriage Road
River Ridge, LA 70123

home 504-737-4295

cell 504-452-3250

Family Web Page  |  My Web Page  | LinkedIn  | Facebook  |  Resumebucket


On Wed, 2011-01-12 at 16:18 -0500, Lisandro Grullon wrote:
> Hi Sven,
> I like your line "This software is really crap!" I am a victim of this
> "crap" myself. What do you personally use to backup your boxes, it
> would be great to know since I am looking for an alternative.
> 
> >>> Sven Aluoor  1/12/2011 3:57 PM >>>
> On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc 
> wrote:
> > We have several LINUX servers with Backup Exec 12.5 client on it.
> Based on Backup administrator told us when configure backup EXEC
> client he need "root" password.  Also we can NOT change "root"
> password after configure otherwise backup will failed.
> >
> > Does there has way I can create a account with special group assign
> to it for Backup EXEC to use?
> >
> > Thanks.
> 
> Hi
> 
> Try to create an account with UID 0 and try if Backup Exec accept
> this. Report back if it works. You may also ask this question at the
> Symantec forums
> http://www.symantec.com/connect/backup-and-archiving/forums/backup-exec.
> This software is really crap!
> 
> cheers Sven
> ___
> 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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Nico Kadel-Garcia
On Wed, Jan 12, 2011 at 3:57 PM, Sven Aluoor  wrote:
> On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc  wrote:
>> We have several LINUX servers with Backup Exec 12.5 client on it.  Based on 
>> Backup administrator told us when configure backup EXEC client he need 
>> "root" password.  Also we can NOT change "root" password after configure 
>> otherwise backup will failed.
>>
>> Does there has way I can create a account with special group assign to it 
>> for Backup EXEC to use?
>>
>> Thanks.
>
> Hi
>
> Try to create an account with UID 0 and try if Backup Exec accept
> this. Report back if it works. You may also ask this question at the
> Symantec forums
> http://www.symantec.com/connect/backup-and-archiving/forums/backup-exec.
> This software is really crap!

*NO*. Creating duplicate uid 0 accounts leads to enormous confusion,
because the identified owner of files can then be reported, fairly
randomly, as the "alternate-root" rather than as "root".  If  he's
pulling this sort of stunt as standard practice, then it's a hint that
he doesn't know much about system security or avoiding interference
with other software.

> cheers Sven

Your Backup Exec configuration advisor needs an education in the use
of "sudo" or restricted SSH keys to provide restricted access to the
necessary commands for Backup Exec. And he most *certainly* does not
need a "root password". Sudo or SSH key based access should be plenty,
so that you can revoke it relatively safely as needed.

Sadly, I'm right now looking at Symantec's notes on configuring this
tool for UNIX or Linux at
http://www.symantec.com/business/support/index?page=content&id=TECH5428.
Any software that says "put your backup servers in /etc/hosts!" and
doesn't explain the dangers of this was not written by people with a
clue about DNS and should probably be avoided.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] httpd LDAP auth module

2011-01-12 Thread Nico Kadel-Garcia
On Wed, Jan 12, 2011 at 11:28 AM, Joseph L. Casale
 wrote:
>>>I am looking at LDAP module for Apache httpd for authentication. The
>>>'yum install' gives me 'mod_authz_ldap.i386 0:0.26-9.el5_5.1', whereas
>>>on Apache documentation site I find mod_authNz_ldap module. Both
>                                                                    
> ^  ^^^
>
>>>modules appear to be different looking at available directives. Any
>>>clues or suggestions on which module should be used? Where can I find
>>>documentation for mod_authz_ldap?
>>
>>Look inside your httpd.conf file, it will answer that one for you. RHEL's 
>>httpd
>>supports ldap auth as shipped.
>>
>>
>>What I did in my httpd.conf file;
>
> /snip
>
> Your question was about modules, in your httpd.conf you find a list of 
> _modules_
> it loads... That should remove the ambiguity around which documentation to 
> follow.
>
> See the line:
> LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

Except that these are often in /etc/httpd/conf.d/[service].conf. This
is certainly the case for mod_dav_svn and mod_perl and numerous other
setups.

Don't edit /etc/httpd/conf/httpd.conf directly if you can safely avoid
it: work in the module-specific configurations files, which makes the
configurations a lot more, well, modular.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Nico Kadel-Garcia
On Wed, Jan 12, 2011 at 4:18 PM, Lisandro Grullon
 wrote:
> Hi Sven,
> I like your line "This software is really crap!" I am a victim of this
> "crap" myself. What do you personally use to backup your boxes, it would be
> great to know since I am looking for an alternative.

The last time I was given a choice, I used rsnapshot to back up to
cheap, live disks with snapshots for NFS based file recovery, and
Amanda to back up last snapshots to tape.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread m . roth
Nico Kadel-Garcia wrote:
> On Wed, Jan 12, 2011 at 3:57 PM, Sven Aluoor  wrote:
>> On Wed, Jan 12, 2011 at 9:27 PM, mcclnx mcc  wrote:
>>> We have several LINUX servers with Backup Exec 12.5 client on it.
>>>  Based on Backup administrator told us when configure backup EXEC
>>> client he need "root" password.  Also we can NOT change "root" password
>>> after configure otherwise backup will failed.
>>>
>>> Does there has way I can create a account with special group assign to
>>> it for Backup EXEC to use?

> Your Backup Exec configuration advisor needs an education in the use
> of "sudo" or restricted SSH keys to provide restricted access to the
> necessary commands for Backup Exec. And he most *certainly* does not
> need a "root password". Sudo or SSH key based access should be plenty,
> so that you can revoke it relatively safely as needed.

Yeah, that's probably your best bet. You can add entries to sudo - maybe
create an admin, or backup, account, who can can use sudo *only* to run
the backup command.

mark

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


Re: [CentOS] Kernel Errors Present

2011-01-12 Thread Keith Roberts
On Wed, 12 Jan 2011, compdoc wrote:

> To: 'CentOS mailing list' 
> From: compdoc 
> Subject: Re: [CentOS] Kernel Errors Present
> 
> Bad sectors get reallocated automatically, so you might 
> not find any with testing. You need to see how many have 
> been reallocated.

Vivard disk diagnostic tool lists any sector read 
erros, and a count of remapped sectors, if there are any 
remapped.

> SMART should already be enabled, so maximize your term 
> window and type:
>
> smartctl -a /dev/sdb
>
> That will show the reallocated sector count, as well as 
> power on hours, and temps, etc. Do that for each drive.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE 
UPDATED  WHEN_FAILED RAW_VALUE

   1 Raw_Read_Error_Rate 0x000b   200   200   051 
Pre-fail  Always   -   0

   3 Spin_Up_Time0x0007   093   090   021 
Pre-fail  Always   -   2741

   4 Start_Stop_Count0x0032   099   099   040 
Old_age   Always   -   1611

   5 Reallocated_Sector_Ct   0x0033   200   200   140 
Pre-fail  Always   -   0

   7 Seek_Error_Rate 0x000b   200   200   051 
Pre-fail  Always   -   0

No re-allocated sectors found.

> If its attached to a raid controller, you have to take 
> additional steps as found on google.

No it's a standard IDE controller.

Looking in /proc/ide/ide2/hde/settings I find this:

namevalue   min max 
mode
-   --- --- 


pio_modewrite-only  0   255 
w

using_dma   1   0   1 
rw

wcache  1   0   1 
rw


I have tried to turn DMA off for this drive, using the 
libata.dma=0 kernel boot parameter.

But it's still coming up as using_dma 1.

If I can turn DMA off for this drive, that might get rid of 
the DMA error messages.

  hde: dma_intr: error=0x84 { DriveStat ...:  12 Time(s)
  hde: dma_intr: status=0x51 { DriveReady SeekComplete

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread m . roth
Keith Roberts wrote:
> On Wed, 12 Jan 2011, compdoc wrote:
>
>> To: 'CentOS mailing list' 
>> From: compdoc 
>> Subject: Re: [CentOS] Kernel Errors Present
>>
>> Bad sectors get reallocated automatically, so you might
>> not find any with testing. You need to see how many have
>> been reallocated.

Maybe, but I'd fsck -C -c /dev/
   ^^ - check for bad blocks, put them in the table

   mark



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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Les Mikesell
On 1/12/2011 3:27 PM, Nico Kadel-Garcia wrote:
> On Wed, Jan 12, 2011 at 4:18 PM, Lisandro Grullon
>   wrote:
>> Hi Sven,
>> I like your line "This software is really crap!" I am a victim of this
>> "crap" myself. What do you personally use to backup your boxes, it would be
>> great to know since I am looking for an alternative.
>
> The last time I was given a choice, I used rsnapshot to back up to
> cheap, live disks with snapshots for NFS based file recovery, and
> Amanda to back up last snapshots to tape.


Backuppc is good for online backups - it uses compression and pooling to 
hold much more history than you'd expect for the space.  It can also 
copy these off to tape or archive media as tar images  but that's sort 
of an afterthought.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread Keith Roberts
On Wed, 12 Jan 2011, m.r...@5-cent.us wrote:

> To: CentOS mailing list 
> From: m.r...@5-cent.us
> Subject: Re: [CentOS] Kernel Errors Present...
> 
> Keith Roberts wrote:
>> On Wed, 12 Jan 2011, compdoc wrote:
>>
>>> To: 'CentOS mailing list' 
>>> From: compdoc 
>>> Subject: Re: [CentOS] Kernel Errors Present
>>>
>>> Bad sectors get reallocated automatically, so you might
>>> not find any with testing. You need to see how many have
>>> been reallocated.
> 
> Maybe, but I'd fsck -C -c /dev/
>   ^^ - check for bad blocks, put them in the table

I could do that soon

But I don't want to use DMA on this drive (/dev/hde) anyway.

In the BIOS I turn DMA off for /dev/hda and /dev/hdc,
but they still show up in /proc/ide/.../settings as 
using_dma 1.

So is the kernel ignoring the BIOS DMA settings?

32-bit transfer mode is on in the BIOS though.

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread John R Pierce

> In the BIOS I turn DMA off for /dev/hda and /dev/hdc,
> but they still show up in /proc/ide/.../settings as
> using_dma 1.


say HUH?IDE PIO modes are like 3-7 MBytes/sec and require 100% CPU 
utilization during the transfer phase.   why in dogs name would you be 
doing this in 2011 ?




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


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread compdoc
What model is the drive?



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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread compdoc
I have liked EMC Retrospect since way back when I was a Mac user. (been a
lot of years) I and one customer are using the Windows version, and it's
great. However, I don't think there's a linux version of the program, and it
now seems to be a Roxio Product.

I worry about pricing on EMC Networker - it seems you to have to contact EMC
or one of their vendors. Provantage has some modules for it, but I have no
idea what I would need to get to back up windows and nix guests.




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


Re: [CentOS] create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???

2011-01-12 Thread Lisandro Grullon
Thank you for that Nico.

>>> Nico Kadel-Garcia  01/12/11 4:27 PM >>>
On Wed, Jan 12, 2011 at 4:18 PM, Lisandro Grullon
 wrote:
> Hi Sven,
> I like your line "This software is really crap!" I am a victim of this
> "crap" myself. What do you personally use to backup your boxes, it would be
> great to know since I am looking for an alternative.

The last time I was given a choice, I used rsnapshot to back up to
cheap, live disks with snapshots for NFS based file recovery, and
Amanda to back up last snapshots to tape.
___
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] Kernel Errors Present...

2011-01-12 Thread Keith Roberts
On Wed, 12 Jan 2011, compdoc wrote:

> What model is the drive?

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar family
Device Model: WDC WD400BB-00GFA0
Serial Number:WD-WMAKA1241735
Firmware Version: 09.01B09
User Capacity:40,020,664,320 bytes
Device is:In smartctl database [for details use: -P 
show]
ATA Version is:   5
ATA Standard is:  Exact ATA specification draft version not 
indicated
Local Time is:Wed Jan 12 22:44:01 2011 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread Keith Roberts
On Wed, 12 Jan 2011, John R Pierce wrote:

> To: centos@centos.org
> From: John R Pierce 
> Subject: Re: [CentOS] Kernel Errors Present...
> 
>
>> In the BIOS I turn DMA off for /dev/hda and /dev/hdc,
>> but they still show up in /proc/ide/.../settings as
>> using_dma 1.
>
>
> say HUH?IDE PIO modes are like 3-7 MBytes/sec and require 100% CPU
> utilization during the transfer phase.   why in dogs name would you be
> doing this in 2011 ?

I'm only using 40 wire IDE cables, and from past experience 
I don't trust DMA 100%

I'd rather transfer data slower with hopefully more 
stability.

I will build a new machine at some time, using SATA and 
possibly PCI express.

But this will have to do for now :)

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread John R Pierce
On 01/12/11 2:47 PM, Keith Roberts wrote:
> I'm only using 40 wire IDE cables, and from past experience
> I don't trust DMA 100%

40 wire supports DMA modes up to Ultra/DMA 33 (as in 33Mbyte/sec).   
UDMA 66+ require the 80 wire shielded cables (and both drives on the 
same cable have to support it).

The only time I've had any problems with DMA, something has been very 
badly broken with the hardware.


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


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread compdoc
Gosh that's an old drive. Seems its capable of some speed, tho:

Data transfer rate (buffer to host)
Mode 5 Ultra ATA4 100 MB/s
Mode 4 Ultra ATA4 66.6 MB/s
Mode 2 Ultra ATA4 33.3 MB/s
Mode 2 DMA4 16.6 MB/s
Mode 4 PIO4 16.6 MB/s

John Pierce is right - if you don't use a dma mode, the cpu has a lot more
work.

SMART says your drive is good, but it still could be failing. Or the cabling
is wrong - very common if there's both a master and slave present, but even
possible if only one drive is attached.

The ide port on the mainboard could be failing as well. Also, but not as
likely - how the drive is defined in the bios, or how other things are set
in there. (if you have always used the defaults, then nothing to worry
about)



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


Re: [CentOS] Kernel Errors Present...

2011-01-12 Thread compdoc
Use the modern, 80 wire cables, and trust the technology - it's come a long
way.



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


[CentOS] thumbnail cache

2011-01-12 Thread Frank Cox
This webpage tells me that you can set the thumbnail cache size using
gconf-editor:

http://ubuntuforums.org/showthread.php?t=1481182

However, the gconf-editor that I have on Centos 5.5 doesn't have that setting.

Is it not possible to set this value with Centos 5.5? 

-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] httpd LDAP auth module

2011-01-12 Thread Joseph L. Casale
>>>Look inside your httpd.conf file, it will answer that one for you. RHEL's 
>>>httpd
>>>supports ldap auth as shipped.

/snip

>> See the line:
>> LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
>
>Except that these are often in /etc/httpd/conf.d/[service].conf. This
>is certainly the case for mod_dav_svn and mod_perl and numerous other
>setups.

As I said, it's in the file I directed him to because that is where the srpm 
was configured
to put it. Anything you refer to you would be a module added after the fact.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] parsing an e-mail with perl

2011-01-12 Thread Gregory P. Ennis
Dear List,

I need to be able to pull off attachments from e-mails on the fly and
then demime them and print them.  I have been studying MIME::Tools but
was hoping someone could point me to a script example of something I
could use.  

Any help would be appreciated - Thanks!
-- 
Greg Ennis


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


Re: [CentOS] parsing an e-mail with perl

2011-01-12 Thread Nicolas Ross
> I need to be able to pull off attachments from e-mails on the fly and
> then demime them and print them.  I have been studying MIME::Tools but
> was hoping someone could point me to a script example of something I
> could use.

Here's a little sniplet from a perl script I have to filter some attachement 
from mail :

use MIME::Tools;
use MIME::Parser;
use MIME::Decoder::QuotedPrint;
use MIME::Decoder::Base64;
use MIME::Decoder::Binary;
use MIME::Decoder::Gzip64;
use MIME::Decoder::NBit;
use MIME::Decoder::UU;
use MIME::Words qw(:all);

my $parser = new MIME::Parser;
$parser->output_to_core(0);
$parser->extract_nested_messages(0);
$parser->tmp_to_core(1);
$parser->tmp_recycling(1);
$parser->use_inner_files(0);
$parser->filer->ignore_filename(1);

my @message = ;
my $entity = $parser->parse_data(\...@message);

foreach my $part ($_[0]->parts)
{
 print $part->mime_type();
}

Thaere are other functins to the part object, my script simply pushes the 
part into a new array depending of the mime_type.. 

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


Re: [CentOS] Kernel Errors Present

2011-01-12 Thread Tsuyoshi Nagata
Hi Keith
(2011/01/13 6:39), Keith Roberts wrote:
>hde: dma_intr: error=0x84 { DriveStat ...:  12 Time(s)
>hde: dma_intr: status=0x51 { DriveReady SeekComplete
The first error is data transmitting error. Your HARD DRIVE have
a data transmitting error or malfunction on transmitting path without disk.
(The trouble is on memory, chip set, IDE-cable, HDD-Circuit(DMA). HDD dish is 
OK.)
DMA I/O was designed with 2 separated unit (control-unit and data-unit)
The trouble is on control-unit part.

Vivard/smartctl only explains your data-unit is OK.

 >>dma_intr: error=0x84 { DriveStatusError BadCRC }
 >>http://www.mail-archive.com/debian-user@lists.debian.org/msg128610.html

-Tsuyoshi.


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