Re: [CentOS] Intel NIC

2011-01-03 Thread David Sommerseth
On 24/12/10 06:35, Rajagopal Swaminathan wrote:
> Greetings,
> 
> On Thu, Dec 23, 2010 at 4:27 PM, Les Mikesell  wrote:
>> On 12/23/2010 10:02 AM, Alexander Dalloz wrote:
>> The licensed vCenter stuff refers to a single app that is
>> simultaneously aware of all of your ESXi servers and their guests and
>> can move/fail resources across servers - concepts that I don't think the
>> other hypervisors even have.
> 
> Duh.. What is RHEV then?
>
> I am in front of the box now. Can you tell me which feature is
> missing? if any, perhaps we can raise a point with redhat.

Maybe this one answers some of your questions ...



kind regards,

David Sommerseth

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


Re: [CentOS] centos6 filesystem size limit

2011-01-03 Thread Peter Kjellström
> isn't this entirely a problem caused by MBR?

No, this is a different matter.

> An (U)EFI-machine should be able to handle FS-sizes beyond these limits
> without any hassles. Can anyone confirm this?


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Ned Slider
On 03/01/11 07:23, Ron Blizzard wrote:
> Stupid question (I'm guessing). I'm currently tri-booting (or would
> like to be) VectorLinux 6 Deluxe, CentOS 5.5 and an evaluation copy of
> Red Hat 6. I'm using CentOS's grub. VectorLinux and CentOS boot fine,
> but Red Hat won't load. I think I read somewhere that CentOS's grub is
> too old for ext3, 256 (something or others).
>
> So, is it possible to download and install a newer version of grub for
> CentOS 5.5? (This has been a problem with other tri-boot attempts). If
> not, is their a way to boot Red Hat from the install DVD? Since it's
> only a 30 day evaluation, booting from DVD or CD would be fine, but I
> don't see the option.
>
> Thanks for any pointers.
>

You don't need to upgrade grub, I'm quite happily dual booting rhel6 GA 
on a CentOS-5 system (using C-5 GRUB).

Only thing I did differently is the rhel6 /boot partition is mounted on 
an ext3 partition whereas I _think_ the default might be ext4 which, as 
a wild guess, is probably unsupported by CentOS-5 GRUB ?

The rest of the system is quite happily sitting in an ext4 partition 
using md raid on lvm.

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


Re: [CentOS] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Ron Blizzard
On Mon, Jan 3, 2011 at 4:15 AM, Ned Slider  wrote:

> You don't need to upgrade grub, I'm quite happily dual booting rhel6 GA
> on a CentOS-5 system (using C-5 GRUB).
>
> Only thing I did differently is the rhel6 /boot partition is mounted on
> an ext3 partition whereas I _think_ the default might be ext4 which, as
> a wild guess, is probably unsupported by CentOS-5 GRUB ?
>
> The rest of the system is quite happily sitting in an ext4 partition
> using md raid on lvm.

Hi Nick,

Thanks for writing back. I'm using ext3 also. Is it possible to see
your RHEL 6 grub entry? Did you install grub on the RHEL boot
partition and use a chainloader, or were able to just do a normal
entry?

Again,t hanks for any ponters.

-- 
RonB -- Using CentOS 5.5
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] variable in loop

2011-01-03 Thread John Doe
From: S Mathias 

> $ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo 
> "$a  
>$ASDF"$(for i in {1..$a}; do printf "."; done)
> 65 hello.
> Why  doesn't it print:
> 65  hello.
> What  am i missing?

$ for i in {1..3}; do echo $i; done
1
2
3
$ a=3; for i in {1..$a}; do echo $i; done
{1..3}

Try with:
for ((i=1;i<=$a;i++))

JD


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


Re: [CentOS] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Ned Slider
On 03/01/11 10:37, Ron Blizzard wrote:
> On Mon, Jan 3, 2011 at 4:15 AM, Ned Slider  wrote:
>
>> You don't need to upgrade grub, I'm quite happily dual booting rhel6 GA
>> on a CentOS-5 system (using C-5 GRUB).
>>
>> Only thing I did differently is the rhel6 /boot partition is mounted on
>> an ext3 partition whereas I _think_ the default might be ext4 which, as
>> a wild guess, is probably unsupported by CentOS-5 GRUB ?
>>
>> The rest of the system is quite happily sitting in an ext4 partition
>> using md raid on lvm.
>
> Hi Nick,
>
> Thanks for writing back. I'm using ext3 also. Is it possible to see
> your RHEL 6 grub entry? Did you install grub on the RHEL boot
> partition and use a chainloader, or were able to just do a normal
> entry?
>
> Again,t hanks for any ponters.
>

Yes, I installed rhel6's grub to the rhel6 /boot partition during the 
rhel6 installation and then added a chainloader entry to the end of the 
CentOS-5 /boot/grub/grub.conf to boot rhel6:

title RHEL6 Buildsys
 rootnoverify (hd0)
 root (hd0,1)
 chainloader +1


Adjust to suit your partitioning scheme :-)

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


Re: [CentOS] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Ron Blizzard
On Mon, Jan 3, 2011 at 5:09 AM, Ned Slider  wrote:

> Yes, I installed rhel6's grub to the rhel6 /boot partition during the
> rhel6 installation and then added a chainloader entry to the end of the
> CentOS-5 /boot/grub/grub.conf to boot rhel6:
>
> title RHEL6 Buildsys
>         rootnoverify (hd0)
>         root (hd0,1)
>         chainloader +1
>
>
> Adjust to suit your partitioning scheme :-)

Thanks. I'm guessing that's my problem. Red Hat installed grub to the
MBR, then I overwrote it with the CentOS grub. So there's nothing to
"chainload" on the partition.

I'll fix it and report back. Again, thanks.

