Re: [CentOS] XFS on a 25 TB device

2010-09-29 Thread Boris Epstein
On Wed, Sep 29, 2010 at 11:53 AM, James A. Peltier jpelt...@sfu.ca wrote:

 - Original Message -
 | On Wednesday 29 September 2010, Boris Epstein wrote:
 |  Hello all,
 | 
 |  I have just configured a 64-bit CentOS 5.5 machine to support an XFS
 |  filesystem as specified in the subject line. The filesystem will be
 |  used to
 |  store an extremely large number of files (in the tens of millions).
 |  Due to
 |  its extremely large size, would there be any non-standard XFS
 |  build/configuration options I should consider?
 |
 | I have created and tested filesystems larger than 25T using xfs on
 | CentOS-5
 | (64-bit). I did not use any non-standard options. Do not attempt this
 | on a
 | 32-bit box.
 |
 | However, given the size of the device I assume that this is a raid of
 | some
 | sort. You'll want to make sure to run mkfs.xfs with the proper stripe
 | parameters to get the alignment right. Also, you may want to make sure
 | your
 | LVM or partition table is properly aligned.
 |
 | Even with the above done right you may get worse performance than
 | expected
 | since lots of small files typically reads like terrible
 | performance.
 |
 | Finally I'd suggest you fill the filesystem and read it back
 | (verifying what
 | you wrote). This is, imho, a reasonable level of paranoia.
 |
 | /Peter
 |
 |  Thanks.
 | 
 |  Boris.
 |
 | ___
 | CentOS mailing list
 | CentOS@centos.org
 | http://lists.centos.org/mailman/listinfo/centos

 On my 30+TB file systems all I've done is mkfs.xfs with stripe and width 
 parameters and they are very speedy.  I've not done anything on the LVM side 
 and see no performance issues, but perhaps I need to investigate that some 
 more. :\

 --
 James A. Peltier
 Systems Analyst (FASNet), VIVARIUM Technical Director
 Simon Fraser University - Burnaby Campus
 Phone   : 778-782-6573
 Fax     : 778-782-3045
 E-Mail  : jpelt...@sfu.ca
 Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
 MSN     : subatomic_s...@hotmail.com

 Does your OS has a man 8 lart?
 http://www.xinu.nl/unix/humour/asr-manpages/lart.html


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

Thanks James!

I am wondering if I need to worry about stripe and width though as
mine resides on a logical volume residing on a hardware-controlled
RAID 6 device (i.e., one slice as far as the OS is concerned).

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


Re: [CentOS] XFS on a 25 TB device

2010-09-29 Thread Boris Epstein
On Wed, Sep 29, 2010 at 12:12 PM, Joseph L. Casale
jcas...@activenetwerx.com wrote:
I am wondering if I need to worry about stripe and width though as
mine resides on a logical volume residing on a hardware-controlled
RAID 6 device (i.e., one slice as far as the OS is concerned).

 25 TB on a single volume, not distributed? Huh, let me know how long
 that takes to check the first time something sh!ts the bed and instead
 of some amount of a distributed portion of the data drops out of users
 reach, it *all* does:)
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


it is a single logical volume, spread over 16 physical disks
controlled by a hrdware RAID controller. Dunno - we have a similar
setup in two other machines (smaller disks, same idea), been going
strong for over 3 years now.

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


Re: [CentOS] XFS on a 25 TB device

2010-09-29 Thread Boris Epstein
On Wed, Sep 29, 2010 at 12:58 PM, Peter Kjellstrom c...@nsc.liu.se wrote:
 On Wednesday 29 September 2010, Boris Epstein wrote:
 On Wed, Sep 29, 2010 at 11:53 AM, James A. Peltier jpelt...@sfu.ca wrote:
  | However, given the size of the device I assume that this is a raid of
  | some
  | sort. You'll want to make sure to run mkfs.xfs with the proper stripe
  | parameters to get the alignment right. Also, you may want to make sure
  | your
  | LVM or partition table is properly aligned.
 ...
 I am wondering if I need to worry about stripe and width though as
 mine resides on a logical volume residing on a hardware-controlled
 RAID 6 device (i.e., one slice as far as the OS is concerned).

 That is why you need to consider it. If the device is aligned on stripe size
 (chunk size * (number of drives - 2 for raid6 parity)) and the filesystem is
 made aware it can put stuff (files, metadata, etc.) so that a minimum of
 stripes are touched (less I/O done).

 /Peter

 Boris.

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



Well, you are interfering with the hardware RAID controller which
copies around and stripes data as it sees fit. I am not sure with this
many levels of abstraction I can gain any measurable performance
improvement by adjusting the XFS to the controller's hypothetical
behaviour.

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


[CentOS] CentOS in low RAM settings

2010-09-15 Thread Boris Epstein
Hello listmates,

I have been playing with Xen VM's and was wondering what the minimum
RAM size in which you could run CentOS 5.5 (i386). So far I managed to
install in 256 MB or 512 MB and then shrink the VM's RAM to 128 MB and
still run the installation. Would anyone know why the install in a 128
MB VM fails (even in text mode)?

Thanks.

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


Re: [CentOS] GFS/GFS2 on CentOS

2010-08-31 Thread Boris Epstein
On Tue, Aug 10, 2010 at 11:53 AM, Ray Van Dolson ra...@bludgeon.org wrote:
 On Tue, Aug 10, 2010 at 11:48:17AM -0400, Boris Epstein wrote:
 Hi all,

 If you have had experience hosting GFS/GFS2 on CentOS machines could
 you share you general impression on it? Was it realiable? Fast? Any
 issues or concerns?

 I've only run GFS2 on RHEL5.  It's been quite reliable, but certainly
 has a bit of a learning curve from regular filesystems.

 It's fast enough, but if you have more than one node, keep in mind
 you'll potentially be held back by lock manager contention under
 certain workloads (like reading information on every inode on the
 system for backup purposes, etc).

 For our uses (home directory server), it's more than adequate.


 Also, how feasible is it to start it on just one machine and then grow
 it out if necessary?

 Haven't yet done this, but it can run on top of LVM just fine (clvm in
 fact).

 Thanks.

 Boris.

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


Thanks Ray!

Is it feasible to export GFS to NFS clients?

