Re: OpenBSD changes virtual nic driver in vmware workstation?

2012-08-13 Thread Brian McKerr
On Mon, Aug 13, 2012 at 6:02 PM, Guido Tschakert 
guido.tschak...@src-gmbh.de wrote:

 Am 13.08.2012 09:42, schrieb C. L. Martinez:
  Hi all,
 
   I am trying to do some tests with OpenBSD 5.1 and FreeBSD 9.1 beta in
  my laptop virtual lab based on vmware workstation 8. But I have found
  a problem when I try to configure OpenBSD vms: I can't use e1000
  driver with these OpenBSD vms. I have tried to setup these OpenBSD vms
  as FreeBSD virtual guests, as Other, as RHEL, etc ... (and yes, I have
  changed .vmx config file to ethernetX.virtualDriver = e1000 every
  time) but when OpenBSD boots, every time change virtual nic driver to
  vicX  (in .vmx config appears as a vlance, the worst driver
  possible)...
 
   After doing several tests, like installing FreeBSD to see if same
  problem occurs, I conclude that the problem may be with OpenBSD ifself
  making the change, is it right??
 
   Curiously, I have five OpenBSD vms under two ESXi servers, and this
  problem doesn't appears: I can use e1000 configuring OpenBSD vms as
  FreeBSD guest or Other ...
 
   Any idea??
 

 Hmm,

 I have some OBSD 5.1 Testmachines running under vmware Workstation 8.0.4
 on a linux host.

 They work all with Network-Driver e1000. I did not do any configuration,
 it just worked out of the box. But I think, if your system puts it back
 to vlance instead of e1000, it is a problem of vmware and not of Openbsd.

 guido


Do you have the VM running when you make the changes to the .vmx file ?

If so, I have seen it where vmware re-writes the original contents when you
reboot.

Easy to try, power of the VM, make the change, power it on.



[CentOS] VMware tools not installing init.d script

2011-12-26 Thread Brian McKerr
Has anyone else seen this on Centos 6.x  x64?

Running vSphere 5.0 and I install tools from the VMware tar.gz file with '
vmware-install-tools.pl -d' it seems to do all the usual/right things. Once
completed there is no 'vmware-tools' listed in 'chkconfig --list'. A reboot
of the box leaves vmware tools not running.

I have tried completely uninstalling tools and re-installing, not
difference.

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


Re: [CentOS] VMware tools not installing init.d script

2011-12-26 Thread Brian McKerr
Hi,

nothing in there I had checked.

Cheers.

On Mon, Dec 26, 2011 at 10:25 PM, John Doe jd...@yahoo.com wrote:

 From: Brian McKerr bmck...@gmail.com

  Running vSphere 5.0 and I install tools from the VMware tar.gz file with
 '
  vmware-install-tools.pl -d' it seems to do all the usual/right things.
 Once
  completed there is no 'vmware-tools' listed in 'chkconfig
  --list'. A reboot
  of the box leaves vmware tools not running.

 Did you check that the init script is really not there?
   ll /etc/init.d/vmware-tools
 If it is there, you just need to run:
   chkconfig --add vmware-tools
   chkconfig vmware-tools on

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

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Brian McKerr
Have you checked the cables you are using ?


On Tue, Sep 27, 2011 at 6:09 AM, Benjamin Smith li...@benjamindsmith.comwrote:

 On Monday, September 26, 2011 12:36:19 PM m.r...@5-cent.us wrote:
  a) have you checked
  /var/log/message for memory or drive errors?

 Looked through the logs, there's *nothing* I can find that's out of sorts.
 When
 the IO problem happens, nothing can be written.

  Maybe memtest86?

 I replaced all the RAM from working/non-working machines. In several cases
 where replacing RAM resolved the issue,  memtest didn't indicate any
 problems,
 so I'm not inclined to trust it.

  b) diffed
  dmesg between working and dying machines?

 Other than the IRQ difference noted earlier, visual scan revealed no
 differences
 involving mpt2.

 
  One more thing: should we assume you were trying to do things, when they
  die, from the console? I ask because I note that you're using the e1000e
  driver, which was just the subject of a thread here.

 I'm familiar with the stale EL6 e1000e driver. I've been using one included
 by
 yum from elrepo. Manually downloaded RPM so that ethernet works before
 doing a
 yum -y update. I've been assuming this was unrelated.

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

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

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


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Brian McKerr
I usually boot from the installer CD and go to a virtual terminal (Alt-F1).
In the shell;

dd if=/dev/zero of=/dev/disk-i-want-to-destroy bs=512 count=1

I'd guess that the partition table has some microsoft funkiness in it that
needs to be wiped.

Take, care with this, it can and does eat data...


Cheers.



On Thu, Jul 21, 2011 at 9:24 PM, David McGuffey
davidmcguf...@verizon.netwrote:

 Have a quad core workstation that was running WinXP_64 that I want to
 blow away and install CentOS 6.  C6 install process finds raid metadata
 associated with sda and sdb, and then excludes them from the rest of the
 installation process.

 There doesn't appear to be an option for disassembling the raid as part
 of the install process.  I think there should be.

 Any tricks to removing/by-passing the soft raid left over from the
 previous OS?

 Dave M


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

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


Re: [CentOS] 1U firewall hardware

2011-05-15 Thread Brian McKerr
Does it have to be 1RU ?

These are excellent;

http://routerboard.com/index.php?showProduct=90

5 GIGABIT etc



On Sun, May 15, 2011 at 10:36 PM, Eero Volotinen eero.voloti...@iki.fiwrote:

 Hi List,

 I am looking for 1U firewall hardware, any ideas? Something like that
 (
 http://www.applianceshop.eu/index.php/firewalls/opnsense/opnsense-pfsense-ghz-19-appliance-1.html
 )
 but at least with 5GBit nics and more memory.

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

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


Re: [CentOS] 1U firewall hardware

2011-05-15 Thread Brian McKerr
Sorry wrong URL;

I was trying to point you to the RB750G model in particular.

http://routerboard.com/pricelist.php?showProduct=90

Cheers.

On Mon, May 16, 2011 at 9:07 AM, Brian McKerr bmck...@gmail.com wrote:

 Does it have to be 1RU ?

 These are excellent;

 http://routerboard.com/index.php?showProduct=90

 5 GIGABIT etc




 On Sun, May 15, 2011 at 10:36 PM, Eero Volotinen eero.voloti...@iki.fiwrote:

 Hi List,

 I am looking for 1U firewall hardware, any ideas? Something like that
 (
 http://www.applianceshop.eu/index.php/firewalls/opnsense/opnsense-pfsense-ghz-19-appliance-1.html
 )
 but at least with 5GBit nics and more memory.

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



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


Re: [CentOS] mail server best practices question

2010-05-10 Thread Brian McKerr
I use Mailscanner with postfix and Mailwatch to manage quarantine etc;

http://mailscanner.info/

On the backup MX, I just use postfix and some basic anti-spam stuff. Very
little gets through and even less gets through to the primary. I am aware
that some spam techniques go straight to the backup MX because most people
don't set it up quite as well as the primary. YMMV.

I also used to use greylisting, which does reduce spam, but, unfortunately
it also reduces valid mail ;-) In the end I'd rather suffer a few spams
getting through compared to the delayed receipt of important emails.

Brian.




On Mon, May 10, 2010 at 9:01 PM, Coert lgro...@waagmeester.co.za wrote:

 Hello all,

 About a year ago I set up a mail server on CentOS using this howto:
 http://wanderingbarque.com/howtos/mailserver/mailserver.html
 I managed to add amavisd-new with clamav and spamassassin.
 It runs very well, but it runs on CentOS 5.2, and if I try to upgrade,
 amavisd-new and clamav break.
 we are now also at the point where a backup mx will need to be implemented.

 If necessary I am willing to implement a new mail server and a new
 backup mx.

 What I would like to know is what solution you guys would recommend for
 the mail server and the backup MX?

 Any pointers would be greatly appreciated.

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

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


Re: [CentOS] Total Threads used in a system

2010-04-28 Thread Brian McKerr
I am aware that 'top' can be asked to show threads by pressing 'H'. The
count of tasks then changes to include all threads.



On Wed, Apr 28, 2010 at 8:27 PM, Jatin Davey jasho...@cisco.com wrote:

 Hi

 I know we can get the total number of processes running in the system
 using the 'ps -A' command but is it possible to get the total number of
 threads running in the system ? Is this information exposed using any of
 the MIB's ?

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

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


Re: [storage-discuss] Disk Issues

2010-02-20 Thread Brian McKerr
Thanks everyone who has tried to help. this has gotten a bit crazier, I 
removed the 'faulty' drive and let the pool run in degraded mode. It would 
appear that now another drive has decided to play up;



de-bash-4.0# zpool status
  pool: data
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
 scrub: resilver completed after 2h35m with 0 errors on Wed Feb 17 13:48:16 2010
config:

NAMESTATE READ WRITE CKSUM
dataDEGRADED 0 0 0
  raidz2-0  DEGRADED 0 0 0
c6t0d0  ONLINE   0 0 0
c6t1d0  ONLINE   0 0 0
c6t2d0  ONLINE   0 0 0
c6t3d0  ONLINE   0 0 0
c6t4d0  OFFLINE  0 0 0  366G resilvered
c6t5d0  ONLINE   0 0 0

errors: No known data errors

