Re: FreeBSD File Server with ZFS

2010-02-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18/02/2010 00:11, mailinglist wrote:
> I've got an old P4 desktop computer running in the basement with a 1 
> TB external USB drive connected to that I use as a file server. That
> PC is running XP. It has recently become infected with some sort of
> virus. I'd like to replace it with FreeBSD running ZFS + Samba (I
> need to access it from a OS X machine and a Windows 7 box).

Does your old P4 support 64-bit operation?  Does it have 2GB RAM or
more? If not, then you might want to reconsider using ZFS.  It's not
that it won't or can't be made to work given those limitations, but
you'll find it hard work to get it running stably and performing well.
UFS on the other hand will work just fine on 32bit systems and smaller
and older machines.  (The limitation with UFS is a maximum 2TB
filesystem size, but I suspect this will not cause you any practical
difficulties.)

> 1) Will FreeBSD be able to detect and use my TB hard drive as ZFS 
> disk? Right now it is only a single disk, but later on I'll and a
> second disk and setup a mirror. Even as a single disk, the
> checksumming ability would be nice.

Yes.  You can run ZFS from a single drive.  That's not where ZFS's
strengths really lie, but it's worthwhile as a learning exercise
certainly, and the zpool management stuff is cool in any case.

> 2)Assume I get everything setup in regards to step 1 and my OS disk 
> dies. How do I go about importing the ZFS external disk into another 
> FreeBSD installation?

You plug the drive in and then run 'zpool import' with appropriate
flags to tell the system to investigate the new disk and discover any
ZFS related metadata on it.  See zpool(1M) which has a long sequence on
the 'import' sub-command.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt8/cgACgkQ8Mjk52CukIx9hACgk9e3DveizS58vpO5182GIb/u
rBcAn2S67UTMGdZoaKoo8ffl5dx9cy++
=dShY
-END PGP SIGNATURE-
___
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"


NetBSD 5.0 looks cool

2010-02-18 Thread Masoom Shaikh
here is excellant intoduction to NetBSD-5.0

http://www.netbsd.org/~ad/50/img0.html

certain statements are very impressive in those slides like "Build any
NetBSD platform from any POSIX environment"
$ uname -s -m
Linux i686
$ cd netbsd-src
$ ./build.sh -m sparc64 release

develop and test 32 bits apps on 64 bit env
cc -m 32

does FreeBSD has those two features ?

also can anyone comment about locking granularity in FreeBSD kernel
___
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"


FreeBSD8.0 with AHCI

2010-02-18 Thread Valentin Bud
Hello community,

 I have an Intel server and I must activate AHCI from BIOS so I can
use all the 6 HDDs.

 Can anybody tell me if FBSD8.0 is stable using AHCI. This is the first
I have to use so I thought I'd ask the community opinion first.

Thank you,
v
-- 
network warrior since 2005
___
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"


Re: FreeBSD8.0 with AHCI

2010-02-18 Thread Vincent Hoffman
On 18/02/2010 08:54, Valentin Bud wrote:
> Hello community,
>
>  I have an Intel server and I must activate AHCI from BIOS so I can
> use all the 6 HDDs.
>
>  Can anybody tell me if FBSD8.0 is stable using AHCI. This is the first
> I have to use so I thought I'd ask the community opinion first.
>
>   
AHCI is working very well for me, you can either use the old ataahci
(part of the standard ata subsystem) or the newer ahci driver which
moves ahci into the CAM subsystem, gives ada disk devices and is being
very actively developed in STABLE/CURRENT.


Vince
> Thank you,
> v
>   

___
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"


Re: Console problem

2010-02-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18/02/2010 07:56, Jurif wrote:

> I have some problems with console (freebsd 7.2). When i press up arrow
> keyboard button to repeat previous command (history) and try to edit this
> line can't because overwrite text... Also have issue with text editor like
> emacs when type or press enter "25E" string apear again and again
> 
> All this things doesn't happen if i connect to box via SSH (pseudo
> terminal). In pseudo terminal all works perfect.

Sounds like you've got the wrong terminal type when logged in on the
console.  By default, the console uses 'cons25' although this is
frequently modified to a cons25-variant to support locales other than
US-ASCII.  Look at /etc/ttys to see what terminal type you should be
using.  Look at $TERM (and maybe $TERMCAP) in your environment to see
what you actually are using.

Unless you override the settings from your shell initialization files,
your login session will pick up the setting from ttys(5)
automatically.  Generally this works fine when logged in through a
directly attached console,but can screw up if logged in via some
console emulators or over a serial link.  Most such expect a vt100
family terminal type, or a clone of that, particularly some variant of
xterm nowadays.

If for some reason you can't get everything to agree on what the
terminal type should be, one trick is to run screen(1) or tmux(1),
which will give you an xterm type for your session.

If you really need the console to use xterm rather than cons25, then
you can setup a kernel config file and build a new kernel  kernel to
enable that.  This however is a last resort, and is hardly ever
necessary.

The difference you get when logging in via SSH is that it is the local
terminal type on the system you're logging in from that gets used.
Again, this should be handled automatically, and so long as /etc/termcap
has a suitable entry, things will just work.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt9CAYACgkQ8Mjk52CukIyy4QCfX/R07952t3bxRCWPGxLVx+//
4PoAn2BKhQsLpEdIbHIMhAhwZd19EpMF
=qb1V
-END PGP SIGNATURE-
___
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"


Mount a Microsoft .vhd file

2010-02-18 Thread Patrick Collins
Hello,

Is there a utility which would allow me to mount a Microsoft .vhd disk image
file with FreeBSD 8.0-RELEASE. I want to mount and read a Windows 7 image
backup.

Thanks.

Patrick Collins
+61 419 712 581
___
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"


Re: NetBSD 5.0 looks cool

2010-02-18 Thread Giorgos Keramidas
On Thu, 18 Feb 2010 14:09:54 +0530, Masoom Shaikh  
wrote:
> here is excellant intoduction to NetBSD-5.0
>
> http://www.netbsd.org/~ad/50/img0.html
>
> certain statements are very impressive in those slides like "Build any
> NetBSD platform from any POSIX environment"
> $ uname -s -m
> Linux i686
> $ cd netbsd-src
> $ ./build.sh -m sparc64 release
>
> develop and test 32 bits apps on 64 bit env
> cc -m 32
>
> does FreeBSD has those two features ?

