Re: [CentOS] Re: Help setting up external drive via Firewire

2008-08-14 Thread Kenneth Porter
--On Wednesday, August 13, 2008 4:31 PM -0700 Scott Silva <[EMAIL PROTECTED]> wrote: And isn't firewire DMA capable while USB is PIO? You can read the controller spec here: ___ CentOS mailing lis

Re: [CentOS] Help setting up external drive via Firewire

2008-08-14 Thread Filipe Brandenburger
On Wed, Aug 13, 2008 at 18:43, Bill Campbell <[EMAIL PROTECTED]> wrote: > My experience with Firewire has not been all that good. I figured that > since Apple had been using it for years, and it is an IEEE standard, that > Firewire would be more reliable than USB. I was also a bit wary as the USB

Re: [CentOS] NFS issues

2008-08-14 Thread Filipe Brandenburger
On Wed, Aug 13, 2008 at 09:48, Johan Swensson <[EMAIL PROTECTED]> wrote: > I was also thinking about mounting the nfs shares as soft, is this a good > idea? No, this is a bad idea. Mounting as soft means that if there is any errors or timeouts, your writes will fail, and most programs don't check

Re: [CentOS] question between centos 4.6 i586 and denian edge

2008-08-14 Thread Craig White
On Thu, 2008-08-14 at 20:03 -0400, Jerry Geis wrote: > I have a strange situation. > I am using centos 4.6 i586 with alsa 1.0.17 and asterisk 1.4.21.1 (only > the console/dsp or soudn port). > running centos 4.6 asterisk will seg fault after awhile. > running debian edge with the same installed pa

[CentOS] question between centos 4.6 i586 and denian edge

2008-08-14 Thread Jerry Geis
I have a strange situation. I am using centos 4.6 i586 with alsa 1.0.17 and asterisk 1.4.21.1 (only the console/dsp or soudn port). running centos 4.6 asterisk will seg fault after awhile. running debian edge with the same installed packages it does not seg fault. running x86_64 centos 4.6 and 5

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 03:23:24PM -0700, Nifty Cluster Mitch wrote: > On Thu, Aug 14, 2008 at 02:45:43PM -0700, MHR wrote: > > On Thu, Aug 14, 2008 at 2:36 PM, Nifty Cluster Mitch > > > $ cat /tmp/checkspace > > > #!/bin/bash > > > df -Pkl > /tmp/checkingdiskspce > > > echo -e "\nInput is:" > > >

RE: [CentOS] Checking last shutdown state

2008-08-14 Thread Joseph L. Casale
>Sorry if this doesn't exactly answer your question :) Don't be sorry, I appreciate the knowledge! I assume I can get this script to work, but next time I am setting up ups ware, I will look into this! Thanks! jlc ___ CentOS mailing list CentOS@centos.o

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread nate
Nifty Cluster Mitch wrote: > I did notice in this discussion that no one looked at inode counts. > A filesystem might be "full" for want of an inode I cannot > recall if ext[23] will allocate additional inodes dynamically like xfs will. ext3 doesn't(at least not by default). I had a system f

RE: [CentOS] Checking last shutdown state

2008-08-14 Thread nate
Joseph L. Casale wrote: > Using apcupsd, the silly thing is I have a custom script that I have tested > very well for shutdown of all the vm's (mix of p/hvm's). None of the DomU's > or > Dom0 shutdown right. [..] > Sound right? Or do even I have this wrong? I like NUT(Network UPS tools) myself m

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Nifty Cluster Mitch
On Thu, Aug 14, 2008 at 02:45:43PM -0700, MHR wrote: > On Thu, Aug 14, 2008 at 2:36 PM, Nifty Cluster Mitch > <[EMAIL PROTECTED]> wrote: > > > > $ cat /tmp/checkspace > > #!/bin/bash > > df -Pkl > /tmp/checkingdiskspce > > echo -e "\nInput is:" > > cat /tmp/checkingdiskspce > > echo -e "\nAdding up

RE: [CentOS] Checking last shutdown state

2008-08-14 Thread Joseph L. Casale
>Does your UPS software have any logging capabilities? I know APC's >PowerChute+ software logs everything it does. There would be an entry in it's >logs saying it was doing a clean shutdown. The system logs may also have >something about the time the system shutdown too. Using apcupsd, the sill

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread MHR
On Thu, Aug 14, 2008 at 2:36 PM, Nifty Cluster Mitch <[EMAIL PROTECTED]> wrote: > > $ cat /tmp/checkspace > #!/bin/bash > df -Pkl > /tmp/checkingdiskspce > echo -e "\nInput is:" > cat /tmp/checkingdiskspce > echo -e "\nAdding up the bits" > cat /tmp/checkingdiskspce | awk '/^\/dev\// { used += $3/1

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Nifty Cluster Mitch
On Thu, Aug 14, 2008 at 10:09:23AM -0700, MHR wrote: > On Thu, Aug 14, 2008 at 3:50 AM, Stephen Harris <[EMAIL PROTECTED]> wrote: > > On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote: > >> On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote: > >> > [EMAIL PROTECTED] ~]# df -kPl

Re: [CentOS] Checking last shutdown state

2008-08-14 Thread Brent L. Bates
Does your UPS software have any logging capabilities? I know APC's PowerChute+ software logs everything it does. There would be an entry in it's logs saying it was doing a clean shutdown. The system logs may also have something about the time the system shutdown too. -- Brent L. Bates

RE: [CentOS] Checking last shutdown state

2008-08-14 Thread Joseph L. Casale
>You should be able to check the boot logs to see if the >file systems were mounted cleanly or if they had to have >their journals checked. I see this in messages: Aug 14 12:36:05 xen kernel: EXT3-fs: INFO: recovery required on readonly filesystem. Aug 14 12:36:05 xen kernel: EXT3-fs: write acces

Re: [CentOS] Checking last shutdown state

2008-08-14 Thread nate
Joseph L. Casale wrote: > How do I check the last shutdown, or any if possible for > the status related to whether or not it was clean? I need > to know if a UPS had successfully shut a few boxes down. You should be able to check the boot logs to see if the file systems were mounted cleanly or if

[CentOS] Checking last shutdown state

2008-08-14 Thread Joseph L. Casale
How do I check the last shutdown, or any if possible for the status related to whether or not it was clean? I need to know if a UPS had successfully shut a few boxes down. Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mail

RE: [CentOS] What is vibr0 Network interface and what is it used for

2008-08-14 Thread Trevor Benson
Sorry missed the answer you provided the first time. T ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

RE: [CentOS] What is vibr0 Network interface and what is it used for

2008-08-14 Thread Trevor Benson
My first guess would be a Virtual Bridge 0 interface. Did you decide to install Xen during the 5.2 installation? If so then it would automatically start up its network bridge to connect your Xen Guests to your local network (if you mapped the Xen Guest interface to work on this bridge). Trevo

RE: [CentOS] [OT] VPN/DMZ best practices

2008-08-14 Thread Trevor Benson
> There is such a wealth of knowledge and personal experience on this > list > that I'd like to get your opinions on our current situation. > > Currently, we have a simple tri-homed firewall with the internal > network > 1. What are your recommendations for where the vpn (openvpn on linux) > a

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Karanbir Singh
Robert Moskowitz wrote: I have the 3945 and use dkms drivers from rpmforge. No kernel mods needed. ... Install dkms from rpmforge: you might want to read up on what the 'k' in 'dkms' stands for. - KB ___ CentOS mailing list CentOS@centos.org http:/

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread MHR
On Thu, Aug 14, 2008 at 3:50 AM, Stephen Harris <[EMAIL PROTECTED]> wrote: > On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote: >> On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote: >> > [EMAIL PROTECTED] ~]# df -kPl >> > Filesystem 1024-blocks Used Available Capac

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Akemi Yagi
On Thu, Aug 14, 2008 at 8:14 AM, Robert Moskowitz <[EMAIL PROTECTED]> wrote: > Akemi Yagi wrote: >> >> On Thu, Aug 14, 2008 at 5:14 AM, Kevin Kimani <[EMAIL PROTECTED]> >> wrote: >> >>> >>> Hi, >>> I have a wireless network but no wired network. I need to access the net >>> for >>> the necessary in

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Robert Moskowitz
Akemi Yagi wrote: On Thu, Aug 14, 2008 at 5:14 AM, Kevin Kimani <[EMAIL PROTECTED]> wrote: Hi, I have a wireless network but no wired network. I need to access the net for the necessary installation of the wireless drivers in CentOS 5.1. Could anyone let me know how i can go about it!! My car

[CentOS] [OT] VPN/DMZ best practices

2008-08-14 Thread Scott McClanahan
There is such a wealth of knowledge and personal experience on this list that I'd like to get your opinions on our current situation. Currently, we have a simple tri-homed firewall with the internal network on one interface, the dmz on another, and the dirty internet on the last. Also, there is a

Re: [CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread Lunix1618
Fabian Arrotin wrote: Use squid for that (no need to play with iptables/crontab) and create ACLs in squid I've done it several times to let people access games/webmail sites during lunch time and block them during working-hours ... Thanks! ___ CentOS

Re: [CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread Fabian Arrotin
Lunix1618 wrote: Hello all, I have to setup a system that required to block users access internet in work time but let them access internet on specified time window e.g lunch time. I plan to use iptables and squid to do block and web caching but I have no idea how to control access on time

Re: [CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread Karanbir Singh
Lunix1618 wrote: I plan to use iptables and squid to do block and web caching but I have no idea how to control access on time frame. Could any one of you experienced with this can give some starting point /document/howto start reading ? squid will do time based ACL's - read up on those. - K

Re: [CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread Benjamin Karhan
A little birdy told me that Lunix1618 said: ] I have to setup a system that required to block users access internet in work ] time but let them access internet on specified time window e.g lunch time. ] ] I plan to use iptables and squid to do block and web caching but I have no ] idea how to co

Re: [CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread CM
Lunix1618 wrote: Hello all, I have to setup a system that required to block users access internet in work time but let them access internet on specified time window e.g lunch time. ... My firewal/proxy box will be CentOS 5.2 so I prefer something that can install via yum/rpm Hello, Centos

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Lunix1618
Stephen Harris wrote: On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote: On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] ~]# df -kPl Filesystem 1024-blocks Used Available Capacity Mounted on /dev/mapper/VolGroup00-LogVol00 274405432

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 09:34:35PM +0700, Lunix1618 wrote: > Stephen Harris wrote: > > 18167 Mb used > But the whole system used only 18 MB ? That's not true. *blink* That's 18167 Mbytes reported there (or 18Gbytes). Which is correct. -- rgds Stephen _

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Lunix1618
Stephen Harris wrote: And, remember, that the output of "df" might have changed in between times you ran "df" and you ran the "awk" command; there's only 7Mbytes difference. Did someone delete a 7Mbyte file? Send email? Finish a print job? Or... could be plenty of reasons for the used amount

[CentOS] Firewall/Proxy with time window access control

2008-08-14 Thread Lunix1618
Hello all, I have to setup a system that required to block users access internet in work time but let them access internet on specified time window e.g lunch time. I plan to use iptables and squid to do block and web caching but I have no idea how to control access on time frame. Could any o

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Karanbir Singh
Akemi Yagi wrote: The instructions on this page worked on a laptop with 3945ABG: http://www.distrostop.org/forums/index.php/topic,5694.0.html or here : http://wiki.centos.org/HowTos/Laptops/Wireless ( although I am using the kmdl from atrpms on my laptop ) - KB _

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Akemi Yagi
On Thu, Aug 14, 2008 at 5:14 AM, Kevin Kimani <[EMAIL PROTECTED]> wrote: > Hi, > I have a wireless network but no wired network. I need to access the net for > the necessary installation of the wireless drivers in CentOS 5.1. Could > anyone let me know how i can go about it!! My card is Intel PRO/W

Re: [CentOS] wireless laptop configuration

2008-08-14 Thread Robert Moskowitz
Kevin Kimani wrote: Hi, I have a wireless network but no wired network. I need to access the net for the necessary installation of the wireless drivers in CentOS 5.1. Could anyone let me know how i can go about it!! My card is Intel PRO/Wireless 3945 Go buy a WET11 or similar piece of gear. T

[CentOS] wireless laptop configuration

2008-08-14 Thread Kevin Kimani
Hi, I have a wireless network but no wired network. I need to access the net for the necessary installation of the wireless drivers in CentOS 5.1. Could anyone let me know how i can go about it!! My card is Intel PRO/Wireless 3945 ___ CentOS mailing list

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote: > On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] ~]# df -kPl > > Filesystem 1024-blocks Used Available Capacity Mounted on > > /dev/mapper/VolGroup00-LogVol00 274405432 18584656 241656808

[CentOS] NFS not syncing until directory viewed.

2008-08-14 Thread andylockran
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guys, Having a weird problem with NFS. We have two web-servers under a load balanced system. Web1 and Web2. Currently all files are hosted in Web1, and we use NFS exports to share the files with Web2. Up until recently this was working fine (two/th

Re: [CentOS] learning centos

2008-08-14 Thread admin
IMHO the best way to learn is to read the official documentation, and get some hands on practice. I have purchased both Michael Jang's RHCE book and Tammy Fox's RHEL5 book (I'm preparing for RHCE), and while they are both very useful, the official documentation seems the best for really spelli

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread MHR
On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote: > > Hi, > > This is work well on my laptop that running Fedora 9 with no LVM but on > CentOS 5.2 with LVM it cann't calculate the LVM volume, below is output of my > system : > > [EMAIL PROTECTED] ~]# df -kPl > Filesystem

Re: [CentOS] DRBD 8.2 crashes CentOS 5.2 on rsync from remote host

2008-08-14 Thread Chris Miller
nate wrote: Chris Miller wrote: I've got a pair of HA servers I'm trying to get into production. Here are some specs : [..] [EMAIL PROTECTED] ~]# BUG: unable to handle kernel paging request at virtual address c This typically means bad RAM While I won't rule this out, my local hardware v

Re: [CentOS] What is vibr0 Network interface and what is it used for

2008-08-14 Thread Ivan Varbanov
It comes from virtual bridge (if you use vm,xen ...). On Wed, Aug 13, 2008 at 7:54 AM, Lunix1618 <[EMAIL PROTECTED]> wrote: > Hello, > > I have see that my machine have an interface that named virbr0. I have no > idea what is it and what it using for ? I am not configured any IP address > for it