[CentOS] nvme fs block size advice

2022-11-18 Thread Adrian Sevcenco

Hi! So, i have nvme which reports the following (lsblk -t):

NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED   RQ-SIZE   
RA WSAME
nvme0n1  0 131072 131072   3276840960 none   1023  
2560B

the nvme ns is formated with LBA=1 (4k) option (which is the second option after 512) but both lsblk and parted report 
sector size logical/physical as 4k/32k

The question is : what block size should i use (is optimal) for file-system?
Should i try a 32k blocksize?

Thanks a lot!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] autofs:: make (and keep) the base mount point --make-shared

2021-12-02 Thread Adrian Sevcenco

Hi! Does anyone have any idea how can i make the
autofs mounts --make-shared?

even if i apply on the base mount point (the location where autofs will auto 
mount things)
--make-rshared, this attribute will be lost once autofs acts on that path

Thank you!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] centos7/epel :: containerd requires unavailable runc

2021-09-23 Thread Adrian Sevcenco



Hi! I was trying to install the epel containerd package that is not 
uninstallable
due to missing runc .. does anyone have any idea about this problem?

Thanks a lot!
Adrian

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


Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-12 Thread Adrian Sevcenco

On 3/12/21 12:25 PM, yf chu wrote:

The applications on all those servers are same. They are working on same data.
I still don't know why the size of buff/cache is different between different 
servers.

You might want to check the kernel threads...
If you use md arrays you can have very high load during md check..

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


Re: [CentOS] proper recipe for local mirror

2021-03-06 Thread Adrian Sevcenco

Hi!

On 3/4/21 5:01 PM, Simon Matter wrote:

Hi! What is the proper solution for a local mirror for centos 7 (or oven
8) repositories?

trying with rsync, while the packages are downloaded but the repodata is
not and is actually impossible to be used by clients. while i try to


Hi,

The script below is how I sync CentOS to a local mirror which is then used
directly by the clients, no createrepo needed.
well, thanks a lot!! due to your script i noticed that the mirror that i 
used does not sync the sqlite and xml files from repodata (only 
repomd.xml and repomd.xml.asc)


i changed the mirror and everything worked flawless :)

Thanks a lot!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] proper recipe for local mirror

2021-03-04 Thread Adrian Sevcenco

On 3/4/21 4:27 PM, Warren Young wrote:

On Mar 4, 2021, at 7:04 AM, Adrian Sevcenco  
wrote:


What is the proper solution for a local mirror for centos 7 (or oven 8) 
repositories?


https://www.osradar.com/how-to-create-centos-8-local-repository-mirrors-with-rsync-nginx/

and for centos 7?
as i can see the problem is with that repodata which is no longer a 
problem on 8...


Thanks!!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] proper recipe for local mirror

2021-03-04 Thread Adrian Sevcenco
Hi! What is the proper solution for a local mirror for centos 7 (or oven 
8) repositories?


trying with rsync, while the packages are downloaded but the repodata is 
not and is actually impossible to be used by clients. while i try to 
recreate the repodata with

createrepo -C -d --workers=4 ${repo}
where ${repo} is the sync destination where it contains 
%arch/{Packages,repodata} directories


the clients throw errors like:
/mirrors/centos/7/updates/x86_64/repodata/51d63b04c8bb74c5d9f09ae65f763f319a69492d9a8fac5ea0bf9b63bf347c5c-primary.sqlite.bz2: 
[Errno 14] HTTP Error 404 - Not Found


What am i missing?
Thanks a lot!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] el7 systemd service:: ensure var/log owner when User is specified

2021-02-09 Thread Adrian Sevcenco
Hi! Does anyone have an idea how can i (in a nice way [1]) to ensure 
ownership/permissions of log directory in /var/log for a unit

that drops privileges to a user (with User=/Group=)

[1] The ugly way being with script in StartPre and sudo in Start
so i want to use User=
I'm aware of LogsDirectory= but is not available on EL7

Thanks a lot!
Adrian

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


[CentOS] bnxt_en :: interface renamed with a suffix

2021-01-15 Thread Adrian Sevcenco
Hi! i had a very unpleasant surprise when an unconnected interface named 
enp97s0f1 was renamed when connected .. and after reboot i seen this in 
dmesg:

[3.665192] bnxt_en :61:00.1 enp97s0f1d1: renamed from enp97s0f1

does anyone have any idea what is going on? I disabled anything i could 
(to have a proper normal nic that do not act and do things behind the 
OS) like making sure that the broadcom nic is set to SF and disabled any

function that could be disabled.. so why the rename?

Thanks!
Adrian


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


[CentOS] rpm spec:: Requires conditions format :: lower not working

2020-09-08 Thread Adrian Sevcenco

Hi! I'm trying to give a range of versions for a dependency in the form of :
Requires: xrootd-server >= 4.1.0
Requires: xrootd-server < 5.0.0

with the already installed package having the versions:
[rpmbuild@el7build SPECS]$ rpm -qa --queryformat '%{name} %{version}\n' 
| grep xrootd | sort

xrootd 4.12.2
xrootd-client 4.12.2
xrootd-client-devel 4.12.2
xrootd-client-libs 4.12.2
xrootd-devel 4.12.2
xrootd-libs 4.12.2
xrootd-private-devel 4.12.2
xrootd-selinux 4.12.2
xrootd-server 4.12.2
xrootd-server-devel 4.12.2
xrootd-server-libs 4.12.2

when i'm trying to build i get:
error: Failed build dependencies:
 xrootd-devel < 5.0.0 is needed by 
xrootd-alicetokenacc-1:1.3.1-2.el7.x86_64
 xrootd-server-devel < 5.0.0 is needed by 
xrootd-alicetokenacc-1:1.3.1-2.el7.x86_64


Does anyone have any idea why the condition is not fulfilled?

i am aware of both
http://ftp.rpm.org/api/4.4.2.2/dependencies.html
and
http://ftp.rpm.org/api/4.4.2.2/rpmvercmp_8c-source.html
(under assuption that these holds true for the current 4.11.3 from centos 7)

Thanks a lot!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] centos8 :: firewalld active but tables empty

2019-12-11 Thread Adrian Sevcenco
Hi! I have a minimal installation of centos8 + packages for freeipa as a 
vbox vm. there is something strange with the firewall rules :


[root@ldap ~]# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

[root@ldap ~]# firewall-cmd --get-active-zones
public
   interfaces: enp0s17

[root@ldap ~]# firewall-cmd --state
running

[root@ldap ~]# firewall-cmd --zone=public --permanent --list-all
public
   target: default
   icmp-block-inversion: no
   interfaces:
   sources:
   services: cockpit dhcpv6-client dns freeipa-ldap freeipa-ldaps http 
https ssh

   ports: 22/tcp 6/tcp
   protocols:
   masquerade: no
   forward-ports:
   source-ports:
   icmp-blocks:
   rich rules:

Does anyone know what is the problem or how can i fix this?
Thank you!
Adrian

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


Re: [CentOS] rpm spec version : higher version is seen as older

2018-05-23 Thread Adrian Sevcenco
On 05/23/2018 10:05 PM, Matthew Miller wrote:
> On Wed, May 23, 2018 at 08:07:52PM +0300, Adrian Sevcenco wrote:
>> Hi! I have a very puzzling problem :
>> one rpm with version 1.2.5 and one with 1.3.1 (spec file does not have
>> Epoch defined)
>>
>> trying to install i get this :
>> [root@storage02 aliprod]# rpm -Uvh
>> xrootd-alicetokenacc-1.3.1-1.el6.x86_64.rpm
>> Preparing...###
>> [100%]
>> package xrootd-alicetokenacc-1:1.2.5-1.el6.x86_64 (which is
>> newer than xrootd-alicetokenacc-1.3.1-1.el6.x86_64) is already installed
> 
> Yeah, "has epoch" is always newer than "doesn't have epoch". You can
> see from the "1:" in 1:1.2.5 that that package *does* have Epoch
> defined.
well, this is what is really puzzling : it it the same spec file without
any epoch defined.. difference being that first one was build in 2015 on
el6 and the last one was built now on up to date el6 ...

>> any idea why this could happen?
>> AFAIK the solution would be the introduction of "Epoch: 1" but i seen
>> that this is usually acceptable only as last resort..
> 
> Looks like you're *already* in that state. I guess you can think of
> this as an example of why it's a last resort, because once done once,
> you're stuck. But now, there you are.
yeah, i will add the epoch to the spec file ... very puzzling why it is
there though..

Thanks!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] rpm spec version : higher version is seen as older

2018-05-23 Thread Adrian Sevcenco
Hi! I have a very puzzling problem :
one rpm with version 1.2.5 and one with 1.3.1 (spec file does not have
Epoch defined)

trying to install i get this :
[root@storage02 aliprod]# rpm -Uvh
xrootd-alicetokenacc-1.3.1-1.el6.x86_64.rpm
Preparing...###
[100%]
package xrootd-alicetokenacc-1:1.2.5-1.el6.x86_64 (which is
newer than xrootd-alicetokenacc-1.3.1-1.el6.x86_64) is already installed

the rpm information :
rpm -qi xrootd-alicetokenacc
Name: xrootd-alicetokenacc Relocations: (not relocatable)
Version : 1.2.5 Vendor: (none)
Release : 1.el6 Build Date: Wed 17 Jun 2015
02:25:13 AM EEST
Install Date: Mon 22 Jun 2015 01:12:34 PM EEST  Build Host:
issaf.spacescience.ro
Group   : System Environment/DaemonsSource RPM:
xrootd-alicetokenacc-1.2.5-1.el6.src.rpm
Size: 1125309  License: none
Signature   : (none)
Summary : Alice Token Authorization Acc plugin
Description :
An authorization plugin for xrootd using the Alice Token authorization
envelope.

and
rpm -qip xrootd-alicetokenacc-1.3.1-1.el6.x86_64.rpm
Name: xrootd-alicetokenacc Relocations: (not relocatable)
Version : 1.3.1 Vendor: (none)
Release : 1.el6 Build Date: Wed 23 May 2018
12:31:05 AM EEST
Install Date: (not installed)   Build Host: el6build
Group   : CERN IT-STSource RPM:
xrootd-alicetokenacc-1.3.1-1.el6.src.rpm
Size: 1373710  License: none
Signature   : (none)
Summary : Alice Token Authorization Acc plugin
Description :
An authorization plugin for xrootd using the Alice Token authorization
envelope.

any idea why this could happen?
AFAIK the solution would be the introduction of "Epoch: 1" but i seen
that this is usually acceptable only as last resort..

So, any ideas about this problem?
Thank you!!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] el7 systemd :: usage of AssertPathExists