NetBSD needs a *very* minimal set of POSIX tools to build, e.g. you can
get away with an sh(1) utility and a pretty basic make(1) tool.  They
have really done a magnificent job at constructing a build system that
can bootstrap itself from a tiny set of build tools.

FreeBSD also has _some_ of the necessary build glue to do similar sort
of stuff, but AFAIK we only support cross-building from one FreeBSD
architecture to another FreeBSD architecture.  So you need to have at
least *some* version of FreeBSD to build another.

___
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"


Re: Unable to build kdelibs3

2010-02-18 Thread Carmel
On Wed, 17 Feb 2010 17:51:12 -0600
Adam Vande More  articulated:

> I hope you find a better solution, but mine was to pkg_delete * and
> rebuild.

That is the same advice I have been given on other forums also.

I will probably follow the same avenue that a colleague of mine did and
abandon FBSD until version 8.1 is released and then simply dump the
entire system and install the newer version. Then again, maybe I will
just wait until the updated version of KDE is released so as to
eliminate the hassle of updating a vast number of libraries, etc and
again experiencing another system failure. I have all ready invested way
too much time on this problem. This was the worst update I have
experienced in seven years with FBSD.

--

Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

"A computer once beat me at chess, but it was no match for me at kick boxing."

Emo Philips

___
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"


FreeBSD8.0 on IBM BladeCenter S 8886

2010-02-18 Thread Valentin Bud
Hello community,

 Does anyone have a working setup of FBSD (preferably 8.0) on
an IBM BladeCenter S 8886? Do you think it would work?

 Google is short on answers on this matter.

Thank you,
v
-- 
network warrior since 2005
___
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"


Re: Unable to build kdelibs3

2010-02-18 Thread Adam Vande More
On Thu, Feb 18, 2010 at 5:18 AM, Carmel  wrote:

> That is the same advice I have been given on other forums also.
>
> I will probably follow the same avenue that a colleague of mine did and
> abandon FBSD until version 8.1 is released and then simply dump the
> entire system and install the newer version. Then again, maybe I will
> just wait until the updated version of KDE is released so as to
> eliminate the hassle of updating a vast number of libraries, etc and
> again experiencing another system failure. I have all ready invested way
> too much time on this problem. This was the worst update I have
> experienced in seven years with FBSD.
>

FWIW, the last libjpeg update was no peach for me either, but for all the
pains I still think the ports system is superior to other OS's sw
management.   Sometimes the debian respository is a large WTF, and that's
the good one.  Also I posted a script a few days ago that will create a
backup of all currently installed packages.  Useful in a situation like
yours so you could revert to known good set of pkg's until you have time to
deal with the full upgrade.



-- 
Adam Vande More
___
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"


RE: Can't boot off the USB image

2010-02-18 Thread Peter Steele
We boot off USB disks all the time without issues. As long as the disk is 
listed first in the BIOS and it's a proper FBSD image, it works fine...

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Fbsd1
Sent: Wednesday, February 17, 2010 11:17 PM
To: rocwhite168
Cc: freebsd-questions@freebsd.org
Subject: Re: Can't boot off the USB image

rocwhite168 wrote:
> My computers (Dell SX280 PCs or Dell D600 laptop) seem
 >to refuse to boot off the USB disk with non-Windows images are  >written to 
 >it (I have also tried OpenSolaris images).
 >I've tried using dd to write the .img files, or using unetbootin to  >write 
 >either .img or .iso images, or using UltraISO to write the iso  >files to my 
 >USB disk, but all the methods failed. But if the image was  >a Windows boot 
 >disk, it did work. Does anyone know what the problem  >could be? Is it simply 
 >because the computers are to old? Or do I  >have to do anything special for 
 >the FreeBSD images to make the  >computers boot off a USB device?
> 
> 
> Thank you very much!
> ___
>

When you say USB disk, you do mean an USB cabled external disk hard 
drive correct? That being the case, you have to download the FreeBSD 
disc1.iso file and burn it to a cdrom disk and then boot off that to 
start the sysinstall process to populate your USB cabled external disk 
hard drive with the FreeBSD operating system. Reading the FreeBSD manual 
on the install process or the Freebsd install guide should help you a lot.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
or
http://www.a1poweruser.com


Now if on the other hand you are really talking about a (USB memory 
stick, flash drive, key disk, stick disk, or pen) which all mean the 
same thing, then you should read this article "Everything you want to 
know about Installing FreeBSD on a USB stick" 
http://www.a1poweruser.com/30.00-USB_installing_article.php

If none of this helps you then repost with an more detailed description 
of just what you did and what the result was.



___
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"
___
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"


8.0 and freebsd-doc native languages

2010-02-18 Thread n dhert
I installed a new 8.0 from the DVD and the ports collection.
Did a portsnap update, pkg_version -vIL reported 21 ports to upgrade of
which 19
XX-freebsd-doc-20100213  (XX = two letters identifying a native language)
I throught this would just install preformatted files, so started the 21
ports
upgrade.  Now this is running already for over 4 hours... and installed at
least
a 100 other dependent packages.

Why does 8.0 insist on having all these native language docs (which most
users
do not need) ? In 7.2 install this did not happen.
Can I safely remove all the other XX-freebsd.doc (except en-freebsd-doc),
packages?
___
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"


Re: NetBSD 5.0 looks cool

2010-02-18 Thread Abdullah Ibn Hamad Al-Marri

Hi,


