Displaying 20 results from an estimated 400 matches similar to: "Howto align partitions in Linux + NetApp"
2008 Nov 25
1
Correct way to change I/O scheduler in a iSCSI dev
Hi,
What's the correct way to change configuration parameters for an iSCSI
device? For example I/O scheduler, max_sectors_kb, etc...
I could add commands to the S99local script:
echo noop > /sys/block/sdb/queue/scheduler
echo 64 > /sys/block/sdb/queue/max_hw_sectors_kb
Unfortunately, iSCSI device names might change from sdb to, say, sdc
(server reboot, iSCSI target reconnection).
2011 Jan 03
1
Helper variables like %{rhel} on CentOS
Hello,
I'm trying to use helper variables like %{rhel} in a .SPEC file on
CentOS (as they are defined in RHEL and Fedora [1]), but it seems they
are not available.
Is there any way to detect automatically CentOS release from a .SPEC
file in a RPM build process?
As a workaround, I use this hack:
%if 0%{?rhel} >= 5
(..)
%endif
And when calling rpmbuild I use a
2011 Mar 25
1
Can't build PHP 5.3.6 with MySQL 5.5.10 on CentOS-4
Hello,
I'm trying to build PHP 5.3.6 in a CentOS-4 server with MySQL 5.5.10 and
I get this error:
//usr/include/mysql/my_config_i386.h:610:1: warning: "PACKAGE_NAME"
redefined
/usr/include/mysql/mysql/psi/mysql_thread.h:100: error: syntax error
before "pthread_rwlock_t"
/usr/include/mysql/mysql/psi/mysql_thread.h:100: warning: no semicolon
at end of struct or union
2013 Jun 09
1
Force to strip all symbols from ELFs when using rpmbuild on CentOS
Hello.
What's the proper way to remove *all symbols* from ELF binaries when
building packages with rpmbuild on CentOS? Seems that an out of the box
rpmbuild install only discards debugging symbols (strip -g).
That's the default configuration for %__os_install_post on CentOS, the
step in charge on stripping binaries:
$ rpmbuild --showrc
(..)
-14: __os_install_post
2008 Jun 18
1
mkfs.ocfs2: double free or corruption
Dear Srs,
I get this error when running "mkfs.ocfs2":
=================================================================================
# mkfs.ocfs2 -b 4K -C 32K -N 255 -L backup_ocfs2_001 /dev/sdb1
mkfs.ocfs2 1.2.7
Filesystem label=backup_ocfs2_001
Block size=4096 (bits=12)
Cluster size=32768 (bits=15)
Volume size=6000488677376 (183120382 clusters) (1464963056 blocks)
5678 cluster
2011 Feb 15
1
working with multiple password protected iSCSI targets on one host
Hi,
How do I setup multiple password protected iSCSI targets on Linux?
I know that mounting a password protected iSCSI target requires modify
these records with the appropriate values:
node.session.auth.username = My_ISCSI_USR_NAME
node.session.auth.password = MyPassword
discovery.sendtargets.auth.username = My_ISCSI_USR_NAME
discovery.sendtargets.auth.password = MyPassword
But, now I need
2008 Nov 06
1
Broken link in OpenVZ page in the Wiki
Dear Srs,
In the page:
http://wiki.centos.org/HowTos/Virtualization/OpenVZ
Section -> "Additional Resources"
"Performance evaluation of Xen vs. OpenVZ by HP Labs" link is broken, it
points to:
http://www.hpl.hp.com/techreports/2007/HPL-2007-59.pdf
And the PDF has been moved to:
http://www.hpl.hp.com/techreports/2007/HPL-2007-59R1.pdf
Regards,
--
Santi Saez
2009 Sep 28
2
rpmstrap/rpmbootstrap to boostrap CentOS 5
Hi,
Is there any working script, similar to deboostrap, for CentOS 5?
I have found rpmstrap [1] at RPMforge.. but only works for CentOS-4, and
appears that's out of date.
thanks!
[1] http://dag.wieers.com/rpm/packages/rpmstrap/
--
Santi Saez
http://woop.es
2008 Dec 04
2
Best way to take snapshots of iSCSI devices using Open-iSCSI + CentOS
Hi,
I want to take snapshots of a iSCSI devices from a target that hasn't
snapshot/cloning capabilities (it's a Infortrend A16E storage array).
What method are you using to make snapshots/clones of iSCSI targets
using Open-iSCSI + CentOS? What about using Open-iSCSI + LVM snapshots
system? For example:
- Take a LVM snapshot in the initiator with "lvcreate".
- Give read-only
2008 Dec 17
1
RPM rollback/repackage with CentOS 4
Hi,
Is there any way to list availabe RPM rollback's and timestamps in CentOS 4?
It's possible to get RPM rollbacks with up2date, but appears that's
deprecated ;-(
# up2date --list-rollbacks
This feature is deprecated and no longer functional
I want a method to list current available rollback and the timestamp:
http://www.linuxjournal.com/article/7034
How do you deal with this
2008 Jul 07
3
yum-updatesd not working on CentOS 5.2
Dear Srs,
yum-updatesd-0.9-2.el5 appears that it's not working on freshly
installed CentOS 5.2, using:
# rpm -qa "yum*"
yum-metadata-parser-1.1.2-2.el5
yum-updatesd-0.9-2.el5
yum-3.2.8-9.el5.centos.2.1
yum-fastestmirror-1.1.10-9.el5.centos
I see some bugs ([1], [2] and [3]) in the bug tracker, and more info
related to other distros like Fedora, etc.. with the same problem.
2012 Nov 08
2
Fwd: Different behavior of net.ipv4.ip_local_port_range between RHEL-5 and RHEL-6
Forwarding just in case anyone is familiar with this on CentOS, thanks!
--
Hello,
Just found that net.ipv4.ip_local_port_range has different behavior
between RHEL releases: until v6 although you have multiple source IPs
you can only use a fixed number of local ports, seems that
"ip_local_port_range" is a global configuration or limitation. On RHEL-6
kernel (testing with 2.6.32-279)
2009 Sep 28
1
is glusterfs DHT really distributed?
Hi All,
I noticed a very weird phenomenon when I'm copying data (200KB image
files) to our glusterfs storage. When I run only run client, it copies
roughly 20 files per second and as soon as I start a second client on
another machine, the copy rate of the first client immediately degrade
to 5 files per second. When I stop the second client, the first client
will immediately speed up
2018 May 22
4
Pasar palabras de una lista a una variable del dataframe
Buenas tardes,
Tengo una lista de 600 palabras. Quiero saber cuántas de esas palabras
aparecen en cada observación de mi variable "texto". La variable "texto"
es de tipo caracter. ¿Cómo lo haríais?
Muchas gracias.
2018 May 23
2
Pasar palabras de una lista a una variable del dataframe
Muchas gracias Carlos,
Me da error al hacerlo. Mi variable donde quiero que localice las palabras
de la lista tiene más de una palabra, no se si puede ser por eso.
Gracias
El Mar, 22 de Mayo de 2018, 20:15, Carlos Ortega escribió:
> Hola,
>
> Aquí tienes un ejemplo (reproducible)...
>
> #-----------------------
>> # Generar nombres de mujer
>> library(randNames)
2015 Jan 10
1
pop3 seen
Hi
I will prefer some way to flag the messages when they are seen
by pop and/or imap
> On Friday, January 9, 2015, 1:25:55 PM, David wrote:
>
>> Hi
>
>> Is there a way to know if a message has been dowloaded via pop3
>> and not seen via imap ?
>
> I usually see such activity through monitoring of the Dovecot logs.
>
2009 Jul 08
0
Correct way to disble TCP Segmentation Offload (tso off) in CentOS 5
Hi,
What's the correct way to disble TSO (TCP Segmentation Offload) in RHEL5?
I have tried adding those options in ifcfg-ethX configuration file:
# grep ETHTOOL /etc/sysconfig/network-scripts/ifcfg-eth0
ETHTOOL_OPTS="tso off"
And also with:
ETHTOOL_OPTS="-K eth0 tso off"
But when restating the server TSO is enabled:
# ethtool -k eth0
tcp segmentation offload: on
As
2007 Feb 22
3
Very slow ext3 fsck
Hi -
We have an ext3 file system which is 3.5TB in size (on top of lvm). Free are
172049011 out of 854473728 4096K blocks, and 396540654 out of 427245568
inodes. This is using Scientific Linux 4.4 (a RHEL clone). The filesystem
consists of multiple backups created with rsync using --link-dest, which
hard links files which haven't been modified to the previous copy. There
are several hundred
2013 Feb 12
11
What can I do to make btrfs work?
Btrfs has been broken for me for ages. I first reported it on this
list 5 months ago[1]. Below is a very simple reproducer that anyone
can run.
*NB* before you run this, adjust /dev/sda & /dev/sda1 to point to an
unused block device!
----------------------------------------------------------------------
#!/bin/sh -
set -e
while true; do
parted -s -- /dev/sda mklabel msdos
parted -s --
2003 Jun 04
2
gam()
Dear all,
I've now spent a couple of days trying to learn R and, in particular, the
gam() function, and I now have a few questions and reflections regarding
the latter. Maybe these things are implemented in some way that I'm not yet
aware of or have perhaps been decided by the R community to not be what's
wanted. Of course, my lack of complete theoretical understanding of what