Re: Raw sockets in jails

2010-01-25 Thread Nathan Butcher
Thanks for the link. That clears a few things up, but not quite what I'm
trying to achieve.I set the following in rc.conf for a jail called test

jail_test_flags=allow.raw_sockets

then I start the test jail with

# /etc/rc.d/jail start test

... and then I get the following cryptic response...

Configuring jails:.
Starting jails: cannot start jail test:
But it doesn't look like one.
.

... and the jail doesn't start.
What's the story there?

On 1/26/2010 12:29 AM, Adam Vande More wrote:
 2010/1/24 Nathan Butcher n-butc...@fusiongol.com
 
 I'm just curious as to whether FreeBSD8.0 can support raw sockets on
 some jails and not on others.

 I'm trying to find the jail flags to allow this to happen. Not having
 much luck.
 Any ideas?


 http://www.mail-archive.com/freebsd-j...@freebsd.org/msg00978.html
 
 


-- 
フュージョン・コミュニケーションズ株式会社 ■楽天ブロードバンド■
インターネットサービス事業部  システム技術グループ
Nathan Butcher / phone +81-50-5527-3611 / fax +81-3-5276-0665
https://secure3.gol.com/mod-pl/ols/index.cgi/?intr_id=F-2xsg6jS4u655
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Raw sockets in jails

2010-01-24 Thread Nathan Butcher
I'm just curious as to whether FreeBSD8.0 can support raw sockets on
some jails and not on others.

I'm trying to find the jail flags to allow this to happen. Not having
much luck.
Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


amd automounting daemon is unreliable

2009-08-24 Thread Nathan Butcher
I'm having some troublesome issues with filesystems mounted with amd in
FreeBSD 7.2-RELEASE

We have a backend file server wwith sharenfs attributes from ZFS
displaying NFS mountpoints to our front end machines:-

tank/export  mountpoint /export   local
tank/export  sharenfs   -maproot=0:0 server1 server2  local

and we have amd automounting directories on the backend file system

/etc/amd.d/amd.map.export:-

/defaults   type:=nfs;rhost:=wrfs;opts:=rw,vers=3,proto=udp,nodev
*   rfs=/export/files/${key}

/etc/rc.conf:-

amd_enable=YES
amd_flags=-a /.amd_mnt -l syslog /files /etc/amd.d/amd.map.export

There are a bunch of subdirectories in /files which get mounted across
the network when they are accessed on the front-end, and as a solution -
this has been working well.

...the PROBLEM is that it is unreliable. Sometimes amd hangs, and a
mounted directory - while listed in df becomes inaccessible and I get
Permission Denied errors while trying to access the mounted directory.
I'm using some monitoring on the amd process, but as it doesn't die to
trigger an alert, I have to wait until someone tells me that the
filesystem is rejecting them in order to respond tot he issue.

It also happens way too often for me to continue using this solution.
Unless I script amd to restart itself continuously in the event of a
crash... I cannot use it in a production environment.








-- 
フュージョン・ネットワークサービス株式会社 ■楽天ブロードバンド■
GOL事業部 システム技術部 ネットワーク・オペレションズ グループ
Nathan Butcher / phone +81-50-5527-3611 / fax +81-3-3262-2224
https://secure3.gol.com/mod-pl/ols/index.cgi/?intr_id=F-2xsg6jS4u655
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Detecting CPU type without dmesg

2006-03-22 Thread Nathan Butcher
Hi everyone,

Here's a curly question:- How can you detect the CPU type (make, model,
and rated speed) on a running FreeBSD server without using dmesg?

I can't shut this machine off to check BIOS messages, and neither can I
check dmesg (it seems that a pile of network dmesg logging has rotated
the kernel initialization log part off into the sunset).

Is there a way to check CPU processor make and model type at all now?
I'm starting to wish that FreeBSD would save the kernel initialization
log in a place where it couldn't get lost (sort of like /proc in Linux
but without the fanciness that entails)... or perhaps there is such a
Valhalla in FreeBSD and I can't see it for the forest?

Help much appreciated

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


Detecting CPU type without dmesg

2006-03-22 Thread Nathan Butcher
Hi everyone,

Darn it. I really should have checked the ports collection before
posting my problem.
I forgot that /usr/ports/misc/cpuid existed.

False alarm.

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


FreeBSD 5.4 RAID problems on Fujitsu RX300 hardware

2005-05-19 Thread Nathan Butcher
I'm having difficulties installing the recently released FreeBSD 5.4
(Bonto a particular Fujitsu RX300 server. According to the start up
(Bmessage, these machines use an Adaptec I2O Raid Controller.
(B
(BAs the kernel loads up from the CD before the installation screens, the
(Bkernel produces a Hard Disk related error a few times:-
(B
(Bata1-master : FAILURE ATAPI_IDENTIFY timed out
(B
(BThis is a special case as I have had no problems booting up FreeBSD 5.4
(Bon similar hardware with identical RAID and BIOS settings. The only
(Bthing different between the working and non-working servers appears to
(Bbe the hard drives. Both machines have 3 hard drives, and RAID-1 has
(Bbeen set up to use two of those drives (the third drive is a spare). The
(BRAID BIOS settings are identical on both machines with the exception
(Bbeing the size of the hard drives between them.
(B
(BNon working server:-
(BFUJITSU MAP3147NC
(BCapacity 137GB
(B
(BWorking server:-
(BFUJITSU MAP3735NC
(BCapacity 68GB
(B
(BAlso something interesting was noticed in the kernel messages (sorry, no
(Bway to get an actual logfile of this) :-
(B
(BNon working server:-
(Bmd0: Preloaded Image /boot/mfsroot 4423680bytes at 0xc09dde24
(Bata1-master : FAILURE ATAPI_IDENTIFY timed out
(B
(BWorking server:-
(Bmd0: Preloaded Image /boot/mfsroot 4423680bytes at 0xc09dde24
(Bacd0: CDROM SR244W/T02B at ata1-master PIO 4
(B
(BSo what's really going on? Is the CD-ROM drive on the non-working server
(Bhooked up the wrong way, or can't the RAID driver handle disk sizes that
(Bare too big (bigger than 120GB maybe)?
(B
(BComments? Help?
(B
(BNathan
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"