- Original Message 
> From: Giorgos Keramidas 
> To: Masoom Shaikh 
> Cc: freebsd-questions 
> Sent: Thu, February 18, 2010 1:36:30 PM
> Subject: Re: NetBSD 5.0 looks cool
> 
> On Thu, 18 Feb 2010 14:09:54 +0530, Masoom Shaikh 
> wrote:
> > here is excellant intoduction to NetBSD-5.0
> >
> > http://www.netbsd.org/~ad/50/img0.html
> >
> > certain statements are very impressive in those slides like "Build any
> > NetBSD platform from any POSIX environment"
> > $ uname -s -m
> > Linux i686
> > $ cd netbsd-src
> > $ ./build.sh -m sparc64 release
> >
> > develop and test 32 bits apps on 64 bit env
> > cc -m 32
> >
> > does FreeBSD has those two features ?
> 
> NetBSD needs a *very* minimal set of POSIX tools to build, e.g. you can
> get away with an sh(1) utility and a pretty basic make(1) tool.  They
> have really done a magnificent job at constructing a build system that
> can bootstrap itself from a tiny set of build tools.
> 
> FreeBSD also has _some_ of the necessary build glue to do similar sort
> of stuff, but AFAIK we only support cross-building from one FreeBSD
> architecture to another FreeBSD architecture.  So you need to have at
> least *some* version of FreeBSD to build another.

How about these bench vs FreeBSD?!

http://www.netbsd.org/~ad/50/img11.html

http://www.netbsd.org/~ad/50/img13.html

http://www.netbsd.org/~ad/50/img15.html



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/



  
___
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"


Mouse not working on virtual box VM

2010-02-18 Thread mailinglist
I've successfully got X Windows up and running on a Virtual Box VM on FreeBSD 
8, however it isn't detecting my mouse.  Any idea on how I can make that 
happen?  As far as I know, there are no guest addition for virtual box for 
FreeBSD..of course that's assuming that would even help.  It might not.
___
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"


Re: FreeBSD File Server with ZFS

2010-02-18 Thread mailinglist
-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Does your old P4 support 64-bit operation?  Does it have 2GB RAM or more? If 
not, then you might want to reconsider using ZFS.  It's not that it won't or 
can't be made to work given those limitations, but you'll find it hard work to 
get it running stably and performing well.

UFS on the other hand will work just fine on 32bit systems and smaller and 
older machines.  (The limitation with UFS is a maximum 2TB filesystem size, but 
I suspect this will not cause you any practical

difficulties.)



  Cheers,



  Matthew



I'm not sure if my box supports 64 bit OSes or not, I'll have to look into 
that.  I know for a fact it doesnt have 3+ GB of RAM.  At most it'll have 2 
GBat least RAM for that old beast should be cheap!  :-)
___
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"


Re: Mouse not working on virtual box VM

2010-02-18 Thread Adam Vande More
On Thu, Feb 18, 2010 at 10:08 AM, mailinglist  wrote:

> I've successfully got X Windows up and running on a Virtual Box VM on
> FreeBSD 8, however it isn't detecting my mouse.  Any idea on how I can make
> that happen?  As far as I know, there are no guest addition for virtual box
> for FreeBSD..of course that's assuming that would even help.  It might
> not.
> ___
> 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"
>

Mouse for freebsd guest works fine here.  There is a guest additions for a
freebsd guest, see the docs.

http://wiki.freebsd.org/VirtualBox

You also need to setup the guest as you would a dedicated host if you wanted
the physical host to have mouse support.

http://www.freebsd.org/doc/handbook/install-post.html
http://www.freebsd.org/doc/handbook/x-config.html

-- 
Adam Vande More
___
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"


to KASSERT || !KASSERT

2010-02-18 Thread Ben Widawsky
I'm trying to decide whether or not to leave invariants turned on for
a production system. The target system will be an embedded device
where performance is already at a premium. I would have a mechanism to
remotely obtain panic information after an assertion failed.

I'm primarily interested in performance implications (has anyone done
any benchmarks?), and are invariants worth the cost?

Opinions on whether or not invariants should ever be left in
production code are also welcome.

Ben
___
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"


panic: No BIOS smap info from loader:

2010-02-18 Thread Michael T Ehlert

I get the message:

panic: No BIOS smap info from loader:

When trying to boot amd64 on my server. It has an Intel s5000vcl board 
w/ a 5000v mem controller and 6321esb i/o controller.


I'd really like to move from Debian to FreeBSD on this box, but have not 
been able to find a workaround.


Thanks
Michael
___
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"


User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
I am using the non-ports version of Apache. I downloaded 2.2.14 from
http://httpd.apache.org/download.cgi#apache22 just a little while ago. I
compiled, installed, got it running with minimal fuss. The issue is with
my user directories (e.g. $HOME/public_html ). I uncommented the line to
include the userdir conf file in the main configuration and started
apache. I get the "It Works" from 127.0.0.1 (this is purely for local
testing). When I go to 127.0.0.1/~username/ I get 403 Forbidden. I've
adjusted some of the settings in the userdir conf (instead of it
pointing to /home/*/public_html as is the default I switched it to
/usr/home/*/public_html) and I still get the same message. I returned
the userdir.conf file to it's default settings (except for the path to
user dirs) with no luck. Included below is the default setup that was
installed with Apache (I enabled the settings to install the local
manual and that pulls up just fine, nothing in it points to a solution
to this issue) for the userdir conf file.


AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all




Am I just having a case of the stupids here? It has been a few years
since I've managed Apache even for local testing. I've also adjusted the
permissions for that directory with no change. Also, the log files show
Apache going to /home/*/public_html instead of /usr/home/*/public_html,
basically ignoring the settings I gave it.

I've posted to the Apache mailing list with absolutely no help (and the
claim that I changed the location of $HOME)
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.





signature.asc
Description: OpenPGP digital signature


Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Chuck Swiger
Hi--

On Feb 18, 2010, at 11:10 AM, Programmer In Training wrote:
> Am I just having a case of the stupids here? It has been a few years
> since I've managed Apache even for local testing. I've also adjusted the
> permissions for that directory with no change. Also, the log files show
> Apache going to /home/*/public_html instead of /usr/home/*/public_html,
> basically ignoring the settings I gave it.

Apache is going to look up the home directories specified in /etc/passwd via 
getpwent() or similar.  If allowed, it would chase a symlink from /home to 
under /usr/home, but SymLinksIfOwnerMatch is likely to matter here.

You should be getting more useful information in the Apache error log...perhaps 
/var/log/httpd-error.log, depending on whether you used the Apache from ports 
or rolled your own.

Regards,
-- 
-Chuck

___
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"


Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
On 02/18/10 13:21, Chuck Swiger wrote:

> Apache is going to look up the home directories specified in
> /etc/passwd via getpwent() or similar.  If allowed, it would chase a