2018-01-15 Thread Adrian Sevcenco

On 01/14/2018 08:08 PM, James Pearson wrote:

Adrian Sevcenco:


Hi! I am trying to use AssertPathExists in a systemd unit but it seems
it not working. Does anyone have problems with this?

i have this in unit :
AssertPathExists=
AssertPathExists=/etc/mlsensor/mlsensor.properties


It might help if you post the whole unit file ...

Which section of the unit file is this in?

It needs to be in the [Unit] section
Thanks a lot!!! i did not process that i was looking at the man page of 
systemd.unit :))


Adrian

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


[CentOS] el7 systemd :: usage of AssertPathExists

2018-01-13 Thread Adrian Sevcenco
Hi! I am trying to use AssertPathExists in a systemd unit but it seems 
it not working. Does anyone have problems with this?


i have this in unit :
AssertPathExists=
AssertPathExists=/etc/mlsensor/mlsensor.properties

but then when i start the service i get no errors :
26225 /usr/bin/java -Xms16m -Xmx32m -DMLSENSOR_HOME=/tmp 
-Djava.util.logging.config.class=lia.Monitor.monitor.LoggerConfigClass 
-Dlia.Monitor.ConfigURL=file:/etc/mlsensor/mlsensor.properties -jar 
/usr/share/java/mlsensor/MLSensor.jar


i can't modify the java application, i am just doing an systemd unit for 
it...


Anyone have any experience making systemd unit fail if the configuration 
file is not in place?


Thank you!
Adrian
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP vulnerability CVE-2016-4073

2016-09-21 Thread Adrian Sevcenco
On 09/21/2016 02:02 PM, Прокси wrote:
> Hello,
> 
> My server with CentOS 6.8 just failed PCI scan, so I'm looking into
> vulnerable packages. PHP 5.3.3 have multiple vulnerabilities, some of
> them are fixed/patched or have some kind of workaround. But I can't find
> a way to fix this one. Red Hat state: under investigation.
> 
> https://access.redhat.com/security/cve/cve-2016-4073
> 
> This CVE is 6 months old, and it doesn't look like it will be fixed.
> Does anyone knows the way to go around this? Except blocking mb_strcut()
> function.
you could try the unsupported php from remi repos... you can find there php 7.0 
..

HTH,
Adrian

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


[CentOS] centos 7 :: cannot update

2016-08-13 Thread Adrian Sevcenco

Hi! I have a very strange problem with my centos 7 vm : i cannot update!!
I have normal ingress/egress access but my yum update fills my screen with :
[Errno 14] HTTP Error 404 - Not Found

i already done "clean all"  ...
anyone seen this problem? any idea about the issue and workarounds?

Thank you!
Adrian

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


[CentOS] softwarecollections/Devtoolset-3 :: usage from different directory

2016-05-12 Thread Adrian Sevcenco
Hi! Did anyone tried to use devtoolset from different directory than the
default one? from what i can see it would be enough just to change the
hardcoded directory in enable file but i would like to hear if someone
else tried this ...

Thank you!
Adrian

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


[CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-17 Thread Adrian Sevcenco
Hi! I want to change the sshd port at install for centos7 but i am not sure
if i am on the good track (and it is time expensive to make many try-outs)..
So, i would be grateful if someone with experience can spot if i have problems
with my planning.. (the actual purpose is that after installation i have access
for my ansible provisioning)

first make sure ssh is started
services --enabled=sshd,chronyd

then .. i imagine that in the %post section 
%post --interpreter=/usr/bin/bash --log=/root/ks-post.log
1. i could use sed to change the port 
sed -i 's/#Port\ 22/Port 6/' /etc/ssh/sshd_config
2. sed -i 's/#PermitRootLogin\ yes/PermitRootLogin\ yes/' /etc/ssh/sshd_config
3. enable key access
mkdir -p /root/.ssh
chmod 700 /root/.ssh
cat << EOF >> /root/.ssh/authorized_keys
my_ssh_pubkey
EOF
4. semanage port -a -t ssh_port_t -p tcp 6
5. firewall-cmd --permanent --zone=public --add-port=6/tcp
6. systemctl enable firewalld.service

did i miss anything?
Thank you!
Adrian

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


Re: [CentOS] [OFFTOPIC] integrated LSI 3008 :: number of hdd support

2015-08-30 Thread Adrian Sevcenco
On 08/30/2015 12:02 PM, Mike Mohr wrote:
 In my experience the mass market HBAs and RAID cards typically do support
 only 8 or 16 drives.  For the internal variety in a standard rack-mount
 server you'll usually see either 2 or 4 iPass cables (each of which support
 4 drives) connected to the backplane.  The marketing material you've
 referenced has a white lie in it: supporting more than 16 drives on a
 single card is very likely only possible with an additional SAS expander
 board.  I believe Supermicro does sell some pre-configured systems with
ok, then i should give a little detail : the purpose was to have an 1U
server as a head of a JBOD chassis that have 2 SAS backplanes.
The connection would be a simple SAS cascade to the backplanes.

 such hardware, but expect the throughput to fall through the floor if you
 use such hardware.
why? what is the difference between the silicon from a HBA card and the same 
silicon
on motherboard?

The reason of my post is also to understand why is/is not possible..

Thank you,
Adrian

 Bottom line: the Supermicro application engineer knows what he's talking
 about.

 
 On Sun, Aug 30, 2015 at 1:13 AM, Adrian Sevcenco adrian.sevce...@cern.ch
 wrote:
 
 Hi guys! Unfortunately there is no offtopic list but the subject
 is somehow related to centos as the OS is/will be centos :)
 So, under this thin cover i ask :
 Is it possible that for a SAS controler like LSI 3008 that in specs
 says that : This high-performance I/O controller supports T-10
 data protection model and optical support, PCIe hot plugging,
 and up to 1,000 connected devices in a vendor implementation
 (motherboard integrated) to support only 8 (or 16) devices?
 The technical support from the OEM told me that the onboard
 SAS controller maximum amount of supported harddrives is 16pcs
 and if you are planning on using more than 16 drives then you
 have to use a PCI-E card based SAS controller with external ports
 (which Supermicro does not sell)
 and both statements sound insane to me!
 First, because the specs for 3008 says something else and i dont know
 how one can artificially reduce the number of supported hdds
 (beside the firmware - but why would one do that?) and
 the second statement is just hogwash as the externl/internal status of
 the ports have nothing to do with the sas cascading and the number of
 devices supported!! (and of course is really cheap to convert an internal
 port to an external port with a bracket)
 So, i ask you guys that have more knowledge and expertise: was this
 Senior Application Engineer that answered me a total incompetent?

 Thank you!
 Adrian


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


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


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


[CentOS] [OFFTOPIC] integrated LSI 3008 :: number of hdd support

2015-08-30 Thread Adrian Sevcenco
Hi guys! Unfortunately there is no offtopic list but the subject
is somehow related to centos as the OS is/will be centos :) 
So, under this thin cover i ask :
Is it possible that for a SAS controler like LSI 3008 that in specs
says that : This high-performance I/O controller supports T-10 
data protection model and optical support, PCIe hot plugging, 
and up to 1,000 connected devices in a vendor implementation
(motherboard integrated) to support only 8 (or 16) devices?
The technical support from the OEM told me that the onboard 
SAS controller maximum amount of supported harddrives is 16pcs 
and if you are planning on using more than 16 drives then you
have to use a PCI-E card based SAS controller with external ports
(which Supermicro does not sell)
and both statements sound insane to me!
First, because the specs for 3008 says something else and i dont know
how one can artificially reduce the number of supported hdds 
(beside the firmware - but why would one do that?) and
the second statement is just hogwash as the externl/internal status of
the ports have nothing to do with the sas cascading and the number of 
devices supported!! (and of course is really cheap to convert an internal 
port to an external port with a bracket)
So, i ask you guys that have more knowledge and expertise: was this 
Senior Application Engineer that answered me a total incompetent? 

Thank you!
Adrian

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


Re: [CentOS] [OFFTOPIC] integrated LSI 3008 :: number of hdd support

2015-08-30 Thread Adrian Sevcenco
On 08/30/2015 06:39 PM, Jason Warr wrote:
 On 8/30/2015 4:59 AM, Adrian Sevcenco wrote:
 On 08/30/2015 12:02 PM, Mike Mohr wrote:
 such hardware, but expect the throughput to fall through the
 floor if you use such hardware.
 why? what is the difference between the silicon from a HBA card and
 the same silicon on motherboard?
 I'm sure he's referring to what is essentially lane sharing.  A SAS
 expander in many ways is like an ethernet switch.  You have 8 lanes
 coming off your SAS3008, 4 each in the SFF8087 connector or 8
 individual SATA like sockets on the motherboard.  You can plug any
 number of these into a host port on a SAS expander and you then have
 n*6Gbit of bandwidth to the expander from the host.  Then you plug
 targets and/or additional expanders into the downstream ports.
 Everything on the downstream ports has to share the bandwidth so you
 can run into a wall if you try to push to much bandwidth to to many
 devices at once.  In practice though it is not usually a problem with
 a 2-3x over-subscription of lanes with HDD's.  You will see it though
 if you are really pushing allot of SSD's.
yeah, but i am not (6 gbps for 24 hdds is ok for me) ..  so i would to 
get back to my original problem/question : 
why would the mb integrated lsi 3008 not support sas cascaded (through sas 
backplanes) more than 8/16 devices (as the OEM technical support said) when
3008 specifications says that it could?

Did anyone tried to use sas cascaded storage with some integrated in the 
motherboard sas chip?

Well, in the end i will take a chance and buy 2 such servers and it will
end in 2 possible ways : either bad mouthing OEM for the implementation
or their technical support :)

Thank you,
Adrian

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


[CentOS] nfs problems lately ?

2015-07-01 Thread Adrian Sevcenco

Hi! Did anyone encountered problems with nfs after the latest updates?
I started to have problems like nfsvers=3 no longer working in fstab
or messages like :
RPC: Program not registered

Thanks!
Adrian

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


Re: [CentOS] nfs problems lately ?

2015-07-01 Thread Adrian Sevcenco

On 07/01/2015 11:51 AM, Tru Huynh wrote:

On Wed, Jul 01, 2015 at 11:36:36AM +0300, Adrian Sevcenco wrote:

Hi! Did anyone encountered problems with nfs after the latest updates?
I started to have problems like nfsvers=3 no longer working in fstab
or messages like :
RPC: Program not registered

at work, our diskless warewulf setup is still working fine here
NFS client running 2.6.32-504.23.4.el6.x86_64