And one more interesting thing. Wikipedia (
http://en.wikipedia.org/wiki/Global_File_System ) says that GFS2 is
supported only starting at kernel 2.6.19 but on my CentOS 5.5 uname
says:


[bepst...@dellnikon ~]$ uname -a
Linux dellnikon 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686
i686 i386 GNU/Linux
[bepst...@dellnikon ~]$

Could thins be a problem?

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


Re: [CentOS] GFS/GFS2 on CentOS

2010-08-31 Thread Boris Epstein


 Nope, Red Hat backports the necessary bits from the newer kernels into
 their 2.6.18 stable release, so you should be all set.

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


This is interesting... What's the rationale for that? Why not advance
the version numbers if you incorporate the newer features anyhow?

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


[CentOS] GFS/GFS2 on CentOS

2010-08-10 Thread Boris Epstein
Hi all,

If you have had experience hosting GFS/GFS2 on CentOS machines could
you share you general impression on it? Was it realiable? Fast? Any
issues or concerns?

Also, how feasible is it to start it on just one machine and then grow
it out if necessary?

Thanks.

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


Re: [CentOS] dhcp server

2010-08-09 Thread Boris Epstein
On Mon, Aug 9, 2010 at 1:15 AM, Richard Gliebe richard.gli...@fhv.at wrote:

 Hi all,

 this is my first post on this list, hope someone can help me.

 I have to run a dhcp server on CentOS release 5.5 (Final).

 # yum list| grep -i dhcp
 dhcp.x86_64             12:3.0.5-23.el5 installed
 dhcp-devel.x86_64       12:3.0.5-23.el5 installed
 dhcpv6-client.x86_64    1.0.10-18.el5   installed

 after starting the dhcpd daemon, the windows Clients on the subnet
 (192.168.100.0/24) tells me, that there is no dhcp server available.

 # /etc/init.d/dhcpd configtest
 Syntax: OK

 [/var/log/messages]
 Aug  9 07:11:14 tfelx01 dhcpd: Internet Systems Consortium DHCP Server
 V3.0.5-RedHat
 Aug  9 07:11:14 tfelx01 dhcpd: Copyright 2004-2006 Internet Systems
 Consortium.
 Aug  9 07:11:14 tfelx01 dhcpd: All rights reserved.
 Aug  9 07:11:14 tfelx01 dhcpd: For info, please visit
 http://www.isc.org/sw/dhcp/
 Aug  9 07:11:14 tfelx01 dhcpd: Wrote 0 leases to leases file.
 Aug  9 07:11:14 tfelx01 dhcpd: Listening on
 LPF/eth0/00:1a:64:b6:1d:1c/192.168.100/24
 Aug  9 07:11:14 tfelx01 dhcpd: Sending on
 LPF/eth0/00:1a:64:b6:1d:1c/192.168.100/24
 Aug  9 07:11:14 tfelx01 dhcpd: Sending on   Socket/fallback/fallback-net

 this is my /etc/dhcpd.conf

 # cat /etc/dhcpd.conf
 authoritative;
 ddns-update-style interim;
 subnet 192.168.100.0 netmask 255.255.255.0 {
         option routers                  192.168.100.11;
         option subnet-mask              255.255.255.0;

         option domain-name              mydomain.local;
         option domain-name-servers       192.168.100.2;

         option time-offset              -18000;     # Eastern Standard Time

        range 192.168.100.150 192.168.100.199;
 }

 what do I'm missing? or is there a config mismatch?

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

Richard,

I don't have time to go through that config line by line but here is
mine that works. It is not perfect, has some unnecessary stuff in it,
the domain used is a private domain but like I said it works so it
must have at least as much as necessary to make it work.



[bepst...@dellnikon ~]$ more /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet 192.168.65.0 netmask 255.255.255.128 {

# --- default gateway
option routers  192.168.65.1;
option subnet-mask  255.255.255.128;

option nis-domain   nrims;
option domain-name  nrims;
option domain-name-servers  192.168.65.1,132.183.243.118,132.183.1.1
1;

option time-offset  -18000; # Eastern Standard Time
#   option ntp-servers  192.168.1.1;
#   option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#   option netbios-node-type 2;

default-lease-time 21600;
max-lease-time 43200;
range 192.168.65.50 192.168.65.125;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
}
[bepst...@dellnikon ~]$

-

Hope it helps.

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


[CentOS] XEN virtualization of a Windows installation

2010-08-09 Thread Boris Epstein
Hello listmates,

Is there a good manual anywhere on how to boot a dual-boot
Linux/Windows machine into Linux and launch the Windows as a XEN
virtual machine?

Thanks.

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


Re: [CentOS] XEN virtualization of a Windows installation

2010-08-09 Thread Boris Epstein
Thanks . I saw those docs and many more, but for some reason could not find
the scenario I am interested in.

Thanks.

Boris.

On Mon, Aug 9, 2010 at 3:02 PM, James Hogarth james.hoga...@gmail.comwrote:

 Google redhat virtualisation guide to get the official docs.

 Sent from Android Mobile

 On 9 Aug 2010 19:41, Boris Epstein borepst...@gmail.com wrote:
  Hello listmates,
 
  Is there a good manual anywhere on how to boot a dual-boot
  Linux/Windows machine into Linux and launch the Windows as a XEN
  virtual machine?
 
  Thanks.
 
  Boris.
  ___
  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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] finding out the time of the second-to-last reboot

2010-08-09 Thread Boris Epstein
Hello all,

I've got a CentOS box that became non-responsive today for some obscure
reason and had to be rebooted. Is there a way to find out when it last had
to be rebooted before today? uptime gives you no history past the very last
reboot, so obviously I need to find some other way to get an answer to my
question.

Thanks for any and all tips.

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


[CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Boris Epstein
Hello listmates,

It's been a few years since I've set up a router... and for some
reason I seem to be getting hung up on this one.

Does anybody have a sample iptables config file that would incorporate
NAT and forwarding for a simple router?

Thanks.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 03:39:46AM -0700, John Doe wrote:
  From: Boris Epstein borepst...@gmail.com
  By  the way - since it sounds like you have the experience - how easy
  is it to  mirror CentOS repositories locally? How much space do I  need,
  roughly?

 I mirror it manualy (os from the DVDs and update with a simple rsync), 
 although
 there is a createrepo package for mirroring repos.

 You don't need a createrepo or anything else like; just a simple rsync.

 I also copy the DVD and updates.

 For i386:
  % du -hs /RedHat/DVD/CentOS-5.5
  3.9G    /RedHat/DVD/CentOS-5.5

  % du -hs /RedHat/updates/centos5.5/i386
  1.7G    /RedHat/updates/centos5.5/i386

 For x86_64:
  % du -hs /RedHat/DVD/CentOS-5.5_x86_64
  4.4G    /RedHat/DVD/CentOS-5.5_x86_64

  % du -hs /RedHat/updates/centos5.5/x86_64
  1.9G    /RedHat/updates/centos5.5/x86_64

 The rsync script is pretty simple; I run it from cron regularly.

  #!/bin/sh
  cd /RedHat/updates/centos5.5 || exit

  rsync --delete -rlptDzHq rsync://mirrors.kernel.org/centos/5.5/updates/i386 .
  rsync --delete -rlptDzHq 
 rsync://mirrors.kernel.org/centos/5.5/updates/x86_64 .

 Then I can set up my yum.repos.d similar to this:

  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

 And, of course, disable the default repositories.

 --

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


Thanks, Stephen, looks like an excellent set of instructions. I may
well try that.

Why should I disable the default repositories, though?

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Wed, Jul 28, 2010 at 10:27 AM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 08:52:55AM -0400, Boris Epstein wrote:
 On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris li...@spuddy.org wrote:
  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  And, of course, disable the default repositories.

 Why should I disable the default repositories, though?

 If you don't then you'll have the default internet based repositories _and_
 your local mirror both providing packages at the same time, and you'll gain
 no benefit for having the local mirror.

 --

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


Oh, right, sure. Sorry, I wasn't thinking.

I thought you were telling me not to use the content of those
repositories - and I couldn't figure out why.

Thanks again.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Tue, Jul 27, 2010 at 2:52 PM, Benjamin Franz jfr...@freerun.com wrote:
 On 07/27/2010 11:18 AM, Boris Epstein wrote:
 Hello listmates,

 I've got a few older 32-bit PC's that only have a CD drive (no DVD).
 So I downloaded all the ISO's and I thought I'd install CentOS 5.5 on
 this 1.25 GB P-3 (I think, don't remember what CPU it's got right off
 hand, not that it should matter). So I tried it there, got a fatal
 exception. OK, no problem - thinking that maybe  something was wrong
 with that machine I decided to try it on a different one, a P-3 with
 384 MB or RAM. Same thing happened.

 So here's my question: has anybody successfully installed CentOS 5.5
 on a 32-bit machine (i386) using individual CD's as their installation
 media?


 The closest I have is a P3 with 1 GByte of RAM over HTTP using the 5.4
 netinstall CD that I installed several months ago (I keep a local mirror
 of the CentOS tree). That worked fine for me. My first thought on a
 machine that old would be either flaky memory or or a flaky CD drive. I
 would run memtest86+ on them and then try a network install. You can
 mount the DVD ISO on loopback on a webserver for an install source.

 --
 Benjamin Franz

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


Benjamin,

I just used the netinstall to load CentOS 5.5 from a mounted ISO of
the DVD and on one of the machines in question it worked like a charm.
Thanks once again for an excellent suggestion.

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


[CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-27 Thread Boris Epstein
Hello listmates,

I've got a few older 32-bit PC's that only have a CD drive (no DVD).
So I downloaded all the ISO's and I thought I'd install CentOS 5.5 on
this 1.25 GB P-3 (I think, don't remember what CPU it's got right off
hand, not that it should matter). So I tried it there, got a fatal
exception. OK, no problem - thinking that maybe  something was wrong
with that machine I decided to try it on a different one, a P-3 with
384 MB or RAM. Same thing happened.

So here's my question: has anybody successfully installed CentOS 5.5
on a 32-bit machine (i386) using individual CD's as their installation
media?

Thanks.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-27 Thread Boris Epstein
On Tue, Jul 27, 2010 at 2:25 PM,  m.r...@5-cent.us wrote:
 Boris Epstein wrote:
 Hello listmates,

 I've got a few older 32-bit PC's that only have a CD drive (no DVD).
 So I downloaded all the ISO's and I thought I'd install CentOS 5.5 on
 this 1.25 GB P-3 (I think, don't remember what CPU it's got right off
 hand, not that it should matter). So I tried it there, got a fatal
 exception. OK, no problem - thinking that maybe  something was wrong
 with that machine I decided to try it on a different one, a P-3 with
 384 MB or RAM. Same thing happened.

 So here's my question: has anybody successfully installed CentOS 5.5
 on a 32-bit machine (i386) using individual CD's as their installation
 media?

 How much memory on the system? You *might* want to check the BIOS for some
 weird setting - like the ones I had for OS2 installs

         mark


Mark,

Thanks for replying. Like I said, there have so far been two systems,
one with 384 MB RAM and one with 1.25 GB of RAM. Both get what appears
to be the same (or similar) exception.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-27 Thread Boris Epstein
On Tue, Jul 27, 2010 at 2:52 PM, Benjamin Franz jfr...@freerun.com wrote:
 On 07/27/2010 11:18 AM, Boris Epstein wrote:
 Hello listmates,

 I've got a few older 32-bit PC's that only have a CD drive (no DVD).
 So I downloaded all the ISO's and I thought I'd install CentOS 5.5 on
 this 1.25 GB P-3 (I think, don't remember what CPU it's got right off
 hand, not that it should matter). So I tried it there, got a fatal
 exception. OK, no problem - thinking that maybe  something was wrong
 with that machine I decided to try it on a different one, a P-3 with
 384 MB or RAM. Same thing happened.

 So here's my question: has anybody successfully installed CentOS 5.5
 on a 32-bit machine (i386) using individual CD's as their installation
 media?


 The closest I have is a P3 with 1 GByte of RAM over HTTP using the 5.4
 netinstall CD that I installed several months ago (I keep a local mirror
 of the CentOS tree). That worked fine for me. My first thought on a
 machine that old would be either flaky memory or or a flaky CD drive. I
 would run memtest86+ on them and then try a network install. You can
 mount the DVD ISO on loopback on a webserver for an install source.

 --
 Benjamin Franz

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


Benjamin,

Thank you, those are excellent suggestions. I will try that, most likely.

By the way - since it sounds like you have the experience - how easy
is it to mirror CentOS repositories locally? How much space do I need,
roughly?

Thanks.

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


[CentOS] redundant networked secure file system recommendation

2010-07-19 Thread Boris Epstein
Hi all,

We are currently running a NFS-based server centric setup. I would
like to set up something where I can easily have more than one
redundant server, security/authentication (this part seems a little
flaky with NFS, at least did several years ago), with the capability
to easily add/remove servers as necessary, take redundant servers down
for maintenance, etc. Total volume we expect to run on the server side
will be somewhere between 10-30 TB. The servers will most likely be
CentOS machines, the clients mostly Linux machines with some Macs and
possibly Windows (the latter part not that important).

Any insight, thoughts and recommendations will be much appreciated.

Thanks.

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


Re: [CentOS] Redundant LAN routing possible?

2010-07-10 Thread Boris Epstein
On Sat, Jul 10, 2010 at 5:21 PM, Emmanuel Noobadmin
centos.ad...@gmail.com wrote:

 I've been reading that it's possible to set up a system with multiple
 NIC to provide redundant internet connectivity such that it will
 switch to a secondary connection if the primary ISP fails.

 Is it possible in a similar way to setup redundant LAN routing? I read
 that it is possible to aggregate/bond multiple NIC to stackable
 switches that support link aggregation and redundancy. But if only
 simple switches are available, is something like this possible?

 e.g.
 System A
 eth0 - lan switch/router 1
 eth1 - lan switch/router 2

 System B
 eth0 - lan switch 1
 eth1 - lan switch 2

 Then somehow specify that, if lan switch 1 fails, the two systems will
 switch to using switch 2 so that in case of a switch failure, the
 network continues to remain operational.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

I'd think for this to be possible you will need a router with multiple
WAN addresses/interfaces... I am not sure how that pertains to your
LAN per se.

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


[CentOS] versioning file system for Linux

2010-06-25 Thread Boris Epstein
Hi all,

I would be nice if we could find a reliable versioning file system to
use as an underlying revision control mechanism. Going by this

http://en.wikipedia.org/wiki/Versioning_file_system

there aren't all that many options but I am still hopeful.

We would most likely be hosting it on a CentOS machine.

If you have a perspective on this please share it.

Thanks.

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


Re: [CentOS] versioning file system for Linux

2010-06-25 Thread Boris Epstein
On Fri, Jun 25, 2010 at 9:01 AM, Boris Epstein borepst...@gmail.com wrote:
 Hi all,

 I would be nice if we could find a reliable versioning file system to
 use as an underlying revision control mechanism. Going by this

 http://en.wikipedia.org/wiki/Versioning_file_system

 there aren't all that many options but I am still hopeful.

 We would most likely be hosting it on a CentOS machine.

 If you have a perspective on this please share it.

 Thanks.

 Boris.


Apparently, FSFS is considered a fairly powerful option... same for
WebDAV. Studying them right now.

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


[CentOS] XFS on CentOS

2010-06-22 Thread Boris Epstein
Hi all,

Does anybody know why unlike so many Linux distros (Fedora, Ubuntu,
OpenSUSE) CentOS does not come with XFS support by default but rather
requires custom modifications after the install in order for you to be
able to support XFS on your CentOS machine? Just seems a little odd
given how much CentOS is oriented to be used as a server OS.

Thanks.

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


Re: [CentOS] XFS on CentOS

2010-06-22 Thread Boris Epstein
On Tue, Jun 22, 2010 at 12:35 PM, aurfalien aurfal...@gmail.com wrote:
 On 06/22/2010 08:57 AM, Boris Epstein wrote:
 Hi all,

 Does anybody know why unlike so many Linux distros (Fedora, Ubuntu,
 OpenSUSE) CentOS does not come with XFS support by default but rather
 requires custom modifications after the install in order for you to be
 able to support XFS on your CentOS machine? Just seems a little odd
 given how much CentOS is oriented to be used as a server OS.

 Thanks.

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

 I've always thought that Centos follows RHEL exactly, cuz it is made
 from there source.

 I think this is better asked of RHEL.

 If Centos were to deviate from the RHEL dev path, then ity may no longer
 be Centos.

 Am I wrong?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Good points. OK, then: why does RHEL not support XFS straight out of the box? :)

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


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread Boris Epstein
On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano
ja...@linux-source.org wrote:
 Hi All,

 This is the settings of my NFS server (192.168.10.55)

 /etc/exports:
    /nfs/iso   192.168.10.0/255.255.255.0(rw,sync)

 From the remote host, I mount it correctly. But when I write/create
 files/directory inside the mounted nfs directory (from /nfs/test), it will
 give me Permission Denied.

 [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
 [r...@remote]# mkdir /nfs/test/testing
 mkdir: cannot create directory `testing': Permission denied

 Hope anyone could help me to fix this.

 Thank you.

 Regards,
 James




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


James,

On the server, who owns /nfs/iso? What are the permissions on that directory?

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


[CentOS] clustered file system of choice

2010-06-16 Thread Boris Epstein
Hi all,

I am just trying to consider my options for storing a large mass of
data (tens of terrabytes of files) and one idea is to build a
clustered FS of some kind. Has anybody had any experience with that?
Any recommendations?

Thanks in advance for any and all advice.

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


Re: [CentOS] clustered file system of choice

2010-06-16 Thread Boris Epstein
On Wed, Jun 16, 2010 at 4:05 PM,  m.r...@5-cent.us wrote:
 Boris wrote:

 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?

 We've been looking at glusterfs here. It's under active development, has
 some problems, but it does work, and is in use a number of places around
 the world.

      mark

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


Thanks Mark,

Will surely check Glusterfs out. What's your thoughts on GPFS:
http://en.wikipedia.org/wiki/GPFS ?

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


Re: [CentOS] PHP file upload limit

2010-06-11 Thread Boris Epstein
On Wed, Jun 9, 2010 at 3:47 PM, Jerry Franz jfr...@freerun.com wrote:
 On 06/09/2010 12:32 PM, Boris Epstein wrote:

 Eero,

 I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
 available. That logically should be enough to allow me to upload a 2
 GB file, I would think.


 Looking at the bugtracker: http://bugs.centos.org/view.php?id=3118

 PHP is not built with large file support on 32 bit x86, probably other 32
 bit platforms, all releases of CentOS 4
 Additional Information I verified that upstream does not have this problem.
 It is severe enough for my use (scientific processing) that I am changing
 OS.

 While the report is for CentOS4, it may be related to your problem.

 --
 Benjamin Franz


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



OK, at least part of it could have been related to the machine being
32 bit. I am currently playing with a 64 bit machine. I can set my
upload_max_filesize = 2G and that works fine; however, post_max_size
is a problem. if I set it to 2 G it seems to fail (no POST
transactions go through, it seems). If I set it just a tad lower (what
I have now is post_max_size = 1948M ) it works fine. So the cutoff
limit is somewhere in the 2G neighborhood.

Any idea why that would be? Is there a parameter anywhere that limits
how far post_max_size may go? The total memory setting I use is way
above ( memory_limit = 6G ) and that seems not to cause any issues.

Thanks for your advice everybody.

Cheers,

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


Re: [CentOS] PHP file upload limit

2010-06-11 Thread Boris Epstein
On Fri, Jun 11, 2010 at 10:59 AM, Boris Epstein borepst...@gmail.com wrote:
 On Wed, Jun 9, 2010 at 3:47 PM, Jerry Franz jfr...@freerun.com wrote:
 On 06/09/2010 12:32 PM, Boris Epstein wrote:

 Eero,

 I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
 available. That logically should be enough to allow me to upload a 2
 GB file, I would think.


 Looking at the bugtracker: http://bugs.centos.org/view.php?id=3118

 PHP is not built with large file support on 32 bit x86, probably other 32
 bit platforms, all releases of CentOS 4
 Additional Information I verified that upstream does not have this problem.
 It is severe enough for my use (scientific processing) that I am changing
 OS.

 While the report is for CentOS4, it may be related to your problem.

 --
 Benjamin Franz


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



 OK, at least part of it could have been related to the machine being
 32 bit. I am currently playing with a 64 bit machine. I can set my
 upload_max_filesize = 2G and that works fine; however, post_max_size
 is a problem. if I set it to 2 G it seems to fail (no POST
 transactions go through, it seems). If I set it just a tad lower (what
 I have now is post_max_size = 1948M ) it works fine. So the cutoff
 limit is somewhere in the 2G neighborhood.

 Any idea why that would be? Is there a parameter anywhere that limits
 how far post_max_size may go? The total memory setting I use is way
 above ( memory_limit = 6G ) and that seems not to cause any issues.

 Thanks for your advice everybody.

 Cheers,

 Boris.


Here's what further research on the topic indicates: it is unclear
whether or not PHP can handle files in excess of 2 GB in size. If it
can that would still be a relatively recent achievement. So in short
it sounds like - at this point in time - it may be safest simply not
to try to handle files that size.

See here:

http://www.bigresource.com/PHP-is-there-a-limit-to-post_max_size--1sjou1Ke.html

http://www.bigresource.com/PHP-PHP-2GB-filesize-limit-pfHnjwXh.html

http://bugs.php.net/bug.php?id=27792

http://drupal.org/node/787484

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


[CentOS] PHP file upload limit

2010-06-09 Thread Boris Epstein
Hi all,

I am trying to run a web-based PHP application on a CentOS 5 32-bit
machine that requires me to upload large files. The machine also
happens to have little RAM (256MB).

I have no problem setting my upload limit ( upload_max_filesize ) to 1
GB but for some reason 2 GB or above seems to be no go. Would anybody
know why? Could it be one of the many 32-bit vs 64-bit issues?

Thanks.

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


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Boris Epstein
On Wed, Jun 9, 2010 at 3:25 PM, Eero Volotinen eero.voloti...@iki.fi wrote:
 2010/6/9 Boris Epstein borepst...@gmail.com:
 Hi all,

 I am trying to run a web-based PHP application on a CentOS 5 32-bit
 machine that requires me to upload large files. The machine also
 happens to have little RAM (256MB).

 I have no problem setting my upload limit ( upload_max_filesize ) to 1
 GB but for some reason 2 GB or above seems to be no go. Would anybody
 know why? Could it be one of the many 32-bit vs 64-bit issues?

 add more swap and memory ?

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


Eero,

I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
available. That logically should be enough to allow me to upload a 2
GB file, I would think.

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


[CentOS] 12-15 TB RAID storage recommendations

2010-04-13 Thread Boris Epstein
Hello listmates,

I would like to build a 12-15 TB RAID 5 data server to run under
ContOS. Any recommendations as far as hardware, configuration, etc?

Thanks.

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


Re: [CentOS] 12-15 TB RAID storage recommendations

2010-04-13 Thread Boris Epstein
On Tue, Apr 13, 2010 at 1:14 PM, Ryan Manikowski r...@devision.us wrote:
 On 4/13/2010 1:05 PM, Boris Epstein wrote:

 Hello listmates,

 I would like to build a 12-15 TB RAID 5 data server to run under
 ContOS. Any recommendations as far as hardware, configuration, etc?

 Thanks.

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


 Chassis - CSE-836A-R1200B Supermicro SC836 A-R1200B - Rack-mountable - 3U -
 SATA/SAS - hot-swap - power supply 1200 Watt

 RAID Card - 3ware 9650SE-16ML-SGL 9650SE-16ML-SGL RAID 0/1/5/6/10/50 16CH
 SATA II PCIE 256MB ECC DDR2 - PCI Express x8 - Up to 300MBps - 4 x SATA x4
 Serial ATA/300 - Serial ATA

 BBU Module for RAID card - 3ware BBU-MODULE-03


 Pick the cpu(s) and motherboard to fit the chassis. Obviously go with ECC
 ram and ONLY enterprise grade hard drives. To ensure compatibility check
 with 3ware to see which drives they recommend. Areca RAID cards will get you
 a little better performance but the module for the 9650SE series of 3ware
 cards is included with the Centos kernel. Getting the Areca driver going is
 a bit more work, but nothing that would be considered a huge hurdle for a
 competent sysadmin. Also, if you're looking for advice on Areca products
 call their Tekram contact in the USA. Their other distributors have been
 less than stellar on answering pre-sales questions.


 --
Ryan Manikowski


 ]] Devision Media Services LLC [[
www.devision.us
  r...@devision.us | 716.771.2282

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



Thanks Ryan!

So, basically, I take it you've had positive experience with that
Supermicro box. It does look good and seems fairly inexpensive, too.

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


Re: [CentOS] 12-15 TB RAID storage recommendations

2010-04-13 Thread Boris Epstein
On Tue, Apr 13, 2010 at 2:30 PM, Joseph L. Casale
jcas...@activenetwerx.com wrote:
I would like to build a 12-15 TB RAID 5 data server to run under
ContOS. Any recommendations as far as hardware, configuration, etc?

 This comes up often:)
 Things to keep in mind when using large discs if you suffer a failure,
 while rebuilding in a degraded state it's not impossible or unlikely to
 drop another disc loosing it all.

 Rebuild times especially on busy arrays with large discs take lots of
 time...
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thanks Joseph!

In your opinion, if we are talking about 15 2-TB disks what does lots
of time translate to?

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


[CentOS] anybody with Remote-Anything experience?

2010-03-30 Thread Boris Epstein
Hello listmates,

Has anyone got any experience running Remote-Anything (
http://remote-anything.com/ ) under Linux as a client (i.e.,
connecting from a Linux box t oa Windows box with a view of
controlling the latter)? Is it even possible? If the answer to this
last question is yes how does one do that?

Thanks in advance.

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


Re: [CentOS] anybody with Remote-Anything experience?

2010-03-30 Thread Boris Epstein
On Tue, Mar 30, 2010 at 1:39 PM, Benjamin Franz jfr...@freerun.com wrote:
 Boris Epstein wrote:
 Hello listmates,

 Has anyone got any experience running Remote-Anything (
 http://remote-anything.com/ ) under Linux as a client (i.e.,
 connecting from a Linux box t oa Windows box with a view of
 controlling the latter)? Is it even possible? If the answer to this
 last question is yes how does one do that?

 You have some reason for not using the built-in Remote Desktop support
 in windows? It works fine from Linux clients.

 --
 Benjamin Franz

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


Not really - except that the Windows machine is highly custom and I
don't have full control over it.

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


[CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
Hi all,

I've got a CentOS 5.4 box and am trying to use it to control  either
of the two old cameras we've got, one being Nikon Coolpix 990 and the
other Nikon Coolpix 995. Accessing either I get the following message:


*** Error ***
An error occurred in the io-library ('Could not claim the USB
device'): Could not claim interface 0 (Operation not permitted). Make
sure no other program or kernel module (such as sdc2xx, stv680,
spca50x) is using the device and you have read/write access to the
device.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***


Any idea what this could be about?

By the way, about a year ago I did manage to use a Linux machine to
control one of these cameras (the 990, I believe).

Thanks in advance.

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


Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:10 PM, Akemi Yagi amy...@gmail.com wrote:
 On Fri, Mar 26, 2010 at 11:53 AM, Boris Epstein borepst...@gmail.com wrote:
 Hi all,

 I've got a CentOS 5.4 box and am trying to use it to control  either
 of the two old cameras we've got, one being Nikon Coolpix 990 and the
 other Nikon Coolpix 995. Accessing either I get the following message:

 
 *** Error ***
 An error occurred in the io-library ('Could not claim the USB
 device'): Could not claim interface 0 (Operation not permitted). Make
 sure no other program or kernel module (such as sdc2xx, stv680,
 spca50x) is using the device and you have read/write access to the
 device.
 ERROR: Could not capture.
 *** Error (-53: 'Could not claim the USB device') ***
 

 Any idea what this could be about?

 By the way, about a year ago I did manage to use a Linux machine to
 control one of these cameras (the 990, I believe).

 Is the camera set to the PTP mode?  Try running 'tail -f
 /var/log/messages' while connecting the camera and see how it is being
 recognized.

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


Thanks.

Just disconnected and reconnected the camera again, got the following:

--
Mar 26 15:23:51 antwerp kernel: usb 2-1: USB disconnect, address 2
Mar 26 15:23:55 antwerp kernel: usb 2-1: new full speed USB device
using uhci_hcd and address 3
Mar 26 15:23:55 antwerp kernel: usb 2-1: configuration #1 chosen from 1 choice
--

Looks like the camera is being recognized at least to some degree:

[antw...@bepstein][~/scratch] lsusb
Bus 001 Device 001: ID :
Bus 002 Device 003: ID 04b0:0102 Nikon Corp. Coolpix 990
Bus 002 Device 001: ID :
Bus 003 Device 001: ID :
Bus 004 Device 001: ID :
[antw...@bepstein][~/scratch]

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


Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:33 PM, Akemi Yagi amy...@gmail.com wrote:
 On Fri, Mar 26, 2010 at 12:25 PM, Boris Epstein borepst...@gmail.com wrote:
 On Fri, Mar 26, 2010 at 3:10 PM, Akemi Yagi amy...@gmail.com wrote:

 Is the camera set to the PTP mode?  Try running 'tail -f
 /var/log/messages' while connecting the camera and see how it is being
 recognized.

 Just disconnected and reconnected the camera again, got the following:

 --
 Mar 26 15:23:51 antwerp kernel: usb 2-1: USB disconnect, address 2
 Mar 26 15:23:55 antwerp kernel: usb 2-1: new full speed USB device
 using uhci_hcd and address 3
 Mar 26 15:23:55 antwerp kernel: usb 2-1: configuration #1 chosen from 1 
 choice
 --

 Looks like the camera is being recognized at least to some degree:

 [antw...@bepstein][~/scratch] lsusb
 Bus 001 Device 001: ID :
 Bus 002 Device 003: ID 04b0:0102 Nikon Corp. Coolpix 990
 Bus 002 Device 001: ID :
 Bus 003 Device 001: ID :
 Bus 004 Device 001: ID :
 [antw...@bepstein][~/scratch]

 Looking good. Now what do you get with the command:

 gphoto2 --auto-detect

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


[antw...@bepstein][~/scratch] gphoto2 --auto-detect
Model  Port
--
Nikon CoolPix 990  usb:
[antw...@bepstein][~/scratch]

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


Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:37 PM, Akemi Yagi amy...@gmail.com wrote:
 On Fri, Mar 26, 2010 at 12:34 PM, Boris Epstein borepst...@gmail.com wrote:
 On Fri, Mar 26, 2010 at 3:33 PM, Akemi Yagi amy...@gmail.com wrote:

 Looking good. Now what do you get with the command:

 gphoto2 --auto-detect

 Akemi

 [antw...@bepstein][~/scratch] gphoto2 --auto-detect
 Model                          Port
 --
 Nikon CoolPix 990              usb:
 [antw...@bepstein][~/scratch]

 Boris.

 So far, so good. Now, what command/application did you run when you
 got the error message in your original post?

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


[antw...@bepstein][~/scratch] gphoto2 --capture-image

*** Error ***
An error occurred in the io-library ('Could not claim the USB
device'): Could not claim interface 0 (Operation not permitted). Make
sure no other program or kernel module (such as sdc2xx, stv680,
spca50x) is using the device and you have read/write access to the
device.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list gphoto-de...@lists.sourceforge.net, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --capture-image

Please make sure there is sufficient quoting around the arguments.

[antw...@bepstein][~/scratch]

Running the debug version essentially yields the same plus lots of
step-by-step messages regarding the comms to and from the camera.

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


[CentOS] file/data server running CentOS

2010-03-25 Thread Boris Epstein
Hi all,

I am trying to build a file server providing about 10 TB of effective
RAID5/6 storage. Any recommendations as far as hardware,
configuration, etc. - preferably based on recent experience - would be
most welcome.

Thanks in advance.

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


Re: [CentOS] RAID 5 setup?

2010-03-25 Thread Boris Epstein
On Thu, Mar 25, 2010 at 3:36 PM, Robert Heller hel...@deepsoft.com wrote:
 At Thu, 25 Mar 2010 12:24:57 -0700 (PDT) CentOS mailing list 
 centos@centos.org wrote:



 Can anyone provide a tutorial or advice on how to configure a software RAID 
 5 from the command-line (since I did not install Gnome)?

 I have 8 x 1.5tb Drives.

 mdadm --create /dev/md0 --level=5 --raid-devices=7 /dev/sd[abcdefg]1

 The above will create a level 5 RAID named /dev/md0 of /dev/sda1
 /dev/sdb1 /dev/sda1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1, with
 hot-spare /dev/sdg1

 Note: RAID5 is not really recomended for such large disks.  You run the
 risk of a complete data loss if one disk fails and the another disk
 fails during the rebuild.



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



 --
 Robert Heller             -- 978-544-6933
 Deepwoods Software        -- Download the Model Railroad System
 http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
 hel...@deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/

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


Robert,

Why is the size a factor here? Why would this be OK with smaller
disks? How would you partition this instead?

Thanks.

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


Re: [CentOS] RAID 5 setup?

2010-03-25 Thread Boris Epstein
On Thu, Mar 25, 2010 at 5:27 PM, Hakan Koseoglu ha...@koseoglu.org wrote:
 On Thu, Mar 25, 2010 at 9:07 PM, Boris Epstein borepst...@gmail.com wrote:
 Note: RAID5 is not really recomended for such large disks.  You run the
 risk of a complete data loss if one disk fails and the another disk
 fails during the rebuild.
 Why is the size a factor here? Why would this be OK with smaller
 disks? How would you partition this instead?
 As the disks get bigger, rebuild time also increases and the
 performance of the disks don't increase linearly with their storage.
 This means that when you are rebuilding a disk, the chances of one of
 your other disks failing becomes significantly large. Most suggest
 RAID6 these days as a minimum, mirroring and striping appears to be
 the most popular.

 --
 Hakan (m1fcj) - http://www.hititgunesi.org
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hakan,

You surely do have a point there. However, it is still not all that
likely that a disk will fail during the rebuild time in question (what
are we talking? some hours max?)

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


Re: [CentOS] IPSec VPN Setup?

2010-03-10 Thread Boris Epstein
On Wed, Mar 10, 2010 at 3:15 AM, Jobst Schmalenbach
jo...@barrett.com.au wrote:

 Hi

 I can second that, Openswan is the way to go (sorry the ONLY way to go).
 Centos has the latest, but I would highly recommend to have Centos on both 
 ends.
 Centos is one of the distros that uses NSS by default and standard out of the 
 box, so this makes is easier.

 There's also a PDF booklet (get that from amazon, its written by Paul 
 Wouters, one of the Openswan developers), link on the website.

 The toughest part is getting the keys and connections right, personally I 
 would not do it without subscribing to us...@openswan.org first, they are 
 helpfull and you will find Paul on the list, too.

 Been using Openswan (well it used to be freeS/WAN, hence the animal used) for 
 many years and once you set it up and have the key exchange working you never 
 have to change a thing again other then (in my case) yum update openswan.

 jobst


 On 10/03/2010 18:08, Geoff Galitz wrote:

 I use Openswan regularly for IPSec VPN connections to remote sites.
 Although the documentation is a bit lacking it is pretty easy to get going
 once you've played with it a bit.

 It is reliable, widely available and the openswan users support list is
 responsive.

 If you have trouble connecting to the remote side, ike-scan can help in
 getting your key exchange settings right.  That is usually the hard part, in
 my experience.

 -geoff


 -
 Geoff Galitz
 Blankenheim NRW, Germany
 http://www.galitz.org/
 http://german-way.com/blog/




 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Ski Dawg
 Sent: Mittwoch, 10. März 2010 02:12
 To: centos@centos.org
 Subject: [CentOS] IPSec VPN Setup?

 Hello Everyone,

 I have been tasked at work with setting up a VPN connection from our
 server to a client's network. The only problem is that I have never
 done anything like this before, so I am not sure where to start.

 We are running CentOS 5.4 on our server. I do not yet know what the
 client is running for their VPN, the only thing I know of from the
 client, is we need to use IPSec for our VPN connection to them. I have
 been googling, and have found quite a bit of information, but it is a
 little overwhelming, as I am new to setting up a VPN. Is the a
 standard method for doing this sort of setup that I am missing so
 far?

 If anyone has any quick pointers to get me started, that would be
 greatly appreciated.
 --
 Doug

 Registered Linux User #285548 (http://counter.li.org)
 
 Never trust a computer you can't throw out a window.
-- Steve Wozniak
 ___
 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


 --
 Jobst Schmalenbach
 General Manager, Webdevelopment and Tech Support
 P  +61 3 9532 7677
 M +61 411 611 855
 e  ...@barrett.com.au
 W www.barrett.com.au

 Everybody lives by selling something
 Sales Training, Consulting, Coaching, Seminars and Resources
 Barrett Sales Blog
 Subscribe to receive free weekly advice and tips for people who live by 
 selling something


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


I run a VPN server using OpenVPN. Looks like pretty robust technology to me.

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


Re: [CentOS] IPSec VPN Setup?

2010-03-10 Thread Boris Epstein
On Wed, Mar 10, 2010 at 12:07 PM, Eero Volotinen eero.voloti...@iki.fi wrote:
 I run a VPN server using OpenVPN. Looks like pretty robust technology to me.

 but openvpn is not ipsec.


Good point. Sorry, my fault, I just wasn't paying attention.

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


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

2010-01-07 Thread Boris Epstein
On Thu, Jan 7, 2010 at 9:27 AM, Karanbir Singh mail-li...@karan.org wrote:
 On 01/06/2010 09:35 PM, 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?


 I would recommend dont-homebrew. Get a vendor to build you a 3/4U box,
 get a couple of quad core cpu's in, and enough ram to do you in-use
 buffers. Also dont go over 1 TiB in storage per spindle if you want to
 get even relatively reasonable performance ( even when in use as a filer
 box ).

 Not long back, I had the chance to do some performance metrics on a dual
 Areca-16xx hosted 24x1TiB disk setup - and we tested it for various
 loads, running CentOS-5.4/x86_64 and it consistently outperformed the
 sun thumper box's, coming in about 1/4th the price.

 The other thing to keep in mind is to estimate and prove the cpu
 processing capability and network capability you are going to need out
 of this machine and dont skim on that. Dont just get overly focused on
 just the hba and disk metrics.

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


KB, thanks. When you say dont go over 1 TiB in storage per spindle
what are you referring to as spindle?

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


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

2010-01-07 Thread Boris Epstein
On Thu, Jan 7, 2010 at 11:09 AM, Matty matt...@gmail.com wrote:

 On Thu, Jan 7, 2010 at 8:08 AM, Chan Chung Hang Christopher
 christopher.c...@bradbury.edu.hk wrote:
  John Doe wrote:
  From: Boris Epstein borepst...@gmail.com
  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 on your budget.
  Here, we use HP DL180 servers (12 x 1TB disks in 2U)...
  You can also check Sun Fire X servers; up to 48 x 1TB in 4U...
 
 
  Somebody said something about Sun servers being pricey and that quality
  was going downhill...something about cheap controllers...any comments on
  this?

 We have a bunch of X4540 Netbackup media servers running Solaris 10 +
 ZFS. While I can't comment on all of the controllers Sun uses, the
 SATA chipset / controllers in the 4540 seem to be pretty solid so far
 (our backup servers process 20TB+ of data each day).

 - Ryan
 --
 http://prefetch.net
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thanks Ryan!

What price range (roughly) are we talking here?

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


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

2010-01-06 Thread Boris Epstein
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?

Thanks.

Boris.
___
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 Boris Epstein
On Wed, Jan 6, 2010 at 4:38 PM, Joseph L. Casale
jcas...@activenetwerx.com wrote:

  recommendations as far as hardware?

 Giving we have no clue what it is used for no:) Seriously,
 it makes all the difference what this is backing, vm's exported
 over nfs/iSCSI, samba, etc...
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Joseph, this is a good point, thanks.

Primarily we are talking NFS/SSH/SFTP. Also possibly Samba, CIFS.

Like I said, a storage platform, nothing fancy.

Boris.
___
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 Boris Epstein
On Wed, Jan 6, 2010 at 4:40 PM, Max Hetrick maxhetr...@verizon.net wrote:
 Boris Epstein wrote:

 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?

 Why not just get a SAN appliance, and then attach it to your CentOS
 server with iSCSI. My company is getting ready to do the same. We have
 the hardware in place, just haven't had time to hook it all up and spin
 the thing up. We purchased an IBM SAN, and then we'll attach it to an
 older xSeries 235 server running CentOS.

 Or are you looking for some cheaper solutions?

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


Max,

Roughly how much space does the appliance provide? And how much did it cost?

Thanks.

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


[CentOS] /dev/video* permissions

2009-12-23 Thread Boris Epstein
Hi all,

Does anybody know where those permissions are controlled? I've looked
in /etc/udev and everywhere else I could think of and thus far I have
seen not a hint...

Thanks in advance for all your help.

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


[CentOS] port forwarding using iptables

2009-11-25 Thread Boris Epstein
Hi listmates,

Happy Thanksgiving!

Does anybody know if there is a convenient utility to configure
iptables on a CentOS 5.4 or 5.3 machine to do port forwarding? And if
not, where and how does one put the requisite commands?

Thanks.

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


Re: [CentOS] info about hdds in raid

2009-11-03 Thread Boris Epstein
On Mon, Nov 2, 2009 at 7:02 PM, Les Mikesell lesmikes...@gmail.com wrote:

 John R Pierce wrote:
  Les Mikesell wrote:
  If you can see activity lights, you can 'cat /dev/sd? /dev/null' to
  make them busy, one at a time (where ? is a, b, c, etc).
 
 
  hahaha, I've done that, only my version is...
 
      # dd if=/dev/sdX of=/dev/null bs=512
 
  but, same difference

 It's unfortunately about the best we've got when device names are
 assigned more or less randomly.  NICs are even worse - we need a command
 to make the lights blink there too.

 --
   Les mikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Fully second that. The dd read test is the best way to tell which
drive is starting to fail. As soon as one does it is not a bad idea to
replace it.

Note that sometimes SMART drive and such technologies fail to detect
missing sectors even when the dd test stumples upon them.

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


[CentOS] CentOS 5.4: yum-priorities seems to be MIA

2009-10-29 Thread Boris Epstein
Hi all,

I just installed 5.4 on a machine here... All seems running fine,
except I decided to put on the extra repositories - and as usual I
decided to install yum-priorities (as directed here:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge ) but
it seems like this package is nowhere to be found. Does anybody know
why this would be?

Thanks.

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


Re: [CentOS] CentOS 5.4: yum-priorities seems to be MIA

2009-10-29 Thread Boris Epstein
On Thu, Oct 29, 2009 at 4:07 PM, Akemi Yagi amy...@gmail.com wrote:
 On Thu, Oct 29, 2009 at 1:00 PM, Boris Epstein borepst...@gmail.com wrote:
 Hi all,

 I just installed 5.4 on a machine here... All seems running fine,
 except I decided to put on the extra repositories - and as usual I
 decided to install yum-priorities (as directed here:
 http://wiki.centos.org/AdditionalResources/Repositories/RPMForge ) but
 it seems like this package is nowhere to be found. Does anybody know
 why this would be?

 It is a known issue:

 http://bugs.centos.org/view.php?id=3923

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


Thanks... Hopefully that will be sorted out soon then.

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


[CentOS] full-fledge PDF editor for Linux

2009-10-20 Thread Boris Epstein
Hi all,

Does anybody know of an editor that can do on Linux what Acrobat /
Acrobat Pro can do on Mac/Windows? I have tried to use the PDF Import
extension to the Open Office which appears barely functional - at
least it is so slow as to be almost impractical. I have also tried
pdfedit under Linux which seems to work fine but seems to have rather
limited functionality. For instance, the capability to make bookmarks
or to search through the whole document (as opposed to the current
page) seems to be missing there.

Any tips much appreciated.

Cheers,

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


Re: [CentOS] full-fledge PDF editor for Linux

2009-10-20 Thread Boris Epstein
On Tue, Oct 20, 2009 at 10:36 AM, Boris Epstein borepst...@gmail.com wrote:
 Hi all,

 Does anybody know of an editor that can do on Linux what Acrobat /
 Acrobat Pro can do on Mac/Windows? I have tried to use the PDF Import
 extension to the Open Office which appears barely functional - at
 least it is so slow as to be almost impractical. I have also tried
 pdfedit under Linux which seems to work fine but seems to have rather
 limited functionality. For instance, the capability to make bookmarks
 or to search through the whole document (as opposed to the current
 page) seems to be missing there.

 Any tips much appreciated.

 Cheers,

 Boris.


Hi again,

Just to update you on the situation: the best solution I have found
thus far is a commercial but cheap one named PDFStudio (
http://www.qoppa.com/psindex.html ). Prices are under US $100. Seems
to be doing all we need (much like the Adobe Acrobat Pro ).

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


Re: [CentOS] tar and gunzip help

2009-08-21 Thread Boris Epstein
On Fri, Aug 21, 2009 at 3:16 PM, ML mailingli...@mailnewsrss.com wrote:

 HI All,

 I have a directory tree that when the user un-gzips/untars it does
 into /opt by default.

 The directory tree is like:

 ugui
 |
 |-- misc files
 |-- source
 |-framework
 |-- misc files

 so when unzipped I want to end it with /opt/ugui and all the stuff
 below it.

 How do I do this? Can I also issue one command that will unzip and
 untar the archive at the same time? (I know I can, I just cant get it
 right)

 Thanks!
 -ML
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Do you mean to say that the filenames within the tar archive(s) are
hard-coded all the way from / down?

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


[CentOS] Greasemonkey question

2009-08-10 Thread Boris Epstein
Hello all,

Sorry about going a bit off-topic (the question is not really
Linux-related) but here it goes nonetheless:

1) How does one create a webpage with a Greasemonkey script that is installable?

2) Why does it happen that a Firefox installation in a user's account
(i.e., the configuration which amongst other things contains
Greasemonkey scripts) would all of a sudden lose them?

Thanks.

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


Re: [CentOS] Greasemonkey question

2009-08-10 Thread Boris Epstein
On Mon, Aug 10, 2009 at 11:54 AM, Brian Mathisbrian.mat...@gmail.com wrote:
 I think this is FAR off-topic.  So far that Google would be a much
 better place to ask, or maybe the greasemonkey site.


 On Mon, Aug 10, 2009 at 11:38 AM, Boris Epsteinborepst...@gmail.com wrote:
 Hello all,

 Sorry about going a bit off-topic (the question is not really
 Linux-related) but here it goes nonetheless:

 1) How does one create a webpage with a Greasemonkey script that is 
 installable?

 2) Why does it happen that a Firefox installation in a user's account
 (i.e., the configuration which amongst other things contains
 Greasemonkey scripts) would all of a sudden lose them?

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


I have asked Google and thus far nothing came back that looks even
remotely promising...

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


[CentOS] Apache not liking directories outside of /var/www

2009-07-31 Thread Boris Epstein
Hi all,

It appears that on my nice little CentOS 5.3 machines Apache only
allows me to store content in directories which are under /var/www/

For instance, putting content in /var/www/test and defining the following alias:

Alias /test /var/www/test

then accessing it under http://hostname/test works great.

Not copy that same content to /home/test, change the alias to:

Alias /test /home/test

and you get Error 403.

Any idea why that would be?

Never had this sort of trouble anywhere, including under CentOS 5.0 and 5.1

Thanks in advance for any and all help.

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


Re: [CentOS] Apache not liking directories outside of /var/www

2009-07-31 Thread Boris Epstein
On Fri, Jul 31, 2009 at 12:24 PM, Filipe Brandenburger
filbran...@gmail.com wrote:

 Hi,

 On Fri, Jul 31, 2009 at 12:17, Boris Epsteinborepst...@gmail.com wrote:
  Any idea why that would be?

 It's SELinux. Files exported by Apache must have context
 httpd_sys_content_t. You can use ls -Z to see the context of a
 certain file. You can use chcon -R httpd_sys_content_t /home/test to
 change the context of all the files in the /home/test directory,
 however that will not apply to new files created under that directory,
 in which case you have to add new rules using semanage fcontext (see
 the examples man semanage for help on how to do that).

 In general I would advise you to try to adapt your application so that
 the files that need to be seen by Apache are under /var/www, if you
 have that flexibility it will be simpler and have less chance of
 breaking in the future.

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

I found an even simplier solution - disabled SELinux. I've got a
firewall and that is plenty.

Thanks a lot, Filipe!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache not liking directories outside of /var/www

2009-07-31 Thread Boris Epstein
On Fri, Jul 31, 2009 at 12:50 PM, Jim Perrinjper...@gmail.com wrote:
 On Fri, Jul 31, 2009 at 12:35 PM, Boris Epsteinborepst...@gmail.com wrote:

 I found an even simplier solution - disabled SELinux. I've got a
 firewall and that is plenty.

 No. It's really not. If someone exploits apache, or php, they'll be
 coming in via port 80 or 443 which your firewall has helpfully allowed
 so that you can run your server. The vast majority of successful
 penetrations I've seen are of two types. Brute ssh attacks, and
 apache/php exloits.   If you were running mod_security, that might be
 slightly more analogous to selinux. I really don't recommend that
 people disable selinux simply because they can't be bothered to learn
 it.

 Real world reasons for selinux on web servers -
 http://www.linuxjournal.com/article/9176


 --
 During times of universal deceit, telling the truth becomes a revolutionary 
 act.
 George Orwell
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


I am running mod_security and also if the intruder gets to the shell
level they will be able to bypass the SELinux entirely. I believe in
security too but security should not be crippling.

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


<    1   2   3