Now I'm transferring some data to the pool
vicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2  18.50.02.10.0  0.2  0.0   13.5   3   4   0   0   0   0 
sd3  18.50.02.10.0  0.2  0.0   14.8   4   5   0   0   0   0 
sd4   1.00.00.00.0  9.0  1.0 .9 100 100   0   0   0   0 
sd5  19.50.02.10.0  0.2  0.0   11.9   3   4   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7  18.50.02.10.0  0.3  0.1   22.7   8   8   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   0.50.00.00.0  0.0  0.0   15.6   0   1   0   0   0   0 
sd3   0.50.00.00.0  0.0  0.0   33.5   0   2   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.9 100 100   0   0   0   0 
sd5   0.50.00.00.0  0.0  0.0   21.4   0   1   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   0.50.50.00.0  0.0  0.05.9   0   1   0   0   0   0 
sd3   0.50.50.00.0  0.0  0.0   10.3   0   1   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.8 100 100   0   0   0   0 
sd5   0.50.50.00.0  0.0  0.0   11.1   0   1   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   0.50.50.00.0  0.0  0.08.2   0   1   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.50.00.00.0  0.0  0.01.7   0   0   0   0   0   0 
sd2   6.5   16.00.00.7  0.3  0.1   15.5   5   6   0   0   0   0 
sd3   6.07.50.00.7  0.4  0.1   33.8   8   8   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.9 100 100   0   0   0   0 
sd5   5.5   17.50.00.7  0.2  0.09.9   4   5   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   6.5   17.50.00.7  0.4  0.1   18.0   6   6   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   2.00.00.10.0  0.0  0.0   16.4   1   2   0   0   0   0 
sd3   2.00.00.10.0  0.0  0.0   29.4   1   3   0   0   0   0 
sd4   1.00.00.00.0  9.0  1.0 .9 100 100   0   0   0   0 
sd5   2.00.00.10.0  0.0  0.0   28.4   1   4   0   0   0   0 
sd6   

Re: [zfs-discuss] [storage-discuss] Disk Issues

2010-02-20 Thread Brian McKerr
Thanks everyone who has tried to help. this has gotten a bit crazier, I 
removed the 'faulty' drive and let the pool run in degraded mode. It would 
appear that now another drive has decided to play up;



de-bash-4.0# zpool status
  pool: data
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
 scrub: resilver completed after 2h35m with 0 errors on Wed Feb 17 13:48:16 2010
config:

NAMESTATE READ WRITE CKSUM
dataDEGRADED 0 0 0
  raidz2-0  DEGRADED 0 0 0
c6t0d0  ONLINE   0 0 0
c6t1d0  ONLINE   0 0 0
c6t2d0  ONLINE   0 0 0
c6t3d0  ONLINE   0 0 0
c6t4d0  OFFLINE  0 0 0  366G resilvered
c6t5d0  ONLINE   0 0 0

errors: No known data errors

Now I'm transferring some data to the pool
vicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2  18.50.02.10.0  0.2  0.0   13.5   3   4   0   0   0   0 
sd3  18.50.02.10.0  0.2  0.0   14.8   4   5   0   0   0   0 
sd4   1.00.00.00.0  9.0  1.0 .9 100 100   0   0   0   0 
sd5  19.50.02.10.0  0.2  0.0   11.9   3   4   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7  18.50.02.10.0  0.3  0.1   22.7   8   8   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   0.50.00.00.0  0.0  0.0   15.6   0   1   0   0   0   0 
sd3   0.50.00.00.0  0.0  0.0   33.5   0   2   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.9 100 100   0   0   0   0 
sd5   0.50.00.00.0  0.0  0.0   21.4   0   1   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   0.50.50.00.0  0.0  0.05.9   0   1   0   0   0   0 
sd3   0.50.50.00.0  0.0  0.0   10.3   0   1   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.8 100 100   0   0   0   0 
sd5   0.50.50.00.0  0.0  0.0   11.1   0   1   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   0.50.50.00.0  0.0  0.08.2   0   1   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.50.00.00.0  0.0  0.01.7   0   0   0   0   0   0 
sd2   6.5   16.00.00.7  0.3  0.1   15.5   5   6   0   0   0   0 
sd3   6.07.50.00.7  0.4  0.1   33.8   8   8   0   0   0   0 
sd4   0.50.00.00.0  9.0  1.0 1.9 100 100   0   0   0   0 
sd5   5.5   17.50.00.7  0.2  0.09.9   4   5   0   0   0   0 
sd6   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd7   6.5   17.50.00.7  0.4  0.1   18.0   6   6   0   0   0   0 
sd8   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
sd9   0.00.00.00.0  0.0  0.00.0   0   0   0  24  24  48 
 extended device statistics  errors --- 
devicer/sw/s   Mr/s   Mw/s wait actv  svc_t  %w  %b s/w h/w trn tot 
sd0   0.00.00.00.0  0.0  0.00.0   0   0   0   0   0   0 
sd2   2.00.00.10.0  0.0  0.0   16.4   1   2   0   0   0   0 
sd3   2.00.00.10.0  0.0  0.0   29.4   1   3   0   0   0   0 
sd4   1.00.00.00.0  9.0  1.0 .9 100 100   0   0   0   0 
sd5   2.00.00.10.0  0.0  0.0   28.4   1   4   0   0   0   0 
sd6   

Re: [storage-discuss] Disk Issues

2010-02-11 Thread Brian McKerr
Further update...

I have booted into system rescue cd again and ran 'badblocks -vws' on the 
suspect drive. The strange thing is that it passed the test without one single 
error ! Now I am stumped.

Am I right in expecting there to be some kernel DMA messages/errors if the 
drive is having difficulty ?

One thing I did do is run the WDTLER on each of the 6 WD green drives to enable 
7 second timeouts instead of the default, which I think is 60 seconds. Could 
this be causing this slowdown ? Although, if that were the case, I would expect 
all drives to be exhibiting the same symptoms ?

I think I'll blow the RAIDZ2 away and see what happens with mirroring, If I 
recall correctly, the same drive was having issues with that also.

Any ideas ?
-- 
This message posted from opensolaris.org
___
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [storage-discuss] Disk Issues

2010-02-08 Thread Brian McKerr
 Hello Brian
 Thanks for this interesting post to the forum.
 It's strange that you are not seeing the problem
 hard drive behaving slowly when using Linux.
 

I think it strange also. Maybe I'll run up the system rescue CD again and 
perform a 'badblocks' on the drive.

 But then I think the smartmontools long test will
 just
 test internal to the drive, and not actually test
 transfer of data over the SATA interface.
 
 I would be surprised if the opensolaris ahci driver
 would treat any of the 6 ports differently,
 so I would expect this to be a hardware problem.
 
 Are you seeing a delay when running 'cfgadm -v' ?

cfgadm -v returns quickly.

 
 Have you tried moving the hard drive connected to
 c6t2d0
 to another of the SATA ports.  If you swap around
 the
 hard drives, does the problem move with the hard
 drive,
 or stay on the same port? 

I just moved the drive to port 2 = c6t1d0 and ;

   r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.00.00.00.0  0.0  0.00.00.0   0   0 c5t0d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t0d0
0.50.00.00.0  8.0  1.0 16000.0 2000.0 100 100 c6t1d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t2d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t3d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t4d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t5d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c7t0d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c8t0d0
extended device statistics  
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.00.00.00.0  0.0  0.00.00.0   0   0 c5t0d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t0d0
0.50.00.00.0  7.3  1.0 14695.0 2000.0 100 100 c6t1d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t2d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t3d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t4d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c6t5d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c7t0d0
0.00.00.00.0  0.0  0.00.00.0   0   0 c8t0d0


now wsvc_t is also showing huge delays.

 
 Have you tried swapping the SATA cables around to
 see
 if the problem moves?
 Thanks
 Nigel Smith

About to change the cable.

Could this in any way be related to the ZFS Intent Log. I disabled it to force 
a more 'async' NFS. But I'd expect if anything, that would make the disks less 
busy, not having to write the ZIL.



Thanks Nigel.
-- 
This message posted from opensolaris.org
___
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [storage-discuss] Disk Issues

2010-02-08 Thread Brian McKerr
OK, changed the cable and the issue persists.

I think the drive is bad. 

I'm going to boot into the system rescue CD and run a destructive bad blocks 
test on that particular drive. It will probably take overnight being a 1TB 
drive. At least my Raidz2 data should be preserved even although I'll hose that 
drive.

Incidentally, does anyone know how raidz2 will perform minus one drive ? I'd 
guess that it would be working as per raidz ? I may also try disabling the 
drive (by removing power) to see if my performance improves.
-- 
This message posted from opensolaris.org
___
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


Re: [zfs-discuss] Disk Issues

2010-02-08 Thread Brian McKerr
Ok, I changed the cable and also tried swapping the port on the motherboard. 
The drive continued to have huge asvc_t and also started to have huge wsvc_t. I 
unplugged it and the 'pool' is now operating as per expected performance wise.

See the 'storage' forum for any further updates as I am now convinced this has 
nothing to do with ZFS or my attempt to disable the ZIL. 8-)
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[storage-discuss] Disk Issues

2010-02-07 Thread Brian McKerr
While not strictly a ZFS issue as such I thought I'd post here as this and the 
storage forums are my best bet in terms of getting some help.