-- 
RonB -- Using CentOS 5.5
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Ron Blizzard
On Mon, Jan 3, 2011 at 5:09 AM, Ned Slider  wrote:

> Yes, I installed rhel6's grub to the rhel6 /boot partition during the
> rhel6 installation and then added a chainloader entry to the end of the
> CentOS-5 /boot/grub/grub.conf to boot rhel6:
>
> title RHEL6 Buildsys
>         rootnoverify (hd0)
>         root (hd0,1)
>         chainloader +1
>
>
> Adjust to suit your partitioning scheme :-)

That's all it needed. Thanks. Writing from Red Hat now. Would have
been here sooner, except SELinux did a "relabel" -- whatever that is.
Probably didn't like me messing with grub. I thought I could do a
"normal" Linux grub entry (like CentOS) but I got an grub error number
2 when I tried that (13 with the chainloader, which makes sense since
I didn't have grub there). I'll use the chainloader from now on when I
tri-boot.

Thanks very much.

-- 
RonB -- Using CentOS 5.5 ... err RHEL 6 Evaluation
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 filesystem size limit

2011-01-03 Thread Pasi Kärkkäinen
On Sun, Jan 02, 2011 at 04:49:44PM -0500, Joshua Baker-LePain wrote:
> On Sun, 2 Jan 2011 at 1:45pm, Robert Arkiletian wrote
> 
> > I just read the rhel6 filesystem size limit.
> >
> > http://www.redhat.com/rhel/compare/
> >
> > It says 16TB limit for ext4 (same as ext3)?!?!  I thought ext4 was
> > supposed to support 1EB ( ~ 1 million TB) limit. That was one of the
> > main advantages of rhel6. After a little more digging all I found was
> > that the user space formatting tools (mkfs.ext4) only support 32bit
> > filesystems (not 48bits). I'm surprised about this, I thought people
> > would be waiting for >16TB support in rhel6. Does anyone know if this
> > is going to change in point releases of rhel/centos6?
> 
> I did some googling on this recently, and I found that while ext4 
> theoretically supports such large filesystems (and you can find/compile 
> userspace tools to create them), the developers don't really recommend 
> using it for such yet.  It's just not deemed ready for production yet.  I 
> saw multiple recommendation (including from RH devs) to use XFS if you 
> need filesystems that big.
> 

I think there's a problem at least in mkfs.ext4 etc, they're not
able to handle >16TB filesystems yet.

-- Pasi

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


Re: [CentOS] noob question about mock

2011-01-03 Thread Nico Kadel-Garcia
On Mon, Jan 3, 2011 at 2:11 AM, JohnS  wrote:
>
> On Mon, 2011-01-03 at 00:20 -0500, Nico Kadel-Garcia wrote:
>> > Which Version Number?  There are a few of them already patched from F12
>> > to Rawhide.  No I do not have anything to do with CentOS Extras but I
>> > have the currious mind.
>>
>> I'm using the mock-1.0.14 from "epel-testing", that has all the
>> relevant patches.
>
> Of which it has been in testing since September which would make me a
> little weary of it.  One thing from looking at the bug report no one is
> giving any feedback on it.  Any way I guess this does not answer the
> n00b mock ? ?
>
> John

I think they're busy campers with RHEL 6 integration and integration
with a *lot* of utilities that RHEL selected not to include. It looks
like it's not that high a priority for EPEL release engineers right
now, but I really recommend it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] automated remote cloning

2011-01-03 Thread Kwan Lowe
On Sat, Jan 1, 2011 at 6:50 AM, Geoff Galitz  wrote:
>
> Good morning/day and Happy New Year.
>
> We have a geographically distributed environment (marketing speak: cloud)
> where we regularly need to migrate individual systems to new hardware (for
> bigger disks or for better geographical placement, for example).  We
> currently use Cobbler to do our base installs automatically and I am now
> looking at integrating Clonezilla with Cobbler.  The goal is take an
> *individual* system that has been customized and migrate it in an automated
> fashion.
>
> We currently do this using Cobbler and then running rsync and mysqldump in a
> script along with other system -> userland module configurations (such as
> PHP modules) but the process is tedious and generally a PITA.  We also must
> have the ability to run this across different datacenters on different
> continents.
>
> Any pointers to good automated solutions?

Do you use cfengine or puppet in your environment?  If you install the
base packages via post installation scripts, you can use cfengine to
layer on specific host identities (hostname, IP, configuration,
packages, etc.).  With either of these tools you can import
configurations from a running host and then layer them back to a new
host.  There is some considerable setup to get it to that point, but
lots of scripts available online so much of the work is done.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] installing windows 2008 server( VM) on a centos xen server

2011-01-03 Thread Agnello George
 hi

I have a xen cent os (Dom0) .. i want to add a vm ( windows 2008 server ) ,
since i am using command line how do i see  the  the windows machine. boot
?? .. i am really confused here .
I have previous iinstalled centos ( VM)  , but that was command line based .


Can some one please direct me on this

-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing windows 2008 server( VM) on a centos xen server

2011-01-03 Thread Vincent Li

On 01/03/2011 09:40 AM, Agnello George wrote:

 hi

I have a xen cent os (Dom0) .. i want to add a vm ( windows 2008 
server ) , since i am using command line how do i see  the  the 
windows machine. boot ?? .. i am really confused here .
I have previous iinstalled centos ( VM)  , but that was command line 
based .


Can some one please direct me on this

--
Regards
Agnello D'souza



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
There is no way to see the Windows VM booting. Just use the GUI 
Environment or VNC remotely.


--
Best Regards,

Vincent Li

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


Re: [CentOS] installing windows 2008 server( VM) on a centos xen server

2011-01-03 Thread Gabriel
You can install virt-manager on the centos box, and then use it via ssh,
for example

 