hmm, nice that you mentioned that! i was on kernel-ml 4.0.4
got back on rhel/centos standard kernel and things got working again...

could be that the latest nfs patches for 4.x are not playing nice with
nfs-utils currently in centos?
Did anyone have a working kernel-ml + centos nfs server?

Thank you!
Adrian


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


[CentOS] default devtools enabled for users

2014-09-14 Thread Adrian Sevcenco
Hi! I want to make the default environment for users the
environment of devtoolset .. and i am thinking to do it this way:
1. make /bin/bash-devtools with the content  
scl enable devtoolset-2 bash $@

2. change for the prospective users the shell from /bin/bash to 
/bin/bash-devtoolset

Is this the best way? Do anyone see or know of any pitfalls with this? 

Thanks a lot!
Adrian

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


Re: [CentOS] Cemtos 7 : Systemd alternatives ?

2014-07-08 Thread Adrian Sevcenco
On 07/08/2014 04:22 AM, Always Learning wrote:
 
 On Mon, 2014-07-07 at 20:46 -0400, Robert Moskowitz wrote:
 
 On 07/07/2014 07:47 PM, Always Learning wrote:
 Reading about systemd, it seems it is not well liked and reminiscent of
 Microsoft's put everything into the Windows Registry (Win 95 onwards).

 Is there a practical alternative to omnipresent, or invasive, systemd ?
 
 So you are following the thread on the Fedora list?  I have been 
 ignoring it.
 
 No. I read some of
 http://www.phoronix.com/scan.php?page=news_topicq=systemd
 
 The systemd proponent, advocate and chief developer? wants to
 abolish /etc and /var in favour of having the /etc and /var data
 in /usr.
err.. what? even on that wild fedora thread this did not come up!!!

i will presume that you understood well your information source and you
are actually know what you are referring to ... so, could you elaborate
more about this?(with some references)
i use systemd for some time (and i keep myslef informed about it) and i
would need to know in time about this kind of change..

Thanks!
Adrian


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


Re: [CentOS] Cemtos 7 : Systemd alternatives ?

2014-07-08 Thread Adrian Sevcenco
On 07/08/2014 04:06 PM, Reindl Harald wrote:
 
 Am 08.07.2014 14:58, schrieb Adrian Sevcenco:
 On 07/08/2014 04:22 AM, Always Learning wrote:

 On Mon, 2014-07-07 at 20:46 -0400, Robert Moskowitz wrote:

 On 07/07/2014 07:47 PM, Always Learning wrote:
 Reading about systemd, it seems it is not well liked and reminiscent of
 Microsoft's put everything into the Windows Registry (Win 95 onwards).

 Is there a practical alternative to omnipresent, or invasive, systemd ?

 So you are following the thread on the Fedora list?  I have been 
 ignoring it.

 No. I read some of
 http://www.phoronix.com/scan.php?page=news_topicq=systemd

 The systemd proponent, advocate and chief developer? wants to
 abolish /etc and /var in favour of having the /etc and /var data
 in /usr.
 err.. what? even on that wild fedora thread this did not come up!!!

 i will presume that you understood well your information source and you
 are actually know what you are referring to ... so, could you elaborate
 more about this?(with some references)
 i use systemd for some time (and i keep myslef informed about it) and i
 would need to know in time about this kind of change..
 
 if you need to know about changes the read the systemd-devel list and 
 announcements
 like http://lists.freedesktop.org/archives/systemd-devel/2014-July/020903.html
 
 as so often the OP has no clue what he is talking about
 because he ignores systemd as many other things completly
 while think at the same time he can have a valid opinion
 in details
 
 systemd-upstream discusses how to get /etc and /var in default
 installs empty to contain *only user data* and no default
 configurations which are placed below /usr and can be overriden
 like systemd-units from the user
 
 the deeper reason is to achieve over long that a system can
 boot without any configuration and so provide a clean way
 for vendor reset in case of mobile devices, aplliances
 and where ever you want to ship a defined environment which
 can be reset at any point in time

Thanks for info ... actually i am (pretty much) up to date with what is
happening (i don't follow systemd-devel but i am following Lennart
Poettering and Kay Sievers on g+)

My remark was kind of tongue-in-chick with regard to abolish word..

And of the OP : the move of defaults to /usr is/was expected as from the
beginning the usr consolidation was prepared in order to have a common
system shared over network

And about new mechanics of systemd: i can wait to see how seamless will
be the use of chef/puppet tools on systemd systems. (and on any other
cloud stacks)

Adrian

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


[CentOS] packaging :: why would a x86_64 package depend on i686 packages?

2014-01-30 Thread Adrian Sevcenco
Hi! I recently encountered a situation when a x86_64 package is
dependent on i686 packages..
Does anyone with packaging experience know why this could be necessary?
What arguments (logical and technical) can i bring to the said packager
in order to stop this chain of dependencies?

Thanks!
Adrian

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


Re: [CentOS] packaging :: why would a x86_64 package depend on i686 packages?

2014-01-30 Thread Adrian Sevcenco
On 01/30/2014 03:28 PM, Jason Pyeron wrote:
 -Original Message-
 From: John R Pierce
 Sent: Thursday, January 30, 2014 4:21

 On 1/30/2014 1:17 AM, Adrian Sevcenco wrote:
 Hi! I recently encountered a situation when a x86_64 package is 
 dependent on i686 packages..
 
 RPM and Specfile please? Also if it is not a CentOS package try:
 rpm-l...@lists.rpm.org .
 
 Does anyone with packaging experience know why this could 
 be necessary?
 What arguments (logical and technical) can i bring to the said 
 packager in order to stop this chain of dependencies?

 I suspect that would depend on just what this package is, and 
 what 32bit packages its dependent on.

Hi everyone! The question was purely academic (in the sense that i think
that this is wrong but i don't have the experience and knowledge to have
arguments for my opinion).
The package in question is from a particular science-related repo and i
i got an answer that the package is that way because there are potential
users that use i686 software (in the context that that software is only
supported for x86_64 distros..)

So: are there any best-practices rules that say :do not mix arch in
packages, better split them ?

Thanks!
Adrian

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


Re: [CentOS] Question on iptables

2014-01-27 Thread Adrian Sevcenco
On 01/27/2014 02:43 PM, Joseph L. Casale wrote:
 I have a rule in iptables to drop certain packets from addresses, like:

 iptables --list | grep 37
 DROP   all  --  37.0.0.0/8   anywhere

 So I am wondering how this got through???

 [Jan 27 02:36:52] NOTICE[9298][C-05ce] chan_sip.c: Call from '' (
 37.8.28.217:10024) to extension '88011972592871997' rejected because
 extension not found in context 'default'

 Shouldn't the firewall have dropped it?
 
 Without more info, no one can help. Iptables are processed top down, have you
 allowed something less specific above? A subnet, a protocol etc?
or there is a forward somewhere ... without full iptables and network
description it is not possible to evaluate your situation..

Adrian


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


Re: [CentOS] Booting Software RAID

2014-01-27 Thread Adrian Sevcenco
On 01/24/2014 06:58 PM, Matt wrote:
 I installed Centos 6.x 64 bit with the minimal ISO and used two disks
 in RAID 1 array.
 
 Filesystem  Size  Used Avail Use% Mounted on
 /dev/md2 97G  918M   91G   1% /
 tmpfs16G 0   16G   0% /dev/shm
 /dev/md1485M   54M  407M  12% /boot
 /dev/md33.4T  198M  3.2T   1% /vz
for quite some time (since 5.x era) i use
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
(with 6.x i don't even need the patch to mkinitrd)

the mbr or whatever it is is written in /dev/md_d0 .. and thats it
in bios you put both hdd to boot and if the first have a problem the
second will boot, mail you that you have a degraded raid and start
resync after you replaced the drive. (and you can do it live)

HTH,
Adrian


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


Re: [CentOS] Booting Software RAID

2014-01-27 Thread Adrian Sevcenco
On 01/27/2014 08:42 PM, Les Mikesell wrote:
 On Mon, Jan 27, 2014 at 12:33 PM, Adrian Sevcenco
 adrian.sevce...@cern.ch wrote:

 for quite some time (since 5.x era) i use
 http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
 (with 6.x i don't even need the patch to mkinitrd)

 the mbr or whatever it is is written in /dev/md_d0 .. and thats it
 in bios you put both hdd to boot and if the first have a problem the
 second will boot, mail you that you have a degraded raid and start
 resync after you replaced the drive. (and you can do it live)

 
 Does that all work the same for drives  2 TB?
i have no idea .. it should ..
my use cases at work are the boot drives (all under 500 GB)
and home (but i have no hdd  2 TB)

basically it is a raid over a block device so it does/should not matter
what you write into it...

HTH,
Adrian


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


Re: [CentOS] Elliptic curve on Centos 6.x

2014-01-03 Thread Adrian Sevcenco
On 01/03/2014 03:28 AM, Jitse Klomp wrote:
 2014/1/3 David Benfell benf...@parts-unknown.org
 
 I was unable to find an associated vulnerability in Linux. I trust the
 OpenSSL folks would be on top of this faster than you can blink an eye
 if it were a current issue. They have not, from what I've seen,
 reacted to the revelations.

 
 Interesting read on the openssl-announce list:
 http://www.mail-archive.com/openssl-announce@openssl.org/msg00127.html
 Turns out the openssl implementation of Dual_EC_DRBG was broken anyway...
i was just blew away by this:
What almost all commentators have missed is
that hidden away in the small print (and subsequently confirmed by our
specific query) is that if you want to be FIPS 140-2 compliant you MUST
use the compromised points.

i even don't have words to comment on this!!!

Adrian

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


Re: [CentOS] Elliptic curve on Centos 6.x

2014-01-03 Thread Adrian Sevcenco
On 01/03/2014 01:15 PM, Karanbir Singh wrote:
 On 01/03/2014 11:01 AM, Adrian Sevcenco wrote:
 i was just blew away by this:
 What almost all commentators have missed is
 that hidden away in the small print (and subsequently confirmed by our
 specific query) is that if you want to be FIPS 140-2 compliant you MUST
 use the compromised points.

 i even don't have words to comment on this!!!
 
 I tweeted about this exact point a few minutes ago; given the way and
 what is compromised in what manner, and then work back to what FIPS is,
 it helps dilute the shock. a bit. but then who's got the funds and
 resources to re-work the fips process with a new codebase ? Will Red Hat ?
at this point i am thinking: why bother (with re-certification)? because
of this (among other things) the trust in fips process or other
official processes is in free fall.. IMHO underlying problem is not
that a cipher/process/code was compromised but that the supervising
_trustworthy_ entity is in fact not trustworthy at all!

Adrian


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


[CentOS] duplicate packages on connection reset

2013-12-15 Thread Adrian Sevcenco
Hi! I have a small problem with some packages : i was doing an update
over ssh and my connection was interrupted .. now i have a lots of
duplicates and if i try to remove them, yum tries to uninstall all
system (447 packages 1.4 gb)!!

Any idea how can i clean this mess? would be pretty bad if the machine
needs to be re-installed only because the connection went bad during the
process...

Thanks for any info!!
Adrian


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


Re: [CentOS] duplicate packages on connection reset

2013-12-15 Thread Adrian Sevcenco
On 12/15/2013 10:54 PM, Reindl Harald wrote:
 
 
 Am 15.12.2013 21:34, schrieb Adrian Sevcenco:
 Hi! I have a small problem with some packages : i was doing an update
 over ssh and my connection was interrupted .. now i have a lots of
 duplicates and if i try to remove them, yum tries to uninstall all
 system (447 packages 1.4 gb)!!

 Any idea how can i clean this mess? 
 
 yum install yum-utils
 package-cleanup --dupes
 package-cleanup --cleandupes
yeap, i tried this (i was actually referring to this in original mail)
.. and it tries do uninstall with all dependencies ..

i have done a list of duplicates with
yum check | awk '/is a duplicate/ {print $6}'  /tmp/DUPES
and i was planning to remove them with --nodeps --noscripts

what do you think? is this a solution that would avoid the dependencies
uninstall and would clean up the packages?

 would be pretty bad if the machine needs to be re-installed only 
 because the connection went bad during the process...
 
 a linux system never needs to be re-installed
 even not after a interrupted fedora dist-upgrade
i really hope so :)

 what you should have learned by this is to use and install screen
lesson learn :( .. it is the same with backup: one get burned once then
learn the lesson :)

Thanks!!
Adrian


 
 screen
 yum upgrade
 
 after connectin was interruptd
 
 ssh again to the machine
 screen -r
 


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


Re: [CentOS] duplicate packages on connection reset

2013-12-15 Thread Adrian Sevcenco
On 12/15/2013 11:54 PM, Les Mikesell wrote:
 On Sun, Dec 15, 2013 at 2:34 PM, Adrian Sevcenco
 adrian.sevce...@cern.ch wrote:
 Hi! I have a small problem with some packages : i was doing an update
 over ssh and my connection was interrupted .. now i have a lots of
 duplicates and if i try to remove them, yum tries to uninstall all
 system (447 packages 1.4 gb)!!

 Any idea how can i clean this mess? would be pretty bad if the machine
 needs to be re-installed only because the connection went bad during the
 process...

 
 Running 'yum-complete-transaction' will usually fix things up.   If
 you don't have it you should be able to 'yum install yum-utils'
 without affecting the old incomplete transaction.
both
1. yum-complete-transaction and
2. yum-complete-transaction --skip-broken

fails with :
1.
Error: Package: mesa-dri-drivers-9.2-0.5.el6_5.2.x86_64 (updates)
   Requires: mesa-dri1-drivers = 7.11-6
   Removing: mesa-dri1-drivers-7.11-8.el6.x86_64 (@base)
   mesa-dri1-drivers = 7.11-8.el6
Error: Package: dracut-004-336.el6_5.2.noarch (updates)
   Requires: plymouth = 0.8.0-0.2009.29.09.19.1
   Removing: plymouth-0.8.3-27.el6.centos.x86_64 (@base)
   plymouth = 0.8.3-27.el6.centos
Error: Package: xorg-x11-server-Xorg-1.13.0-23.el6.centos.x86_64 (base)
   Requires: fedora-setup-keyboard
   Removing: system-setup-keyboard-0.7-4.el6.x86_64
(@anaconda-base-201211270324.x86_64/6.1.0)
   fedora-setup-keyboard = 0.7-4.el6
 You could try using --skip-broken to work around the problem

2. Error: Trying to remove yum, which is protected
** Found 159 pre-existing rpmdb problem(s), 'yum check' output follows:

Thanks!
Adrian

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


Re: [CentOS] repoforge :: is it still active?

2013-08-08 Thread Adrian Sevcenco
On 08/07/2013 08:27 PM, Reindl Harald wrote:
 
 
 Am 07.08.2013 19:12, schrieb Adrian Sevcenco:
 On 08/07/2013 06:41 PM, Patrick Flaherty wrote:
 They off up their SRC rpms right? Grab the .spec file and have a go at
 i already did this (for el6 - see below) .. i have the rpms, but at this
 moment would be for me too time consuming to learn how to make a repo
 
 what do you need to learn?
 
 * yum install createrepo
 * createrepo /path/to/your/existing/rpms/
 * let point any httpd/ftpd server point to /path/to/your/rpms/
 * copy a .repo-file from /etc/yum.repos.d/ and modify it for your needs
 
 this does not take longer than 10 minutes at all
thanks a lot!!! easier than i thought!

Adrian


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


[CentOS] repoforge :: is it still active?

2013-08-07 Thread Adrian Sevcenco
Hi! I am trying to to ask the packagers from repoforge for updated
packages of ganglia and rrdtool and i got no answer on their mail list..
Does anyone have idea if repoforge is still active?

Thanks!
Adrian

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


Re: [CentOS] repoforge :: is it still active?

2013-08-07 Thread Adrian Sevcenco
On 08/07/2013 06:41 PM, Patrick Flaherty wrote:
 They off up their SRC rpms right? Grab the .spec file and have a go at
i already did this (for el6 - see below) .. i have the rpms, but at this
moment would be for me too time consuming to learn how to make a repo. i
imagined that for professionals (that did this thousands of times) would
take very little time to rebuild the rpms and put in their repo (repo
that is installed on all my machines)

 updating it yourself. It's sometimes as simple as grabbing the new src tar
 ball, incrementing the build number and running rpmbuild -ba blah.spec.
 Sometimes there are patches to merge or library issues, but I've had really
 good luck at that. Also, if you show up to an interview and say you build
well, on el5 doing the exactly the same things like on el6 there are
some files that are not found (this is for rrd) .. so i was hopping to
have at least some guidance.. (another bad thing is that i dont have a
virtual machine for building and i tried this on an old production
server (as an dedicated user))
In the end (when the importance of time for doing this will be greater
than my current job activities) i will follow this info:
http://repoforge.org/package/
http://repoforge.org/package/quickstart.html
http://repoforge.org/package/rebuild.html

Thanks!
Adrian



 your own rpms for consistent builds and deployments you're going to get a
 lot farther than most people.
 
 If you get stuck look at
 http://fedoraproject.org/wiki/How_to_create_an_RPM_package, they have good
 links to IBM docs.
 
 
 On Wed, Aug 7, 2013 at 9:57 AM, Adrian Sevcenco 
 adrian.sevce...@cern.chwrote:
 
 Hi! I am trying to to ask the packagers from repoforge for updated
 packages of ganglia and rrdtool and i got no answer on their mail list..
 Does anyone have idea if repoforge is still active?

 Thanks!
 Adrian


 ___
 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
 
 


-- 
--
Adrian Sevcenco, Ph.D.   |
Institute of Space Science - ISS, Romania|
adrian.sevcenco at {cern.ch,spacescience.ro} |
--

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


Re: [CentOS] rrdtool :: rrdcached missing

2013-07-25 Thread Adrian Sevcenco
On 07/24/2013 12:39 PM, John Doe wrote:
 From: John Doe jd...@yahoo.com
 
 From: Adrian Sevcenco adrian.sevce...@cern.ch
  Hi! Does anyone know where i can find an rrdtool rpm which contains 
  rrdcached? it seems that there is no rrdcached rpm and rrdtool rpms from 
  all known repos (base,epel,rpmforge) dont have rrdcached ...

 Google says to check DAG rpms...
 
 To be more precise, repoforge extra.
Found it and with some minor modifications in spec file i rebuilt the
1.4.8 : (rrdtool2.spec is the 1.4.7 spec file)

[rpmbuild@gwiftm SPECS]$ diff rrdtool.spec rrdtool2.spec
206,207d205
 %{_bindir}/rrdcreate
 %{_bindir}/rrdinfo
238,239c236,237
 %{_prefix}/share/rrdtool/ifOctets.tcl
 %{_prefix}/share/rrdtool/pkgIndex.tcl
---
 %{_libdir}/rrdtool/ifOctets.tcl
 %{_libdir}/rrdtool/pkgIndex.tcl

btw : where (or tho whom) can i make requests for updating packages from
EPEL? (i am interested in rrdtool and ganglia)

Thanks!
Adrian

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


Re: [CentOS] rrdtool :: rrdcached missing

2013-07-25 Thread Adrian Sevcenco
On 07/25/2013 12:59 PM, John Doe wrote:
 From: Adrian Sevcenco adrian.sevce...@cern.ch
 
 btw : where (or tho whom) can i make requests for updating packages from
 EPEL? (i am interested in rrdtool and ganglia)
 
 Isn't there the packager email in the rpm info?
thanks! well i found this :
https://bugzilla.redhat.com/show_bug.cgi?id=856937#c7

so would seem that epel is not the repo to hope for updated packages for
EL systems .. to propose the addition of new version of rrdtool in epel
seems even far fetched ..

I will try my luck at repoforge..

Thanks!
Adrian

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


[CentOS] rrdtool :: rrdcached missing

2013-07-24 Thread Adrian Sevcenco
Hi! Does anyone know where i can find an rrdtool rpm which contains 
rrdcached? it seems that there is no rrdcached rpm and rrdtool rpms from 
all known repos (base,epel,rpmforge) dont have rrdcached ...


Thanks!
Adrian

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


Re: [CentOS] RAID 6 - opinions

2013-04-11 Thread Adrian Sevcenco
On 04/11/2013 06:36 PM, m.r...@5-cent.us wrote:
 I'm setting up this huge RAID 6 box. I've always thought of hot spares,
 but I'm reading things that are comparing RAID 5 with a hot spare to RAID
 6, implying that the latter doesn't need one. I *certainly* have enough
 drives to spare in this RAID box: 42 of 'em, so two questions: should I
we use several of this kind of boxes (but with 45 trays) and our
experience was that the optimum volume size was 12 hdds (3 X 12 + 9)
which will reduce the 45 disks to a actual size of 37 disks (a 12 disk
volume is 40 TB size ... in event of a broken hdd it takes 1 day to
recover.. more than 12 disks and i dont (want to) know how long it would
take) and we don't use hot spares.

HTH,
Adrian

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


Re: [CentOS] High memory needs

2012-09-26 Thread Adrian Sevcenco

On 09/26/12 19:14, Jérémie Dubois-Lacoste wrote:

Dear All,

Hi!


We recently reinstalled our computing cluster.  We were using CentOS
5.3 (32 bits).  It is now CentOS 6.3 (64 bits), installed from the
CentOS 6.2 x64 CD, then upgraded to 6.3.

We have some issues with the memory needs of our running jobs. They
require much more than before, it may be due to the switch from 32 to
64 bits, but to me this cannot explain the whole difference.

it would seem that there is a malloc(glibc) behaviour ...
i seen in other list an advice to use :
export MALLOC_ARENA_MAX=1
export MALLOC_MMAP_THRESHOLD=131072

in order to decrease the used memory ..

HTH,
Adrian



Here are our investigations.

We used the following simple benchmark:

1. Run a python script and check the memory that
it requires (field VIRT of the top command).
This script is:

import time
time.sleep(30)
print(done)


2. Similarly, run and check the memory of a simple
bash script:

#!/bin/bash
sleep 30
echo done


3. Open a R session and check the memory used


I asked 10 of our users to run these three things on their personal
PCs. They are running different distributions (mainly ubuntu,
slackware), half of them use a 32 bits system, the other half a 64
one.  Here is a summary of the results:

Bash script:
Avg  Min   Max
32 bits 54004192  9024
64 bits 12900  1  16528

Python script:
Avg  Min   Max
32 bits8500 5004  11132
64 bits32800   3  36336

R:
Avg  Min   Max
32 bits26900   21000 33452
64 bits100200 93008  97496

(as a side remark, the difference between 32 and 64 is surprisingly
big to me...).

Then we ran the same things on our CentOS cluster, getting
surprisingly high results. I installed a machine from scratch with the
CentOS CD (6.2 x64) to be sure another component of the cluster was
not playing a role. On this freshly installed machine I get the
following results:
SH:  103MB
PYTHON: 114MB
R:200MB

So, compared to the highest of our users (among the 64 bits ones), we
have a ratio of ~7, ~3, ~2, respectively.


It is very problematic for us because many jobs now cannot run
properly, because they lack memory on most of our computing nodes.
So we really cannot stand the situation...

Do you see any reason for this? Do you have suggestions?

Sincerely,

Jérémie
___
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] Order of sata/sas raid cards

2012-08-23 Thread Adrian Sevcenco
On 08/23/12 12:13, Jobst Schmalenbach wrote:
 Is there a way to tell the kernel in which order to load the drives
 and assign the drive order in a way that the new drives are assigned
 SDC and SDD and the old drives get SDA and SDB?
use UUID= in fstab (lsblk -o NAME,KNAME,UUID) and you will get rid of
all this headaches (if you have software raid the assembling is done
internally based on UUID so you don't have to worry about mdraid)

HTH,
Adrian

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


Re: [CentOS] Order of sata/sas raid cards

2012-08-23 Thread Adrian Sevcenco
On 08/23/12 15:01, Jobst Schmalenbach wrote:
 Hi Adrian
Hi!

 yes this will do.
 Because I do not know (yet) the UUID of the new partitions (drives), 
 if I specify the UUID for the known drives for the partitions
 the kernel will assign the new drives to higher sdx?
AFAIK the sdX names are given by the bios so this is why when new
hardware is addend and/or something is change hardware-wise the sdX
nomenclature is changed.
If you decide to use UUID nomenclature you should use it for ALL
disks/partitions .. for centos that menas the beside fstab to modify
grub to have something like root=UUID= in kernel command line from grub.
IMHO the easiest way to change all to UUID is to boot a live-cd find out
all UUIDs and modify the fstab and grub accordingly.
I dont know about root(hd0,0) .. i have the grub and / installed on an
disk which by system is recognized as /dev/sdc and in grub.conf i have
hd(2,msdos1)

HTH,
Adrian


 Is this correct?
 
 thanks
 Jobst
 
 
 
 On Thu, Aug 23, 2012 at 12:49:38PM +0300, Adrian Sevcenco 
 (adrian.sevce...@cern.ch) wrote:
 On 08/23/12 12:13, Jobst Schmalenbach wrote:
 Is there a way to tell the kernel in which order to load the drives
 and assign the drive order in a way that the new drives are assigned
 SDC and SDD and the old drives get SDA and SDB?
 use UUID= in fstab (lsblk -o NAME,KNAME,UUID) and you will get rid of
 all this headaches (if you have software raid the assembling is done
 internally based on UUID so you don't have to worry about mdraid)

 HTH,
 Adrian

 
 
 ___
 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] Order of sata/sas raid cards

2012-08-23 Thread Adrian Sevcenco
On 08/23/12 17:41, m.r...@5-cent.us wrote:
 Adrian Sevcenco wrote:
 On 08/23/12 15:01, Jobst Schmalenbach wrote:
 snip
 I dont know about root(hd0,0) .. i have the grub and / installed on an
 disk which by system is recognized as /dev/sdc and in grub.conf i have
 hd(2,msdos1)

 Ok... to follow myself up, I started looking. There is zero indication in
 any manpage about the syntax you use. After doing some googling, I finally
 found
 http://www.gnu.org/software/grub/manual/grub.html#Device-syntax, and
 geez, the Gnu documentation is *dreadful* - why isn't there a syntax
 description for the root line of a grub entry? Then I found the above,
 which is *not* with the root directive, and they give examples including
 msdos1, msdos5, but with no explanation of what those names are - labels?
 the first and fifth partitions that are msdos format?
 
 As I said in my previous post, I've never seen anything like that - it's
 always
 root (hdx,y).
err, sorry that was my mistake ... i copy pasted from wrong terminal
(from my desktop fedora 16 grub 2 instead from the centos server where i
look initially)

so, to wrap things up: on my centos 5 storage i have root (hd0,0)
that stayed the same no matter how many block devices i added or removed
from my hardware card... but in fstab i use only UUIDs

HTH,
Adrian


 
  mark
 
 
 ___
 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] 10gb :: ixgbe :: ssl problems?

2012-06-18 Thread Adrian Sevcenco
Hi! Did anyone encountered some ssl transaction problems with latest 
version of ixgbe? i had some very strange problem with nodes with 
private ip (the server with 10 gb interface was masquerading the nodes 
behind a switch with 10gb and 1 gb interfaces)
i used the latest drivers and the ssl conection could be made .. as soon 
as i used the 2.6.18-308.8.1.el5 driver (3.4.8-k) the problem vanished...

What am i missing? how can a network driver have effect on ssl transactions?

Thank you for any info ..i feel like in twilight zone :(
Adrian

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


Re: [CentOS] [CentOS-docs] Updating the RAID1 HowTo to CentOS 6

2012-05-07 Thread Adrian Sevcenco

On 05/02/12 18:47, Gianni Giardina wrote:

Hi.
The following HowTo on the CentOS Wiki:

http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1

valid for CentOS 5, has not been updated to CentOS 6, yet. I found it
very useful during the glorious CentOS 5 days and now that I've
successfully ported my RAID1 experience to CentOS 6, I'd like to share
it with the Community.


I have a question regarding partionable RAID :
why should the --metadata=0.90 be used?
in my man page (centos 6.2) i have this :
-e, --metadata=
Declare  the  style  of RAID metadata (superblock) to be used.  The 
default is 1.2 for --create, and to guess for other operations.  The 
default can be overridden by setting the metadata value for the CREATE 
keyword in mdadm.conf.


Options are:

0, 0.90	   Use the original 0.90 format superblock.  This format limits 
arrays to 28 component devices and limits component devices of levels 1 
and  greater  to  2  terabytes.   It  is  also possible for there to be 
confusion about whether the superblock applies to a whole device or just 
the last partition, if that partition starts on a 64K boundary.


1, 1.0, 1.1, 1.2 default   Use the new version-1 format superblock. 
This has fewer restrictions.  It can easily be moved between hosts with 
different endian-ness, and a recovery operation can be checkpointed and 
restarted.  The different sub-versions store the superblock at different 
locations on the device, either at the end (for 1.0), at the start (for 
1.1) or 4K from the start (for 1.2).  1 is equivalent to 1.2. 
default is equivalent to 1.2.


given the existence of 2+ tb hdd, metadata 0.9 is no go from the start 
... so, why 0.9 ?


Thanks,
Adrian

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


[CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

2012-03-08 Thread Adrian Sevcenco
Hi! i have a problem with iotop :

root@alien: ~ # iotop
Traceback (most recent call last):
  File /usr/bin/iotop, line 16, in ?
main()
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 567, in main
main_loop()
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 557, in lambda
main_loop = lambda: run_iotop(options)
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 465, in
run_iotop
return curses.wrapper(run_iotop_window, options)
  File /usr/lib64/python2.4/curses/wrapper.py, line 44, in wrapper
return func(stdscr, *args, **kwds)
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 457, in
run_iotop_window
process_list = ProcessList(taskstats_connection, options)
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 375, in
__init__
self.update_process_counts()
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 431, in
update_process_counts
stats = self.taskstats_connection.get_single_task_stats(thread)
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 158, in
get_single_task_stats
reply = self.connection.recv()
  File /usr/lib/python2.4/site-packages/iotop/netlink.py, line 229, in
recv
raise err
OSError: Netlink error: Invalid argument (22)


CentOS release 5.5 (Final)

iotop-0.4.3-4.el5

python-2.4.3-46.el5

anyone have any idea about this problem and how can i debug/fix it?
Thanks!
Adrian

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


Re: [CentOS] defense-in-depth possible for sshd?

2012-01-10 Thread Adrian Sevcenco

On 01/10/12 11:12, Bennett Haselton wrote:

What about sshd -- assuming that the attacker can connect to sshd at all
(i.e. not prevented by a firewall), if they find an exploit to let them
take control of sshd, would that imply immediate total control of the

UsePrivilegeSeparation
Specifies whether sshd(8) separates privileges by creating an 
unprivileged child process to deal with incoming network traffic. After 
successful authentication, another process will be created that has the 
privilege of the authenticated user.  The goal of privilege separation 
is to prevent privilege escalation by containing any corruption within 
the unprivileged processes.  The default is ``yes''. If 
UsePrivilegeSeparation is set to ``sandbox'' then the pre-authentication 
unprivileged process is subject to additional restrictions.


http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_configsektion=5

also selinux is everywhere this days... (default mechanism for 
defense-in-depth)


HTH,
Adrian

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


[CentOS] OFFTOPIC :: IB hardware choice

2011-03-23 Thread Adrian Sevcenco

Hi! I would need an advice from those that use IB (as admins :) )
i have a choice between :
1. Mellanox InfiniHost® III Lx HCA card, single-port CX4, DDR, PCIe
x8, mem-free, tall bracket, RoHS R5

2. QLogic Single Port 20 Gb InfiniBand to x16 PCI Express Adapter
(Single Pack)

aside the price is there anything else that could help me make a 
discrimination between this two?
(these will be used in twin servers for a small (up to 24 nodes) 
parallel cluster)

Thanks!
Adrian



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


[CentOS] modprobe :: not finding existing .ko

2011-03-18 Thread Adrian Sevcenco

Hi! I try to load an module that it is found in curent
/lib/modules/`uname -r` tree ...
root@sevcenco: ~ # ls -l /lib/modules/`uname 
-r`/kernel/drivers/crypto/padlock-*
-rwxr--r-- 1 root root 14296 Mar 16 19:37 
/lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-aes.ko
-rwxr--r-- 1 root root 10808 Mar 16 19:37 
/lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-sha.ko


but if i try :
root@sevcenco: ~ # modprobe -v padlock-aes.ko
FATAL: Module padlock_aes.ko not found.

notice the change from - to _
Any idea about this?
or more abstract:
have anyone succeed to use padlock (via) hardware with openssl (or other 
software) in centos?


Thanks,
Adrian



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


Re: [CentOS] modprobe :: not finding existing .ko

2011-03-18 Thread Adrian Sevcenco

On 03/18/2011 06:22 PM, Akemi Yagi wrote:

On Fri, Mar 18, 2011 at 9:03 AM, Adrian Sevcenco
adrian.sevce...@cern.ch  wrote:

Hi! I try to load an module that it is found in curent
/lib/modules/`uname -r` tree ...
root@sevcenco: ~ # ls -l /lib/modules/`uname
-r`/kernel/drivers/crypto/padlock-*
-rwxr--r-- 1 root root 14296 Mar 16 19:37
/lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-aes.ko
-rwxr--r-- 1 root root 10808 Mar 16 19:37
/lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-sha.ko

but if i try :
root@sevcenco: ~ # modprobe -v padlock-aes.ko
FATAL: Module padlock_aes.ko not found.


When using the modprobe command, you need to omit the .ko part.

ufff ... i just copy pasted the file name :((
root@sevcenco: ~ # modprobe -v padlock-aes
insmod /lib/modules/2.6.38-0.el5.elrepo/kernel/crypto/aes_generic.ko
insmod /lib/modules/2.6.38-0.el5.elrepo/kernel/drivers/crypto/padlock-aes.ko

Thanks for help :)
Adrian



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


Re: [CentOS] vanilla kernel configuration :: xconfig -- qt errors

2011-02-19 Thread Adrian Sevcenco
On 02/17/2011 06:08 PM, Akemi Yagi wrote:
 yum install qt-devel

root@sevcenco: ~ # rpm -qa | grep qt | grep devel
qt-devel-3.3.6-23.el5
qt-devel-docs-3.3.6-23.el5
qt4-devel-4.2.1-1

Thanks,
Adrian



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


[CentOS] vanilla kernel configuration :: xconfig -- qt errors

2011-02-17 Thread Adrian Sevcenco
Hi! It seems that i made some changes that make xconfig to not work ..
the problem is that not matter what QTDIR i select i receive the same
errors that start with :
adrian@sevcenco: linux-2.6.37 $ make O=/home/adrian/kernel/kernel_out
xconfig
  GEN /home/adrian/kernel/kernel_out/Makefile
  HOSTCXX scripts/kconfig/qconf.o
/usr/lib64/qt4/include/Qt3Support/q3toolbar.h:45: error:
'Qt::ToolBarDock' has not been declared
/usr/lib64/qt4/include/Qt3Support/q3toolbar.h:45: error: 'DockTop' is
not a member of 'Qt'
/usr/lib64/qt4/include/Qt3Support/q3mainwindow.h:71: error: 'Qt::Dock'
has not been declared

i have this script for QT :
## QTDIR=/usr/lib64/qt4
QTDIR=/usr/lib64/qt-3.3

export QTDIR
export QTINC=$QTDIR/include
export QTLIB=$QTDIR/lib

export PATH=$PATH:$QTDIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTLIB

no matter of what qt i choose i have the same errors
anyone has an idea about what the problem can be?

Thanks!
Adrian



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


[CentOS] update of rpm directory

2010-05-13 Thread Adrian Sevcenco
Hi! I have an directory full with rpms that are installed on some
machines.. what is the best way to update those rpms to the latest
version? are there more optimal approaches then searching for each rpm
names in an update repo and download one by one?

Thanks,
Adrian



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


Re: [CentOS] update of rpm directory

2010-05-13 Thread Adrian Sevcenco
On 05/13/2010 04:23 PM, Phil Schaffner wrote:
 Adrian Sevcenco wrote on 05/13/2010 08:49 AM:
 Hi! I have an directory full with rpms that are installed on some
 machines.. what is the best way to update those rpms to the latest
 version? are there more optimal approaches then searching for each rpm
 names in an update repo and download one by one?
 
 Your question is not very clear.  Do you mean that you have just a local 
Sorry about that..

 directory of RPMS or that you maintain a local repo?  If just a 
i have just a directory of rpms that are going to be installed through
some scripting (through PXE) on a bunch of servers. all i need is to
update the version for the rpms present in that dir

 directory then you may want to read:
 
 http://wiki.centos.org/HowTos/CreateLocalRepos
 http://wiki.centos.org/HowTos/CreateLocalMirror
 
 In either case, it you want to see what updates are available from a 
 particular repo, say reponame:
 
 yum --disablerepo \* --enablerepo reponame check-update
 
 You could then download and put RPMS in your local repo as desired.
Thanks it helps! but a little more bit of info^Whints could help even more:
lets say that on the server i do this stuff (and where is this dir from
which nodes are installed) everything is up to date.. (and worker nodes
are NOT updated) and i dont want to ask nodes do give me an rpm -qa..
how can a make a diff (comparing versions) between rpms form local
directory and update repo? (other than take the rpm name from dir; strip
name and version ; search in update repo the rpm name ; compare version
, if newer download rpm )

Thanks a lot!!
Adrian

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


-- 
Best regards,
Adrian

---
Adrian Sevcenco - Institute of Space Sciences, Romania
---



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


Re: [CentOS] bridge :: kernel panic

2010-05-07 Thread Adrian Sevcenco
On 05/06/2010 03:46 PM, Wahyu Darmawan wrote:
 Hi,
Hi,

 Please see the /var/log/messages and compare it with time that you have
 crash in your machine.
I have nothing in messages regarding that kernel panic ... any other idea?

Thanks,
Adrian


 
 Rgds,
 
 
 On Thu, May 6, 2010 at 7:26 PM, Adrian Sevcenco adrian.sevce...@cern.ch
 mailto:adrian.sevce...@cern.ch wrote:
 
 Hi! I have an bridge that keeps crashing (random times .. days with 5-6
 crashes with normal functioning of 1-2 weeks) my machine that is used
 also as gateway (nat). the problem is that i don't have an log of the
 kenel panic so i don have what to post ...
 The configuration of bridge is like this:
 (each eth0 and eth1 are in different vlans in switch)
 
 $IFCONFIG eth0 0.0.0.0
 $IFCONFIG eth1 0.0.0.0
 
 $BRCTL addbr br0
 $BRCTL addif br0 eth0
 $BRCTL addif br0 eth1
 $BRCTL stp br0 off
 
 $IFCONFIG br0 194.102.58.157 netmask 255.255.255.0
 $ROUTE add default gw 194.102.58.1
 echo 1  /proc/sys/net/ipv4/ip_forward
 
 Can somebody help me with hints about debuging this problem?
 Thank you!
 Adrian
 
 
 ___
 CentOS mailing list
 CentOS@centos.org mailto:CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
Best regards,
Adrian

---
Adrian Sevcenco - Institute of Space Sciences, Romania
---



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


[CentOS] bridge :: kernel panic

2010-05-06 Thread Adrian Sevcenco
Hi! I have an bridge that keeps crashing (random times .. days with 5-6
crashes with normal functioning of 1-2 weeks) my machine that is used
also as gateway (nat). the problem is that i don't have an log of the
kenel panic so i don have what to post ...
The configuration of bridge is like this:
(each eth0 and eth1 are in different vlans in switch)

$IFCONFIG eth0 0.0.0.0
$IFCONFIG eth1 0.0.0.0

$BRCTL addbr br0
$BRCTL addif br0 eth0
$BRCTL addif br0 eth1
$BRCTL stp br0 off

$IFCONFIG br0 194.102.58.157 netmask 255.255.255.0
$ROUTE add default gw 194.102.58.1
echo 1  /proc/sys/net/ipv4/ip_forward

Can somebody help me with hints about debuging this problem?
Thank you!
Adrian



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


[CentOS] raid1 creation :: not large enough to join array

2010-01-16 Thread Adrian Sevcenco
Hi!
I have 2 identical hdd (1002FBYS) with the same firmware, etc .. really
identical! when i try to add the second hdd to this raid1 array i have
the message that /dev/sdb is not large enough to join array!!
on the first hdd i have 100 mb unpartitioned at the end of disk (as i
understood that mdadm put there some info...)
Anyone, any idea what can be wrong? i already done this procees several
times and this is first time i encounter this and i have no idea what
can be the problem ..

Thanks!
Adrian


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


Re: [CentOS] raid1 creation :: not large enough to join array

2010-01-16 Thread Adrian Sevcenco
Ross Walker wrote:
 On Jan 16, 2010, at 10:27 AM, Adrian Sevcenco  
 adrian.sevce...@cern.ch wrote:
 
 Hi!
 I have 2 identical hdd (1002FBYS) with the same firmware, etc ..  
 really
 identical! when i try to add the second hdd to this raid1 array i have
 the message that /dev/sdb is not large enough to join array!!
 on the first hdd i have 100 mb unpartitioned at the end of disk (as i
 understood that mdadm put there some info...)
 Anyone, any idea what can be wrong? i already done this procees  
 several
 times and this is first time i encounter this and i have no idea what
 can be the problem ..
 
 Make sure the partitions are exactly the same, you can use sfdisk to  
 copy the table from a to b.
well, i was doing raid over device (md_dX) but i found out the problem :
even if there are identical devices, they have different number of
blocks (hdparm output). how is this possible?
is there a way to restrict the number of blocks that a hdd have?
alternative would be just to clone the first hdd on the smaller one
and then add the big one to and raid1 array ...

Did someone seen this situation?
Thanks,
Adrian


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


Re: [CentOS] raid1 creation :: not large enough to join array

2010-01-16 Thread Adrian Sevcenco
Ian Murray wrote:
 - Original Message 
 
 From: Adrian Sevcenco adrian.sevce...@cern.ch To: CentOS mailing
 list centos@centos.org Sent: Sat, 16 January, 2010 15:27:12 
 Subject: [CentOS] raid1 creation :: not large enough to join array
 
 Hi! I have 2 identical hdd (1002FBYS) with the same firmware, etc
 .. really identical! when i try to add the second hdd to this raid1
 array i have the message that /dev/sdb is not large enough to join
 array!! on the first hdd i have 100 mb unpartitioned at the end of
 disk (as i understood that mdadm put there some info...) Anyone,
 any idea what can be wrong? i already done this procees several 
 times and this is first time i encounter this and i have no idea
 what can be the problem ..
 
 Thanks! Adrian
 
 Last time I got this, it was because I was trying to add the whole
 disk (/dev/sdb) rather than the partition /dev/sdb1. I don't know
well .. its ok to add /dev/sdb if you do /dev/md_dX style of raid..
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1

and this was exactly what i was doing .. well, see my previous post
about the actual problem

Adrian


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 :: linux-2.6.32.2 compile error (via nano l2...@1600)

2010-01-08 Thread Adrian Sevcenco
Adrian Sevcenco wrote:
 Kay Diederichs wrote:
  I did not look at the config, but I had good results with the 2.6.31
 kernel compiled on CentOS 5.4 with the Fedora 12 config (but that was on
 x86_64 so YMMV).
 this is also on x86_64 .. well, nevermind, i just tried a compile with
 original config-2.6.18-164.9.1.el5 and it worked .. that means that i
 was over zealous in configuration :D ;)
So once again after many tries i am stuck! it seems that on x86_64 i
cannot enable longhaul cpufreq driver!! in 2.6.32.3 X86_LONGHAUL depends
on CPU_FREQ [=y]  X86_32 [=n]  ACPI_PROCESSOR [=y] !!
i am wondering why is there that X86_32 . the thing it seems that is
defined at arch/x86/kernel/cpu/cpufreq/Kconfig:209
i am trying the get in touch with cpufreq guys, but in mean time have
anyone any idea about this? what is the reason of X86_32 requirement?

Thanks,
Adrian


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 :: linux-2.6.32.2 compile error (via nano l2...@1600)

2010-01-07 Thread Adrian Sevcenco
Jim Perrin wrote:
 On Wed, Jan 6, 2010 at 5:15 PM, Adrian Sevcenco adrian.sevce...@cern.ch 
 wrote:
 Hi! I try to compile an vanilla kernel 2.6.32.2 on centos 5.4 and i have
 this error :
 
 Out of curiosity, why are you rebuilding the kernel? Is there a driver
 you need which isn't supplied by the elrepo repository folks?
Well, the thing is that i lack power scaling (i understood that the
module should have name something like overhaul .. or something)
Given that this is an samba home server with very little load is a pity
that it stays all the time at maximum freq.. elrepo guys are fantastic
and from them i have the vt1211 driver for the sensors .. but i dint see
that they would have also scaling drivers in their repo.
Thanks,
Adrian


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 :: linux-2.6.32.2 compile error (via nano l2...@1600)

2010-01-07 Thread Adrian Sevcenco
Kay Diederichs wrote:
 Karanbir Singh schrieb:
 On 01/07/2010 11:36 AM, Ned Slider wrote:
 Depends what hardware you have. ELRepo has a fixed powernow-k8 driver
 for AMD processors that allows correct scaling on multicore processors.
 See here:
 OP has a VIA nano, the K8 stuff isnt going to work there.

 I wonder if its possible to manually set clockrate.

 - KB
 
 the OP's posting had the hint
 
 The bug is not reproducible, so it is likely a hardware or OS problem.
 
 To rule out a hardware problem it would be good to try the compilation
 with e.g. Fedora 12 (run from LiveCD or USB stick).
k thx!

 I did not look at the config, but I had good results with the 2.6.31
 kernel compiled on CentOS 5.4 with the Fedora 12 config (but that was on
 x86_64 so YMMV).
this is also on x86_64 .. well, nevermind, i just tried a compile with
original config-2.6.18-164.9.1.el5 and it worked .. that means that i
was over zealous in configuration :D ;)

Thanks for advices,
Adrian


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


Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-06 Thread Adrian Sevcenco
Boris Epstein wrote:
 Hello everyone,
 
 This is not directly related to CentOS but still: we are trying to set
 up some storage servers to run under Linux - most likely CentOS. The
 storage volume would be in the range specified: 8-15 TB. Any
 recommendations as far as hardware?
Depends what you want to do ... i am satisfied with an via vb8001 with
nano cpu at 1.6 ghz (thou i still have problems with power scaling)
and an areca 1220 ... so i have 2 hdd in software raid 1 (motherboard) +
8 hdd in raid 6 from areca ... the drives are kept in 2x 5 hdd
supermicro racks ... this is a home samba and http server ...
Adrian


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


[CentOS] centos 5.4 :: linux-2.6.32.2 compile error (via nano l2...@1600)

2010-01-06 Thread Adrian Sevcenco
Hi! I try to compile an vanilla kernel 2.6.32.2 on centos 5.4 and i have
this error :

CC  mm/page-writeback.o
/home/root_data/linux-2.6.32.2/mm/page-writeback.c: In function
‘test_clear_page_writeback’:
/home/root_data/linux-2.6.32.2/mm/page-writeback.c:1280: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://bugzilla.redhat.com/bugzilla for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [mm/page-writeback.o] Error 1
make[1]: *** [mm] Error 2
make: *** [sub-make] Error 2

Have anyone any idea about this ?

The hardware is in via vb8001 with this cpu
[r...@sevcenco linux-2.6.32.2]# cat /proc/cpuinfo
processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 15
model name  :VIA Nano processor l2...@1600mhz
stepping: 2
cpu MHz : 1615.851
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm syscall nx fxsr_opt
rdtscp lm up pni monitor vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips: 3231.70
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

The config can be found at
http://sevcenco.homelinux.org/adrian/kernel_nano/

Thanks,
Adrian





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


Re: [CentOS] Centos UPS

2009-12-28 Thread Adrian Sevcenco
Drew wrote:
 That said, I do prefer NUT because I've been using their tools for a
Hi! From where (which repo) can NUT be installed for Centos 5 ?
Thanks,
Adrian


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


[CentOS] via vb 8001 : vt1211 driver

2009-12-28 Thread Adrian Sevcenco
Hi! I have an vb8001 and i try to make the lm_sensors to work .. i
upgraded to latest version and in the end doesn't find the vt1211
driver ... is it packaged somewhere? (maybe elrepo but it doesn't find
any vt1211 nor 1211 related packages) (of course this is on an Centos 5.4)
Thanks,
Adrian

P.S. i tried to post to lm_sensors mail list but it seem that it is not
working (nor http://lists.lm-sensors.org/mailman/listinfo/lm-sensors)


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


Re: [CentOS] software raid :: kernel update procedure

2009-11-12 Thread Adrian Sevcenco

Lucian @ lastdot.org wrote:

On Wed, Nov 11, 2009 at 11:50 AM, Adrian Sevcenco
adrian.sevce...@cern.ch wrote:

Lucian @ lastdot.org wrote:

On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco
adrian.sevce...@cern.ch wrote:

Hi! I have an software raid installation (md_dX type) and i am wondering
what is the procedure for kernel update... is the initrd auto-magicaly
rebuild?

Thank you,
Adrian



Yep, as long as you are using the stock kernels, you should be safe. I
use linux raid a lot and haven't had a problem. Just yum update and
you're ready to go (if you upgrade from/to minor version be sure to
read the release notes and erratas).

Thanks! Yes i am using the stock kernels and i asked because i use an
modified mkinitrd (for raid md_dX type suport) and wanted to be sure
that initrd is rebuilt at kernel update time.

Thanks,
Adrian




Ouch, the fact that you were using a modified initrd was not obvious
to me from your 1st post.
I dont know if centos does this automatically for you. Maybe it's
safer to create a new mkinitrd after the kernel has installed.
Now i can say that the kernel update recreate at install/update time the 
initrd so i didn't had any king of problem with this. (of course, having 
an modified mkinitrd i have in yum.conf :: exclude=mkinitrd*)


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


[CentOS] software raid :: kernel update procedure

2009-11-11 Thread Adrian Sevcenco
Hi! I have an software raid installation (md_dX type) and i am wondering
what is the procedure for kernel update... is the initrd auto-magicaly
rebuild?

Thank you,
Adrian


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


Re: [CentOS] software raid :: kernel update procedure

2009-11-11 Thread Adrian Sevcenco
Lucian @ lastdot.org wrote:
 On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco
 adrian.sevce...@cern.ch wrote:
 Hi! I have an software raid installation (md_dX type) and i am wondering
 what is the procedure for kernel update... is the initrd auto-magicaly
 rebuild?

 Thank you,
 Adrian


 
 Yep, as long as you are using the stock kernels, you should be safe. I
 use linux raid a lot and haven't had a problem. Just yum update and
 you're ready to go (if you upgrade from/to minor version be sure to
 read the release notes and erratas).
Thanks! Yes i am using the stock kernels and i asked because i use an
modified mkinitrd (for raid md_dX type suport) and wanted to be sure
that initrd is rebuilt at kernel update time.

Thanks,
Adrian


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


[CentOS] CentOS 5.4 :: partitionable RAID1

2009-10-30 Thread Adrian Sevcenco
Hi! Did anyone tried this on 5.4? having a look on 
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1

is would seem that that mkinitrd patch is no longer required.
Can someone ack this?
Thanks,
Adrian


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


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Adrian Sevcenco

Neil Aggarwal wrote:

Hello:

I am looking for a recommendation for a PCI-e
RAID card for my server.  The server has a
PCI-e x16 low profile slot so the card has
to be at most 6.6 inches long x 2.536 inches
high.  I would like to use RAID 5 with 3 drives
so I have to have those capabilities.

It has to be CentOS 5.4 compatible (Of course!).

I took a look at the offerings from 3Ware, but
their cards are too long.

If you have a card you are happy with, I would
appreciate a recommendation.
ARECA all the way .. we are very happy with their 24 port controllers 
(RAID6 capable)(of which we have six so far) and with the features of 
monitoring and (out-of-band) configuration.


Best regards,
Adrian

---
Adrian Sevcenco - Institute of Space Sciences, Romania
---


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? anyone?

2009-10-16 Thread Adrian Sevcenco

Toby Bluhm wrote:

You Centos guys just aren't getting the message are you?

We need to know EXACTLY what is going on with the release! None of this 
soon crap will do. Please post a progress report on packages built, 
isos transfered, server update progress by region, hours worked, 
keystrokes typed, bathroom breaks, hours slept, family time taken. Bar 
charts would be a nice touch. We need to know these things! Our very 
lives hang upon this release. Strap a wireless webcam to your head for 
god's sake and broadcast your every move. Verbalized every action. Quit 
leaving us in the lurch!
I find this message at least rude! Why don't you show the bank transfers 
to the guys that do this? Also I seriously doubt the need of urgent 
update if you don't have the money (business) to use the supported and 
fast developed USV os.
All i can say for myself and my ~140 servers (HPC+ others) is Thank you 
guys for your sweat and patience




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


[CentOS] SIGSEGV at kickstart

2009-09-10 Thread Adrian Sevcenco

Hi! I have a problem that i dont know how to tackle ...
i have done kickstarting many times but know it seems i hit an wall ...
i try to kickstart through nfs an 64 bit centos .. just after taking ip 
trough dhcp i receive an SIGSEGV ! i dont know what to do anymore as the 
same ks.cfg worked very well until now ..


Many thanks!
Adrian


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


Re: [CentOS] winbond w83793G driver

2009-09-08 Thread Adrian Sevcenco

Ned Slider wrote:

Adrian Sevcenco wrote:
Hi! Have anyone any idea why w83793G driver is not in the upstream 
vendor kernel? do i have to compile my own kernel for this to work?


Thank you,
Adrian



Hi Adrian,

Hi,

I guess the w83793 driver had not made the 2.6.18.4 kernel that RHEL5 is 
based off.


Anyway, luckily you don't need to build a whole kernel for one driver 
module - you can build the driver out of tree against the el5 kernel.


Even better, I've backported the module for you from the latest upstream 
kernel (2.6.30.5) as a kABI tracking kmod package and put it in the 
elrepo-testing repository here (kmod-w83793):

Thanks a lot


http://elrepo.org
http://elrepo.org/linux/testing/el5/

As you have the hardware, I'd appreciate if you would test the driver 
and report back how it works, either here or on the elrepo mailing lists 
or bug tracker.

Sure! I will let you know asap :)

Thanks!
Adrian


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


Re: [CentOS] winbond w83793G driver

2009-09-08 Thread Adrian Sevcenco

Ned Slider wrote:
Even better, I've backported the module for you from the latest upstream 
kernel (2.6.30.5) as a kABI tracking kmod package and put it in the 
elrepo-testing repository here (kmod-w83793):


http://elrepo.org
http://elrepo.org/linux/testing/el5/

As you have the hardware, I'd appreciate if you would test the driver 
and report back how it works, either here or on the elrepo mailing lists 
or bug tracker.

It seems that everything is ok :)
Thanks a lot!
Adrian

[r...@alien /]# insmod 
/lib/modules/2.6.18-128.7.1.el5/weak-updates/w83793/w83793.ko

[r...@alien /]# sensors
w83793-i2c-0-2f
Adapter: SMBus I801 adapter at 1100
CPU Core 1:  +1.08 V  (min =  +0.92 V, max =  +1.49 V)
CPU Core 2:  +1.07 V  (min =  +0.92 V, max =  +1.49 V)
VTT: +1.09 V  (min =  +0.99 V, max =  +1.33 V)
-12V:   -11.52 V  (min = -12.53 V, max =  -9.79 V)
P1V5:+1.57 V  (min =  +1.34 V, max =  +1.65 V)
+3.3V:   +3.31 V  (min =  +2.96 V, max =  +3.63 V)
+12V:   +11.81 V  (min = +10.75 V, max = +13.25 V)
+5V: +5.14 V  (min =  +4.64 V, max =  +5.65 V)
5VSB:+5.07 V  (min =  +4.64 V, max =  +5.65 V)
VBAT:+3.18 V  (min =  +2.99 V, max =  +3.66 V)
fan1:   6221 RPM  (min =  712 RPM)
fan2:   6279 RPM  (min =  712 RPM)
fan3:   6308 RPM  (min =  712 RPM)
fan4:  0 RPM  (min =  712 RPM)  ALARM
CPU1 fan:  0 RPM  (min =  712 RPM)  ALARM
CPU2 fan:  0 RPM  (min =  712 RPM)  ALARM
CPU1 Temp:   +28.0�C  (high = +70.0�C, hyst = +65.0�C)  sensor = Intel PECI
CPU2 Temp:   +33.0�C  (high = +70.0�C, hyst = +65.0�C)  sensor = Intel PECI
System Temp: +26.0�C  (high = +50.0�C, hyst = +45.0�C)  sensor = thermistor
beep_enable:disabled




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


Re: [CentOS] winbond w83793G driver

2009-09-08 Thread Adrian Sevcenco

Ned Slider wrote:

Adrian Sevcenco wrote:

Ned Slider wrote:
Even better, I've backported the module for you from the latest 
upstream kernel (2.6.30.5) as a kABI tracking kmod package and put it 
in the elrepo-testing repository here (kmod-w83793):


http://elrepo.org
http://elrepo.org/linux/testing/el5/

As you have the hardware, I'd appreciate if you would test the driver 
and report back how it works, either here or on the elrepo mailing 
lists or bug tracker.

It seems that everything is ok :)
Thanks a lot!
Adrian



Brilliant!

Thanks for reporting back. If you have no issues with it, I'll move it 

My pleasure :)

from testing to the main repository in a few days and will maintain it 
beside using it, is there other things to do for testing if everything 
is alright?


from there, so if you have elrepo installed, a 'yum update' will find 
future package updates for you.

great! thanks!

BTW, because it's a kABI-tracking kmod package, it will work seamlessly 
across kernel updates :-)

thats great :)

Thanks!
Adrian


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


[CentOS] winbond w83793G driver

2009-09-07 Thread Adrian Sevcenco
Hi! Have anyone any idea why w83793G driver is not in the upstream 
vendor kernel? do i have to compile my own kernel for this to work?


Thank you,
Adrian


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


Re: [CentOS] yum best policy magic.mime problem (httpd update)

2009-06-04 Thread Adrian Sevcenco
Rob Kampen wrote:
 Adrian Sevcenco wrote:
 Hi! I have 2 questions :
 1. I heard about an best and all policy with yum for 64bit arch .. how
 can i change the policy to best as is annoying to have doubled packages
 when i need only the 64bit ones ...

 2. i try to update the apache and i have this :
 -- Processing Dependency: /usr/share/magic.mime for package: httpd
 -- Finished Dependency Resolution
 httpd-2.2.3-22.el5.centos.1.x86_64 from updates has depsolving problems
   -- Missing Dependency: /usr/share/magic.mime is needed by package
 httpd-2.2.3-22.el5.centos.1.x86_64 (updates)
 Error: Missing Dependency: /usr/share/magic.mime is needed by package
 httpd-2.2.3-22.el5.centos.1.x86_64 (updates)

 and
 [r...@rd yum.repos.d]# ls -la /usr/share/magic.mime
 lrwxrwxrwx 1 root root 15 Apr 14 11:58 /usr/share/magic.mime -
 file/magic.mime
 [r...@rd yum.repos.d]# ls -la /usr/share/file/magic.mime
 -rw-r--r-- 1 root root 31150 Jan 21 05:43 /usr/share/file/magic.mime

 any idea?

 Thanks!
 Adrian
  
 

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
   
 Adrian,
 previous posts show a yum clean all will fix this
 HTH
Thanks! Duh! it was to late in the night :(

Adrian




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


[CentOS] yum best policy magic.mime problem (httpd update)

2009-06-03 Thread Adrian Sevcenco
Hi! I have 2 questions :
1. I heard about an best and all policy with yum for 64bit arch .. how
can i change the policy to best as is annoying to have doubled packages
when i need only the 64bit ones ...

2. i try to update the apache and i have this :
-- Processing Dependency: /usr/share/magic.mime for package: httpd
-- Finished Dependency Resolution
httpd-2.2.3-22.el5.centos.1.x86_64 from updates has depsolving problems
  -- Missing Dependency: /usr/share/magic.mime is needed by package
httpd-2.2.3-22.el5.centos.1.x86_64 (updates)
Error: Missing Dependency: /usr/share/magic.mime is needed by package
httpd-2.2.3-22.el5.centos.1.x86_64 (updates)

and
[r...@rd yum.repos.d]# ls -la /usr/share/magic.mime
lrwxrwxrwx 1 root root 15 Apr 14 11:58 /usr/share/magic.mime -
file/magic.mime
[r...@rd yum.repos.d]# ls -la /usr/share/file/magic.mime
-rw-r--r-- 1 root root 31150 Jan 21 05:43 /usr/share/file/magic.mime

any idea?

Thanks!
Adrian


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


[CentOS] fs for 16 TiB partition

2009-05-06 Thread Adrian Sevcenco
Hi,
What would you recommend as an FS for an partition greater than 16 TiB?
This is for an production server (that is, no ext4 recommendations
please :) )
What experiences did you had with your preferred FS ? (good and not so
good points)

Thank you,
Adrian


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


Re: [CentOS] fs for 16 TiB partition

2009-05-06 Thread Adrian Sevcenco
Rainer Duffner wrote:
 Adrian Sevcenco schrieb:
 Hi,
 What would you recommend as an FS for an partition greater than 16 TiB?
 This is for an production server (that is, no ext4 recommendations
 please :) )
 What experiences did you had with your preferred FS ? (good and not so
 good points)

 Thank you,
 Adrian
   
 
 
 Does anybody actually run such a thing on Linux?
We will .. 2 X RAID6 each with 12 drives (24 drives machine)
with 2 TB drives .. that is 20 TBs each volume

 How long does a FSCK take once it's 80% populated?
i strongly hope that i will never know :))
it have 2 redundant PSU each on different ups ...

 How much RAM does that need?
minimal .. is an storage only machine so 4 GB is enough as the
connection is only GigE

 The FSCK on my Virtuozzo-partition takes long enough - and it's only 500
 GB or so.
Even for home its efficient to have an ups for each machine..

Adrian



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


[CentOS] CentOS 4.7 status

2008-08-30 Thread Adrian Sevcenco
Hi,
i was wondering what is the status of 4.7
Thank you,
Best regards,
Adrian


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


[CentOS] GSL version = 1.8 CentOS 4.x ?

2008-01-04 Thread Adrian Sevcenco
Hi! Is there a version of gsl library = 1.8 available for centos 4.x?
If indeed there is none (as i founded nothing so far) has someone some
idea how should i make the rpm from src.rpm ?
Thank you,
Best regards,
Adrian


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