Then it shouldn't even bother with having a setting for specifying the
path to user directories (or at least that behavior should be documented).

> symlink from /home to under /usr/home, but SymLinksIfOwnerMatch is
> likely to matter here.

See, now that's helpful. Thank you. No one suggested that. Will add it
and see if that changes anything.

> You should be getting more useful information in the Apache error
> log...perhaps /var/log/httpd-error.log, depending on whether you used
> the Apache from ports or rolled your own.
> 
> Regards,

I rolled my own because I couldn't even get Apache from ports to start
with the default http.conf file provided.

I think the log level is set to warn, I'll chase that down, too. More
useful information is good.

Thank you so much for the help. This has been bothering me for almost a
two weeks now.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: Can't boot off the USB image

2010-02-18 Thread rocwhite168
Sorry for the ambiguity, but I meant the flash drive... While I waited
for responses from the mailing list last night, I kept on searching
the Internet for possible solutions, and finally solved the problem by
first cleaning the the flash drive: dd if=/dev/zero of=/dev/sdb bs=1k
count=1, then writing the image to it.

Thanks for your information anyway! And I'll read the article later.
Sorry to everyone if I raised a possibly repeated question!

rocwhite168

2010/2/18 Fbsd1 :
> rocwhite168 wrote:
>>
>> My computers (Dell SX280 PCs or Dell D600 laptop) seem
>
>>to refuse to boot off the USB disk with non-Windows images are
>>written to it (I have also tried OpenSolaris images).
>>I've tried using dd to write the .img files, or using unetbootin to
>>write either .img or .iso images, or using UltraISO to write the iso
>>files to my USB disk, but all the methods failed. But if the image was >a
>> Windows boot disk, it did work. Does anyone know what the problem >could be?
>> Is it simply because the computers are to old? Or do I
>>have to do anything special for the FreeBSD images to make the >computers
>> boot off a USB device?
>>
>>
>> Thank you very much!
>> ___
>>
>
> When you say USB disk, you do mean an USB cabled external disk hard drive
> correct? That being the case, you have to download the FreeBSD disc1.iso
> file and burn it to a cdrom disk and then boot off that to start the
> sysinstall process to populate your USB cabled external disk hard drive with
> the FreeBSD operating system. Reading the FreeBSD manual on the install
> process or the Freebsd install guide should help you a lot.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
> or
> http://www.a1poweruser.com
>
>
> Now if on the other hand you are really talking about a (USB memory stick,
> flash drive, key disk, stick disk, or pen) which all mean the same thing,
> then you should read this article "Everything you want to know about
> Installing FreeBSD on a USB stick"
> http://www.a1poweruser.com/30.00-USB_installing_article.php
>
> If none of this helps you then repost with an more detailed description of
> just what you did and what the result was.
>
>
>
>
___
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"


Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Chuck Swiger
Hi--

On Feb 18, 2010, at 11:31 AM, Programmer In Training wrote:
> On 02/18/10 13:21, Chuck Swiger wrote:
> 
>> Apache is going to look up the home directories specified in
>> /etc/passwd via getpwent() or similar.  If allowed, it would chase a
> 
> Then it shouldn't even bother with having a setting for specifying the
> path to user directories (or at least that behavior should be documented).

Whether the path to user home directories is honored or whether Apache goes 
somewhere else for HTTP requests for /~user/foo.html depends on what you set 
UserDir to:

  http://httpd.apache.org/docs/2.2/mod/mod_userdir.html

It's possible that using:

  UserDir /usr/home/*/public_html

will do better, if that is the actual path being used.

>> symlink from /home to under /usr/home, but SymLinksIfOwnerMatch is
>> likely to matter here.
> 
> See, now that's helpful. Thank you. No one suggested that. Will add it
> and see if that changes anything.

I suspect you already have it, according to what you'd shown in the prior mail. 
 Using FollowSymLinks instead might be necessary depending on what you do with 
UserDir.
 
>> You should be getting more useful information in the Apache error
>> log...perhaps /var/log/httpd-error.log, depending on whether you used
>> the Apache from ports or rolled your own.
>> 
>> Regards,
> 
> I rolled my own because I couldn't even get Apache from ports to start
> with the default http.conf file provided.

Hmm, unexpected.  What did apachectl configtest say?

> I think the log level is set to warn, I'll chase that down, too. More
> useful information is good.
> 
> Thank you so much for the help. This has been bothering me for almost a
> two weeks now.

You're most welcome...

Regards,
-- 
-Chuck

___
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"


Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
On 02/18/10 13:46, Chuck Swiger wrote:

> Whether the path to user home directories is honored or whether
> Apache goes somewhere else for HTTP requests for /~user/foo.html
> depends on what you set UserDir to:
> 
> http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
> 
> It's possible that using:
> 
> UserDir /usr/home/*/public_html
> 
> will do better, if that is the actual path being used.

That's what I have it set to and it isn't honoring that. That's part of
what is bothering me (and what I suspect the issue might be).

>> See, now that's helpful. Thank you. No one suggested that. Will add
>> it and see if that changes anything.
> 
> I suspect you already have it, according to what you'd shown in the
> prior mail.  Using FollowSymLinks instead might be necessary
> depending on what you do with UserDir.

I did, but now I have both in the httpd-userdir.conf to no avail, same
with main conf.


>> I rolled my own because I couldn't even get Apache from ports to
>> start with the default http.conf file provided.
> 
> Hmm, unexpected.  What did apachectl configtest say?


I don't remember, but I was so frustrated I wasn't really paying that
much attention (it's been a month since I tried ports Apache).


Alright, here is the errors I'm getting (I set the loglevel to debug
instead of just warn):

[Thu Feb 18 14:01:01 2010] [notice] Apache/2.2.14 (Unix) configured --
resuming normal operations
[Thu Feb 18 14:01:01 2010] [info] Server built: Feb 13 2010 06:46:20
[Thu Feb 18 14:01:01 2010] [debug] prefork.c(1013): AcceptMutex: flock
(default: flock) <--- not sure what that is all about
[Thu Feb 18 14:01:08 2010] [error] [client 127.0.0.1] client denied by
server configuration: /home/user1/public_html
[Thu Feb 18 14:01:10 2010] [error] [client 127.0.0.1] client denied by
server configuration: /home/user1/public_html