ssh -X u...@centoshost.com

 

Then on the command line, run virt-manager, (you may need to install
xauth as well, but it works a charm)

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Agnello George
Sent: 03 January 2011 14:40
To: CentOS mailing list; li...@yahoogroups.com
Subject: [CentOS] installing windows 2008 server( VM) on a centos xen
server

 

 hi

I have a xen cent os (Dom0) .. i want to add a vm ( windows 2008 server
) , since i am using command line how do i see  the  the windows
machine. boot ?? .. i am really confused here .  
I have previous iinstalled centos ( VM)  , but that was command line
based . 

Can some one please direct me on this 

-- 
Regards 
Agnello D'souza



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


Re: [CentOS] installing windows 2008 server( VM) on a centos xen server

2011-01-03 Thread Agnello George
On Mon, Jan 3, 2011 at 8:14 PM, Gabriel  wrote:

>  You can install virt-manager on the centos box, and then use it via ssh,
> for example
>
>
>
> ssh –X u...@centoshost.com
>
>
>
> Then on the command line, run virt-manager, (you may need to install xauth
> as well, but it works a charm)
>
>
>
>

well i am not given permission to install GUI for the centos (dom0)  :(


-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing windows 2008 server( VM) on a centos xenserver

2011-01-03 Thread Gabriel
You won't be installing GUI! Trust me,  yum install virt-manager xauth -
Those are the only packages that will be installed, (plus any required
support packages, which are minimal)

 

Then via your SSH session, you get the gui running on *your* local X
server - not the remote server. Awesome for remote admin of servers, and
also compressed via ssh, and most of my colo servers prioritise ssh
traffic, so very good connections, even if your servers are being
hammered for traffic. Win win J

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Agnello George
Sent: 03 January 2011 14:47
To: CentOS mailing list
Subject: Re: [CentOS] installing windows 2008 server( VM) on a centos
xenserver

 

 

On Mon, Jan 3, 2011 at 8:14 PM, Gabriel 
wrote:

You can install virt-manager on the centos box, and then use it via ssh,
for example

 

ssh -X u...@centoshost.com

 

Then on the command line, run virt-manager, (you may need to install
xauth as well, but it works a charm)

 

 



well i am not given permission to install GUI for the centos (dom0)  :( 


-- 
Regards 
Agnello D'souza



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


Re: [CentOS] installing windows 2008 server( VM) on a centos xenserver

2011-01-03 Thread Agnello George
On Mon, Jan 3, 2011 at 8:20 PM, Gabriel  wrote:

>  You won’t be installing GUI! Trust me,  yum install virt-manager xauth –
> Those are the only packages that will be installed, (plus any required
> support packages, which are minimal)
>
>
>
> Then via your SSH session, you get the gui running on **your** local X
> server – not the remote server. Awesome for remote admin of servers, and
> also compressed via ssh, and most of my colo servers prioritise ssh traffic,
> so very good connections, even if your servers are being hammered for
> traffic. Win win J
>
>
>
>

well its  a bit sad but my laptop is a win 7 ... is there any windows
client  i could use to connect to the remote xen server . OR is there any
other way if my laptop is win7 or xp .

-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing windows 2008 server( VM) on a centos xenserver

2011-01-03 Thread m . roth
Agnello George wrote:
> On Mon, Jan 3, 2011 at 8:20 PM, Gabriel 
> wrote:
>
>>  You won’t be installing GUI! Trust me,  yum install virt-manager xauth
>> –
>> Those are the only packages that will be installed, (plus any required
>> support packages, which are minimal)
>>
>> Then via your SSH session, you get the gui running on **your** local X
>> server – not the remote server. Awesome for remote admin of servers, and
>> also compressed via ssh, and most of my colo servers prioritise ssh
>> traffic, so very good connections, even if your servers are being
hammered for
>> traffic. Win win J
>
> well its  a bit sad but my laptop is a win 7 ... is there any windows
> client  i could use to connect to the remote xen server . OR is there any
> other way if my laptop is win7 or xp .

putty?

  mark "it *is* what everyone uses"

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


Re: [CentOS] installing windows 2008 server( VM) on a centosxenserver

2011-01-03 Thread Gabriel
Google xlaunch for windows - run that baby, with the same ssh command,
and it'll work the same. A good ssh client for windows is Bitvise
Tunnilier (I may have spelt it wrong, but google will help you out with
that!)

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Agnello George
Sent: 03 January 2011 15:39
To: CentOS mailing list
Subject: Re: [CentOS] installing windows 2008 server( VM) on a
centosxenserver

 

 

On Mon, Jan 3, 2011 at 8:20 PM, Gabriel 
wrote:

You won't be installing GUI! Trust me,  yum install virt-manager xauth -
Those are the only packages that will be installed, (plus any required
support packages, which are minimal)

 

Then via your SSH session, you get the gui running on *your* local X
server - not the remote server. Awesome for remote admin of servers, and
also compressed via ssh, and most of my colo servers prioritise ssh
traffic, so very good connections, even if your servers are being
hammered for traffic. Win win J

 






well its  a bit sad but my laptop is a win 7 ... is there any windows
client  i could use to connect to the remote xen server . OR is there
any other way if my laptop is win7 or xp . 

-- 
Regards 
Agnello D'souza



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


Re: [CentOS] installing windows 2008 server( VM) on a centosxenserver

2011-01-03 Thread Rob Kampen

Gabriel wrote:


Google xlaunch for windows – run that baby, with the same ssh command, 
and it’ll work the same. A good ssh client for windows is Bitvise 
Tunnilier (I may have spelt it wrong, but google will help you out 
with that!)



+1 - have used this for 6 years from windoze clients


*From:* centos-boun...@centos.org [mailto:centos-boun...@centos.org] 
*On Behalf Of *Agnello George

*Sent:* 03 January 2011 15:39
*To:* CentOS mailing list
*Subject:* Re: [CentOS] installing windows 2008 server( VM) on a 
centosxenserver


On Mon, Jan 3, 2011 at 8:20 PM, Gabriel > wrote:


You won’t be installing GUI! Trust me, yum install virt-manager xauth 
– Those are the only packages that will be installed, (plus any 
required support packages, which are minimal)


Then via your SSH session, you get the gui running on **your** local X 
server – not the remote server. Awesome for remote admin of servers, 
and also compressed via ssh, and most of my colo servers prioritise 
ssh traffic, so very good connections, even if your servers are being 
hammered for traffic. Win win J





well its a bit sad but my laptop is a win 7 ... is there any windows 
client i could use to connect to the remote xen server . OR is there 
any other way if my laptop is win7 or xp .


--
Regards
Agnello D'souza



___
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] installing windows 2008 server( VM) on a centosxenserver

2011-01-03 Thread Agnello George
On Mon, Jan 3, 2011 at 9:11 PM, Gabriel  wrote:

>  Google xlaunch for windows – run that baby, with the same ssh command,
> and it’ll work the same. A good ssh client for windows is Bitvise Tunnilier
> (I may have spelt it wrong, but google will help you out with that!)
>
>
>
>

ok here is my problem


mylaptp --> cent os xenserver ( Dom0 ) ---> Win2008 ( DomU )

myLaptop ---via putty / Bitvise Tunnilier can connect to --->  cent os
xen server ( Dom0 ) . need to connect to DomU --> Win2008





-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Helper variables like %{rhel} on CentOS

2011-01-03 Thread Santi Saez
Hello,

I'm trying to use helper variables like %{rhel} in a .SPEC file on 
CentOS (as they are defined in RHEL and Fedora [1]), but it seems they 
are not available.

Is there any way to detect automatically CentOS release from a .SPEC 
file in a RPM build process?

As a workaround, I use this hack:

 %if 0%{?rhel} >= 5
 (..)
 %endif

And when calling rpmbuild I use a conditional build, like:

 $ rpmbuild -ba --clean --define "rhel 5"

Regards,

[1] http://goo.gl/dkGUg

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


Re: [CentOS] Centos 5.5 - Kernel Panic while booting.

2011-01-03 Thread Lisandro Grullon
This was very helpful Akemi...I was loading centos in two other identical 
servers today and was having such a hard time loading it from DVD, DVD appears 
to be crashing, I even re-downloaded the image 3 times from three different 
mirrors and burn them with different applications (Nero, Roxio, and poweriso), 
worse case scenario it must be something with the Memorex DVD Media. Anyway,  
after two hours of trying I decided to do a network install and everything went 
flawless. Good to have many options, Centos rocks!

>>> Akemi Yagi  12/17/10 8:13 PM >>>
On Fri, Dec 17, 2010 at 5:11 PM, Lisandro Grullon
 wrote:
> Akemi,
> I went through the different  mirrors and was unable to locate the ISO as it
> is stated as deprecated or unsupported, is there any plans to fix this issue
> in 5.6 or rather 6.x release. It appears that the latest build from Centos
> was built back in may, lots of bugs have emerge since them including this
> one relating to a kernel panic. Please advise in the location of 5.4, i am
> willing to try it.

It's here:

http://vault.centos.org/5.4/

Akemi

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


Re: [CentOS] Helper variables like %{rhel} on CentOS

2011-01-03 Thread Akemi Yagi
On Mon, Jan 3, 2011 at 8:01 AM, Santi Saez  wrote:
> Hello,
>
> I'm trying to use helper variables like %{rhel} in a .SPEC file on
> CentOS (as they are defined in RHEL and Fedora [1]), but it seems they
> are not available.
>
> Is there any way to detect automatically CentOS release from a .SPEC
> file in a RPM build process?
>
> As a workaround, I use this hack:
>
>     %if 0%{?rhel} >= 5
>         (..)
>     %endif
>
> And when calling rpmbuild I use a conditional build, like:
>
>     $ rpmbuild -ba --clean --define "rhel 5"

You may want to look into the srpms of nx/freenx in the CentOS extras
repository. The spec file contains the following:

# centos_ver is a number (2,3,4,5). It can be provided in the build system or
# via the command line with the following define for rpmbuild
# --define "centos_ver 5"
# If centos_ver is not provided the following will find it and should work on
# all current redhat based EL rebuilds, will not work properly on FC though

%{!?centos_ver: %define centos_ver %(Z=`rpm -q --whatprovides
/etc/redhat-release`;A=`rpm -q --qf '%{V}' $Z`; echo ${A:0:1})}


I believe this was originally written by Johnny Hughes and is still in
use for those packages (now including the upcoming version "6").

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


Re: [CentOS] Centos 5.5 - Kernel Panic while booting.

2011-01-03 Thread Rob Del Vecchio
> I was loading centos in two other identical
> servers today and was having such a hard time loading it from DVD, DVD
> appears to be crashing, I even re-downloaded the image 3 times from three
> different mirrors and burn them with different applications

You know, I was having the same exact issue, except I was downloading
the LiveCD.  I downloaded a bunch of times from different mirrors and
instead of burning to CD, I loaded the CD to a USB key.
After the first downloaded image failed, and after downloading others,
I did an MD5 checksum on all of them, and sure enough, none of them
checked out.  Errors did not exist in consistent places.
I too fell back to netinstall with a kickstart script, so all went
well in the end, but I find it's odd that both CD and DVD downloads
from different mirrors did not transfer correctly (?) .

What could be going on?

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


Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-03 Thread Dave
On Sat, Jan 1, 2011 at 10:06 PM, Gordon Messmer  wrote:
> On 01/01/2011 05:56 PM, Dave wrote:
>>
>> Is there a best practice? People have to be doing something!
>
> I think that's unlikely.  If you don't "oversubscribe" your disk space
> as a matter of policy, you'll force upgrades earlier than most people
> would consider them necessary.  Most users, I'd expect, will be well
> under quota most of the time.  You'd commit all of your disk space to
> quota long before the space was actually used.  In your scenario, you'd
> be required to expand the disk array whenever it was committed to quota,
> even if actual use was very low.  Every site that I know of which uses
> quotas handles disk upgrades when utilization requires it, not when
> quota subscription does.

So, is it fair to rephrase that as "ignore quotas, pay attention to
actual usage"?

I agree that some degree of oversubscription is probably desireable,
and it would be much easier to just add storage whenever it looks to
be getting fullish. My situation right now makes that difficult -
budget is gone, so I can't add storage, and my users sometimes start
up a big simulation that could potentially fill the disk right before
the weekend. If the hoggy simulation crashes itself, that's okay, but
if it brings down a lot of other jobs submitted by other users, I look
bad. I guess even if there was some good tool support, this task is
doomed to make everyone unhappy.

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


[CentOS] mount.cifs with kerberos

2011-01-03 Thread Adam Wead
Hi all,

Has anyone been able to mount windows shares with mount.cifs using kerberos
credentials?  I can get a kerberos ticket at login or use kinit and then
connect via smbclient:

> kinit username
> smbclient -k \\server\share

I'd like to be able to mount the share like this:

> mount.cifs //server/share /mnt -o user=username,sec=krb5

The above command returns: mount error 95 = Operation not supported
Using sec=krb5i returns: mount error 126 = Required key not available

Some of the stuff I read said that mount.cifs doesn't support kerberos yet,
but that wasn't recent.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum update troubles

2011-01-03 Thread Matt
Running yum update on CentOS 4.8 32 bit I keep getting this:

--> Running transaction check
--> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
package: perl-IO-Compress
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
by package perl-IO-Compress

I try to uninstall perl-IO-Compress but something like 91 packages
depend on it.  Any ideas?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update troubles

2011-01-03 Thread m . roth
Matt wrote:
> Running yum update on CentOS 4.8 32 bit I keep getting this:
>
> --> Running transaction check
> --> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
> package: perl-IO-Compress
> --> Finished Dependency Resolution
> Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
> by package perl-IO-Compress
>
> I try to uninstall perl-IO-Compress but something like 91 packages
> depend on it.  Any ideas?

You might start out by
 > yum clean all
and retrying.

   mark

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


Re: [CentOS] yum update troubles

2011-01-03 Thread Jeff
On Mon, Jan 3, 2011 at 2:39 PM, Matt  wrote:
> Running yum update on CentOS 4.8 32 bit I keep getting this:
>
> --> Running transaction check
> --> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
> package: perl-IO-Compress
> --> Finished Dependency Resolution
> Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
> by package perl-IO-Compress
>
> I try to uninstall perl-IO-Compress but something like 91 packages
> depend on it.  Any ideas?

Do you have 3rd party repositories enabled? Did you enable them with
care and use yum-plugin-priorities or yum-plugin-protectbase?

You may have to untangle installed packages from mixed repositories
before you can go any further.

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


Re: [CentOS] yum update troubles

2011-01-03 Thread Matt
>> Running yum update on CentOS 4.8 32 bit I keep getting this:
>>
>> --> Running transaction check
>> --> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
>> package: perl-IO-Compress
>> --> Finished Dependency Resolution
>> Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
>> by package perl-IO-Compress
>>
>> I try to uninstall perl-IO-Compress but something like 91 packages
>> depend on it.  Any ideas?
>
> Do you have 3rd party repositories enabled? Did you enable them with
> care and use yum-plugin-priorities or yum-plugin-protectbase?
>
> You may have to untangle installed packages from mixed repositories
> before you can go any further.

Thats likely it.  Have rpmforge-release-0.5.1-1.el4.rf installed.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] happy new years ssh key problem :)

