Re: monitoring raid arrays

2006-06-19 Thread Philippe Pegon

Elliot Finley wrote:

How about monitoring the array on a Dell PowerEdge 2650?
relevant dmesg output:

FreeBSD 6.0-RELEASE-p2 #0: Mon Jan 16 12:27:14 MST 2006
aacch0:  port 0xcc00-0xccff mem 0xfccff000-0xfccf irq
30 at device 6.0 on pci5
aacch1:  port 0xc800-0xc8ff mem 0xfccfe000-0xfccfefff irq
31 at device 6.1 on pci5
aac0:  mem 0xf000-0xf7ff irq 30 at device 8.1 on
pci4
aac0: [FAST]
aac0: Adaptec Raid Controller 2.0.0-1


I don't know for aac, I don't use this controller. Have you tried with 
camcontrol or maybe with the ports /usr/ports/sysutils/aaccli ?


--
Philippe Pegon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: monitoring raid arrays

2006-06-18 Thread Philippe Pegon

Thierry Lacoste wrote:

I'm running FreeBSD 6.1 on a Compaq Proliant and a Dell PowerEdge 1800.
They have hardware raid 1 arrays controlled respectively by a Compaq 
Smart Array 532

controller and PERC 4/SC.

Here is the relevant dmesg output on the Proliant:
ciss0:  port 0x4000-0x40ff mem 
0xf7fc-0xf7ff,0xf7ef-0xf7ef3fff irq 24 at device 3.0 on pci7

[snip]
da0 at ciss0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C)

Here is the relevant dmesg output on the PowerEdge:
amr0:  mem 0xf80f-0xf80f irq 37 at 
device 5.0 on pci2

amr0: delete logical drives supported by controller
amr0:  Firmware 351S, BIOS 1.10, 64MB RAM
[snip]
amr0: delete logical drives supported by controller
amrd0:  on amr0
amrd0: 139900MB (286515200 sectors) RAID 1 (optimal)

What are my options to monitor the status of these arrays?


for ciss, you can use camcontrol (in the base system) like that:

# camcontrol inquiry da0
pass0:  Fixed Direct Access SCSI-0 device
pass0: 135.168MB/s transfers

for amr, you can use the new port /usr/ports/sysutils/amrstat like that:

# amrstat
Logical volume 0optimal (16.96 GB, RAID1)
Physical drive 0:0  online
Physical drive 0:1  online



Best regards,
Thierry.


--
Philippe Pegon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "screen" alternative

2006-01-26 Thread Philippe Pegon

Grzegorz Danecki wrote:

Hi List!

I'm running 5.4 Stable and I'm looking for something, that can let me detach
my session leaving my software running. First thought - "screen", but hey,
there is no screen package in ports collection :( Google says something that
it was removed due to high cpu utilization few releases ago. Is this true?
Are there any alternatives? Because as I can remember screen was frequently
used and highly appreciated application.

Or should I rather look for some sources instead of package? Any problems
with that?


screen is in the ports collection, but there is no binary package. You 
can install it from sources with the port :


# cd /usr/ports/sysutils/screen/
# make install

or if you use portupgrade :

portinstall screen


Many thanks in advance, You are doing great work here!

Greg Danecki


--
Philippe Pegon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ifconfig can't remove aliases

2005-12-11 Thread Philippe Pegon

oHmEr wrote:

hello,

i have a problem with ifconfig: it refuses to delete an ipv6 alias for an
incomprehensible reason. here's what i'm doing :

$ uname -a
FreeBSD homer.cload.net 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Sun Nov 27
19:01:40 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOMER 
i386

$ ifconfig dc0
dc0: flags=8843 mtu 1500
options=8
inet6 fe80::248:54ff:fe12:76fb%dc0 prefixlen 64 scopeid 0x1
inet6 2001:7a8:b138::1 prefixlen 64
inet 192.168.2.253 netmask 0xff00 broadcast 192.168.2.255
inet6 2001:7a8:b138:caca:caca:caca:caca:1 prefixlen 64
inet6 2001:7a8:b138::caca:1 prefixlen 48
ether 00:48:54:12:76:fb
media: Ethernet autoselect (100baseTX )
status: active
$ sudo ifconfig dc0 inet6 -alias 2001:7a8:b138::1
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address

other ipv6 addresses can't be removed too. is it a bug ? what can cause
this error ?


try :

$ sudo ifconfig dc0 inet6 2001:7a8:b138::1 delete

or

$ sudo ifconfig dc0 inet6 2001:7a8:b138::1 -alias

in ifconfig(8) :

SYNOPSIS
 ifconfig [-L] [-k] [-m] interface [create] [address_family] 
[address [dest_address]] [parameters]


parameters is in the end (like delete or -alias)

--
Philippe Pegon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh troubles with 6.0-STABLE

2005-11-29 Thread Philippe Pegon

Odhiambo Washington wrote:

* On 29/11/05 00:21 +0300, Wash wrote:


I use shellguard as my ssh client on my Windows box. However I see
a problem with 6.0-RELEASE, in a pattern whose solution I can't find
even in google.

On my machine which I have just updated from 5.4-STABLE -> 6.0-STABLE,
when I try to connect with shellguard, I get this:


Exception.
no matching comp found. Client zlib Server: none,[EMAIL PROTECTED]


This happens to even a box installed with clean 6.0-RELEASE.

I am stumped about this!



I hate this, but I seem to have found the answer:

Setting "Compression yes" in /etc/ssh/sshd_config seems to be the
solution.


probably an interoperability problem with the new version of openssh and 
the new "Compression delayed" option.


in /usr/src/crypto/openssh/ChangeLog :

20050726
 - (dtucker) [configure.ac] Update zlib warning message too, pointed out by
   [EMAIL PROTECTED]
 - (djm) OpenBSD CVS Sync
   - [EMAIL PROTECTED] 2005/07/19 15:32:26
 [auth-passwd.c]
 auth_usercheck(3) can return NULL, so check for that. Report from
 [EMAIL PROTECTED] ok markus@
   - [EMAIL PROTECTED] 2005/07/25 11:59:40
 [kex.c kex.h myproposal.h packet.c packet.h servconf.c session.c]
 [sshconnect2.c sshd.c sshd_config sshd_config.5]
 add a new compression method that delays compression until the user
 has been authenticated successfully and set compression to 'delayed'
 for sshd.
 this breaks older openssh clients (< 3.5) if they insist on
 compression, so you have to re-enable compression in sshd_config.
 ok djm@






-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
The giraffe you thought you offended last week is willing to be nuzzled
today.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How-to change permission on SCSI devices?

2005-05-07 Thread Philippe PEGON
regisr a écrit :
I am looking for a FAQ about dynamic devices:
In 5.3 (and 5.4..) SCSI devices nodes (/dev/pass*) are created when
discovered (at boot or when running "camcontrol rescan ... " )
How to change the permissions on the /dev/pass* ? (not manualy of
course ;-) 
OK, I can wrote a shell for this but if there is a less dirty
possibility...

you can do like this :
add this line in /etc/rc.conf :
devfs_system_ruleset="my_ruleset"
and create /etc/devfs.rules like this :
[my_ruleset=10]
add path 'pass*' mode 666
--
Philippe PEGON
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"