UserDir file configuration:

UserDir disabled
UserDir enabled user1 user2
^<--- Those options as per the UserDir section in the manual, just
added them not two minutes before typing this out
UserDir public_html

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#

AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch
IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all




This really stinks. Is Apache 1.13 available? I don't remember having
these problems with it.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


HP DV4-2153 laptop

2010-02-18 Thread Neil Short
problem: 7.2-Release doesn't detect either network device.

Just picked up a HP DV4-2153 laptop from Costco. I don't know how new it is; 
but it may be fairly new. In the store I was able to determine the wireless 
device to be Atheros. I don't know what the wired device is. I never booted 
WinD'OH!s on the machine. I just loaded it up with FreeBSD 7.2-R.

Anyway:
1) Has anybody had success with this particular laptop?
2) Are there any tricks for determining the network devices? I tried 
kldload-ing every network device and had no luck.

==

 "What did you do?" the man holding the flashlight asked.

 "I put down a spider," he said, wondering why the man didn't see; in the beam 
of yellow light the spider bloated up larger than life. "So it could get away."


  

___
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"


Re: HP DV4-2153 laptop

2010-02-18 Thread Outback Dingo
Possible being an N chip its the newer ath9k which i had a similiar problem
under linux, but finally after getting the ath9k module loaded i could see a
card was there, then a simple ifconfig wlan0 up and iwconfig wlan0 power
auto under linux got it live. so id suspect something comparable to
FreeBSD would work, provided theres a drive which i believe there is might
also work for you

On Thu, Feb 18, 2010 at 3:18 PM, Neil Short  wrote:

> problem: 7.2-Release doesn't detect either network device.
>
> Just picked up a HP DV4-2153 laptop from Costco. I don't know how new it
> is; but it may be fairly new. In the store I was able to determine the
> wireless device to be Atheros. I don't know what the wired device is. I
> never booted WinD'OH!s on the machine. I just loaded it up with FreeBSD
> 7.2-R.
>
> Anyway:
> 1) Has anybody had success with this particular laptop?
> 2) Are there any tricks for determining the network devices? I tried
> kldload-ing every network device and had no luck.
>
> ==
>
>  "What did you do?" the man holding the flashlight asked.
>
>  "I put down a spider," he said, wondering why the man didn't see; in the
> beam of yellow light the spider bloated up larger than life. "So it could
> get away."
>
>
>
>
> ___
> 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"
>
___
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"


Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
On 02/18/10 14:54, Craig Whipp wrote:

> What are the permissions for your $HOME and $HOME/public_html?  The user
> that apache is running as must be able read from these directories.
> 
> - Craig

drwxr-xr-x  49 user1  user1  1536 Feb 18 14:31 user1/
drwxr-xr-x  18 user1  user1   2560 Feb 14 09:25 public_html/

Possibly not the most secure permissions but I don't remember the
default (I think it's 644).

Apache runs as user:group deamon:daemon

Trying to su in from root as daemon returns the following:

su - daemon
This account is currently not available.

user and group do exist (quadruple verified).
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


is there a tool for estimating loss rates

2010-02-18 Thread Yavuz Maşlak
I have 2 leasedlines for internet. the one is in a country. other one is in 
a another country.

I am looking for a tool for estimating loss packets between 2 lines.
is there a tool for it?
for instance , while searching, I found badabing tool for that. But I 
couldn't understand how it estimates loss packets.

could you give me an example?


Thanks 


___
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"


Re: RTL8192SE WLAN

2010-02-18 Thread Anselm Strauss

On Feb 17, 2010, at 23:36 , Paul B Mahol wrote:

> On 2/17/10, Anselm Strauss  wrote:
>> On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:
>> I use 8.0. Here is the script of what I did to manually setup the card:
>> 
>> Script started on Wed Feb 17 21:33:08 2010
>> [r...@thor ~]# kldload rtl8192se_sys
>> [r...@thor ~]# ifconfig ndis0
>> ndis0: flags=8802 metric 0 mtu 2290
>>  ether 00:25:d3:93:50:c8
>>  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>  status: no carrier
>> [r...@thor ~]# ifconfig ndis0 list caps
> 
> That is net80211 (funny) problem.
>> ifconfig: unable to get device capabilities: Invalid argument
>> [r...@thor ~]# ifconfig wlan0 create wlandev ndis0
>> [r...@thor ~]# ifconfig wlan0
>> wlan0: flags=8802 metric 0 mtu 1500
>>  ether 00:25:d3:93:50:c8
>>  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>  status: no carrier
>>  ssid "" channel 1 (2412 Mhz 11b)
>>  country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
>>  bintval 0
>> [r...@thor ~]# ifconfig wlan0 list caps
>> drivercaps=1802303
>> cryptocaps=b
>> [r...@thor ~]# cat /etc/wpa_supplicant.conf
>> ap_scan=2
>> network={
>>  ssid="ttyv0"
>>  scan_ssid=1
>>  proto=WPA2
>>  key_mgmt=WPA-PSK
>>  pairwise=CCMP
>>  group=CCMP
>>  psk="(removed)"
>> }
>> [ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt
> 
> Not going to work, you need explicit '-D ndis' flag.
> 
> Anyway you just need this entry in rc.conf:
> 
> wlans_ndis0="wlan0"
> ifconfig_wlan0="WPA SYNCDHCP"
> wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
> 
> '-D bsd', default one, works only for wep and only in my git repo.
> 
>> 1266441009.079270: Initializing interface 'wlan0' conf
>> '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge
>> 'N/A'
>> 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' ->
>> '/etc/wpa_supplicant.conf'
>> 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
>> 1266441009.082993: ap_scan=2
>> 1266441009.083143: Line: 2 - start of a new network block
>> 1266441009.084136: ssid - hexdump_ascii(len=5):
>> 74 74 79 76 30ttyv0
>> 1266441009.084487: scan_ssid=1 (0x1)
>> 1266441009.084612: proto: 0x2
>> 1266441009.084719: key_mgmt: 0x2
>> 1266441009.084822: pairwise: 0x10
>> 1266441009.084943: group: 0x10
>> 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
>> 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
>> 1266441009.396530: Priority group 0
>> 1266441009.396561:id=0 ssid='ttyv0'
>> 1266441009.396585: Initializing interface (2) 'wlan0'
>> 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
>> 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
>> 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
>> 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
>> 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
>> 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
>> 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
> See wpa_supplicant use bsd driver.
>> 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
>> 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
>> 1266441009.400798: RSN: flushing PMKID list in the driver
>> 1266441009.400862: Setting scan request: 0 sec 10 usec
>> 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
>> 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
>> 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
>> 1266441009.434652: EAP: EAP entering state DISABLED
>> 1266441009.434765: Added interface wlan0
>> 1266441009.503454: State: DISCONNECTED -> SCANNING
>> 1266441009.503527: Trying to associate with SSID 'ttyv0'
>> 1266441009.503553: Cancelling scan request
>> 1266441009.503574: WPA: clearing own WPA/RSN IE
>> 1266441009.503593: Automatic auth_alg selection: 0x1
>> 1266441009.503624: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
>> 1266441009.503668: WPA: No WPA/RSN IE available from association info
>> 1266441009.503767: WPA: Set cipher suites based on configuration
>> 1266441009.503783: WPA: Selected cipher suites: group 16 pairwise 16
>> key_mgmt 2 proto 2
>> 1266441009.503803: WPA: clearing AP WPA IE
>> 1266441009.503821: WPA: clearing AP RSN IE
>> 1266441009.503844: WPA: using GTK CCMP
>> 1266441009.503866: WPA: using PTK CCMP
>> 1266441009.503891: WPA: using KEY_MGMT WPA-PSK
>> 1266441009.503913: WPA: Set own WPA IE default - hexdump(len=22): 30 14 01
>> 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
>> 1266441009.503962: No keys have been configured - skip key clearing
>> 1266441009.503984: wpa_driver_bsd_set_drop_unencrypted: enabled=1
>> 1266441009.504016: State: SCANNING -> ASSOCIATING
>> 1266441009.504048: wpa_driver_bsd_associate: ssid 'ttyv0' wpa ie len 22
>> pairwise 3 group 3 key mgmt 1
>> 1266441009.504104: wpa_driver_bsd_associate: set PRIVACY 1
>> ioctl[SIOCS80211,

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Jerry McAllister
On Thu, Feb 18, 2010 at 02:09:20PM -0600, Programmer In Training wrote:

> On 02/18/10 13:46, Chuck Swiger wrote:
> 
> > Whether the path to user home directories is honored or whether
> > Apache goes somewhere else for HTTP requests for /~user/foo.html
> > depends on what you set UserDir to:
> > 
> > http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
> > 
> > It's possible that using:
> > 
> > UserDir /usr/home/*/public_html
> > 
> > will do better, if that is the actual path being used.
> 
> That's what I have it set to and it isn't honoring that. That's part of
> what is bothering me (and what I suspect the issue might be).

Hmmm.  I haven't followed this thread much, so you may have dealt
with this already or specified some need I don't see here.  

Is it possible that you do not have the mod_UserDir installed?
It won't do any of this without that.   You can do:   'httpd -M'  to
list which modules are loaded.   (You may have to put the full path
on the httpd command - /usr/local/sbin/httpd  might be typical)

Is it possible that permissions somewhere along the path to the 
users' web site directories are getting in the way?  The files need
read permission and directories need read and execute permission. 


Secondly,  Although  'UserDir /usr/home/*/public_html'   appears to 
be listed as one possible syntax in that mod_userdir doc, but I never 
use it that way.

If you want Apache httpd to look in the passwd file, pull out the 
home directory string and append the value of  UserDir  on to it to 
get the path to the start of the web site then I would set UserDir
more simply, as follows.

I set it to something like:

  UserDir public_html

If you want  ~username/public_html  to be where that user's web site starts.   

Of course, the exact path spec depends on how you define the home directory. 
This assumes that /home/username  is what is entered in the /etc/passwd file.

Since the doc says the UserDir  /home/*/public_html  is an accepted 
syntax, probably the problem lies in getting the path names correct 
and getting the file and directory permissions set correctly. 

The simpler form I use would seem to me to introduce less confusion
getting the paths correct.

I think those other syntax forms are intended for use when the web 
sites are set up to start in some directory tree other than the users' 
own home directories.   This might be the case if you create space for 
a web site, but do not allow logins - so the users do not actually 
have home directories.   

Just some stabs in the dark,

jerry



> 
> >> See, now that's helpful. Thank you. No one suggested that. Will add
> >> it and see if that changes anything.
> > 
> > I suspect you already have it, according to what you'd shown in the
> > prior mail.  Using FollowSymLinks instead might be necessary
> > depending on what you do with UserDir.
> 
> I did, but now I have both in the httpd-userdir.conf to no avail, same
> with main conf.
> 
> 
> >> I rolled my own because I couldn't even get Apache from ports to
> >> start with the default http.conf file provided.
> > 
> > Hmm, unexpected.  What did apachectl configtest say?
> 
> 
> I don't remember, but I was so frustrated I wasn't really paying that
> much attention (it's been a month since I tried ports Apache).
> 
> 
> Alright, here is the errors I'm getting (I set the loglevel to debug
> instead of just warn):
> 
> [Thu Feb 18 14:01:01 2010] [notice] Apache/2.2.14 (Unix) configured --
> resuming normal operations
> [Thu Feb 18 14:01:01 2010] [info] Server built: Feb 13 2010 06:46:20
> [Thu Feb 18 14:01:01 2010] [debug] prefork.c(1013): AcceptMutex: flock
> (default: flock) <--- not sure what that is all about
> [Thu Feb 18 14:01:08 2010] [error] [client 127.0.0.1] client denied by
> server configuration: /home/user1/public_html
> [Thu Feb 18 14:01:10 2010] [error] [client 127.0.0.1] client denied by
> server configuration: /home/user1/public_html
> 
> UserDir file configuration:
> 
> UserDir disabled
> UserDir enabled user1 user2
> ^<--- Those options as per the UserDir section in the manual, just
> added them not two minutes before typing this out
> UserDir public_html
> 
> #
> # Control access to UserDir directories.  The following is an example
> # for a site where these directories are restricted to read-only.
> #
> 
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch
> IncludesNoExec
> 
> Order allow,deny
> Allow from all
> 
> 
> Order deny,allow
> Deny from all
> 
> 
> 
> 
> This really stinks. Is Apache 1.13 available? I don't remember having
> these problems with it.
> -- 
> Yours In Christ,
> 
> PIT
> Emails are not formal business letters, whatever businesses may want.
> 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail 

Re: NetBSD 5.0 looks cool

2010-02-18 Thread Mark Shroyer
On 2/18/2010 10:32 AM, Abdullah Ibn Hamad Al-Marri wrote:
> How about these bench vs FreeBSD?!
> 
> http://www.netbsd.org/~ad/50/img11.html
> 
> http://www.netbsd.org/~ad/50/img13.html
> 
> http://www.netbsd.org/~ad/50/img15.html

If those numbers are characteristic of the operating system's overall
performance, then that's a really impressive leap forward for NetBSD.

That said, I use FreeBSD mainly on small, individual servers; as we all
know, there's a lot more that goes into selecting a server OS than raw
performance numbers.  Stability, security features (like the ability to
run Apache jailed with whatever random, potentially insecure CGI or PHP
applications one must install), and ease of software installation and
maintenance are important too, and for me FreeBSD excels at these things.

But between these massive performance improvements, and its mature Xen
compatibility, and the fact that they evicted Sendmail from the base
system in favor of Postfix, NetBSD really has my attention.  (In fact
I'm setting up a VM right now so I can get a feel for how NetBSD +
pkgsrc handles as a server.)  Now if only it had jails...

-- 
Mark Shroyer
http://markshroyer.com/contact/
___
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"


Re: FreeBSD File Server with ZFS

2010-02-18 Thread Ghirai
On Thu, 18 Feb 2010 11:21:48 -0500
mailinglist  wrote:

> UFS on the other hand will work just fine on 32bit systems and
> smaller and older machines.  (The limitation with UFS is a maximum
> 2TB filesystem size, but I suspect this will not cause you any
> practical
> 
> difficulties.)

UFS2 has a maximum volume size of 1YiB (2^80 bytes).
___
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"


Options for redundant storage cluster?

2010-02-18 Thread Matthew Law
Hi,

hopefully I'm not too far out posting this question here.  It takes in a
lot of areas so I was unsure where to post it.  If it belongs on another
ML please advise and I will re-post it there.

I am researching options for a two node failover storage cluster. This is
primarily to provide shared storage (either iSCSI or NFS) for XenServer
VMs.  I am looking to get the best bang for the buck and wondering if
FreeBSD might be a good choice?

Hardware-wise we have available two identical supermicro chassis each with
16 x SAS bays and a choice of AMD or latest Xeon 5500 CPUs, together with
as many gigabit cards as we need but the budget won't stretch to faster
networking.  It would be nice to take advantage of ZFS and use two or
three 8-port SAS HBAs in each server rather than expensive hardware RAID
cards.

We don't need to store more than around 2TB but we would like to
comfortably service around a 75 - 100 VM instances (the VMs on average,
are not too I/O heavy).  Thin provisioning and snapshots would be nice,
too.

My initial thoughts were that we might be able to use ZFS, cheap LSI 8
port SAS HBAs together with a dozen or so SATA II drives and a couple of
Intel X25E SSDs to help things along.  It would be great if these boxen
could network boot, so we can use all the drive bays for storage.  I have
no idea what options exist for clustering NFS/redundancy.

I would be very grateful for any advice - especially from anyone who has
experience in the same scenario.

Thanks in advance,

Matt.

___
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"


Re: is there a tool for estimating loss rates

2010-02-18 Thread APseudoUtopia
2010/2/18 Yavuz Maşlak :
> I have 2 leasedlines for internet. the one is in a country. other one is in
> a another country.
> I am looking for a tool for estimating loss packets between 2 lines.
> is there a tool for it?
> for instance , while searching, I found badabing tool for that. But I
> couldn't understand how it estimates loss packets.
> could you give me an example?
>
>

Look into ports/net/mtr. It has a percentage of loss statistic.

http://www.bitwizard.nl/mtr/
___
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"


Re: Options for redundant storage cluster?

2010-02-18 Thread Adam Vande More
On Thu, Feb 18, 2010 at 7:00 PM, Matthew Law wrote:

> Hi,
>
> hopefully I'm not too far out posting this question here.  It takes in a
> lot of areas so I was unsure where to post it.  If it belongs on another
> ML please advise and I will re-post it there.
>
> I am researching options for a two node failover storage cluster. This is
> primarily to provide shared storage (either iSCSI or NFS) for XenServer
> VMs.  I am looking to get the best bang for the buck and wondering if
> FreeBSD might be a good choice?
>
> Hardware-wise we have available two identical supermicro chassis each with
> 16 x SAS bays and a choice of AMD or latest Xeon 5500 CPUs, together with
> as many gigabit cards as we need but the budget won't stretch to faster
> networking.  It would be nice to take advantage of ZFS and use two or
> three 8-port SAS HBAs in each server rather than expensive hardware RAID
> cards.
>
> We don't need to store more than around 2TB but we would like to
> comfortably service around a 75 - 100 VM instances (the VMs on average,
> are not too I/O heavy).  Thin provisioning and snapshots would be nice,
> too.
>
> My initial thoughts were that we might be able to use ZFS, cheap LSI 8
> port SAS HBAs together with a dozen or so SATA II drives and a couple of
> Intel X25E SSDs to help things along.  It would be great if these boxen
> could network boot, so we can use all the drive bays for storage.  I have
> no idea what options exist for clustering NFS/redundancy.
>
> I would be very grateful for any advice - especially from anyone who has
> experience in the same scenario.
>
> Thanks in advance,
>
> Matt.
>

I'd say right now ggated/ggatec + heartbeat is sort of roughly equivalent
of  DRBD and heartbeat.  I think many of us are waiting for HAST though.

http://lists.freebsd.org/pipermail/freebsd-announce/2009-October/001279.html


-- 
Adam Vande More
___
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"


Re: Options for redundant storage cluster?

2010-02-18 Thread Daniel Gerzo

On 19.2.2010 2:30, Adam Vande More wrote:
> I'd say right now ggated/ggatec + heartbeat is sort of roughly equivalent
> of  DRBD and heartbeat.  I think many of us are waiting for HAST though.
>
> 
http://lists.freebsd.org/pipermail/freebsd-announce/2009-October/001279.html


FYI, HAST was committed to head today.


--
S pozdravom / Best regards
  Daniel Gerzo, FreeBSD committer
___
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"


Re: is there a tool for estimating loss rates

2010-02-18 Thread Kurt Buff
2010/2/18 Yavuz Maşlak :
> I have 2 leasedlines for internet. the one is in a country. other one is in
> a another country.
> I am looking for a tool for estimating loss packets between 2 lines.
> is there a tool for it?
> for instance , while searching, I found badabing tool for that. But I
> couldn't understand how it estimates loss packets.
> could you give me an example?
>
>
> Thanks

smokeping or iperf perhaps? I'm not terribly familiar with either, but
they seem worth investigating.

Kurt
___
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"


Re: is there a tool for estimating loss rates

2010-02-18 Thread Olivier Nicole
Hi,

> I have 2 leasedlines for internet. the one is in a country. other one is in
> a another country.
> I am looking for a tool for estimating loss packets between 2 lines.
> is there a tool for it?
> for instance , while searching, I found badabing tool for that. But I
> couldn't understand how it estimates loss packets.
> could you give me an example?

I think that the data loss can occur at two levels: at the physical
layer, the leased line, and at the IP/TCP/UDP level.

The physical layer should be able to detect the data loss and
retransmit the data, so upper layer will not even notice that there
have been retrsnamission (except that there may be some delay).

Of course TCP will also detect when something goes wrong and
retransmit the data (UDP does not retransmit the lost data, this is
left to the application).

TCP/UDP packet loss are from end to end: from one computer to another
computer. While I presume you are more interested in the data loss
specific to the leased line (to ask your telco to improve their
service).

For IP/TCP/UDP level, there are many counters that keep a log of what
is being lost. These are accessible through SNMP.

At the leased line level, it really depends on what kind of leased
line you are using and what data the "modem" can give you. 

Best regards,

Olivier
___
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"


Re: Maximum Number of USB Mass Storage Devices

2010-02-18 Thread Patrick Collins
Thanks David. My question was specific to FreeBSD's limitations rather than
USB limitiations.

On 19/02/2010, David King  wrote:
>
> > I have a requirement to connect a large number of USB bus powered
> external
> > hard disks to a FreeBSD 8.0 system. I am talking about hundreds of them.
>
> The USB spec itself limits to 127 devices per bus, including hubs (and
> including the internal hub-like device on many busses). <
> http://en.wikipedia.org/wiki/Universal_Serial_Bus#Overview>
>
> > I am aware of the power and bus limitations and intend to use power hubs
> and
> > multiple server USB ports to overcome this issue. My question is this:
> >
> > Does FreeBSD 8.0-RELEASE have an operating system limitation on the
> number
> > of USB storage devices I can connect and mount.
> >
> > Thanks.
> >
> > Patrick Collins
>



-- 
Patrick Collins
+61 419 712 581
___
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"


Re: Maximum Number of USB Mass Storage Devices

2010-02-18 Thread David King
> I have a requirement to connect a large number of USB bus powered external
> hard disks to a FreeBSD 8.0 system. I am talking about hundreds of them.

The USB spec itself limits to 127 devices per bus, including hubs (and 
including the internal hub-like device on many busses). 


> I am aware of the power and bus limitations and intend to use power hubs and
> multiple server USB ports to overcome this issue. My question is this:
> 
> Does FreeBSD 8.0-RELEASE have an operating system limitation on the number
> of USB storage devices I can connect and mount.
> 
> Thanks.
> 
> Patrick Collins
___
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"


Re: NetBSD 5.0 looks cool

2010-02-18 Thread Masoom Shaikh
On Fri, Feb 19, 2010 at 4:00 AM, Mark Shroyer
 wrote:
>
> On 2/18/2010 10:32 AM, Abdullah Ibn Hamad Al-Marri wrote:
> > How about these bench vs FreeBSD?!
> >
> > http://www.netbsd.org/~ad/50/img11.html
> >
> > http://www.netbsd.org/~ad/50/img13.html
> >
> > http://www.netbsd.org/~ad/50/img15.html
>
> If those numbers are characteristic of the operating system's overall
> performance, then that's a really impressive leap forward for NetBSD.
>
> That said, I use FreeBSD mainly on small, individual servers; as we all
> know, there's a lot more that goes into selecting a server OS than raw
> performance numbers.  Stability, security features (like the ability to
> run Apache jailed with whatever random, potentially insecure CGI or PHP
> applications one must install), and ease of software installation and
> maintenance are important too, and for me FreeBSD excels at these things.
>
> But between these massive performance improvements, and its mature Xen
> compatibility, and the fact that they evicted Sendmail from the base
> system in favor of Postfix, NetBSD really has my attention.  (In fact
> I'm setting up a VM right now so I can get a feel for how NetBSD +
> pkgsrc handles as a server.)  Now if only it had jails...
>
> --
> Mark Shroyer
> http://markshroyer.com/contact/
> ___
> 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"

bullets on this slide are particluarly interesting
http://www.netbsd.org/~ad/50/img6.html
20 secs from boot loader to GDM prompt
4th bullet is quite not clear what "Unified kernel image for x86" means
___
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"


Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-18 Thread Lucas Wang
I tried to install Freebsd 8.0 on one of our lab machines, which is
SunFire v20z. After successfully installing it from CD, I followed the
following steps trying to update the kernel and world:

cvsup
make buildworld
make buildkernel
make installkernel
reboot
mergemaster -p
make installworld

Everything was fine until the `make installworld` process run for a while and 
then got stuck, 
after that it won't respond to Ctrl-C. When I tried to login from another tty, 
it 
doesn't respond either. I even tried installing the machine from scratch
several times, and at different times it got stuck when installing different 
libraries. 

I would really appreciate any ideas about why this could happen or how
to solve it.

Lucas

___
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"