2011-01-03 Thread Flaherty, Patrick
What are the permissions for /var/lib/amanda? From what I remember sshd
doesn't like directories that aren't 700. 

Try changing "StrictModes Yes" to "StrictModes No" in
/etc/ssh/sshd_config on the server side of the connection and restarting
sshd.

The other trick you can try is starting up an ssh server in
debug/non-forking mode. 

cp /etc/ssh/sshd_config ~/temp_sshd_config
edit ~/temp_sshd_config, uncomment Port 22 and change it to Port 1
/usr/sbin/sshd -f ~/temp_sshd_config -dd

On the client, ssh -p 1 someu...@somehost, and watch the debug
output on the servers terminal to see what the error is.


> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of bluethundr
> Sent: Friday, December 31, 2010 2:33 PM
> To: CentOS mailing list
> Subject: [CentOS] happy new years ssh key problem :)
> 
> Hi List,
> 
>  Happy  New Years and I was hoping to get some help on an ssh issue
> that I am having. For some reason I am unable to scp to hosts on this
> network using RSA keys. Here is what I am doing/what is going on;
> 
> scp the public key to remote host
> 
> [amandabac...@virtcent18 ~]$ scp ~/.ssh/id_rsa_amdump.pub
> amandabac...@lb1:~
> amandabac...@lb1's password:
> id_rsa_amdump.pub
> 100%  408 0.4KB/s   00:00
> 
> 
> 
> ssh (w/passwd) to remote host
> 
> 
> [amandabac...@virtcent18 ~]$ ssh lb1
> amandabac...@lb1's password:
> Last login: Fri Dec 31 10:57:05 2010 from 192.168.1.40
> #
> #   SUMMITNJHOME.COM#
> #   TITLE:   LB1 BOX#
> #   HOST:VIRTCENT01 #
> #   LOCATION:SUMMIT BASEMENT#
> #
> 
> 
> check to see if the key exists in authorized_keys
> 
> [amandabac...@virtcent01 ~]$ grep -f id_rsa_amdump.pub
> ~/.ssh/authorized_keys
> 
> 
> it didn't so cat it into authorized_keys
> 
> [amandabac...@virtcent01 ~]$ cat id_rsa_amdump.pub >>
> ~/.ssh/authorized_keys
> 
> check again, just to make sure that it's there
> 
> [amandabac...@virtcent01 ~]$ grep -f id_rsa_amdump.pub
> ~/.ssh/authorized_keys
> ssh-rsa BlAB3Nza/FAKE-KEY-DATA--KEY-DATAKfMq4DDa0xaKb/FAKE-KEY-DATA--
> KEY-DATAsoqCu/boKNa/FAKE-KEY-DATA--KEY-
> DATAp1n9TcDtxm2XFHcOKUw2/14/bz1pWNDI/FAKE-KEY-DATA--KEY-
> DATAr9951JdK7Ny6lk/FAKE-KEY-DATA--KEY-DATA1/FAKE-KEY-DATA--KEY-
>
DATAwh2dmgyxI9N69x3ypvWcGWShZw1BCJI06j5qIxvin99/FAKE-KEY-DATA--KEY-DATA
> 
> It is. so good so far. Check permissions on authorized_keys file
> 
> [amandabac...@virtcent01 ~]$ ls -l ~/.ssh/authorized_keys
> -rw--- 1 amandabackup disk 408 Dec 31 11:02
> /var/lib/amanda/.ssh/authorized_keys
> 
> make sure we have the right home environment
> 
> HOME=/var/lib/amanda
> 
> Also good. Now, make sure ssh is looking at the right file
> 
> [r...@virtcent01 ~]# grep -i authorizedkeysfile /etc/ssh/sshd_config
> AuthorizedKeysFile   ~/.ssh/authorized_keys
> 
> It is. Now exit and try to ssh in
> 
> [amandabac...@virtcent01 ~]$ exit
> Connection to lb1 closed.
> 
> 
> [amandabac...@virtcent18 ~]$ ssh -vvv amandabac...@lb1
> OpenSSH_5.6p1lpk, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to lb1 [192.168.1.23] port 22.
> debug1: Connection established.
> debug1: identity file /var/lib/amanda/.ssh/id_rsa type -1
> debug1: identity file /var/lib/amanda/.ssh/id_rsa-cert type -1
> debug1: identity file /var/lib/amanda/.ssh/id_dsa type -1
> debug1: identity file /var/lib/amanda/.ssh/id_dsa-cert type -1
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_5.6
> debug1: match: OpenSSH_5.6 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_5.6
> debug2: fd 3 setting O_NONBLOCK
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-
> sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit:
>
ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa-cert-
> v...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
>
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-
> cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-
> c...@lysator.liu.se
> debug2: kex_parse_kexinit:
>
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-
> cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-
> c...@lysator.liu.se
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-
> ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-
> ripem