I have a machine that I recently set up with b130, b131 and b132. With each 
build I have been playing around with ZFS raidz2 and mirroring to do a little 
performance testing. This is a 6 SATA port ICH10 Intel motherboard, running in 
AHCI mode. OS is on a USB flash. Suffice to say I have noticed that 1 
particular drive out of 6 seems to have very high asvc_t practically all the 
time. This is an excerpt from 'iostat -xnM c6t2d0 2';

 [i]   r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
   70.5  502.00.04.1  0.0  1.30.02.2   0  54 c6t2d0
   50.5  137.50.03.0  0.0  0.70.03.9   0  47 c6t2d0
   71.0  163.50.04.8  0.0  0.80.03.4   0  61 c6t2d0
   13.5   29.50.01.0  0.0  2.60.0   61.4   0  88 c6t2d0
1.00.50.00.0  0.0  3.60.0 2406.2   0 100 c6t2d0
1.01.00.00.0  0.0  4.00.0 1993.4   0 100 c6t2d0
1.01.50.00.0  0.0  4.00.0 1593.8   0 100 c6t2d0
2.03.00.00.1  0.0  4.00.0  791.6   0 100 c6t2d0
1.02.00.00.1  0.0  4.00.0 1320.3   0 100 c6t2d0
1.05.00.00.3  0.0  3.60.0  595.1   0 100 c6t2d0
[/i]

and here is the drive shown with the other in the raidz2 pool

extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.01.50.00.0  0.0  0.00.00.5   0   0 c6t0d0
0.01.50.00.0  0.0  0.00.00.3   0   0 c6t1d0
1.01.00.00.0  0.0  4.00.0 1994.8   0 100 c6t2d0
1.01.50.00.0  0.0  0.00.05.2   0   1 c6t3d0
1.01.50.00.0  0.0  0.00.06.9   0   1 c6t4d0
1.01.50.00.0  0.0  0.00.0   10.1   0   2 c6t5d0
extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
1.05.50.00.2  0.0  0.00.01.6   0   1 c6t0d0
1.05.50.00.2  0.0  0.00.01.5   0   1 c6t1d0
2.03.50.00.1  0.0  4.00.0  721.8   0 100 c6t2d0
1.05.50.00.2  0.0  0.00.01.9   0   1 c6t3d0
1.05.50.00.2  0.0  0.00.01.6   0   1 c6t4d0
2.05.50.00.2  0.0  0.00.03.1   0   2 c6t5d0
extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.03.50.00.1  0.0  0.00.00.4   0   0 c6t0d0
0.03.50.00.1  0.0  0.00.01.8   0   0 c6t1d0
1.02.00.00.1  0.0  4.00.0 1327.1   0 100 c6t2d0
1.03.50.00.1  0.0  0.00.04.9   0   1 c6t3d0
1.03.50.00.1  0.0  0.00.03.9   0   1 c6t4d0
1.03.50.00.1  0.0  0.00.02.0   0   1 c6t5d0

I have seen asvc_t as high as 2.

There do not appear to be any errors hardware wise as 'iostat -e' shows

 [i]   errors ---
device  s/w h/w trn tot
sd0   0   0   0   0
sd2   0   0   0   0
sd3   0   0   0   0
sd4   0   0   0   0
sd5   0   0   0   0
sd6   0   0   0   0
sd7   0   0   0   0
[/i]



'zpool iostat -v 2' pauses for anywhere between 3 and 10 seconds before it 
prints the stats for that particular drive in the pool;

   capacity operationsbandwidth
poolalloc   free   read  write   read  write
--  -  -  -  -  -  -
data 185G  5.26T  3115  8.96K  2.48M
  raidz2 185G  5.26T  3115  8.96K  2.48M
c6t0d0  -  -  2 26  2.70K   643K
c6t1d0  -  -  2 26  2.49K   643K

* INSERT ~10 SECOND PAUSE*

c6t2d0  -  -  2 24  2.81K   643K
c6t3d0  -  -  2 26  2.75K   643K
c6t4d0  -  -  2 26  2.45K   643K
c6t5d0  -  -  2 26  2.71K   643K
--  -  -  -  -  -  -
rpool   3.50G  3.94G  0  0  9.99K   1010
  c5t0d0s0  3.50G  3.94G  0  0  9.99K   1010
--  -  -  -  -  -  -
swpool   102K  3.69G  0  0 19  0
  /dev/rdsk/c7t0d0   102K  3.69G  0  0 19  0
--  -  -  -  -  -  -

I have booted up a linux rescue CD that has S.M.A.R.T support (system rescue 
CD) and performed the 'long' test on each drive. All drives pass the 'test'. 
There also appears to be no system errors with the drives under linux either.

Can anyone shed any light on this issue, or suggest what I could try next ? I 
am sort of discounting hardware problems given that I do not see errors from 
the live linux CD. Maybe I 

[zfs-discuss] Disk Issues

2010-02-07 Thread Brian McKerr
While not strictly a ZFS issue as such I thought I'd post here as this and the 
storage forums are my best bet in terms of getting some help.

I have a machine that I recently set up with b130, b131 and b132. With each 
build I have been playing around with ZFS raidz2 and mirroring to do a little 
performance testing. This is a 6 SATA port ICH10 Intel motherboard, running in 
AHCI mode. OS is on a USB flash. Suffice to say I have noticed that 1 
particular drive out of 6 seems to have very high asvc_t practically all the 
time. This is an excerpt from 'iostat -xnM c6t2d0 2';

 [i]   r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
   70.5  502.00.04.1  0.0  1.30.02.2   0  54 c6t2d0
   50.5  137.50.03.0  0.0  0.70.03.9   0  47 c6t2d0
   71.0  163.50.04.8  0.0  0.80.03.4   0  61 c6t2d0
   13.5   29.50.01.0  0.0  2.60.0   61.4   0  88 c6t2d0
1.00.50.00.0  0.0  3.60.0 2406.2   0 100 c6t2d0
1.01.00.00.0  0.0  4.00.0 1993.4   0 100 c6t2d0
1.01.50.00.0  0.0  4.00.0 1593.8   0 100 c6t2d0
2.03.00.00.1  0.0  4.00.0  791.6   0 100 c6t2d0
1.02.00.00.1  0.0  4.00.0 1320.3   0 100 c6t2d0
1.05.00.00.3  0.0  3.60.0  595.1   0 100 c6t2d0
[/i]

and here is the drive shown with the other in the raidz2 pool

extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.01.50.00.0  0.0  0.00.00.5   0   0 c6t0d0
0.01.50.00.0  0.0  0.00.00.3   0   0 c6t1d0
1.01.00.00.0  0.0  4.00.0 1994.8   0 100 c6t2d0
1.01.50.00.0  0.0  0.00.05.2   0   1 c6t3d0
1.01.50.00.0  0.0  0.00.06.9   0   1 c6t4d0
1.01.50.00.0  0.0  0.00.0   10.1   0   2 c6t5d0
extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
1.05.50.00.2  0.0  0.00.01.6   0   1 c6t0d0
1.05.50.00.2  0.0  0.00.01.5   0   1 c6t1d0
2.03.50.00.1  0.0  4.00.0  721.8   0 100 c6t2d0
1.05.50.00.2  0.0  0.00.01.9   0   1 c6t3d0
1.05.50.00.2  0.0  0.00.01.6   0   1 c6t4d0
2.05.50.00.2  0.0  0.00.03.1   0   2 c6t5d0
extended device statistics
r/sw/s   Mr/s   Mw/s wait actv wsvc_t asvc_t  %w  %b device
0.03.50.00.1  0.0  0.00.00.4   0   0 c6t0d0
0.03.50.00.1  0.0  0.00.01.8   0   0 c6t1d0
1.02.00.00.1  0.0  4.00.0 1327.1   0 100 c6t2d0
1.03.50.00.1  0.0  0.00.04.9   0   1 c6t3d0
1.03.50.00.1  0.0  0.00.03.9   0   1 c6t4d0
1.03.50.00.1  0.0  0.00.02.0   0   1 c6t5d0

I have seen asvc_t as high as 2.

There do not appear to be any errors hardware wise as 'iostat -e' shows

 [i]   errors ---
device  s/w h/w trn tot
sd0   0   0   0   0
sd2   0   0   0   0
sd3   0   0   0   0
sd4   0   0   0   0
sd5   0   0   0   0
sd6   0   0   0   0
sd7   0   0   0   0
[/i]



'zpool iostat -v 2' pauses for anywhere between 3 and 10 seconds before it 
prints the stats for that particular drive in the pool;

   capacity operationsbandwidth
poolalloc   free   read  write   read  write
--  -  -  -  -  -  -
data 185G  5.26T  3115  8.96K  2.48M
  raidz2 185G  5.26T  3115  8.96K  2.48M
c6t0d0  -  -  2 26  2.70K   643K
c6t1d0  -  -  2 26  2.49K   643K

* INSERT ~10 SECOND PAUSE*

c6t2d0  -  -  2 24  2.81K   643K
c6t3d0  -  -  2 26  2.75K   643K
c6t4d0  -  -  2 26  2.45K   643K
c6t5d0  -  -  2 26  2.71K   643K
--  -  -  -  -  -  -
rpool   3.50G  3.94G  0  0  9.99K   1010
  c5t0d0s0  3.50G  3.94G  0  0  9.99K   1010
--  -  -  -  -  -  -
swpool   102K  3.69G  0  0 19  0
  /dev/rdsk/c7t0d0   102K  3.69G  0  0 19  0
--  -  -  -  -  -  -

