[CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Thomas Antony
Hi. I want to make a snapshot from a logical volume and noticed that there must be enough free disk space in the volume group. Actually there is no free disk space left. How do i shrink online /var without losing any data or restore from backup? I do not have physical access to the server.

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: > Hi. > > I want to make a snapshot from a logical volume and noticed that there must > be enough free disk space in the volume group. Actually there is no free > disk space left. > How do i shrink online /var without losing a

Re: [CentOS] strange chgrp behavior

2007-09-04 Thread Tomas Ruprich
Thanks for your reply and your time, i've reported it to centos bug tracking system. I will try it also on RHEL and if it occurs, i'll sent it also to the RH. > ISTM it's a bug and should be reported on both CentOS and RH tracking > systems. Two errors are apparent. One may be difficult to correct

Re: [CentOS] Re: OT: Suggestions for RAID HW for 2 SATA drives in

2007-09-04 Thread Phil Schaffner
On Mon, 2007-09-03 at 15:31 -0500, Lanny Marcus wrote: > On 31 August 2007, Phil Schaffner <[EMAIL PROTECTED]> wrote: > > > Message: 21 > > > > > As discussed recently on-list, VMware CPU requirements to support > > > virtualization are not nearly so rigorous as for Xen. You are > > > probably OK

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Thomas Antony
Luciano Rocha schrieb: On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: Hi. I want to make a snapshot from a logical volume and noticed that there must be enough free disk space in the volume group. Actually there is no free disk space left. How do i shrink online /var wi

RE: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Ross S. W. Walker
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Antony > > Luciano Rocha schrieb: > > On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: > >> Hi. > >> > >> I want to make a snapshot from a logical volume and > noticed that there must > >> be enough free disk

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Sebastian Walter
Thomas Antony wrote: > Is it possible that i log into the server with ssh and umount only > /var and then resize the logical volume? > Try it. Most probably the system will tell you that the disk is in use. What you could do then is booting from a live CD and resize it from there (System will be of

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 03:26:53PM +0200, Thomas Antony wrote: > Luciano Rocha schrieb: > > On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: > >> Hi. > >> > >> I want to make a snapshot from a logical volume and noticed that there > >> must be enough free disk space in the volume

[CentOS] Re: Using HTTP proxy for yum

2007-09-04 Thread Scott Moseman
On 8/28/07, Scott Moseman <[EMAIL PROTECTED]> wrote: > > > > > proxy=http://hostname.domain.com/ > > > > proxy_username=domain\myusername > > > > proxy_password=mypassword > > Perhaps the problem is that its a web -filter- and not really a -proxy-? > Maybe I should try bypassing the corporate -filt

[CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Nick Webb
Hi All, I have what I believe to be a pretty basic LVM & RAID setup on my CentOS 5 machine: Raid Partitions: /dev/sda1,sdb1 /dev/sda2,sdb2 /dev/sda3,sdb3 During the install I created a RAID 1 volume md0 out of sda1,sdb1 for the boot partition and then added sda2,sdb2 to a separate RAID 1 volume

Re: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Alain Spineux
Hi You have all the history of your lvm volumes in /etc/lvm/archive|backup search for the missing id in the archive to understand what append ! Does raid synchronization was ended before your have created your new PV or before to reboot. It should not change anything, but just an idea. On 9/4/07

RE: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Ross S. W. Walker
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Webb > > Hi All, > > I have what I believe to be a pretty basic LVM & RAID setup on my > CentOS 5 machine: > > Raid Partitions: > /dev/sda1,sdb1 > /dev/sda2,sdb2 > /dev/sda3,sdb3 > > During the install I created a RAID 1 volum

Re: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Nick Webb
On 9/4/07, Ross S. W. Walker <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nick Webb > > > > Hi All, > > > > I have what I believe to be a pretty basic LVM & RAID setup on my > > CentOS 5 machine: > > > > Raid Partitions: > > /dev/sda1,sdb1 > > /dev/s

Re: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Nick Webb
Hi Alain, On 9/4/07, Alain Spineux <[EMAIL PROTECTED]> wrote: > Hi > You have all the history of your lvm volumes in /etc/lvm/archive|backup > search for the missing id in the archive to understand what append ! > > Does raid synchronization was ended before your have created your new > PV or befo

Re: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Shad L. Lords
This worked fine, but on reboot I get a ton of errors from LVM saying that volume with id --... was not found and the system automatically reboots. This seems to happen for all volumes, not just the ones I changed. This error even happens for a separate volume group (called 'extended

Re: [CentOS] RAID + LVM Addition to CentOS 5 Install

2007-09-04 Thread Nick Webb
On 9/4/07, Nick Webb <[EMAIL PROTECTED]> wrote: > On 9/4/07, Shad L. Lords <[EMAIL PROTECTED]> wrote: > > > This worked fine, but on reboot I get a ton of errors from LVM saying > > > that volume with id --... was not found and the system > > > automatically reboots. This seems to happ

Re: [CentOS] Performance Issues

2007-09-04 Thread Joshua Baker-LePain
On Sun, 2 Sep 2007 at 8:11am, Dan Dansereau wrote We have a DELL6850 with 8Gbytes of memory, four 3.2Ghz CPU's , perc 4 raid controller, with fourteen 300Gbyte 10Krpm disk on a powervault 220s, And a powervault 124T LTO-3 tape systems on a separate 160Mbyte/sec adaptec SCSI card. Which card

Re: [CentOS] recompiling httpd

2007-09-04 Thread Matthias Leopold
Akemi Yagi schrieb: On 9/3/07, Matthias Leopold <[EMAIL PROTECTED]> wrote: sorry, centos version is 5. problem appears with httpd-2.2.3-6.el5.centos.1.src.rpm and httpd-2.2.3-7.el5.centos.src.rpm (updates) Matthias Leopold schrieb: hi, i'm trying to recompile the httpd rpm on a x86_64 system

Re: [CentOS] recompiling httpd

2007-09-04 Thread Jim Perrin
On 9/4/07, Matthias Leopold <[EMAIL PROTECTED]> wrote: > i get the same error with the original spec file How is the build environment configured? Does this box have any i386/i686 packages on it, or is it entirely x86_64? I can assure you that the original src.rpm as we ship it builds just fine

Re: [CentOS] recompiling httpd

2007-09-04 Thread Akemi Yagi
On 9/4/07, Jim Perrin <[EMAIL PROTECTED]> wrote: > On 9/4/07, Matthias Leopold <[EMAIL PROTECTED]> wrote: > > > i get the same error with the original spec file > > How is the build environment configured? > Does this box have any i386/i686 packages on it, or is it entirely x86_64? > > I can assure

Re: [CentOS] recompiling httpd

2007-09-04 Thread Matthias Leopold
Jim Perrin schrieb: On 9/4/07, Matthias Leopold <[EMAIL PROTECTED]> wrote: i get the same error with the original spec file How is the build environment configured? Does this box have any i386/i686 packages on it, or is it entirely x86_64? I can assure you that the original src.rpm as we shi

[CentOS] SysVinit guidance, please

2007-09-04 Thread Robert
I have experienced a couple of power failures since installing CentOS 5, both while I was working on the system. The first time, several weeks ago, I thought there was some "feature" that I had never seen before but couldn't really put my finger on it. The power came back on after a few secon

[CentOS] dvb modules not in CentOS plus kernel for target=i686

2007-09-04 Thread Tony
I'm just trying to setup my hauppauge nova-T freeview card under Centos 5. It works on the same hardware under CentOS 4.x using the CentOS plus kernel. Having installed the latest CentOS Plus kernel for CentOS 5.0 (2.6.18-8.1.8.el5.centos.plus) I've found that various kernel modules are missing- s

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Thomas Antony
Is it possible that i log into the server with ssh and umount only /var and then resize the logical volume? Yes, but you'll have to stop a lot of daemons and other processes that run with files opened in /var. You can find the processes accessing /var with lsof or fuser: # fuser -mv /var #

RE: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Ross S. W. Walker
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Antony > > >> Is it possible that i log into the server with ssh and > umount only /var and > >> then resize the logical volume? > > > > Yes, but you'll have to stop a lot of daemons and other > processes that > > run wit

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Thomas Antony
/var is required for multi-user mode. Try bringing the system to single-user mode 'init 1' and then try it. -Ross Hi. single-user mode is a problem because i don't have physical access to the server I will try to get some remote hands. Thank you everybody for your help! kind regard

[CentOS] CPAN error

2007-09-04 Thread Mark Quitoriano
Hi all im not sure if this is the right mailing list but im using centos anyway. i run CPAN by perl -MCPAN -e shell and got through the first time configuration and after selecting the mirror sites i got this error and i can't get any modules to be installed. I haven't encountered this before and

[CentOS] NIS/Samba update

2007-09-04 Thread Scott Ehrlich
My test setup consists of Enterprise 5 server running NIS and Samba, and dual-boot XP and CentOS 5 clients. On my test setup, I'm able to create new samba accounts and change samba passwords with no problems. NIS still gives me problems, though. I am unable to change passwords no matter wha

Re: [CentOS] CPAN error

2007-09-04 Thread Jim Perrin
On 9/4/07, Mark Quitoriano <[EMAIL PROTECTED]> wrote: > Hi all im not sure if this is the right mailing list but im using centos > anyway. i run CPAN by perl -MCPAN -e shell and got through the first time > configuration and after selecting the mirror sites i got this error and i > can't get any m

Re: [CentOS] recompiling httpd

2007-09-04 Thread Akemi Yagi
On 9/4/07, Matthias Leopold <[EMAIL PROTECTED]> wrote: > removing all i386|i686 rpms (including hp management software...) > doesn't make a difference, for better debugging i'll post the last few > lines before the build stops (german locale error messages are irrelevant) > > + install -m 644 /usr

RE: [CentOS] CPAN error

2007-09-04 Thread Dan Dansereau
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Perrin Sent: Tuesday, September 04, 2007 1:13 PM To: CentOS mailing list Subject: Re: [CentOS] CPAN error On 9/4/07, Mark Quitoriano <[EMAIL PROTECTED]> wrote: > Hi all im not sure if this is the right m

Re: [CentOS] CPAN error

2007-09-04 Thread Jim Perrin
On 9/4/07, Dan Dansereau <[EMAIL PROTECTED]> wrote: > Is this true for adding perl components not in CENTOS?? > If so - what is your correct way to add a package ? > Dan Yes. Use rpmforge or kbs for perl modules which aren't included in the base distro. See wiki.centos.org/Repositories for detail

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 08:18:18PM +0200, Thomas Antony wrote: > > >> Is it possible that i log into the server with ssh and umount only /var > >> and then resize the logical volume? > > Yes, but you'll have to stop a lot of daemons and other processes that > > run with files opened in /var. >

[CentOS] rootpw and graphical mode?

2007-09-04 Thread semi linux
Is there some kind of caveat to using the rootpw --iscrypted directive and then specifying a graphical install? I always seem to get the prompt coming up... If I remove the graphical and do a text install, it works fine and if I remove the --iscrypted and put a plain-text password in there, it wo

[CentOS] Re: rootpw and graphical mode?

2007-09-04 Thread semi linux
Sorry, should have specified - I'm using kickstart to load my machine(s). On 9/4/07, semi linux <[EMAIL PROTECTED]> wrote: > Is there some kind of caveat to using the rootpw --iscrypted directive > and then specifying a graphical install? > > I always seem to get the prompt coming up... > If I rem

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Thomas Antony
# umount /var umount: /var: device is busy umount: /var: device is busy Ayn ideas? Are you using chrooted BIND? Do a cat /proc/mounts, search for var, and unmount anything in use. # cat /proc/mounts | grep var /dev/VolGroup00/LogVol02 /var ext3 rw,data=ordered 0 0 I can't unmount var.

RE: [CentOS] Hard-set network via ifup scripts...

2007-09-04 Thread Robert - elists
> > Anyone know off the top of their head the "right" way to hard set a > link automatically to 100Mbps Full Duplex, etc using the ifup or ifcfg > files? > > Don't see options in the scripts that might cover this, but maybe > there's a more elegant way to do it than to do something in rc.local or

Re: [CentOS] Hard-set network via ifup scripts...

2007-09-04 Thread Les Mikesell
Ray Van Dolson wrote: Anyone know off the top of their head the "right" way to hard set a link automatically to 100Mbps Full Duplex, etc using the ifup or ifcfg files? Don't see options in the scripts that might cover this, but maybe there's a more elegant way to do it than to do something in rc

[CentOS] Hard-set network via ifup scripts...

2007-09-04 Thread Ray Van Dolson
Anyone know off the top of their head the "right" way to hard set a link automatically to 100Mbps Full Duplex, etc using the ifup or ifcfg files? Don't see options in the scripts that might cover this, but maybe there's a more elegant way to do it than to do something in rc.local or hack up the if

[CentOS] X11 virtual screens on centos 5

2007-09-04 Thread Jerry Geis
When the you select an X11 virtual screen (1 of 4) with the mouse on default centos 5 what command gets executed to show screen 1, screen 2 etc... Basically, I want to have a command or know the command to execute to show the desired virtual X11 screen. Thanks, Jerry _

[CentOS] CPAN Question

2007-09-04 Thread Al Sparks
Maybe a little off-topic. But using cpan, I tried to install IO::Compress::Base 2.006. I already had 2.005 installed. For the life of me, I couldn't get it to upgrade. It finally occurred to me to download the ".tgz" file, and install it that way. That worked. But does anyone have any hints

Re: [CentOS] CPAN Question

2007-09-04 Thread Jim Perrin
On 9/4/07, Al Sparks <[EMAIL PROTECTED]> wrote: > Maybe a little off-topic. But using cpan, I tried to install > IO::Compress::Base 2.006. > > I already had 2.005 installed. For the life of me, I couldn't get it to > upgrade. > > It finally occurred to me to download the ".tgz" file, and instal

Re: [CentOS] Re: rootpw and graphical mode?

2007-09-04 Thread Jeremy Rosengren
semi linux wrote: Sorry, should have specified - I'm using kickstart to load my machine(s). On 9/4/07, semi linux <[EMAIL PROTECTED]> wrote: Is there some kind of caveat to using the rootpw --iscrypted directive and then specifying a graphical install? I always seem to get the prompt coming

Re: [CentOS] CPAN Question

2007-09-04 Thread Gary Richardson
The alternative that I prefer is to install a custom perl for your application in another location (like /opt/bin). This keeps it separate from your system perl, so your os patches work fine and patching won't break your application. On 9/4/07, Jim Perrin <[EMAIL PROTECTED]> wrote: > > On 9/4/07,