Re: [CentOS] Centos 5.5 - Kernel Panic while booting.

2011-01-03 Thread Jerry McAllister
On Mon, Jan 03, 2011 at 01:37:17PM -0500, Lisandro Grullon wrote:

> This was very helpful Akemi...I was loading centos in two other identical 
> servers today and was having such a hard time loading it from DVD, DVD 
> appears to be crashing, I even re-downloaded the image 3 times from three 
> different mirrors and burn them with different applications (Nero, Roxio, and 
> poweriso), worse case scenario it must be something with the Memorex DVD 
> Media. Anyway,  after two hours of trying I decided to do a network install 
> and everything went flawless. Good to have many options, Centos rocks!


Could be.I have had very bad experiences with Memorex tapes, floppies 
and CDs over the years.   I won't use them any more.   There is also a
Euro brand with a similar track record for me that I wlil no longer use
either, but I can't remember the name at the moment.

Anyway, good the net install worked.

jerry


> 
> >>> Akemi Yagi  12/17/10 8:13 PM >>>
> On Fri, Dec 17, 2010 at 5:11 PM, Lisandro Grullon
>  wrote:
> > Akemi,
> > I went through the different  mirrors and was unable to locate the ISO as it
> > is stated as deprecated or unsupported, is there any plans to fix this issue
> > in 5.6 or rather 6.x release. It appears that the latest build from Centos
> > was built back in may, lots of bugs have emerge since them including this
> > one relating to a kernel panic. Please advise in the location of 5.4, i am
> > willing to try it.
> 
> It's here:
> 
> http://vault.centos.org/5.4/
> 
> Akemi
> 