I have booted up a linux rescue CD that has S.M.A.R.T support (system rescue 
CD) and performed the 'long' test on each drive. All drives pass the 'test'. 
There also appears to be no system errors with the drives under linux either.

Can anyone shed any light on this issue, or suggest what I could try next ? I 
am sort of discounting hardware problems given that I do not see errors from 
the live linux CD. Maybe I 

Re: [zfs-discuss] Disk Issues

2010-02-07 Thread Brian McKerr
 
 
 I'd say your easiest two options are swap ports and
 see if the problem
 follows the drive. If it does, swap the drive out.
 
 
 --Tim
 ___


Yep, that sounds like a plan.

Thanks for your suggestion.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[install-discuss] H55 Chipset and i3/i5 Clarkdale support ?

2010-01-23 Thread Brian McKerr
I just bought a new clarkdale intel i3 CPU, with recommended H55 chipset 
motherboard and cannot get it to install either b130 or b131. Does anyone have 
this combination working ?

It hangs after showing the kernel banner. I tried a verbose boot and it seemed 
to stop at 'ehci'. I tried setting the acpi_user_options kernel parameter to 
0x2 and 0x8, both to no avail.

Any help greatly appreciated.
-- 
This message posted from opensolaris.org


[osol-help] H55 Chipset and i3/i5 Clarkdale support ?

2010-01-23 Thread Brian McKerr
I just bought a new clarkdale intel i3 CPU, with recommended H55 chipset 
motherboard and cannot get it to install either b130 or b131. Does anyone have 
this combination working ?

It hangs after showing the kernel banner. I tried a verbose boot and it seemed 
to stop at 'ehci'. I tried setting the acpi_user_options kernel parameter to 
0x2 and 0x8, both to no avail.

Any help greatly appreciated.
-- 
This message posted from opensolaris.org


[osol-help] H55 Chipset and i3/i5 Clarkdale support ?

2010-01-23 Thread Brian McKerr
I just bought a new clarkdale intel i3 CPU, with recommended H55 chipset 
motherboard and cannot get it to install either b130 or b131. Does anyone have 
this combination working ?

It hangs after showing the kernel banner. I tried a verbose boot and it seemed 
to stop at 'ehci'. I tried setting the acpi_user_options kernel parameter to 
0x2 and 0x8, both to no avail.

Any help greatly appreciated.
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


[zfs-discuss] Separate Zil on HDD ?

2009-12-02 Thread Brian McKerr
Hi all,

I have a home server based on SNV_127 with 8 disks;

2 x 500GB mirrored root pool
6 x 1TB raidz2 data pool

This server performs a few functions;

NFS : for several 'lab' ESX virtual machines
NFS : mythtv storage (videos, music, recordings etc)
Samba : for home directories for all networked PCs

I backup the important data to external USB hdd each day.


I previously had a linux NFS server that I had mounted 'ASYNC' and, as one 
would expect, NFS performance was pretty good getting close to 900gb/s. Now 
that I have moved to opensolaris,  NFS performance is not very good, I'm 
guessing mainly due to the 'SYNC' nature of NFS.  I've seen various threads and 
most point at 2 options;

1. Disable the ZIL
2. Add independent log device/s

I happen to have 2 x 250GB Western Digital RE3 7200rpm (Raid edition, rated for 
24x7 usage etc) hard drives sitting doing nothing and was wondering whether it 
might speed up NFS, and possibly general filesystem usage, by adding these 
devices as log devices to the data pool.  I understand that an SSD is 
considered ideal for log devices but I'm thinking that these 2 drives should at 
least be better than having the ZIL 'inside' the zpool.

If adding these devices, should I add them as mirrored or individual to get 
some sort of load balancing (according to zpool manpage) and perhaps a little 
bit more performance ?

I'm running ZFS version 19 which 'zpool upgrade -v' shows me as having 'log 
device removal' support. Can I easily remove these devices if I find that they 
have resulted in little/no performance improvements ?

Any help/tips greatly appreciated.

Cheers.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?

2009-12-02 Thread Brian McKerr
diff -y ?

On Wed, Dec 2, 2009 at 7:42 PM, Simon Banton cen...@web.org.uk wrote:

 At 08:54 + 2/12/09, hadi motamedi wrote:
 Dear All
 Can you please do me favor and let me know how can I compare two
 files but not in line-by-line basis on my CentOS server ? I mean say
 row#1 in file1 has the same data as say row#5 in file2 , but the
 comm compares them in line-by-line basis that is not intended . It
 seems that the diff cannot do the job as well

 This'll show you which lines are common to both files, and for the
 ones that aren't which file they're in.

 perl -MData::Dumper -le 'while() {chomp; push @{$s-{$_}},
 $ARGV}; END{ print Dumper($s) }' file1 file2

 ... someone will be along shortly with a more elegant method.

 HTH

 S.
 ___
 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


[zfs-discuss] Backing up ZVOLs

2009-11-14 Thread Brian McKerr
Hello all,

Are there any best practices / recommendations for ways of doing this ?

In this case the ZVOLs would be iSCSI LUNS containing ESX VMs .I am aware 
of the of the need for the VMs to be quiesced for the backups to be useful.

Cheers.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Backing up ZVOLs

2009-11-14 Thread Brian McKerr
Thanks for the help.

I was curious whether the zfs send|receive was considered suitable given a few 
things I've read which said somethings along the lines of don't count on being 
able to restore this stuff. Ideally that is what I would use with the 
'incremental' option so as to only backup changed blocks on subsequent backups.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[xen-discuss] xVM Ready for serious use ?

2009-10-15 Thread Brian McKerr
I currently have 2 x ESXi boxes that have VMs stored on a NFS/iSCSI debian 
lenny linux box. I had purchased a new whitebox server as an intended 
replacement for the linux box. I had always planned on installing opensolaris 
on the new hardware with this config;

2 x 640GB mirrored rpool 

6 x 1TB in raidz2

This box was going to be built in parallel with the current server and I would 
have simply copied the VMDK files across.

Main reason for the move to opensolaris is ZFS and all its goodness like;

end-to-end checksumming

expected good NFS and iSCSI performance (I'd be using b124 rather than 0906 due 
to poor iSCSI performance in comstar 0906)

send/receive for backups

snapshot cloning etc


Now I'm having a change of heart and want to investigate the possibility of 
moving from three servers to two. Both of them opensolaris with xVM/zones as 
the virtualization tech. I'd like to build the two boxes spec'd thus;

Intel i7 920 + 12GB 
4 x 1TB SATA (raidz)
xVM on b124
3 x 1000mb NICs (1 onboard, 2 added PCI-E)

The plan is to have the VM files synced across to the 'secondary' node via ZFS 
send/receive so that should one fail I can simply restart the VMs on the second 
node. I may even be able to spread the VM load across the two nodes and sync 
each bunch of VMs to the 'other' node.

My questions are;

1. Is xVM considered stable enough for use ? And in particular with ZFS 
underneath in dom0.
2. Can I run virtualbox on opensolaris dom0 ?
3. will the ZFS send/receive work as I intend ?
4. Should I just keep the central 'storage' server and continue with ESXi or 
Xenserver 5.5 ?


Any thoughts or experiences would be great.
-- 
This message posted from opensolaris.org
___
xen-discuss mailing list
xen-discuss@opensolaris.org


Re: [xen-discuss] xVM Ready for serious use ?

2009-10-15 Thread Brian McKerr
Question 2: Answer - No. You cant run virtualbox in dom0. When you try and 
install the package;

## Executing postinstall script.
## VirtualBox cannot run under xVM Dom0! Fatal Error, Aborting installation!
pkgadd: ERROR: postinstall script did not complete successfully
-- 
This message posted from opensolaris.org
___
xen-discuss mailing list
xen-discuss@opensolaris.org


Re: [CentOS] OT: What's wrong with RAID5

2009-09-30 Thread Brian McKerr
Slightly OT...

Opensolaris has just had triple parity raid (raidz3) added to ZFS;


http://blogs.sun.com/ahl/entry/triple_parity_raid_z


Pity we can't get an in kernel version of ZFS for linux.




On Thu, Oct 1, 2009 at 12:41 PM, Stephen Harris li...@spuddy.org wrote:

 On Wed, Sep 30, 2009 at 08:52:08PM -0500, Johnny Hughes wrote:
  On 09/24/2009 07:35 AM, Rainer Duffner wrote:

   Well, it depends on the disk-size:
  
 http://www.enterprisestorageforum.com/technology/features/article.php/3839636
 
  This info is VERY relevant ... you will almost ALWAYS have a failure on
  rebuild with very large RAID 5 arrays.  Since that is a fault in a
  second drive, that failure will cause the loss of all the data.  I would
  not recommend RAID 5 right now ... it is not worth the risk.

 Almost always is very dependent on the disks and size of the array.

 Let's take a 20TiByte array as an example.

 Now, the hard error rate is an expectation.  That means that with
 an error rate of 1E14 then you'd expect to see 1 error for every 1E14
 bits read.  If we make the simplifying assumption of any read being
 equally likely to fail then any single bit read has a 1/1E14 chance of
 being wrong.  (see end of email for more thoughts on this).

 Now to rebuild a 20Tibyte array you would need to read 20Tibytes
 of data.  The chance of this happening without error is:
(1-1/1E14)^(8*20*2^40) = 0.172
 ie only 17% of rebuilding a 20TiByte array!  That's pretty bad.  In
 fact it's downright awful.  Do not build 20TiByte arrays with consumer
 disks!

 Note that this doesn't care about the size of the disks nor the number
 of disks; it's purely based on probability of read error.

 Now an enterprise class disk with an error rate of 1E15 looks better:
(1-1/1E15)^(8*10*2^40) = 0.838
 or 84% chance of successful rebuild.   Better.  But probably not good
 enough.

 How about an Enterprise SAS disk at 1E16
(1-1/1E16)^(8*12.5*2^40) = 0.981 or 98%
 Not five nines, but pretty good.

 Of course you're never going to get 100%.  Technology just doesn't work
 that way.

 So, if you buy Enterprise SAS disks then you do stand a good chance
 of rebuilding a 20TiByte Raid 5.  A 2% chance of a double-failure.
 Do you want to risk your company on that?

 RAID6 makes things better; you need a triple failure to cause data loss.
 It's possible, but the numbers are a lot lower.

 Of course the error rate and other disk characteristics are actually WAGs
 based on some statistical analysis.  There's no actual measurements to
 show this.

 Real life numbers appear to show that disks far outlive their expected
 values.  Error rates are much lower than manufacturer claims (excluding
 bad batches and bad manufacturing, of course!)

 This is just a rough off my head analysis.  I'm not totally convinced
 it's correct (my understanding of error rate could be wrong; the
 assumption of even failure distribution is likely to be wrong because
 errors on a disk cluster - a sector is bad, a track is bad etc).  But the
 analysis _feels_ right... which means nothing :-)

 I currently have 5*1Tbyte consumer disks in a RAID5.  That, theoretically,
 gives me a 27% chance of failure during a rebuild.  As it happens I've had
 2 bad disks, but they went bad a month apart (I think it is a bad batch!).
 Each time the array has rebuilt without detectable error.

 Let's not even talk about Petabyte arrays.  If you're doing that then
 you better have multiple redundancy in place, and  the expense!
 Google is a great example of this.

 --

 rgds
 Stephen
 ___
 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] ignore please.

2009-09-30 Thread Brian McKerr
testing email delivery
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to setup a secondary DNS server pulling zones from Win2k3?

2009-03-05 Thread Brian McKerr
I found this useful...

http://technet.microsoft.com/en-us/library/dd316373.aspx

On Thu, Mar 5, 2009 at 6:22 PM, Alexander Farber alexander.far...@gmail.com
 wrote:

 Hello,

 we have a mixed environment at work: CentOS + Win2003 servers.
 The Win2k3 part contains: AD, DNS (inlc. dyndns), DHCP, DFS, Exchange.
 The CentOS part: NIS passwords + also a DNS server.

 So currently we have to update the Linux DNS server
 zone infos by hand: I export a text file from
 Windows DNS server and then edit it around using vim.

 On the Windows side however it's easy for me to setup
 additional DNS servers at other machines: I just configure
 them as secondary and they pull zone infos automatically.

 I wonder if there is a way to setup such a secondary DNS
 server under CentOS as well?

 And no, I'm not asking about how to setup a DNS-forwarder.
 (Because I want the Linux server to pull and maintain zone infos
 automatically and to work even if Windows-counterpart is down.)

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

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


Re: [CentOS] Can sound be redirected from a remote computer to local computer?

2009-01-10 Thread Brian McKerr
Try NX from nomachine.com. The Free version FreeNX is in the centos extras repo.


- partha chowdhury kira.lau...@gmail.com wrote:

 dcw wrote:
  I need to redirect the sound from a remote Centos 5.2 computer to my
 local 
  Centos 5.2 computer. Both are i386 OS.
  
  Searching the web and Centos web site has indicated that it is
 possible but I 
  have not found any information about how to do it.
  
  I am currently using ssh and/or vnc to display the remote computer
 locally. At 
  this point, the sound is being played on the remote computer only.
  
  Thanks for any help,
  David
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
  
 for this purpose you have to setup your local machine as a sound
 server. 
 i have set up succesfully using this tutorial,  
 http://www.hackenberger.at/blog/gentoo-guides/how-to-play-sound-on-a-remote-server/
 
 my scenario : two computers on the same private network
 
 on the first computer , i copy the line export ARTS_SERVER=ip of
 second 
 machine:port to the currently logged in user's .bashrc file. Then
 play 
 any mp3 with mplayer with audio output chosen as arts.
 
 on the second machine start artsd with artsd -n -u -p 5001 option ( 
 however please consider the security) and set up iptables or firewall
 to 
 make the second computer to accept request from first computer on port
 5001.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Creating a Roaming imap account

2008-02-05 Thread Brian McKerr

- Anne Wilson [EMAIL PROTECTED] wrote:

 This (CentOS5.1) box is my new imap server.  Using 
 system-config-security-level I opened port 143 tcp, and mail is
 readable 
 throughout the LAN.  I want a Roaming account on my laptop so that I
 can read 
 mail while away from home.  I have set up the account in kmail, and I
 know 
 that that part is correct, as it worked on my old, less-secured, imap
 server.  
 However, I haven't been able so far to make a connection.
 
 Do I need 143 udp open?  What else must I do to allow me to connect
 over WAN?
 
 Thanks
 
 Anne
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

Hi Anne,

is your firewall set up ? port forwarding/NAT and how about your DNS, does that 
all point to the right place ?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Creating a Roaming imap account

2008-02-05 Thread Brian McKerr

- Anne Wilson [EMAIL PROTECTED] wrote:

 This (CentOS5.1) box is my new imap server.  Using 
 system-config-security-level I opened port 143 tcp, and mail is
 readable 
 throughout the LAN.  I want a Roaming account on my laptop so that I
 can read 
 mail while away from home.  I have set up the account in kmail, and I
 know 
 that that part is correct, as it worked on my old, less-secured, imap
 server.  
 However, I haven't been able so far to make a connection.
 
 Do I need 143 udp open?  What else must I do to allow me to connect
 over WAN?
 
 Thanks
 
 Anne
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

Hi Anne,

is your firewall setup with the appropriate NAT/port forwarding and how about 
DNS ?

Cheers,


Brian.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Creating a Roaming imap account

2008-02-05 Thread Brian McKerr

- Brian McKerr [EMAIL PROTECTED] wrote:

 - Anne Wilson [EMAIL PROTECTED] wrote:
 
  This (CentOS5.1) box is my new imap server.  Using 
  system-config-security-level I opened port 143 tcp, and mail is
  readable 
  throughout the LAN.  I want a Roaming account on my laptop so that
 I
  can read 
  mail while away from home.  I have set up the account in kmail, and
 I
  know 
  that that part is correct, as it worked on my old, less-secured,
 imap
  server.  
  However, I haven't been able so far to make a connection.
  
  Do I need 143 udp open?  What else must I do to allow me to connect
  over WAN?
  
  Thanks
  
  Anne
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
  
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
 Hi Anne,
 
 is your firewall setup with the appropriate NAT/port forwarding and
 how about DNS ?
 
 Cheers,
 
 
 Brian.
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


sorry about the double post. And there may another few to come. I've made some 
email changes and they don't work like I intended.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[Bacula-users] Mount/Unmount/Automount

2006-07-17 Thread Brian McKerr
Hello,

Am I doing something wrong ? I have a single DLT320 drive and each day 
when I eject the last backup tape,  I have to manually mount the next 
tape  otherwise the next backup will sit waiting for a mount request. Is 
there a way to tell bacula to automount the tape in the drive ? Reason 
being I dont want to give operations guys a login to mount tapes. Is the 
automount = yes in the sd.conf for automounting after labelling only ?

Cheers,

Brian.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Command line history...

2006-07-17 Thread Brian McKerr
Hello,

Has a feature been requested to have full GNU Readline support embedded 
in bconsole ? Is it feasible ?

It would be nice, If we could get it to ignore blank lines in history !

also, shouldn't  the 'autodisplay' command be a toggle that doesn't need 
a switch ?

Cheers,


Brian.
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Netgear WG311 and ath driver on amd64.

2005-10-01 Thread Brian McKerr

Hello all,

I went  and bought a netgear WG311 PCI 54g (Wg311GE) card the other day 
to put in my firewall. I intended to use this is as an access point for 
a WLAN. This card is listed in the support hardware section on the 
openbsd website under i386 but not amd64.


Anyways, I grabbed the latest 3.8 snapshot, dated 28th Sept and 
installed it on my amd64 machine. Dmesg here;


