Tim Dunphy | 28 Feb 07:46 2015
Picon

disk space trouble on ec2 instance

Hey all,

 Ok, so I've been having some trouble for a while with an EC2 instance
running CentOS 5.11 with  a disk volume reporting 100% usage. Root is on an
EBS volume.

 So I've tried the whole 'du -sk | sort -nr | head -10' routine all around
this volume getting rid of files.  At first I was getting rid of about 50MB
of files. Yet the volume remains at 100% capacity.

 Thinking that maybe the OS was just not letting go of the inodes for the
files on the disk, I attempted rebooting the instance. After logging in
again I did a df -h / on the root volume. And look! Still at 100% capcity
used. Grrr....

Ok so I then did a du -h on the /var/www directory, which was mounted on
the root volume. And saw that it was gobbling up 190MB of disk space.

So then I reasoned that I could create an EBS volume, rsync the data there,
blow away the contents of /var/www/* and then mount the EBS volume on the
/var/www directory. So I went through that exercise and lo and behold.
Still at 100% capacity. Rebooted the instance again. Logged in and.. still
at 100% capacity.

Here's how the volumes are looking now.

[root <at> ops:~] #df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  9.3G   49M 100% /
none                  312M     0  312M   0% /dev/shm
(Continue reading)

Khemara Lyn | 28 Feb 01:25 2015

Looking for a life-save LVM Guru

Dear All,

I am in desperate need for LVM data rescue for my server.
I have an VG call vg_hosting consisting of 4 PVs each contained in a
separate hard drive (/dev/sda1, /dev/sdb1, /dev/sdc1, and /dev/sdd1).
And this LV: lv_home was created to use all the space of the 4 PVs.

Right now, the third hard drive is damaged; and therefore the third PV
(/dev/sdc1) cannot be accessed anymore. I would like to recover whatever
left in the other 3 PVs (/dev/sda1, /dev/sdb1, and /dev/sdd1).

I have tried with the following:

1. Removing the broken PV:

# vgreduce --force vg_hosting /dev/sdc1
  Physical volume "/dev/sdc1" still in use

# pvmove /dev/sdc1
  No extents available for allocation

2. Replacing the broken PV:

I was able to create a new PV and restore the VG Config/meta data:

# pvcreate --restorefile ... --uuid ... /dev/sdc1
# vgcfgrestore --file ... vg_hosting

However, vgchange would give this error:

(Continue reading)

Dave Burns | 27 Feb 22:06 2015

yum causing RPC timed out?

I just installed centos 7, yum is acting strange, experiencing RPC
time-outs. Sometimes when I disable the additional repos (epel and
rpmforge) it seems to make things act normal. But not this time (see below).

Could I have some misconfiguration? Network glitch? What hypotheses should
I be considering?
Thanks,
Dave

[root <at> localhost ~]# yum   repolist
repo id                                          repo name
                                                     status
base/7/x86_64                                    CentOS-7 - Base
                                                     8,465
epel/x86_64                                      Extra Packages for
Enterprise Linux 7 - x86_64                                 7,312
extras/7/x86_64                                  CentOS-7 - Extras
                                                       104
rpmforge                                         RHEL 7 - RPMforge.net -
dag                                                      245
updates/7/x86_64                                 CentOS-7 - Updates
                                                    1,721
repolist: 17,847
[root <at> localhost ~]# yum   --disablerepo=epel  --disablerepo=rpmforge provides
'*/applydeltarpm'
do_ypcall: clnt_call: RPC: Timed out
do_ypcall: clnt_call: RPC: Timed out
http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
[Errno 12] Timeout on
http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
(Continue reading)

Robert Arkiletian | 27 Feb 21:53 2015
Picon

OT: AF 4k sector drives with 512 emulation

Still have good quality older sata hardware raid cards that require 512
bytes/sector. As far as I know HD manufacturers are not making native 512
bytes/sector drives any more.

Some have better 512e emulation than others. Looking for some advice on
which to avoid and which are recommended. Thanks. PS this is for a CentOS6
server.
m.roth | 27 Feb 21:03 2015
Picon

Odd nfs mount problem

I'm exporting a directory, firewall's open on both machines (one CentOS
6.6, the other RHEL 6.6), it automounts on the exporting machine, but the
other server, not so much.

ls /mountpoint/directory eventually times out (directory being the NFS
mount). mount -t nfs server:/location/being/exported /mnt works... but an
immediate ls /mnt gives me stale file handle.