> ___
> 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] Grub upgrade for CentOS 5.5?

2011-01-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/03/2011 06:42 AM, Ron Blizzard wrote:
> On Mon, Jan 3, 2011 at 5:09 AM, Ned Slider  wrote:
> 
>> Yes, I installed rhel6's grub to the rhel6 /boot partition during the
>> rhel6 installation and then added a chainloader entry to the end of the
>> CentOS-5 /boot/grub/grub.conf to boot rhel6:
>>
>> title RHEL6 Buildsys
>> rootnoverify (hd0)
>> root (hd0,1)
>> chainloader +1
>>
>>
>> Adjust to suit your partitioning scheme :-)
> 
> That's all it needed. Thanks. Writing from Red Hat now. Would have
> been here sooner, except SELinux did a "relabel" -- whatever that is.
> Probably didn't like me messing with grub. I thought I could do a
> "normal" Linux grub entry (like CentOS) but I got an grub error number
> 2 when I tried that (13 with the chainloader, which makes sense since
> I didn't have grub there). I'll use the chainloader from now on when I
> tri-boot.
> 
> Thanks very much.
> 
If you boot a machine with SELinux disabled and then renenable it, the
init scripts will relabel the machine.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0iT00ACgkQrlYvE4MpobPthQCg1VQGA0zC/IH2jrgKAKL8X0b9
xHsAn3+3F9muIi6tbAdhixuBsfV3+WCI
=Y8uW
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Another Satisfied Linux Customer!

2011-01-03 Thread Keith Roberts
Well this guy is obviously running Centos 5.5, and can't 
wait for the upcoming 6 release.

http://www.youtube.com/watch?v=Xed9LiMf1Qg&feature=aso

Happy New Year all ;)

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


