Re: [CentOS] what causes CUPS to dis-enable a printer?

2010-02-09 Thread Kwan Lowe
On Tue, Feb 9, 2010 at 11:37 PM, Paul Johnson  wrote:
> In our computer lab, there are 6 Centos 5.4 workstations. There is an
> HP printer with jet direct card. It often works.
>
> But sometimes users come and get me saying the printer is broken, but
> it is actually working fine for *most* of the workstations.
>
> On the troubled system, I run system-config-printer and I check the
> printer in question (under properties)  and I see the printer has been
> disabled. I mean, the box by the word Enabled is empty.
>
> After I manually (use lprm) remove the print jobs, and set the printer
> to Enabled, then the print queue will start working again.
>

There is a cups timeout value that might help. Cups will disable a
printer if it doesn't respond after a certain amount of time. If you
add a Timeout value to cupsd.conf you can either disable or set the
timeout higher.

If that doesn't work, you may need to change the loglevel to debug and
watch until it fails.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread JohnS

On Tue, 2010-02-09 at 14:21 -0700, Craig White wrote:
> On Tue, 2010-02-09 at 18:08 +, Joseph L. Casale wrote:
> > >This looks like the way to go, I don't like the username /pass stored in 
> > >plain text but maybe if I create a special group that doesn't really have 
> > >any privileges this would work, geez AD is just plain bad...lol, Thanks.
> > 
> > I guess you think insecure would be better? If I understand your need, you 
> > want
> > to make AD insecure, so please enable anonymous binds so you don't need a 
> > user/pass
> > to make the query:)
> > 
> > Or program your own auth backend that binds with the intended creds asking 
> > for auth:)
> > Oh, and do this w/o tls/ssl because you want it insecure:)
> 
> seems to me that permitting an anonymous bind to LDAP is inherently more
> secure than requiring a user/password combination so I don't think that
> your explanation is exactly true. In Microsoft's view, the only systems
> querying LDAP would be systems automatically passing the authentication.
> 
> Craig


Yes it is true, you have to have that for it to work correctly.

John

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


Re: [CentOS] R package on centos 5.1

2010-02-09 Thread Rajagopal Swaminathan
Greetings,

On Wed, Feb 10, 2010 at 10:58 AM, hersh parikh  wrote:
>    I want to install R package on centos 5.1, however I am not able to
> install it . Can anyone please tell me how can I install R on centos 5.1?



 yum -y install R
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.hns.net.in
 * base: mirrors.hns.net.in
 * epel: ftp.kddilabs.jp
 * extras: mirrors.hns.net.in
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.hns.net.in
addons   |  951 B 00:00
andrewfarley |  951 B 00:00
base | 2.1 kB 00:00
epel | 3.4 kB 00:00
extras   | 1.1 kB 00:00
rpmforge | 1.1 kB 00:00
updates  | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.i386 0:2.10.0-2.el5 set to be updated
--> Processing Dependency: R-devel = 2.10.0-2.el5 for package: R
--> Processing Dependency: libRmath-devel = 2.10.0-2.el5 for package: R
--> Running transaction check
---> Package R-devel.i386 0:2.10.0-2.el5 set to be updated
--> Processing Dependency: R-core = 2.10.0-2.el5 for package: R-devel
--> Processing Dependency: tcl-devel for package: R-devel
--> Processing Dependency: bzip2-devel for package: R-devel
--> Processing Dependency: libX11-devel for package: R-devel
--> Processing Dependency: gcc-gfortran for package: R-devel
--> Processing Dependency: tk-devel for package: R-devel
--> Processing Dependency: pcre-devel for package: R-devel
--> Processing Dependency: tetex-latex for package: R-devel
---> Package libRmath-devel.i386 0:2.10.0-2.el5 set to be updated
--> Processing Dependency: libRmath = 2.10.0-2.el5 for package: libRmath-devel
--> Running transaction check
---> Package R-core.i386 0:2.10.0-2.el5 set to be updated
--> Processing Dependency: xdg-utils for package: R-core
--> Processing Dependency: perl(File::Copy::Recursive) for package: R-core
---> Package bzip2-devel.i386 0:1.0.3-4.el5_2 set to be updated
---> Package gcc-gfortran.i386 0:4.1.2-46.el5_4.2 set to be updated
---> Package libRmath.i386 0:2.10.0-2.el5 set to be updated
---> Package libX11-devel.i386 0:1.0.3-11.el5 set to be updated
--> Processing Dependency: xorg-x11-proto-devel >= 7.1-2 for package:
libX11-devel
--> Processing Dependency: libXau-devel for package: libX11-devel
--> Processing Dependency: libXdmcp-devel for package: libX11-devel
---> Package pcre-devel.i386 0:6.6-2.el5_1.7 set to be updated
---> Package tcl-devel.i386 0:8.4.13-4.el5 set to be updated
---> Package tetex-latex.i386 0:3.0-33.8.el5 set to be updated
--> Processing Dependency: tetex-dvips = 3.0 for package: tetex-latex
--> Processing Dependency: tetex = 3.0 for package: tetex-latex
---> Package tk-devel.i386 0:8.4.13-5.el5_1.1 set to be updated
--> Running transaction check
---> Package libXau-devel.i386 0:1.0.1-3.1 set to be updated
---> Package libXdmcp-devel.i386 0:1.0.1-2.1 set to be updated
---> Package perl-File-Copy-Recursive.noarch 0:0.38-1.el5.rf set to be updated
---> Package tetex.i386 0:3.0-33.8.el5 set to be updated
--> Processing Dependency: tetex-fonts = 3.0 for package: tetex
---> Package tetex-dvips.i386 0:3.0-33.8.el5 set to be updated
---> Package xdg-utils.noarch 0:1.0.2-4.el5 set to be updated
---> Package xorg-x11-proto-devel.i386 0:7.1-13.el5 set to be updated
--> Processing Dependency: mesa-libGL-devel for package: xorg-x11-proto-devel
--> Running transaction check
---> Package mesa-libGL-devel.i386 0:6.5.1-7.7.el5 set to be updated
---> Package tetex-fonts.i386 0:3.0-33.8.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved


 Package Arch  VersionRepository   Size

Installing:
 R   i386  2.10.0-2.el5   epel 14 k
Installing for dependencies:
 R-core  i386  2.10.0-2.el5   epel 31 M
 R-devel i386  2.10.0-2.el5   epel 87 k
 bzip2-devel i386  1.0.3-4.el5_2  base 38 k
 gcc-gfortrani386  4.1.2-46.el5_4.2   updates 3.1 M
 libRmathi386  2.10.0-2.el5   epel 93 k
 libRmath-devel  i386  2.10.0-2.el5   epel120 k
 libX11-develi386  1.0.3-11.el5   base661 k
 libXau-develi386  1.0.1-3.1  base 11 k
 libXdmcp-devel  i386  1.0.1-2.1  bas

Re: [CentOS] R package on centos 5.1

2010-02-09 Thread Rajagopal Swaminathan
Greetings,


On Wed, Feb 10, 2010 at 10:58 AM, hersh parikh  wrote:
> Hi
>
>    I want to install R package on centos 5.1, however I am not able to
> install it . Can anyone please tell me how can I install R on centos 5.1?


I am able to install it after enabling epel and rpmforge repo:

yum install R

Yes it is a capital letter R.

I have earlier installed it on Centos 5.0 (circa 2005-6).

What is the messages if any?

Regards,

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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Stephen Carville
On Mon, Feb 8, 2010 at 8:18 AM, Tom Bishop  wrote:
> Setting up a new backuppc for a small group of device and I am running
> centos 5.4 with winbind setup and working.  Everything is working and I
> would like the users to authenicate using their AD creds and was wondering
> what folks are using to do that with apache 2.2 and centos 5.4.  I know
> about mod_auth_pam but that seems pretty dead so I was just wondering what
> folks were using and whats the easiest to setup.  Any pointers to any how
> to's would be appreciated...Thanks.

This works for me

  PerlModule Authen::Simple::Apache

  PerlModule Authen::Simple::ActiveDirectory
  PerlSetVar AuthenSimpleActiveDirectory_host "mydc.inside.net"
  PerlSetVar AuthenSimpleActiveDirectory_principal "mydomain"

  
PerlAuthenHandler Authen::Simple::ActiveDirectory

AuthType Basic
AuthName  "Sekret Playce"
require valid-user

  

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


Re: [CentOS] what causes CUPS to dis-enable a printer?

2010-02-09 Thread Rajagopal Swaminathan
Greetings,


On Wed, Feb 10, 2010 at 10:07 AM, Paul Johnson  wrote:
> But sometimes users come and get me saying the printer is broken, but
> it is actually working fine for *most* of the workstations.
>
> On the troubled system, I run system-config-printer and I check the
> printer in question (under properties)  and I see the printer has been
> disabled. I mean, the box by the word Enabled is empty.

I would strongly suggest using the web interface localhost:631 instead
of system-config-printer.

Regards,

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


Re: [CentOS] R package on centos 5.1

2010-02-09 Thread Les Bell

hersh parikh  wrote:

>>
I want to install R package on centos 5.1, however I am not able to install
it
<<

I'm running it here on Centos 5.4. What problem are you having? Error
messages?

Best,

--- Les Bell
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144


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


[CentOS] R package on centos 5.1

2010-02-09 Thread hersh parikh
Hi

   I want to install R package on centos 5.1, however I am not able to install 
it . Can anyone please tell me how can I install R on centos 5.1?

Thank you
Hersh


  Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] what causes CUPS to dis-enable a printer?

2010-02-09 Thread Paul Johnson
In our computer lab, there are 6 Centos 5.4 workstations. There is an
HP printer with jet direct card. It often works.

But sometimes users come and get me saying the printer is broken, but
it is actually working fine for *most* of the workstations.

On the troubled system, I run system-config-printer and I check the
printer in question (under properties)  and I see the printer has been
disabled. I mean, the box by the word Enabled is empty.

After I manually (use lprm) remove the print jobs, and set the printer
to Enabled, then the print queue will start working again.

I've checked the files in /var/log/cups and there's nothing evident.
error_log has nothing.

We have had the problem during the year (that others have reported in
this list).  When trying to print some pdf files from Evince, the
symptom of the problem is that the pdf files don't print. They seem to
"clog" the printer.  When that happens, I have seen the Enabled box
come unchecked in the printer configurator.  However, the most recent
problems are not associated with the use of Evince.

I would really appreciate some tips about how to bugshoot this problem.

pj

ps. The Cups server is running on the system in question, lpq shows
lots of print jobs waiting.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Craig White
On Tue, 2010-02-09 at 21:29 +, Joseph L. Casale wrote:
> >seems to me that permitting an anonymous bind to LDAP is inherently more
> >secure than requiring a user/password combination so I don't think that
> >your explanation is exactly true.
> 
> There are ways to create accounts just for this with reduced privileges.
> Research technet...
> 
> >In Microsoft's view, the only systems querying LDAP would be systems
> >automatically passing the authentication.
> 
> Wow, someone actually hacking on MS for expecting us to do things secure?
> What will they expect next:)
> 
> If they didn't and by default allowed anon binds, "someone" would surely
> say "Microsoft sucks, they don't expect us to do this securely, blah blah".
> 
> The topic is mute, lets save the list the despair of rehashing the severely
> hashed. From the point of view of some, MS will always suck. Changing the
> minds of that type of person isn't my interest, I was merely pointing out
> some facts surrounding the implementation of the topic at hand. Sorry for
> disagreeing with you:)

I just disagree with your parsing and conclusions.

I did not hack on MS for expecting us to do things securely nor did I
say that preventing anonymous binds made it more secure. I think I
actually said the opposite.

anonymous binds are just that - anonymous binds and there could easily
be ACL's that govern what you can access without a user/password but I
think Microsoft is after overall simplicity.

The topic would necessarily be 'moot' and not 'mute' and I was
uncomfortable with the notion that you were chiding the OP for thinking
that an anonymous bind was less secure - in most instances, it is a more
secure option... especially for his usage. If he could bind anonymously,
he could bind, let the user supply the account/password, authenticate
and thus no account information would be necessary in the config files
so it speaks directly to the OP's desires.

Better security.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server 2008r2)

2010-02-09 Thread Ross Walker
On Feb 9, 2010, at 6:27 PM, Dan Burkland  wrote:

> From: centos-boun...@centos.org [centos-boun...@centos.org] On  
> Behalf Of Ross Walker [rswwal...@gmail.com]
> Sent: Tuesday, February 09, 2010 4:08 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD  
> (Server   2008r2)
>
> On Tue, Feb 9, 2010 at 3:23 PM, Joseph L. Casale
>  wrote:
>>> That RID map feature of samba is great.
>>
>> Forgot about that, AFAIK, you can do that w/ SFU & pam mods.
>>
>> I have two Samba servers left that I want to get rid of:)
>
> You can do it with SFU, but SFU doesn't create UID/GIDs for existing
> users, you have to do those manually.
>
> Then there is the whole issue of maintaining those IDs over a long
> period of time.
>
> Also with RID mapping I can map different domains into different ID  
> ranges.
>
> 10 - 19 first domain
> 20 - 29 second domain
>
> And so on.
>
> You know you don't need the full Samba install to setup a winbind->NIS
> server, just the Samba client will do.
>
> Then have your Linux boxes using NIS+Kerberos and only 1-2 boxes needs
> have a smb.conf and winbind running.
>
> NIS is only as secure as the network it runs on. If it bumps against
> public networks (unsecure wifi so on) use 802.11 authentication.
>
> -Ross
> ___
>
> For anybody wanting to know how to go the LDAP Route I found an  
> interesting article in the linux.com archives
> http://www.linux.com/archive/feed/40983
>
> Thanks again guys for your input.

If it works for you great.

If you have hundreds or thousands of users and hundreds of groups,  
well good luck. It is extremely hard to automate assigning these uids/ 
gids and making sure they don't collide with each other or other unix  
systems and doing it by hand is a torture reserved for the ninth  
circle of hell.

If only nss_ldap had a SID->UID/GID mapping like samba has.

-Ross

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


Re: [CentOS] Lightscribe

2010-02-09 Thread MHR
On Tue, Feb 9, 2010 at 1:19 PM, Robert  wrote:
>
> Yes, I have tried DVD media that is peddled as being lightscribe capable
> and just minutes ago, opened a 20-pack of CD+R that are supposedly also
> lightscribe capable.  I have tried both the LaCie 4L s/w and
> lightscribeApplications-1.18.6.1-0 and get nowhere with either of them.
> I do have the driver, lightscribe-1.18.11.1-0 installed.
>
> After leaving the original question, I plugged the drive into a
> WinXP-only laptop, Installed the bundled s/w and the same DVD was
> recognized -- but only after quite a while.  So, I'm about to conclude
> that the media is flaky, the Linux s/w is impatient at best, broken at
> worst.   Whatever... I didn't throw away my CD marker.
>

I'd check with HP - they're pretty good about Linux support for their
printers, so you might have some luck for this, too.

I'm kind of surprised at this, too, though - lightscribe is no longer
a new technology, and I would think by now that RH would include it,
or have drivers for it, in the more recent releases (4 maybe, 5 for
sure).

Also, check some of the linux forums on the subject - you might find
something else that works.  I was looking for this a couple of years
ago, but I never saw the value of lightscribe over labels, which can
be printed on inkjet or lasers, in full colr, and "stomped" onto most
CDs/DVDs with little or no trouble.  (I've had to glue some down, but
they work just fine.)

HTH

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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Tom Bishop
I just need something for apache auth. I have winbind working just
fine for the other stuff...Thanks

On 2/9/10, Jay Leafey  wrote:
> If you are using AD for JUST authentication and not user information,
> you can use the PAM Kerberos stuff.  We've been using it for a couple of
> years from both CentOS/RHEL 4 and 5 systems with good results.  It was
> actually pretty easy to do (once we figured out which type of chicken
> bones to burn).
>
> You can use authconfig to turn it all on:
>
> authconfig --enablekrb5 --krb5realm {AD domain name} \
>  --enbablekrb5kdcdns --enablekrb5realmdns --update
>
> This will use DNS to locate the domain controller and KDC for the domain
> given the AD domain name.  You can manually specify the KDC and admin
> servers too, see the authconfig man page for specific details.
>
> If you want something perhaps more polished, you could look into the
> Likewise products, which handle the whole shooting match pretty well
> (http://www.likewise.com/products/likewise_open/).  I've played with the
> Open (free) version and it worked just fine, the Enterprise has more
> features but I haven't played with it.
>
> As always, YMMV.
> --
> Jay Leafey - Memphis, TN
> jay.lea...@mindless.com
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Jay Leafey
If you are using AD for JUST authentication and not user information, 
you can use the PAM Kerberos stuff.  We've been using it for a couple of 
years from both CentOS/RHEL 4 and 5 systems with good results.  It was 
actually pretty easy to do (once we figured out which type of chicken 
bones to burn).


You can use authconfig to turn it all on:

authconfig --enablekrb5 --krb5realm {AD domain name} \
--enbablekrb5kdcdns --enablekrb5realmdns --update

This will use DNS to locate the domain controller and KDC for the domain 
given the AD domain name.  You can manually specify the KDC and admin 
servers too, see the authconfig man page for specific details.


If you want something perhaps more polished, you could look into the 
Likewise products, which handle the whole shooting match pretty well 
(http://www.likewise.com/products/likewise_open/).  I've played with the 
Open (free) version and it worked just fine, the Enterprise has more 
features but I haven't played with it.


As always, YMMV.
--
Jay Leafey - Memphis, TN
jay.lea...@mindless.com


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server 2008r2)

2010-02-09 Thread Dan Burkland
From: centos-boun...@centos.org [centos-boun...@centos.org] On Behalf Of Ross 
Walker [rswwal...@gmail.com]
Sent: Tuesday, February 09, 2010 4:08 PM
To: CentOS mailing list
Subject: Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server   
2008r2)

On Tue, Feb 9, 2010 at 3:23 PM, Joseph L. Casale
 wrote:
>>That RID map feature of samba is great.
>
> Forgot about that, AFAIK, you can do that w/ SFU & pam mods.
>
> I have two Samba servers left that I want to get rid of:)

You can do it with SFU, but SFU doesn't create UID/GIDs for existing
users, you have to do those manually.

Then there is the whole issue of maintaining those IDs over a long
period of time.

Also with RID mapping I can map different domains into different ID ranges.

10 - 19 first domain
20 - 29 second domain

And so on.

You know you don't need the full Samba install to setup a winbind->NIS
server, just the Samba client will do.

Then have your Linux boxes using NIS+Kerberos and only 1-2 boxes needs
have a smb.conf and winbind running.

NIS is only as secure as the network it runs on. If it bumps against
public networks (unsecure wifi so on) use 802.11 authentication.

-Ross
___

For anybody wanting to know how to go the LDAP Route I found an interesting 
article in the linux.com archives
http://www.linux.com/archive/feed/40983

Thanks again guys for your input.

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


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

2010-02-09 Thread Ross Walker
On Tue, Feb 9, 2010 at 4:33 PM, Fernando Gleiser  wrote:
> - Original Message 
>
>> From: nate 
>>
>> Not sure I know what the issue is but telling us how many disks,
>> what the RPM of the disks are, and what level of RAID would probably
>> help.
>>
>> It sounds like perhaps you have a bunch of 7200RPM disks in a RAID
>> setup where the data:parity ratio may be way out of whack(e.g. high
>> number of data disks to parity disks), which will result in very
>> poor write performance.
>
>
> yes, ita bunch of 12 7k2 RPM disks organized as 1 hot spare, 2 parity
> disks, 9 data disks in a RAID 5 configuration. is 9/2 a "high ratio"?

A bit. Your RAID array is configured for a read-mostly configuration.

Here is a simple rule, given you have a HW RAID controller with
write-back cache, assume each write will span the whole stripe
width (controller tries to cache full stripe writes), if that is the
case then the write IOPS will be equal to the IOPS of your slowest
disk within the set as the next write can't go until the first write
has finished.

Of course with RAID5/RAID6 the write performance can be much, much
worse if the write is short of the whole stripe width as it will then
have to read the remaining stripe set (in order to caclulate parity),
then write the whole stripe set out. It sounds like your data is
sequential though so this shouldn't happen much, maybe the first or
last stripes, so using the above simple rule is a good guide.

For software RAID5/RAID6 that doesn't have a write-cache to cache the
stripe-width, make sure the file system knows the stripe width and
hope it does the write thing :)

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


Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server 2008r2)

2010-02-09 Thread Ross Walker
On Tue, Feb 9, 2010 at 3:23 PM, Joseph L. Casale
 wrote:
>>That RID map feature of samba is great.
>
> Forgot about that, AFAIK, you can do that w/ SFU & pam mods.
>
> I have two Samba servers left that I want to get rid of:)

You can do it with SFU, but SFU doesn't create UID/GIDs for existing
users, you have to do those manually.

Then there is the whole issue of maintaining those IDs over a long
period of time.

Also with RID mapping I can map different domains into different ID ranges.

10 - 19 first domain
20 - 29 second domain

And so on.

You know you don't need the full Samba install to setup a winbind->NIS
server, just the Samba client will do.

Then have your Linux boxes using NIS+Kerberos and only 1-2 boxes needs
have a smb.conf and winbind running.

NIS is only as secure as the network it runs on. If it bumps against
public networks (unsecure wifi so on) use 802.11 authentication.

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


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

2010-02-09 Thread nate
nate wrote:

> Perhaps RAID 6, as I've never heard of RAID 5 with two parity (two
> parity is dual parity which is RAID 6).

Forgot to mention my own personal preference on my high end SAN at
least is for RAID 5 with a 3:1 parity ratio, or a max of 5:1 or 6:1,
really never higher than that unless activity is very low.

The RAID controllers on my array are the fastest in the industry,
and despite that, in the near future I am migrating to a parity
ratio of 2:1 to get (even)better performance, that brings me to
within about 3-4% of RAID 1+0 performance for typical workloads.

nate


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


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

2010-02-09 Thread nate
Fernando Gleiser wrote:

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

Perhaps RAID 6, as I've never heard of RAID 5 with two parity (two
parity is dual parity which is RAID 6).

RAID 6 performance can vary dramatically between controllers, if it
were me unless you get any other responses shortly I would test other
RAID configurations and see how the performance compares

RAID 1+0
RAID 5+0 (striped RAID 5 arrays, in your case perhaps 3+1 * 4 w/no hot
 spares? at least for testing)
RAID 5+0 (5+1 * 2)

RAID 1+0 should be first though, even if you don't end up using it
in the end, it's good to get a baseline with the fastest configuration.

I would expect the RAID card to support RAID 50, but not all do, if it
doesn't one option may be to perform striping using LVM at the OS
level.

nate

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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Joseph L. Casale
>seems to me that permitting an anonymous bind to LDAP is inherently more
>secure than requiring a user/password combination so I don't think that
>your explanation is exactly true.

There are ways to create accounts just for this with reduced privileges.
Research technet...

>In Microsoft's view, the only systems querying LDAP would be systems
>automatically passing the authentication.

Wow, someone actually hacking on MS for expecting us to do things secure?
What will they expect next:)

If they didn't and by default allowed anon binds, "someone" would surely
say "Microsoft sucks, they don't expect us to do this securely, blah blah".

The topic is mute, lets save the list the despair of rehashing the severely
hashed. From the point of view of some, MS will always suck. Changing the
minds of that type of person isn't my interest, I was merely pointing out
some facts surrounding the implementation of the topic at hand. Sorry for
disagreeing with you:)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-02-09 Thread Fernando Gleiser
- Original Message 

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


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

Thanks for your help

Fer


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


Re: [CentOS] best parallel / cluster SSH

2010-02-09 Thread Alan McKay
> I mean if you go from supplying perl and some perl-scripted functionality, you
> either have to drop the functionality or some engineer has to rewrite the code
> in a different language - something that usually isn't cheap.  I've never 
> tried
> perl2c - if such a thing exists it probably embeds most of perl as a library.

The few things we needed we rewrote in BASH - it was pretty easy (I
did most of it)


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Craig White
On Tue, 2010-02-09 at 18:08 +, Joseph L. Casale wrote:
> >This looks like the way to go, I don't like the username /pass stored in 
> >plain text but maybe if I create a special group that doesn't really have 
> >any privileges this would work, geez AD is just plain bad...lol, Thanks.
> 
> I guess you think insecure would be better? If I understand your need, you 
> want
> to make AD insecure, so please enable anonymous binds so you don't need a 
> user/pass
> to make the query:)
> 
> Or program your own auth backend that binds with the intended creds asking 
> for auth:)
> Oh, and do this w/o tls/ssl because you want it insecure:)

seems to me that permitting an anonymous bind to LDAP is inherently more
secure than requiring a user/password combination so I don't think that
your explanation is exactly true. In Microsoft's view, the only systems
querying LDAP would be systems automatically passing the authentication.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Lightscribe

2010-02-09 Thread Robert


Arun Khan wrote:
> On Sun, Feb 7, 2010 at 5:35 AM, Robert  wrote:
>
>> I just bought an HP DVD Writer 1040r (as identified by k3b), an external
>> USB-connected CD/DVD burner.  The drive gets assigned /dev/scd0. I can
>> burn CDs and DVDs, read from CDs and DVDs, boot from DVDs (and, I
>> assume, CDs) but have been unable to use the lightscribe software to
>> label a disk.  I have lightscribe-1.18.11.1-0 and
>> lightscribeApplications-1.18.6.1-0 installed, can run the GUI at
>> /opt/lightscribe/Applications/SimpleLabeler/SimpleLabeler which promptly
>> and stubbornly tells me "".
>> This IS a lightscribe drive, according to the specs, the box and the
>> logo on the tray.
>>  
> I do not have any lightscribe capable DVD writer.
>
> I am presuming you have lightscribe capable media in the drive as
> well.  If so, it might be worthwhile to contact the software vendor.
> IIRC, LaCie had published rpm package for lightscribe but I suspect it
> worked with their own branded hardware.
>
> -- Arun Khan
>
Yes, I have tried DVD media that is peddled as being lightscribe capable 
and just minutes ago, opened a 20-pack of CD+R that are supposedly also 
lightscribe capable.  I have tried both the LaCie 4L s/w and 
lightscribeApplications-1.18.6.1-0 and get nowhere with either of them.
I do have the driver, lightscribe-1.18.11.1-0 installed.

After leaving the original question, I plugged the drive into a 
WinXP-only laptop, Installed the bundled s/w and the same DVD was 
recognized -- but only after quite a while.  So, I'm about to conclude 
that the media is flaky, the Linux s/w is impatient at best, broken at 
worst.   Whatever... I didn't throw away my CD marker.

Thanks for the reply

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


Re: [CentOS] xentop batch mode

2010-02-09 Thread Lucian @ lastdot.org
On Tue, Feb 9, 2010 at 8:50 AM, Pasi Kärkkäinen  wrote:
> On Tue, Feb 09, 2010 at 04:06:37AM +0200, Nux wrote:
>> Hi guys,
>> First of all, sorry to send this one here on the centos ml. I know it's kind 
>> of off-topic, but the xen-users list seems a dead end, I was hoping some of 
>> you guys are experienced in this.
>>
>> I have a problem with a xen 3.4.2 on Centos 5 x86_64 installation, I need to 
>> see the total/used/available memory of dom0 when using xentop, however in 
>> batch mode it doesn't seem to work.
>> If I use the normal mode of xentop I get all that info nicely, however in 
>> batch mode it looks like this:
>> http://bayimg.com/mAkNEAace
>>
>> A friend of mine told me that the memory info I need gets displayed on 
>> Centos 5 stock xen versions when running xentop in batch mode.
>> Anyone can tell me what is going on? What am I missing? Is there any other 
>> way I can obtain that info?
>>
>> The xen is installed from gitco.de/repo/, should it matter. The kernel is 
>> 2.6.18-164.
>>
>
> For me the output from batch-mode and non-batch-mode is the same, using stock 
> centos5 xen.
>
> Why do you need to know that information? You can get the Xen hypervisor 
> memory stats from "xm info",
> and you should always dedicate a fixed amount of memory for dom0 anyway 
> (disable dom0 ballooning).
>
> http://wiki.xensource.com/xenwiki/XenBestPractices
>
> -- Pasi
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Dooh, thanks for the xm info thing. I was too dumb last night to
actually think of that.
Also I completely agree with disabling dom0 ballooning and it's how I
run all my servers.

Thanks again,


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


Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server 2008r2)

2010-02-09 Thread Joseph L. Casale
>That RID map feature of samba is great.

Forgot about that, AFAIK, you can do that w/ SFU & pam mods.

I have two Samba servers left that I want to get rid of:)


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


Re: [CentOS] CentOS 5.4 x86_64 authenticating against AD (Server 2008r2)

2010-02-09 Thread Ross Walker
On Sun, Feb 7, 2010 at 8:29 PM, Christopher Chan
 wrote:
>
>>> Take my advice:
>>> yum erase samba == uber happiness
>>>
>>> Get ldap working, no interop issues with the old samba version in rhel and
>>> newer ms servers. Plus you will be using something forward compatible that
>>> a txt edit could likely fix in the event something drastic changed in the
>>> schema and search filters for example had to change.
>>
>> +1
>>
>> We've been using nss_ldap against AD for years. It's never a problem.
>>
>>
>> Version 3.4.5 of Samba did end up resolving the issue I was having and now 
>> AD users can login to the box. I am however interested in going the LDAP 
>> route mainly for the forward compatability reason stated by Jeff. Is there 
>> anything special I need to do on the DC for the LDAP authentication to work?
>>
>
> Do we lose kerberos security if one switches from samba + winbind to ldap?

No, but you'll have to generate UIDs and GIDs for all AD users and groups

That is the one thing that has stopped me from using AD LDAP for
user/group management.

You could use winbind to create a NIS map (sans passwords) and have
Linux/Mac clients authenticate with NIS+Kerberos.

That RID map feature of samba is great.

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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Tom Bishop
Point taken and I do understand, in reality I would rather have nothing to
do with MS which is insecure from the start, ever try to firewall an SBS
2003 install, good luck, they recommend turning it off, go figurelol

On Tue, Feb 9, 2010 at 12:08 PM, Joseph L. Casale  wrote:

> >This looks like the way to go, I don't like the username /pass stored in
> plain text but maybe if I create a special group that doesn't really have
> any privileges this would work, geez AD is just plain bad...lol, Thanks.
>
> I guess you think insecure would be better? If I understand your need, you
> want
> to make AD insecure, so please enable anonymous binds so you don't need a
> user/pass
> to make the query:)
>
> Or program your own auth backend that binds with the intended creds asking
> for auth:)
> Oh, and do this w/o tls/ssl because you want it insecure:)
> ___
> 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] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Joseph L. Casale
>This looks like the way to go, I don't like the username /pass stored in plain 
>text but maybe if I create a special group that doesn't really have any 
>privileges this would work, geez AD is just plain bad...lol, Thanks.

I guess you think insecure would be better? If I understand your need, you want
to make AD insecure, so please enable anonymous binds so you don't need a 
user/pass
to make the query:)

Or program your own auth backend that binds with the intended creds asking for 
auth:)
Oh, and do this w/o tls/ssl because you want it insecure:)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

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

Not sure I know what the issue is but telling us how many disks,
what the RPM of the disks are, and what level of RAID would probably
help.

It sounds like perhaps you have a bunch of 7200RPM disks in a RAID
setup where the data:parity ratio may be way out of whack(e.g. high
number of data disks to parity disks), which will result in very
poor write performance.

nate


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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Tom Bishop
This looks like the way to go, I don't like the username /pass stored in
plain text but maybe if I create a special group that doesn't really have
any privileges this would work, geez AD is just plain bad...lol, Thanks.

On Tue, Feb 9, 2010 at 10:57 AM, Pat and Lori Boyer wrote:

> I've had decent luck with LDAP authentication for Apache. AD does not
> support anonymous LDAP searches so you have to have a user account that has
> the ability to search AD. Here's a modified sample config (.htaccess or
> httpd.conf) that includes security group membership checks. This would
> require that a user login with their Windows domain username and password
> and that the user be a member of the AD security group 'managers':
>
> AuthType  basic
> AuthName  "Windows Domain Credentials - Managers Only"
> AuthzLDAPMethod   ldap
> AuthzLDAPServer   "dc1.example.com"
> AuthzLDAPBindDN   "CN=username,CN=Users,DC=example,DC=com"
> AuthzLDAPBindPassword "superSecretPassword"
> AuthzLDAPUserBase "CN=Users,DC=example,DC=com"
> AuthzLDAPUserKey  sAMAccountName
> AuthzLDAPUserScopesubtree
> AuthzLDAPGroupBase"CN=Users,DC=example,DC=com"
> AuthzLDAPGroupKey cn
> AuthzLDAPGroupScope   subtree
> AuthzLDAPMemberKeymember
> AuthzLDAPSetGroupAuth ldapdn
> require group managers
>
>
>
>
> On Tue, Feb 9, 2010 at 11:35 AM, Tom Bishop  wrote:
>
>> I looked over an most of which I have already done, the last piece that I
>> am trying to address is how to do authentication with Apache against active
>> directory, mod_auth_pam is one way but I have not had any luck getting it to
>> compile with the latest ApacheThanks
>>
>>
>> On Mon, Feb 8, 2010 at 6:49 PM, Arvind P R  wrote:
>>
>>> I had written a blog quite some time back on this. There might be some
>>> glitches in it, but will give you some clue. The blog is
>>> blog.Palalinha.Com
>>> i am sitting at the airport with my mobile so cant find you the
>>> correct thread in the blog. Let me know if it helps.
>>>
>>> On 2/8/10, Tom Bishop  wrote:
>>> > Setting up a new backuppc for a small group of device and I am running
>>> > centos 5.4 with winbind setup and working.  Everything is working and I
>>> > would like the users to authenicate using their AD creds and was
>>> wondering
>>> > what folks are using to do that with apache 2.2 and centos 5.4.  I know
>>> > about mod_auth_pam but that seems pretty dead so I was just wondering
>>> what
>>> > folks were using and whats the easiest to setup.  Any pointers to any
>>> how
>>> > to's would be appreciated...Thanks.
>>> >
>>> ___
>>> 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
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

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

The server is used as a samba file server.

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

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


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

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

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

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

any help will be apreciated



Fer


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


Re: [CentOS] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Pat and Lori Boyer
I've had decent luck with LDAP authentication for Apache. AD does not
support anonymous LDAP searches so you have to have a user account that has
the ability to search AD. Here's a modified sample config (.htaccess or
httpd.conf) that includes security group membership checks. This would
require that a user login with their Windows domain username and password
and that the user be a member of the AD security group 'managers':

AuthType  basic
AuthName  "Windows Domain Credentials - Managers Only"
AuthzLDAPMethod   ldap
AuthzLDAPServer   "dc1.example.com"
AuthzLDAPBindDN   "CN=username,CN=Users,DC=example,DC=com"
AuthzLDAPBindPassword "superSecretPassword"
AuthzLDAPUserBase "CN=Users,DC=example,DC=com"
AuthzLDAPUserKey  sAMAccountName
AuthzLDAPUserScopesubtree
AuthzLDAPGroupBase"CN=Users,DC=example,DC=com"
AuthzLDAPGroupKey cn
AuthzLDAPGroupScope   subtree
AuthzLDAPMemberKeymember
AuthzLDAPSetGroupAuth ldapdn
require group managers



On Tue, Feb 9, 2010 at 11:35 AM, Tom Bishop  wrote:

> I looked over an most of which I have already done, the last piece that I
> am trying to address is how to do authentication with Apache against active
> directory, mod_auth_pam is one way but I have not had any luck getting it to
> compile with the latest ApacheThanks
>
>
> On Mon, Feb 8, 2010 at 6:49 PM, Arvind P R  wrote:
>
>> I had written a blog quite some time back on this. There might be some
>> glitches in it, but will give you some clue. The blog is
>> blog.Palalinha.Com
>> i am sitting at the airport with my mobile so cant find you the
>> correct thread in the blog. Let me know if it helps.
>>
>> On 2/8/10, Tom Bishop  wrote:
>> > Setting up a new backuppc for a small group of device and I am running
>> > centos 5.4 with winbind setup and working.  Everything is working and I
>> > would like the users to authenicate using their AD creds and was
>> wondering
>> > what folks are using to do that with apache 2.2 and centos 5.4.  I know
>> > about mod_auth_pam but that seems pretty dead so I was just wondering
>> what
>> > folks were using and whats the easiest to setup.  Any pointers to any
>> how
>> > to's would be appreciated...Thanks.
>> >
>> ___
>> 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] Anyone using Active Driectory auth with Centos 5.4.....?

2010-02-09 Thread Tom Bishop
I looked over an most of which I have already done, the last piece that I am
trying to address is how to do authentication with Apache against active
directory, mod_auth_pam is one way but I have not had any luck getting it to
compile with the latest ApacheThanks

On Mon, Feb 8, 2010 at 6:49 PM, Arvind P R  wrote:

> I had written a blog quite some time back on this. There might be some
> glitches in it, but will give you some clue. The blog is
> blog.Palalinha.Com
> i am sitting at the airport with my mobile so cant find you the
> correct thread in the blog. Let me know if it helps.
>
> On 2/8/10, Tom Bishop  wrote:
> > Setting up a new backuppc for a small group of device and I am running
> > centos 5.4 with winbind setup and working.  Everything is working and I
> > would like the users to authenicate using their AD creds and was
> wondering
> > what folks are using to do that with apache 2.2 and centos 5.4.  I know
> > about mod_auth_pam but that seems pretty dead so I was just wondering
> what
> > folks were using and whats the easiest to setup.  Any pointers to any how
> > to's would be appreciated...Thanks.
> >
> ___
> 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] Using (was: Announcing) Gluster Storage Platform

2010-02-09 Thread Rudi Ahlers
On Wed, Dec 16, 2009 at 6:13 PM, Les Mikesell  wrote:

> Chan Chung Hang Christopher wrote:
> > Alan McKay wrote:
> >> On Tue, Dec 15, 2009 at 7:48 PM, Christopher Chan
> >>  wrote:
> >>> A cluster filesystem
> >> OK, but you've just given me a circular definition.
> >>
> >>> When you do not need/want a cluster file system
> >> and again ...
> >>
> >
> > Okay, a cluster/distributed file system that does not have its own on
> > disk format. It makes use of whatever existing filesystem there is for
> > actual storage and allows you to replicate files/load balance requests
> > to files to 'storage servers' of any supported platform.
> >
> > At the same time, user level processes on 'clients' access the system as
> > if it was an actual file system.
> >
> > This enables one to have Linux clients that run say samba to export the
> > files to Windows clients but the actual files are kept on OpenSolaris
> > servers on zfs. Should the Linux clients all go down, the Windows
> > clients could still access the files on the OpenSolaris servers via
> samba.
>
> I'm having trouble finding any real information about how (and how well)
> this works and I'd like to know if it would be suitable for a backuppc
> storage archive which generates millions of hardlinks.  Does it deal
> with hardlinks spanning backend storage servers transparently?  And can
> it replicate efficiently enough to have remote copies?
>
> --
>   Les Mikesell
>lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Has anyone implemented, or used GlusterFS yet? What is your viewpoint on it?

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange disk error

2010-02-09 Thread Ross Walker
On Feb 9, 2010, at 7:55 AM, Алексей  wrote:

> Hi everyone .
>
> Recently I had a strange error on one of my servers ,running Centos  
> 5.4
> 64bit
>
> FAILED
> kernel:   status = 1, message = 00, host = 0, driver = 08
> kernel:   <6>sd: Current: sense key: Illegal Request
> kernel: Add. Sense: Logical block address out of range
>
>
> *Should i be worried sick about it or is it normal??*
>
>
> *There are 2 sas hdd connected into raid 1 to Adaptec AIC-9410W SAS   
> controller.
> I can't get any information about my drives health (no S.M.A.R.T   
> there)  and to get information about raid quality i must restart  
> system and enter raid bios- which is not very good option
>
>
> And maybe someone knows how to get health information om my raid 
> \hdd  from Centos ?
>
>
> P.S. error happened about 20 times for the last 2 days and I am  
> worried

The illegal request error means something on the system tried to issue  
a SCSI command that isn't supported on the controller.

Probably smartmon.

Try excluding those drives from smartmon and see if Adaptec has a  
Linux monitoring tool for that card.

-Ross

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


Re: [CentOS] strange disk error

2010-02-09 Thread Les Mikesell
Алексей wrote:
> Hi everyone .
> 
> Recently I had a strange error on one of my servers ,running Centos 5.4 
> 64bit
> 
>  FAILED
> kernel:   status = 1, message = 00, host = 0, driver = 08
> kernel:   <6>sd: Current: sense key: Illegal Request
> kernel: Add. Sense: Logical block address out of range
> 
> 
> *Should i be worried sick about it or is it normal??*
> 
> 
> *There are 2 sas hdd connected into raid 1 to Adaptec AIC-9410W SAS  
> controller.
> I can't get any information about my drives health (no S.M.A.R.T  there)  and 
> to get information about raid quality i must restart system and enter raid 
> bios- which is not very good option
> 
> 
>  And maybe someone knows how to get health information om my raid\hdd  from 
> Centos ?
> 
> 
> P.S. error happened about 20 times for the last 2 days and I am worried

Does 'dmesg' give a better description?  I frequently see messages like that 
associated with empty CD/DVD drives - not sure what tries to access them.

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



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


[CentOS] strange disk error

2010-02-09 Thread Алексей
Hi everyone .

Recently I had a strange error on one of my servers ,running Centos 5.4 
64bit

 FAILED
kernel:   status = 1, message = 00, host = 0, driver = 08
kernel:   <6>sd: Current: sense key: Illegal Request
kernel: Add. Sense: Logical block address out of range


*Should i be worried sick about it or is it normal??*


*There are 2 sas hdd connected into raid 1 to Adaptec AIC-9410W SAS  controller.
I can't get any information about my drives health (no S.M.A.R.T  there)  and 
to get information about raid quality i must restart system and enter raid 
bios- which is not very good option


 And maybe someone knows how to get health information om my raid\hdd  from 
Centos ?


P.S. error happened about 20 times for the last 2 days and I am worried

Best wishes, Alexey Galishnikov
*




__ Information from ESET Smart Security, version of virus signature 
database 4850 (20100209) __

The message was checked by ESET Smart Security.

http://www.esetnod32.ru


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


[CentOS] Asus Xonar DX PCIe sound card?

2010-02-09 Thread Tony Mountifield
Can anyone here report success or failure at making the Asus Xonar DX
PCI-express sound card work under CentOS 4? Or failing that, 5?

Google only turned up people using it on Ubunt or SuSE...

I need to specify the addition of audio outputs to a HP DL360 system,
and don't want to buy stuff that will be a pain to get working. :-)

Or can anyone recommend any other simple sound cards for PCI-express
that have been trouble-free under CentOS 4 or 5?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best way to backup virtual machines fromCitrix XenServer.

2010-02-09 Thread Geoff Galitz


If the goal is to backup the VMs rather than the Citrix XenServer Dom0, I
find that exporting each VM to a shared disk (NFS, iSCSI, whatever) is the
easiest solution.  If you need zero-downtime, then make a snapshot of the VM
and then export it.

I did this specifically for the purpose of disaster recovery.  Recovering
individual files or datasets from within a VM is also possible but is
slightly more of a hassle.   

I have some scripts that do this that I'm willing to share.

BTW... Centos and Citrix XenServer are different enough that these kinds of
questions should probably be asked on the XenSource mailing list or the
Citrix forums.  You can get potentially misleading advice otherwise.

-geoff



-
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/



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


Re: [CentOS] Best way to backup virtual machines from Citrix XenServer.

2010-02-09 Thread Simon Billis
Pasi Kärkkäinen sent a missive on 2010-02-09:

> On Mon, Feb 08, 2010 at 12:07:30PM -0800, nate wrote:
>> Simon Billis wrote:
>> 
>>> Good quality storage (which usually comes at a price) will provide the
>>> functionality that is needed to backup the VM's either as a complete
>>> VM image or files from the VM filesystem. Entry level storage from
>>> suppliers such as Equallogic/Dell comes with this functionality and it
>>> is possible to have the storage up and attached to servers within 10
>>> mins from un-boxing it (but do allow a little longer to understand it
>>> ;-) .)
>> 
>> Suggest reading this interesting piece "3 years of equallogic"
>> before thinking about using it's snapshot stuff -
>> 
>> http://www.tuxyturvy.com/blog/index.php?/archives/61-Three-Years-of- Eq
>> uallogic.html
>> 
>> Of course not all snapshot solutions are created equal, equallogic's
>> appears to be especially poor in this regard.
>> 
> 
> I think that blog post gives too negative view of the EQL snapshots.
> They work very well for many use cases. Having a lot of random small
> writes all over the volume seems to cause a lot of wasted disk space
> though.

I agree - I'm not suggesting that the EQL box is the best thing since sliced
bread, but it does what it says on the tin. There are better/different
arrays and array controllers out there (3par, BlueArc, Pillar, EMC, Hitachi
etc., etc., etc.,) and depending on your needs and budget both now and in
the future and it would be wise to select the one that provides the best fit
for you and your business. 



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


Re: [CentOS] xentop batch mode

2010-02-09 Thread Pasi Kärkkäinen
On Tue, Feb 09, 2010 at 04:06:37AM +0200, Nux wrote:
> Hi guys,
> First of all, sorry to send this one here on the centos ml. I know it's kind 
> of off-topic, but the xen-users list seems a dead end, I was hoping some of 
> you guys are experienced in this.
> 
> I have a problem with a xen 3.4.2 on Centos 5 x86_64 installation, I need to 
> see the total/used/available memory of dom0 when using xentop, however in 
> batch mode it doesn't seem to work.
> If I use the normal mode of xentop I get all that info nicely, however in 
> batch mode it looks like this:
> http://bayimg.com/mAkNEAace
> 
> A friend of mine told me that the memory info I need gets displayed on Centos 
> 5 stock xen versions when running xentop in batch mode.
> Anyone can tell me what is going on? What am I missing? Is there any other 
> way I can obtain that info?
> 
> The xen is installed from gitco.de/repo/, should it matter. The kernel is 
> 2.6.18-164.
> 

For me the output from batch-mode and non-batch-mode is the same, using stock 
centos5 xen.

Why do you need to know that information? You can get the Xen hypervisor memory 
stats from "xm info",
and you should always dedicate a fixed amount of memory for dom0 anyway 
(disable dom0 ballooning).

http://wiki.xensource.com/xenwiki/XenBestPractices

-- Pasi

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


Re: [CentOS] Best way to backup virtual machines from Citrix XenServer.

2010-02-09 Thread Pasi Kärkkäinen
On Mon, Feb 08, 2010 at 12:07:30PM -0800, nate wrote:
> Simon Billis wrote:
> 
> > Good quality storage (which usually comes at a price) will provide the
> > functionality that is needed to backup the VM's either as a complete VM
> > image or files from the VM filesystem. Entry level storage from suppliers
> > such as Equallogic/Dell comes with this functionality and it is possible to
> > have the storage up and attached to servers within 10 mins from un-boxing it
> > (but do allow a little longer to understand it ;-) .)
> 
> Suggest reading this interesting piece "3 years of equallogic" before
> thinking about using it's snapshot stuff -
> 
> http://www.tuxyturvy.com/blog/index.php?/archives/61-Three-Years-of-Equallogic.html
> 
> Of course not all snapshot solutions are created equal, equallogic's
> appears to be especially poor in this regard.
> 

I think that blog post gives too negative view of the EQL snapshots. 
They work very well for many use cases. Having a lot of random small writes
all over the volume seems to cause a lot of wasted disk space though.

-- Pasi

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