The twist on this: the directory being exported is on an xfs filesystem...
one that's 33TB (it's an external RAID 6 appliance).

Any ideas?

      mark
ANDY KENNEDY | 27 Feb 19:49 2015

Glibc sources?

All,

Please excuse any ignorance in this e-mail as I am not a RH/CentOS/Fedora user and may
blunder my way through the correct terminology for my request.

I'm tasked with reconstructing the CentOS version of the GlibC library for testing with
gethostbyname().  My mission is to show that we are not affected by the latest exploit for
the product we are shipping targeted for RHEL and CentOS.  To do so, I want to equip
gethostbyname() with additional code.

My objective is to rebuild from source the EXACT version of GlibC for CentOS 6.6.
Afterwards, I will make my changes in the code, rebuild and complete my testing.

libc.so.6 reports:
GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-11).
Compiled on a Linux 2.6.32 system on 2015-01-27.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
(Continue reading)

Helmut Drodofsky | 27 Feb 14:22 2015
Picon

CentOS 7 hand-edit the network configuration files

Helo,

on
http://wiki.centos.org/FAQ/CentOS7

in
3. And what if I want the old naming back?
is written:
/etc/udev/rules.d/60-net.rules seems necessary to override 
/usr/lib/udev/rules.d/60-net.rules

According to my experience, the text should be changed to:
/etc/udev/rules.d/70-persistent-net.rules has to describe the naming 
rule according to this example:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1", KERNEL=="eth0", 
NAME="eth0"
where ATTR{adress} is the HWADDR of the network interface.

Static assignment: GATEWAY has to be configured in /etc/sysconfig/network

--

-- 
Viele Grüße
Helmut Drodofsky

Internet XS Service GmbH
Heßbrühlstraße 15
70565 Stuttgart

Geschäftsführung
(Continue reading)

Pol Hallen | 27 Feb 13:30 2015

repositories

Hi all :-)
This is my first post: I'm coming from debian/bsd world.

A question about repositories:

minimal installation (version 7) provides:

CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Sources.repo
CentOS-Vault.repo

I known there are others repositories as:

RPMForge, EPEL, REMI, ATrpms, Webtatic (and maybe also others)

so, what kind of these repositories are?

Does they repositories substitute packages from main? Or only adding new 
packages?

thanks for advices and help!

Pol
Timothy Kesten | 27 Feb 11:19 2015
Picon
Picon

Cyrus 2.4 and Centos6

Hi Folks,

I'd like to install cyrus-imapd 2.4 in CentOS6.
Found rpm cyrus 2.4 for CentOS6 on rpmseek.
cyrus-imapd-2.4.17-30.1.x86_64.rpm

But there are conflicts with postfix 2.6.6.

Can I ignore this conflicts or is there a suitable version of ppstfix 
available?

Thx
Timothy
Niki Kovacs | 27 Feb 10:54 2015
Picon

Package group "X Window System" has disappeared

Hi,

Until last week, I could install a CentOS 7 based desktop using the 
following approach:

1. Install minimal system.

2. yum groupinstall "X Window System"

3. yum install gdm gnome-classic-session gnome-terminal liberation-fonts

4. Install applications as needed.

This morning, the package group "X Window System" seems to have 
disappeared. This is embarrassing.

What happened?

Niki
--

-- 
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info <at> microlinux.fr
Tél. : 04 66 63 10 32
_______________________________________________
CentOS mailing list
CentOS <at> centos.org
http://lists.centos.org/mailman/listinfo/centos
(Continue reading)

Mark LaPierre | 27 Feb 01:34 2015
Picon

scp -rp behavior

Hey all,

I'm trying to copy configuration files from my old CentOS 6.6 32 bit
machine to my new CentOS 6.6 64 bit machine.

On my 32 bit machine:

[mlapier <at> mushroom ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:DB:E5:4E:9F
          inet addr:192.168.15.105

When I issue this command on my new 64 bit machine, 192.168.15.101:

scp -pr mlapier <at> 192.168.15.105: /home/mlapier/.thunderbird
/home/mlapier/.thunderbird

It copies all directories and files in 192.168.15.105: /home/mlapier/ to
192.168.15.101: /home/mlapier.  I don't want all that, I just want the
.thunderbird folder and all it's contents.

The user and group account numbers match on the two machines for this
user so that's not the issue.

When I RTFM this is what I thought it said to do.  I'm I misreading the
FM or is something weird going on here?

--

-- 
    _
   °v°
  /(_)\
(Continue reading)


Gmane