[CentOS] php.ini disabled notices still shows notices in the logs

2011-01-03 Thread George
Hello,

I did some google searches but could not find anyone raising a similar 
issue immediatly but perhaps there is already somewhere a bugreport 
upstream about this I did overlook ...

When you disable notices in /etc/php.ini:
error_reporting = E_ALL & ~E_NOTICE
on a simple LAMP setup of CentOS 5.x (running 5.0 up to 5.5) I still see 
notices in the log files ... (which causes a serious overhead of logs in 
my case ...)
Anyone can confirm this and/or can point me towards bugreports/solutions?

Regards,

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


Re: [CentOS] installing windows 2008 server( VM) on a centosxenserver

2011-01-03 Thread Ross Walker
On Jan 3, 2011, at 10:49 AM, Agnello George  wrote:

> 
> 
> On Mon, Jan 3, 2011 at 9:11 PM, Gabriel  wrote:
> Google xlaunch for windows – run that baby, with the same ssh command, and 
> it’ll work the same. A good ssh client for windows is Bitvise Tunnilier (I 
> may have spelt it wrong, but google will help you out with that!)
> 
>  
> 
> 
> 
> 
> ok here is my problem 
> 
> 
> mylaptp --> cent os xenserver ( Dom0 ) ---> Win2008 ( DomU ) 
> 
> myLaptop ---via putty / Bitvise Tunnilier can connect to --->  cent os 
> xen server ( Dom0 ) . need to connect to DomU --> Win2008 

You can set up the Xen VM with a VNC console and/or serial console and connect 
to either for install/boot.

Win 2008 can run headless, the console is a powershell console I believe, 
haven't tried installing with it though.

You can also connect to the VNC console using any VNC client.

-Ross

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


Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-03 Thread Ross Walker
On Jan 3, 2011, at 2:39 PM, Dave  wrote:

> On Sat, Jan 1, 2011 at 10:06 PM, Gordon Messmer  wrote:
>> On 01/01/2011 05:56 PM, Dave wrote:
>>> 
>>> Is there a best practice? People have to be doing something!
>> 
>> I think that's unlikely.  If you don't "oversubscribe" your disk space
>> as a matter of policy, you'll force upgrades earlier than most people
>> would consider them necessary.  Most users, I'd expect, will be well
>> under quota most of the time.  You'd commit all of your disk space to
>> quota long before the space was actually used.  In your scenario, you'd
>> be required to expand the disk array whenever it was committed to quota,
>> even if actual use was very low.  Every site that I know of which uses
>> quotas handles disk upgrades when utilization requires it, not when
>> quota subscription does.
> 
> So, is it fair to rephrase that as "ignore quotas, pay attention to
> actual usage"?
> 
> I agree that some degree of oversubscription is probably desireable,
> and it would be much easier to just add storage whenever it looks to
> be getting fullish. My situation right now makes that difficult -
> budget is gone, so I can't add storage, and my users sometimes start
> up a big simulation that could potentially fill the disk right before
> the weekend. If the hoggy simulation crashes itself, that's okay, but
> if it brings down a lot of other jobs submitted by other users, I look
> bad. I guess even if there was some good tool support, this task is
> doomed to make everyone unhappy.

Maybe you can have the users run these in containers like OpenVz that are set 
to clean themselves up after they finish?

-Ross

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


Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-03 Thread Ross Walker
On Jan 3, 2011, at 8:10 PM, Ross Walker  wrote:

> On Jan 3, 2011, at 2:39 PM, Dave  wrote:
> 
>> On Sat, Jan 1, 2011 at 10:06 PM, Gordon Messmer  wrote:
>>> On 01/01/2011 05:56 PM, Dave wrote:
 
 Is there a best practice? People have to be doing something!
>>> 
>>> I think that's unlikely.  If you don't "oversubscribe" your disk space
>>> as a matter of policy, you'll force upgrades earlier than most people
>>> would consider them necessary.  Most users, I'd expect, will be well
>>> under quota most of the time.  You'd commit all of your disk space to
>>> quota long before the space was actually used.  In your scenario, you'd
>>> be required to expand the disk array whenever it was committed to quota,
>>> even if actual use was very low.  Every site that I know of which uses
>>> quotas handles disk upgrades when utilization requires it, not when
>>> quota subscription does.
>> 
>> So, is it fair to rephrase that as "ignore quotas, pay attention to
>> actual usage"?
>> 
>> I agree that some degree of oversubscription is probably desireable,
>> and it would be much easier to just add storage whenever it looks to
>> be getting fullish. My situation right now makes that difficult -
>> budget is gone, so I can't add storage, and my users sometimes start
>> up a big simulation that could potentially fill the disk right before
>> the weekend. If the hoggy simulation crashes itself, that's okay, but
>> if it brings down a lot of other jobs submitted by other users, I look
>> bad. I guess even if there was some good tool support, this task is
>> doomed to make everyone unhappy.
> 
> Maybe you can have the users run these in containers like OpenVz that are set 
> to clean themselves up after they finish?