OpenBSD 3.8-current (GENERIC) #266: Wed Sep 28 00:11:41 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1072492544 (1047356K)
avail mem = 908439552 (887148K)
using 22937 buffers containing 107458560 bytes (104940K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 Processor 3200+, 2002.82 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x01
ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor Nvidia, unknown product 0x0342 
rev 0xa1

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
VIA VT6306 FireWire rev 0x80 at pci0 dev 7 function 0 not configured
pciide0 at pci0 dev 8 function 0 Promise PDC20378 rev 0x02: DMA
pciide0: using irq 5 for native-PCI interrupt
skc0 at pci0 dev 10 function 0 Marvell SKv2 rev 0x13: irq 10
skc0: Marvell Yukon Lite rev. A3 (0x7)
sk0 at skc0 port A: address 00:0e:a6:87:e9:1a
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
Texas Instruments ACX111 rev 0x00 at pci0 dev 12 function 0 not configured
pciide1 at pci0 dev 15 function 0 VIA VT8237 SATA rev 0x80: DMA
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST380013AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: ST380013AS
wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide2 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, 
channel 0 configured to compatibility, channel 1 configured to compatibility

atapiscsi0 at pciide2 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4163B, A103 SCSI0 
5/cdrom removable

cd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide2: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 5
ac97: codec id 0x41445370 (Analog Devices AD1980)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auvia0
pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
wd0: no disk label
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with 

ath hostap and carp ?

2005-09-29 Thread Brian McKerr

Hello all,

can anyone tell me if running 'ath' based cards in hostap mode is 
reliable and stable ? I'm deciding whether to get a linksys wrt54g or to 
throw an ath based card in my firewall and run it as the AP.


Also, does anyone know if I can run carp on wireless cards ? 
Specifically, I currently have a carp based firewall setup and I was 
wondering if running both of these as AP could give me AP failover ?


Thanks,

Brian.



Re: ntpq -p equiv with openNTP?

2005-07-24 Thread Brian McKerr

stan wrote:


Is there a way to do soemthing like ntpq -p with OpenBSD's OpenNTPD? I
really just want a quick way to assure myself that a given machine is in
synch.

 


No, but you can send us some code 

Only joking ;-)

I'd like that option also.



Snapshot from 03/June : spamd working ?

2005-06-17 Thread Brian McKerr

Hello all,

Not sure if I'm missing something here with spamd so I thought I'd ask 
the experts. I have it setup with the default config file (snipped) ;


[fw1]# cat /etc/spamd.conf

all:\
   :spamhaus:china:korea:

# Mirrored from http://spfilter.openrbl.org/data/sbl/SBL.cidr.bz2
spamhaus:\
   :black:\
   :msg=SPAM. Your address %A is in the Spamhaus Block List\n\
   See http://www.spamhaus.org/sbl and\
   http://www.abuse.net/sbl.phtml?IP=%A for more details:\
   :method=http:\
   :file=www.openbsd.org/spamd/SBL.cidr.gz:

# Mirrored from http://www.spews.org/spews_list_level1.txt
spews1:\
   :black:\
   :msg=SPAM. Your address %A is in the spews level 1 database\n\
   See http://www.spews.org/ask.cgi?x=%A for more details:\
   :method=http:\
   :file=www.openbsd.org/spamd/spews_list_level1.txt.gz:

# Mirrored from http://www.spews.org/spews_list_level2.txt
spews2:\
   :black:\
   :msg=SPAM. Your address %A is in the spews level 2 database\n\
   See http://www.spews.org/ask.cgi?x=%A for more details:\
   :method=http:\
   :file=www.openbsd.org/spamd/spews_list_level2.txt.gz:


and the relevant processes are running;
[firewall]# ps wax
 PID TT   STAT  TIME COMMAND
26310 ??  Is  0:00.01 ntpd: [priv] (ntpd)
26951 ??  Is  0:00.01 inetd
19580 ??  Is  0:00.18 /usr/sbin/sshd
26828 ??  Is  0:00.08 /usr/libexec/spamd
16673 ??  Is  0:00.20 sendmail: accepting connections (sendmail)


I have the cron job enabled for root;

[fw1]# crontab -l | grep spam

0   *   *   *   *   /usr/libexec/spamd-setup


I also have the relevant pf rule in place;

[firewall]# pfctl -vsn
rdr inet proto tcp from spamd to any port = smtp - 127.0.0.1 port 8025
 [ Evaluations: 104628Packets: 0 Bytes: 0   States: 
0 ]

 [ Inserted: uid 0 pid 25445 ]



and as you can see not one hit from a known spammer !

I run Mailscanner on my mailserver behind the openbsd box and he is 
still constantly rejecting mail from known spammers - this is part of my 
sendmail.mc file;


FEATURE(`dnsbl',`relays.ordb.org', `Rejected - see http://ordb.org/')dnl
FEATURE(`dnsbl',`sbl-xbl.spamhaus.org',`Rejected - see 
http://spamhaus.org/')dnl

FEATURE(`dnsbl',`list.dsbl.org',`554 Rejected - see http://dsbl.org/')dnl
FEATURE(`dnsbl',`smtp.dnsbl.sorbs.net',`554 Rejected  ${client_addr} 
 found in smtp.dnsbl.sorbs.net')dnl
FEATURE(`dnsbl',`opm.blitzed.org',`554 Rejected  ${client_addr}  
found in opm.blitzed.org')dnl
FEATURE(`dnsbl',`dul.dnsbl.sorbs.net',`554 Rejected  ${client_addr}  
found in dul.dnsbl.sorbs.net')dnl
FEATURE(`dnsbl',`cbl.abuseat.org',`554 Rejected  ${client_addr}  
found in cbl.abuseat.org')dnl


and, finally, some log entries;

Jun 17 19:49:29 inetmail sendmail[13126]: ruleset=check_relay, 
arg1=[210.213.176.247], arg2=127.0.0.4, relay=210.213.176.247.pldt.net 
[210.213.176.247] (may be forged), reject=

553 5.3.0 Rejected - see http://spamhaus.org/
Jun 17 20:41:26 inetmail sendmail[13390]: ruleset=check_relay, 
arg1=[61.96.162.88], arg2=127.0.0.4, relay=[61.96.162.88], reject=553 
5.3.0 Rejected - see http://spamhaus.org/



So given that both spamd and sendmail are configured to talk to 
spamhaus, why is openbsd 3.7 spamd not blocking connections from these 
guys ?


Thanks for reading this


Oh, here's my dmesg..

OpenBSD 3.7-current (GENERIC) #175: Fri Jun  3 18:00:08 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 702 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 65576960 (64040K)
avail mem = 38232064 (37336K)
using 4130 buffers containing 16916480 bytes (16520K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(01) BIOS, date 04/07/00, BIOS32 rev. 0 @ 0xfb0c0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb540
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/96 (4 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 4 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 11 12
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xcc000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82810 rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 Intel 82810 Graphics rev 0x03: aperture 
at 0xd800, size 0x400

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 DEC 21154 PCI-PCI rev 0x05
pci2 at ppb1 bus 2
fxp0 at pci2 dev 4 function 0 Intel 82557 rev 0x05, i82558: irq 5, 
address 

Re: Snapshot from 03/June : spamd working ?

2005-06-17 Thread Brian McKerr
Otto Moerbeek wrote:

On Fri, 17 Jun 2005, Brian McKerr wrote:

  

I also have the relevant pf rule in place;

[firewall]# pfctl -vsn
rdr inet proto tcp from spamd to any port = smtp - 127.0.0.1 port 8025
 [ Evaluations: 104628Packets: 0 Bytes: 0   States: 0
]
 [ Inserted: uid 0 pid 25445 ]



i'm missing a pass here.

   -Otto
  


You mean a basic SMTP pass in ?

This has been allowing mail to the mailserver for years, its only this
week that I tried the Spamd thingo

pfctl -sr | grep -i smtp

pass in log quick on fxp0 proto tcp from any to any port = smtp flags
S/SA modulate state queue(q_def, q_pri)



cheers,


Brian.



Re: Snapshot from 03/June : spamd working ?

2005-06-17 Thread Brian McKerr
Otto Moerbeek wrote:

On Fri, 17 Jun 2005, Brian McKerr wrote:

  

You mean a basic SMTP pass in ?

This has been allowing mail to the mailserver for years, its only this
week that I tried the Spamd thingo

pfctl -sr | grep -i smtp

pass in log quick on fxp0 proto tcp from any to any port = smtp flags
S/SA modulate state queue(q_def, q_pri)



that seems to be OK. What does

   pfctl -t spamd -T show 

show?

   -Otto
  


Here is the tail of it;


   219.149.10.91
   219.149.64.0/24
   219.150.112.0/20
   219.150.128.0/17
   219.151.40.59
   219.153.13.240/29
   219.160.130.0/24
   219.162.168.0/24
   219.163.88.0/29
   219.163.170.112/29
   219.166.26.98
   219.166.172.64/29
   219.166.175.232/29
   219.216.0.0/13
   219.224.0.0/12
   219.232.178.109
   219.232.183.47
   219.232.184.0/24
   219.232.188.153
   219.234.22.0/24
   219.234.192.0/19
   219.235.0.9
   219.235.232.0/24
   219.237.49.145
   219.238.146.119
   219.240.0.0/15
   219.240.39.225
   219.242.0.0/15
   219.244.0.0/14
   219.248.0.0/13
   219.254.32.64/26
   220.19.108.0/22
   220.64.0.0/11
   220.64.98.0/23
   220.66.8.120
   220.73.160.0/24
   220.73.173.96/27
   220.80.104.0/22
   220.85.13.90/31
   220.85.13.92
   220.97.18.0/24
   220.97.40.0/24
   220.99.71.48/29
   220.103.0.0/16
   220.105.107.145
   220.106.2.0/24
   220.110.185.176
   220.111.133.95
   220.112.0.0/14
   220.112.123.54
   220.112.152.112
   220.112.152.136
   220.112.157.55
   220.113.183.169
   220.114.69.147
   220.116.0.0/14
   220.117.234.0/23
   220.117.244.0/22
   220.120.0.0/13
   220.130.208.19
   220.135.232.187
   220.135.233.115
   220.149.0.0/16
   220.150.34.0/24
   220.150.253.125
   220.160.0.0/11
   220.163.21.18
   220.163.58.143
   220.163.74.45
   220.163.176.208
   220.163.176.211
   220.164.144.0/24
   220.191.30.0/23
   220.192.0.0/12
   220.192.157.7
   220.194.60.242
   220.196.248.142
   220.201.194.241
   220.202.18.0/24
   220.202.133.36
   220.202.248.48/28
   220.215.44.164
   220.220.71.73
   220.230.0.0/16
   220.231.0.0/18
   220.231.128.0/17
   220.234.0.0/16
   220.246.67.87
   220.247.245.180
   220.248.0.0/14
   220.248.65.150
   220.255.94.113
   220.255.136.240
   220.255.172.125
   220.255.248.5
   221.0.0.0/13
   221.0.118.253
   221.0.126.15
   221.2.55.0/24
   221.3.132.0/26
   221.4.154.63
   221.4.199.234
   221.7.209.0/24
   221.8.0.0/15
   221.10.0.0/16
   221.10.71.248/29
   221.10.201.0/24
   221.10.224.162
   221.10.226.48/28
   221.10.254.0/24
   221.11.0.0/17
   221.11.128.0/18
   221.11.192.0/19
   221.12.0.0/17
   221.12.128.0/18
   221.13.0.0/16
   221.14.0.0/15
   221.117.247.131
   221.119.23.0/24
   221.122.0.0/15
   221.124.87.254
   221.126.149.24
   221.127.55.0/24
   221.129.0.0/16
   221.130.0.0/15
   221.132.30.203
   221.132.48.0/22
   221.132.56.175
   221.132.64.0/19
   221.133.128.0/18
   221.136.0.0/15
   221.136.65.105
   221.136.68.186
   221.136.88.49
   221.136.100.36/31
   221.137.242.189
   221.138.0.0/15
   221.139.14.110
   221.139.14.112/28
   221.140.0.0/14
   221.143.21.236/30
   221.144.0.0/12
   221.160.0.0/13
   221.164.141.44
   221.168.0.0/16
   221.168.182.0/23
   221.169.54.0/24
   221.169.236.120
   221.172.0.0/14
   221.176.0.0/13
   221.185.74.76
   221.186.27.172
   221.186.72.122
   221.186.80.16/29
   221.186.106.64/29
   221.186.117.94
   221.186.144.168/29
   221.192.0.0/14
   221.196.0.0/15
   221.196.19.0/24
   221.196.115.0/24
   221.198.0.0/16
   221.199.0.0/19
   221.199.32.0/20
   221.199.128.0/18
   221.199.192.0/20
   221.200.0.0/13
   221.208.0.0/12
   221.224.0.0/12
   221.250.86.245
   221.251.7.24/29
   222.1.219.130
   222.16.0.0/12
   222.32.0.0/11
   222.36.42.120/29
   222.36.42.182
   222.47.76.251
   222.64.0.0/15
   222.64.0.0/11
   222.67.160.0/22
   222.76.158.0/23
   222.76.196.0/24
   222.80.184.0/24
   222.82.1.233
   222.84.222.17
   222.89.98.0/24
   222.90.44.225
   222.90.66.53
   222.90.74.0/24
   222.96.0.0/12
   222.96.156.0/25
   222.98.237.251
   222.101.7.192/26
   222.101.168.0/25
   222.112.0.0/13
   222.112.67.86
   222.120.0.0/15
   222.121.206.0/24
   222.121.213.0/25
   222.122.0.0/16
   222.122.12.0/24
   222.122.39.0/24
   222.122.56.35
   222.122.60.61
   222.122.65.0/24
   222.124.21.21
   222.124.44.8
   222.125.0.0/16
   222.128.0.0/12
   222.134.66.0/24
   222.146.162.0/24
   222.147.181.49
   222.148.108.0/24
   222.149.144.27
   222.150.167.55
   222.151.231.58/31
   222.153.70.113
   222.156.15.0/24
   222.160.0.0/15
   222.162.0.0/16
   222.163.0.0/19
   222.166.48.0/24
   222.168.0.0/13
   222.169.80.0/20
   222.170.7.0/24
   222.170.97.22
   222.174.34.151
   222.176.0.0/12
   222.192.0.0/11
   222.208.168.0/24
   222.208.183.0/24
   222.222.48.0/24
   222.231.0.0/18
   222.232.0.0/13
   222.234.48.0/24
   222.240.0.0/13
   222.248.0.0/16
   222.248.6.13
   222.248.21.47
   222.248.48.178
   222.248.148.76
   222.249.0.0/17
   222.249.128.0/18
   222.249.192.0/19
   222.249.224.0/20
   222.249.240.0

Re: Snapshot from 03/June : spamd working ?

2005-06-17 Thread Brian McKerr
Steve Tornio wrote:


 FEATURE(`dnsbl',`relays.ordb.org', `Rejected - see http://ordb.org/')dnl
 FEATURE(`dnsbl',`sbl-xbl.spamhaus.org',`Rejected - see
 http://spamhaus.org/')dnl

 Jun 17 19:49:29 inetmail sendmail[13126]: ruleset=check_relay,
 arg1=[210.213.176.247], arg2=127.0.0.4,
 relay=210.213.176.247.pldt.net [210.213.176.247] (may be forged),
 reject=
 553 5.3.0 Rejected - see http://spamhaus.org/
 Jun 17 20:41:26 inetmail sendmail[13390]: ruleset=check_relay,
 arg1=[61.96.162.88], arg2=127.0.0.4, relay=[61.96.162.88], reject=553
 5.3.0 Rejected - see http://spamhaus.org/


 So given that both spamd and sendmail are configured to talk to
 spamhaus, why is openbsd 3.7 spamd not blocking connections from
 these guys ?


 Because those addresses are in the XBL, not the SBL.  The XBL is
 populated by entries from the CBL, which are added when virus-like or
 worm-like behavior is detected, and entries are removed at the first
 request. Doesn't really make a whole lot of sense to try to create a
 static list for it, when the SBL list is only updated twice a day anyway.

 Of course, you could just go to www.spamhaus.org and read up on how it
 works.

 Steve

Thanks for the tip Steve,

I've just read up on it..
  

and it seems to suggest that using sbl+xbl is a good thing.

What exactly is spamd going to catch then ?



Re: Snapshot from 03/June : spamd working ?

2005-06-17 Thread Brian McKerr

Steve Tornio wrote:



Because those addresses are in the XBL, not the SBL.  The XBL is
populated by entries from the CBL, which are added when virus-like or
worm-like behavior is detected, and entries are removed at the first
request. Doesn't really make a whole lot of sense to try to create a
static list for it, when the SBL list is only updated twice a day 
anyway.


Of course, you could just go to www.spamhaus.org and read up on how it
works.

Steve



Thanks for the tip Steve,

I've just read up on it..


and it seems to suggest that using sbl+xbl is a good thing.

What exactly is spamd going to catch then ?


spamd will tarpit entries in the SBL, which are (supposed to be) 
actual spamming operations.  The idea behind spamd is to waste the 
time and resources of spam operations, not simply to reject their 
mail.  If you're only looking to reject mail, then don't use spamd.


I do understand what spamd is trying to achieve.

I want both .. to waste their time and resources and 
block their email as I'm sure everyone does !.


Which is what should happen according to my interpretation of spamd and 
its standard implementation. To my knowledge, there does not appear to 
be anywhere in the spamd documentation that says something like 
(sarcastic voice) after delaying the spammer and using up their time 
and resources, allow their connection through to your mailserver so they 
can deliver their spam !


Thanks for your help Steve, I think Otto is looking at the *real* problem.


Brian.



pf and rdr pass nat

2005-06-08 Thread Brian McKerr

The man page says;

If the pass modifier is given, packets matching the translation rule 
are passed without inspecting the filter rules:


I like this as it will reduce the size of my rules file, however,  how 
can I rdr pass and have it honour (for want of a better word) altq ?


Cheers,


Brian.



Sun Netra T1 105

2005-06-02 Thread Brian McKerr
I am thinking of getting one (or two) of these for my new firewall, just 
curious if nayone has any opinions on its suitability in such a role. 
Spec as follows;


64bit 360mhz CPU (IIi)
128mb RAM
1 x 18gb 10krpm
2 x integrated NIC
1x PCI (which I intend to put a dual port compaq/intel NIC in)

Basically, I have a low traffic mail and web server behind this firewall 
it also is my OpenVPN server for one VPN. I have around 90 pf rules.


I may even chuck a squid cache on it given its got heaps of free disk.

Lastly, does anyone know if these have a 40 pin IDE connector for the 
optional CDROM and if so do you reckon it would be able to boot from a 
compact flash ?


Cheers in advance.


Brian.



[linux-dvb] Re: Nebula installation and nxt6000 fault

2003-12-10 Thread Brian McKerr
 I am installing a Nebula DigiTV board but with a few issues. Have
 followed the various README's and sailed in the draught of a number of
 postings in this mailing list but seem stuck. Any help here is greatly
 appreciated. Thanks in advance.

 Robert Cook

 The version of Linux is Mandrake 9.2 with a 2.4.23 kernel
 (2.4.23-0.rc5.2mdk). Video 4 linux enabled.

 Installed Video4Linux from video4linux-20031208.tar.gz

 Installed dvb-kernel/build-2.4 from latest CVS archives

 Bit of a nightmare sorting out conflicting v4l1-compat.o and
 v4l2-common.o between V4L and dvb-kernel along with Mandrake installed
 dvb_mod libraries. Cleaned up stale modules and removed conflicting
 dvb-kernel modules with priority to V4L.

 Ran the following commands:

 #modprobe bttv card=0x68 i2c_hw=1

 dmesg output 
 bttv: driver version 0.9.12 loaded
 bttv: snapshot date 2003-12-08
 bttv: using 8 buffers with 2080k (520 pages) each for capture
 bttv: Bt8xx card found (0).
 bttv0: Bt878 (rev 17) at 02:0a.0, irq: 22, latency: 64, mmio: 0xfbefe000
 bttv0: detected: Nebula Electronics DigiTV [card=104], PCI subsystem ID
 is 0071:0101
 bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
 bttv0: gpio: en=, out= in=00ff00cb [init]
 bttv0: using tuner=-1
 bttv0: registered device video0
 bttv0: registered device vbi0
 bttv0: PLL: 28636363 = 35468950 .. ok
 =

 #modprobe dvb-bt8xx

 dmesg output 
 bt878: AUDIO driver version 0.0.0 loaded
 bt878: Bt878 AUDIO function found (0).
 bt878(0): Bt878 (rev 17) at 02:0a.1, irq: 22, latency: 64, memory:
 0xfbeff000
 DVB: registering new adapter (Neb).
 =

 #modprobe nxt6000
 modprobe: insmod /lib/modules/2.4.23-0.rc5.2mdkcustom/misc/nxt6000.o
 failed
 modprobe: insmod nxt6000 failed

 dmesg | ksymoops output 
 Unable to handle kernel NULL pointer dereference at virtual address
 
 e0c85d24
 *pde = 
 Oops: 
 CPU:0
 EIP:
   0010:[e0c85d24]Not tainted
 Using defaults from ksymoops -t elf32-i386 -a i386
 EFLAGS: 00010a86
 eax:    ebx: 0001   ecx: c000   edx: dad1be60
 esi:    edi: 0001   ebp: dad1bde0   esp: dad1bdd4
 ds: 0018   es: 0018   ss: 0018
 Process insmod (pid: 1985, stackpage=dad1b000)
 Stack: 0001  0001 dad1be04 e0c8612b e0c92000 dad1be60
 0001
e0c92000 e0c92040 e0c92004 dad1be60 dad1be24 c02ecf29 e0c92004
 dad1be60
0001 dac42000 0014 dad1be74 dad1be3c e0ca61a4 e0c92004
 dad1be60
 Call Trace:
  [e0c8612b] bttv_i2c_xfer+0x9b/0xc0 [bttv]
  [e0c92000] bttvs+0x0/0x4cc0 [bttv]
  [e0c92000] bttvs+0x0/0x4cc0 [bttv]
  [e0c92040] bttvs+0x40/0x4cc0 [bttv]
  [e0c92004] bttvs+0x4/0x4cc0 [bttv]
  [c02ecf29] i2c_transfer+0x39/0x80 [kernel]
  [e0c92004] bttvs+0x4/0x4cc0 [bttv]
  [e0ca61a4] master_xfer+0x34/0x50 [dvb-bt8xx]
  [e0c92004] bttvs+0x4/0x4cc0 [bttv]
  [e0dcc269] pll_write+0x59/0xa0 [nxt6000]
  [e0dccf0b] nxt6000_attach+0x9b/0x200 [nxt6000]
  [e0c9cc78] try_attach_device+0x38/0x80 [dvb-core]
  [e0c9cded] probe_device_on_all_busses+0x1d/0x30 [dvb-core]
  [e0ca42e0] dvb_i2c_mutex+0x0/0x20 [dvb-core]
  [e0c9cfe9] dvb_register_i2c_device_Rde0504aa+0x59/0x90 [dvb-core]
  [e0dcd978] __ksymtab+0x0/0x20 [nxt6000]
  [e0dcd0f0] nxt6000_init+0x20/0x50 [nxt6000]
  [e0dcce70] nxt6000_attach+0x0/0x200 [nxt6000]
  [e0dcd070] nxt6000_detach+0x0/0x60 [nxt6000]
  [c01f5762] sys_init_module+0x652/0x6e0 [kernel]
  [e0dcd96c] .kmodtab+0x0/0xc [nxt6000]
  [e0dcc060] nxt6000_write+0x0/0xa0 [nxt6000]
  [c01e0683] system_call+0x33/0x40 [kernel]
 Code: 8a 00 25 ff 00 00 00 c1 e0 10 09 c1 8b 45 10 89 ce 81 ce 8b


EIP; e0c85d24 [bttv]bttv_i2c_sendbytes+14/1e0   =

edx; dad1be60 _end+1a8c9d39/20585f39
ebp; dad1bde0 _end+1a8c9cb9/20585f39
esp; dad1bdd4 _end+1a8c9cad/20585f39

 Trace; e0c8612b [bttv]bttv_i2c_xfer+9b/c0
 Trace; e0c92000 [bttv].data.end+45/60a5
 Trace; e0c92000 [bttv].data.end+45/60a5
 Trace; e0c92040 [bttv].data.end+85/60a5
 Trace; e0c92004 [bttv].data.end+49/60a5
 Trace; c02ecf29 i2c_transfer+39/80
 Trace; e0c92004 [bttv].data.end+49/60a5
 Trace; e0ca61a4 [dvb-bt8xx]master_xfer+34/50
 Trace; e0c92004 [bttv].data.end+49/60a5
 Trace; e0dcc269 [nxt6000]pll_write+59/a0
 Trace; e0dccf0b [nxt6000]nxt6000_attach+9b/200
 Trace; e0c9cc78 [dvb-core]try_attach_device+38/80
 Trace; e0c9cded [dvb-core]probe_device_on_all_busses+1d/30
 Trace; e0ca42e0 [dvb-core]dvb_i2c_mutex+0/20
 Trace; e0c9cfe9 [dvb-core]dvb_register_i2c_device+59/90
 Trace; e0dcd978 [nxt6000].rodata.end+c9/5d1
 Trace; e0dcd0f0 [nxt6000]nxt6000_init+20/50
 Trace; e0dcce70 [nxt6000]nxt6000_attach+0/200
 Trace; e0dcd070 [nxt6000]nxt6000_detach+0/60
 Trace; c01f5762 sys_init_module+652/6e0
 Trace; e0dcd96c [nxt6000].rodata.end+bd/5d1
 Trace; e0dcc060 [nxt6000]nxt6000_write+0/a0
 Trace; c01e0683 system_call+33/40

 Code;  e0c85d24 [bttv]bttv_i2c_sendbytes+14/1e0
  _EIP:
 Code;  e0c85d24 [bttv]bttv_i2c_sendbytes+14/1e0   =
0:   8a 00

[linux-dvb] Re: First attempt with Nebula DigiTV card

2003-12-02 Thread Brian McKerr
Clyde Stubbs wrote:

I didn't go through all your message in detail, but two things
leapt out;
Forget about the insmod script - use make install in the build-2.4
directory, then use this script:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg10969/dvb-nebula

to start and stop the card (ignore the tuner not loaded message when
you stop it).
That script, BTW, is referenced by this short HOWTO:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg10969.html

I didn't follow exactly this - I built bttv separately (but with
the patch).
The missing /dev/dvb stuff confused me too - with the 2.4 kernel, without
the DEV_FS feature (or whatever it is) you will need to manually create
the special file nodes. IIRC, there is a script in the top
level of the dvb-kernel tree that will do this for you.
For testing, you will need to use the DVB utilities - find out what
frequencies you have locally, use scan to identify the PIDS, and
tzap to test tuning. Once you've tuned something with tzap you can
use dvbstream to grab some data, and view it with mplayer.
Note: some australian channels (at least SBS in Qld) are not on the
nominal centre frequency. you should be able to get accurate frequency
information from www.dba.org.au. If you're in Brisbane, I can send
you a file with the local channel info.
Setting up the channel tables in Myth is then required, using the info
that scan got for you. This link will help (but is out of date, so
you have to ad-lib quite a bit)
http://www.hack.id.au/dvbsetup.html

I haven't worked out quite what the channel number, channel id and channel
names are for, except that the id is the key that links the channel table
with the dvb related stuff.
To get aussie program guides, try this link:

http://www.onlinetractorparts.com.au/rohbags/xmltvau/index.html

Install that BEFORE you run mythsetup. Which in the CVS is just setup/setup.

Have fun.

Clyde

 

Hey Clyde,

I'm in Brisbane and would appreciate your local channel info file please.

Can you post here please ?

Brian.



--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.


[linux-dvb] Nebula PCI - kernel 2.6 or 2.4 ?

2003-10-13 Thread Brian McKerr
G'day all,

I've just purchased a Nebula DVB-t PCI card, works a treat under windows but I'm 
having some difficulty getting it working
under linux. I'm using slackware 9.1 which has a 2.4.22 kernel, and have followed the 
HOWTO here;

http://www.linuxtv.org/mailinglists/linux-dvb/2003/07-2003/msg00530.html


This is a nice howto but, for me,  it fails to explain one key thing,  when or if you 
need to recompile the kernel ?


I suppose I'm better of asking;

Should I use a 2.6 kernel  and DVB-kernel (slackware 9.1 is 2.6 ready) or the 2.4.22 
kernel that comes as default and patch it up
according to this howto.

Any help would be greatly appreciated.


Cheers,


Brian.







--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with unsubscribe linux-dvb as 
subject.