Or use Amazon's elastic computing cloud to provision simulation VMs, run the 
simulations, report results, then completely disappear.

-Ross

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


[CentOS] Converting to maildir

2011-01-03 Thread Jason Pyeron
Looking for a guide on converting to Maildir.

Here are our relevant specs.

sendmail-8.12.11-4.RHEL3.6 (we may not be able to upgrade this due to too many
modifications)
imap-2002d-14
procmail-3.22-10.el3.centos.0

To a maildir setup...


I was in a panic today at work because the backup server is filling up too
quickly, backing up peoples email. Further it is not backing up often enough. I
just lost all of today's email. I hate mbox and imap and outlook...


All the maildir stuff I can find is postfix oriented. From what I can read in
procmail man pages, it supports maildir and sendmail uses procmail as the LDA,
hence sendmail "supports" it.

-Jason


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



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


Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-03 Thread Peter Brady
On 4/01/11 6:39 AM, Dave wrote:
> I agree that some degree of oversubscription is probably desireable,
> and it would be much easier to just add storage whenever it looks to
> be getting fullish. My situation right now makes that difficult -
> budget is gone, so I can't add storage, and my users sometimes start
> up a big simulation that could potentially fill the disk right before
> the weekend. If the hoggy simulation crashes itself, that's okay, but
> if it brings down a lot of other jobs submitted by other users, I look
> bad. I guess even if there was some good tool support, this task is
> doomed to make everyone unhappy.

I have a similar problem with ANSYS users in an HPC environment, in that 
un-schooled ANSYS users can generate vast quantities of (garbage) data 
very quickly.  For some of these users that seem particularly unable to 
learn how to use ANSYS I've spun their home directories off to 
individual partitions.  That way they only crash themselves and there is 
a very definite hard limit on what they can fill.

Perhaps not as elegant as quotas but it sure works.

I don't run quotas per say but monitor users under a kind of "fair use" 
policy.  Just have a df based script that runs once a day.  The vast 
majority of my users don't generate much data so I'd be really over 
subscribed.  Its the small number of FEA and CFD users that fill my drives.

Still, its a big task to continually educate and remind users on the 
appropriate etiquette when using shared resources.

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


Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-03 Thread Ross Walker
On Jan 3, 2011, at 8:12 PM, Ross Walker  wrote:

> On Jan 3, 2011, at 8:10 PM, Ross Walker  wrote:
> 
>> On Jan 3, 2011, at 2:39 PM, Dave  wrote:
>> 
>>> On Sat, Jan 1, 2011 at 10:06 PM, Gordon Messmer  wrote:
 On 01/01/2011 05:56 PM, Dave wrote:
> 
> Is there a best practice? People have to be doing something!
 
 I think that's unlikely.  If you don't "oversubscribe" your disk space
 as a matter of policy, you'll force upgrades earlier than most people
 would consider them necessary.  Most users, I'd expect, will be well
 under quota most of the time.  You'd commit all of your disk space to
 quota long before the space was actually used.  In your scenario, you'd
 be required to expand the disk array whenever it was committed to quota,
 even if actual use was very low.  Every site that I know of which uses
 quotas handles disk upgrades when utilization requires it, not when
 quota subscription does.
>>> 
>>> So, is it fair to rephrase that as "ignore quotas, pay attention to
>>> actual usage"?
>>> 
>>> I agree that some degree of oversubscription is probably desireable,
>>> and it would be much easier to just add storage whenever it looks to
>>> be getting fullish. My situation right now makes that difficult -
>>> budget is gone, so I can't add storage, and my users sometimes start
>>> up a big simulation that could potentially fill the disk right before
>>> the weekend. If the hoggy simulation crashes itself, that's okay, but
>>> if it brings down a lot of other jobs submitted by other users, I look
>>> bad. I guess even if there was some good tool support, this task is
>>> doomed to make everyone unhappy.
>> 
>> Maybe you can have the users run these in containers like OpenVz that are 
>> set to clean themselves up after they finish?
> 
> Or use Amazon's elastic computing cloud to provision simulation VMs, run the 
> simulations, report results, then completely disappear.

I was just thinking if you had a couple of base simulation disk images created 
for containers on LVM you could create clones (writable snapshots) for each 
container at the time they start, have the simulation run and when the 
container stops the snapshot can be destroyed, cleaning up the used disk space.

All this can be scriptable and can kick off via cron or 'at', or whatever.

-Ross

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


Re: [CentOS] yum update troubles

2011-01-03 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt said the following on 03/01/11 21:39:

> Running yum update on CentOS 4.8 32 bit I keep getting this:
> 
> --> Running transaction check
> --> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
> package: perl-IO-Compress
> --> Finished Dependency Resolution
> Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
> by package perl-IO-Compress
> 
> I try to uninstall perl-IO-Compress but something like 91 packages
> depend on it.  Any ideas?

Conflict with rpmforge, happened to several installation since mid December.

Solved removing perl RPM packages and using CPAN.





Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

UFOs are for real: Air Force doesn't exist.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0iqUwACgkQ3kWu7Tfl6ZSTmQCfRkLsClQehHW1vn9/LznJUtq/
k84AnA3UirNKM7Q63PDBEJ5bzIF7cV8O
=NJBy
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Another Satisfied Linux Customer!

2011-01-03 Thread Ron Blizzard
On Mon, Jan 3, 2011 at 4:54 PM, Keith Roberts  wrote:
> Well this guy is obviously running Centos 5.5, and can't
> wait for the upcoming 6 release.
>
> http://www.youtube.com/watch?v=Xed9LiMf1Qg&feature=aso
>
> Happy New Year all ;)

Happy (late) New Year. I like the video -- saw it with some other
soundtrack earlier.

-- 
RonB -- Using CentOS 5.5
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos