Re: Which of these NICs will work?

2010-09-04 Thread H.Fazaeli

 based on 10+ exprience and working with a dozen models,
I recommend intel cards:

- Intel explicitly supports freebsd.
- the cards are highly stable
- have best performance among all other cards on freebsd

and if you look for best performance, buy a card
based on 82575 or 82576 controllers.

On 9/3/2010 8:28 PM, Ryan Coleman wrote:

Any thoughts? I need/want to get a multi-port NIC for my new system but I 
haven't purchased the guts for the server yet.

http://www.newegg.com/Product/ProductList.aspx?Submit=ENEN=100010064+600013872+600016290QksAutoSuggestion=ShowDeactivatedMark=FalseConfigurator=IsNodeId=1Subcategory=27description=Ntk=CFG=SpeTabStoreType=srchInDesc=

Basically, this machine will have two external (real-world) IPs and one network 
LAN (10.0.1.0/24) address, finding three-NIC motherboards is not exactly 
possible so this is my alternative.

I'm looking for FreeBSD 7-9 support. Rather run 8.1-RELEASE (same as my other 
two machines right now).

Thanks,

Ryan

___
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


DL360 G6 Reboot

2009-11-04 Thread H.Fazaeli
On a HP DL360 G6 freebsd 6.4-RELEASE installs but reboots right before 
login prompt.

7.2 installs and works fine but unfortunately I can not use 7.2 due to
some restrictions.
Any hints?

--

Best regards.
Hooman Fazaeli




___
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: reread newsyslog.conf without reboot

2009-02-14 Thread H.fazaeli


newsyslog.conf is read by newsyslog(8) and newsyslog is executed by cron(8)
as specified in /etc/crontab, usually every hour. so you changes
will take effect the next time cron runs newsyslog.

Fbsd1 wrote:
How do I get the system to reread /etc/newsyslog.conf file with out 
rebooting the system?

___
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





--


Best regards.

Hooman Fazaeli h...@sepehrs.com
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




___
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: howto determine network device unit number? device.hints?

2009-01-15 Thread H.fazaeli

   for example, say you have 2 interface em0 and em1 which
   you like to swap their minor numbers:
   ifconfig em0 name tmp
   ifconfig em1 name em0
   ifconfig em0 name em1
   or to assign cisco-like names to you interfaces:
   ifconfig xl0 name fastEthernet0
   ifconfig em0 name gigaEthernet0
   ifconfig fastEthernet0 192.168.1.0/24
   Yony Yossef wrote:

 

  

-Original Message-
From: H.fazaeli [[1]mailto:faza...@sepehrs.com]
Sent: Wednesday, January 14, 2009 6:24 PM
To: Yony Yossef
Cc: [2]freebsd-...@freebsd.org; [3]freebsd-questi...@freebsd.org;
Eitan Shefi; Oleg Kats; Liran Liss
Subject: Re: howto determine network device unit number? device.hints?


you may not change unit numbers as they are strictly
controlled by kernel.
However, on freebsd 5.3+, you may use 'ifconfig name your-name-here'
to achieve the same affect



Sorry, I don't understand the usage of ifconfig you suggested and the effect
it will cause.
Can you please explain it?
Yony



Yony Yossef wrote:


Hi,

I would like to determine the unit number of my network cards, e.g.
make the device on pci0:16 be assigned every time with unit


number 0


and pci0:19 with unit number 1.

Is it done by /boot/device.hints?
if so, how?

My cards are:

mtn...@pci0:19:0:0: class=0x02 card=0x001715b3


chip=0x636815b3


rev=0xa0 hdr=0x00
mtn...@pci0:16:0:0: class=0x02 card=0x001715b3


chip=0x636815b3


rev=0xa0 hdr=0x00

So I've tried:

hint.mtnic.0.at=pci0:16
hint.mtnic.1.at=pci0:19

but it doesn't work. They keep switching arbitrarily.
I'm using FreeBSD 7.0.

Thanks
Yony
___
[4]freebsd-questi...@freebsd.org mailing list
[5]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to


[6]freebsd-questions-unsubscr...@freebsd.org





--


Best regards.

Hooman Fazaeli [7]h...@sepehrs.com
Sepehr S. T. Co. Ltd.

Web: [8]http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352







___
[9]freebsd-...@freebsd.org mailing list
[10]http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [11]freebsd-net-unsubscr...@freebsd.org




--


Best regards.

Hooman Fazaeli [12]h...@sepehrs.com
Sepehr S. T. Co. Ltd.

Web: [13]http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352

References

   1. mailto:faza...@sepehrs.com
   2. mailto:freebsd-...@freebsd.org
   3. mailto:freebsd-questions@freebsd.org
   4. mailto:freebsd-questions@freebsd.org
   5. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   6. mailto:freebsd-questions-unsubscr...@freebsd.org
   7. mailto:h...@sepehrs.com
   8. http://www.sepehrs.com/
   9. mailto:freebsd-...@freebsd.org
  10. http://lists.freebsd.org/mailman/listinfo/freebsd-net
  11. mailto:freebsd-net-unsubscr...@freebsd.org
  12. mailto:h...@sepehrs.com
  13. http://www.sepehrs.com/
___
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: howto determine network device unit number? device.hints?

2009-01-15 Thread H.fazaeli


Yony Yossef wrote:

Thanks for the explanation.
 
So there's no way to determine this in advance.. 
  

What do you mean by 'in advance'? Assuming a fixed hardware configuration,
when the kernel is loaded, you know all the interface names and can
rename them, i.e., in rc.local.


I must build a script that contains my own mapping between MAC addresses and
the wanted interface names and run it after each driver load, rename the
interfaces if necessary.
  

I do not quite understand your requirement. Can you please explain?
Do you need a script that works on multiple machines with different 
hardwares?



It seems quite wrong, don't you agree?
 
And how come the unit number is given an arbitrary value? Is there a good

reason for that?
 
Yony




  _  

From: H.fazaeli [mailto:faza...@sepehrs.com] 
Sent: Thursday, January 15, 2009 10:26 AM

To: Yony Yossef
Cc: freebsd-...@freebsd.org; freebsd-questions@freebsd.org
Subject: Re: howto determine network device unit number? device.hints?



for example, say you have 2 interface em0 and em1 which
you like to swap their minor numbers:

ifconfig em0 name tmp
ifconfig em1 name em0
ifconfig em0 name em1

or to assign cisco-like names to you interfaces:

ifconfig xl0 name fastEthernet0 
ifconfig em0 name gigaEthernet0 
ifconfig fastEthernet0 192.168.1.0/24



Yony Yossef wrote: 

 




  


-Original Message-

From: H.fazaeli [mailto:faza...@sepehrs.com] 


Sent: Wednesday, January 14, 2009 6:24 PM

To: Yony Yossef

Cc: freebsd-...@freebsd.org; freebsd-questions@freebsd.org; 


Eitan Shefi; Oleg Kats; Liran Liss

Subject: Re: howto determine network device unit number? device.hints?





you may not change unit numbers as they are strictly 


controlled by kernel.

However, on freebsd 5.3+, you may use 'ifconfig name your-name-here'

to achieve the same affect








Sorry, I don't understand the usage of ifconfig you suggested and the effect

it will cause.

Can you please explain it?

Yony



  


Yony Yossef wrote:




Hi,



I would like to determine the unit number of my network cards, e.g.

make the device on pci0:16 be assigned every time with unit 

  

number 0 




and pci0:19 with unit number 1.



Is it done by /boot/device.hints?

if so, how?



My cards are:



mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 

  


chip=0x636815b3




rev=0xa0 hdr=0x00

mtn...@pci0:16:0:0: class=0x02 card=0x001715b3 

  


chip=0x636815b3




rev=0xa0 hdr=0x00



So I've tried:



hint.mtnic.0.at=pci0:16

hint.mtnic.1.at=pci0:19



but it doesn't work. They keep switching arbitrarily.

I'm using FreeBSD 7.0.



Thanks

Yony

___

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
mailto:freebsd-questions-unsubscr...@freebsd.org 



  

  

  


--


Best regards.

Hooman Fazaeli h...@sepehrs.com
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




___
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: howto determine network device unit number? device.hints?

2009-01-14 Thread H.fazaeli


you may not change unit numbers as they are strictly controlled by kernel.
However, on freebsd 5.3+, you may use 'ifconfig name your-name-here'
to achieve the same affect


Yony Yossef wrote:

Hi,

I would like to determine the unit number of my network cards, e.g.
make the device on pci0:16 be assigned every time with unit number 0
and pci0:19 with unit number 1.

Is it done by /boot/device.hints?
if so, how?

My cards are:

mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 chip=0x636815b3
rev=0xa0 hdr=0x00
mtn...@pci0:16:0:0: class=0x02 card=0x001715b3 chip=0x636815b3
rev=0xa0 hdr=0x00

So I've tried:

hint.mtnic.0.at=pci0:16
hint.mtnic.1.at=pci0:19

but it doesn't work. They keep switching arbitrarily.
I'm using FreeBSD 7.0.

Thanks
Yony
___
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


  


--


Best regards.

Hooman Fazaeli h...@sepehrs.com
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




___
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: UFS2 limits

2008-11-09 Thread H.fazaeli

   The number of files and sub-directories is limited by the number
   of available inodes which is fixed at the time you create the
   file system (by -i argument to newfs(8)). Anyway, stick with
   Jeremy's advise if you do not like trouble.
   Jeremy Chadwick wrote:

On Sun, Nov 09, 2008 at 01:40:51AM +, [EMAIL PROTECTED] wrote:


Hi,
I have a FreeBSD server that has about 10,500 subdirectories within a single
directory.
This number will keep rising and I assume UFS2 has a limit to the number of
sub-directories in a single directory - can anyone tell me what it is?


As far as I know, there is no such limit on the number of files/dirs
inside of a directory.

I don't want to change the topic of discussion, but I *highly* recommend
you ***stop*** whatever it is you're doing that is creating such a
directory structure.  Software which has to iterate through that
directory using opendir() and readdir() will get slower and slower as
time goes on.

If this is something you've written or have control over or can work
with engineers in regards to, I recommend you change your directory
naming scheme to have separate subdirectories with the first 2 or 3
letters of the directory you wish to create.  E.g.:

/some/place/00/00ilikezeros/*
/some/place/01/01binaryheaven/*
/some/place/aa/aardvarks/*
/some/place/ab/abuse/*
/some/place/ac/actuary/*
...
/some/place/xy/xylophones/*

You get the point.

Traversing this structure is much more efficient, and requires very
little code change on your part.  Those who run nameservers that host
many zones, for example, use this structure to ensure the daemon doesn't
take 32498231 years to start up.



What about ZFS?

At some point I'll have to re-arrange things so that I have a deeper directory
structure, just wondering when I'll hit the limit so I can plan in advance :-)


What baffles me is why you're looking at this problem from a  how can
the filesystem solve this engineering mistake I made for me standpoint,
rather than how can I solve this engineering mistake I made so that it
doesn't impact the filesystem.  Very strange.  Sometimes looking at
things in a different light makes all the difference.

Hope this helps.

P.S. -- I hope this mail makes it to you, because your From line is
[EMAIL PROTECTED] (I'll be surprised if your account name really is
that!).



--


Best regards.

Hooman Fazaeli [3][EMAIL PROTECTED]
Sepehr S. T. Co. Ltd.

Web: [4]http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352

References

   1. mailto:[EMAIL PROTECTED]
   2. mailto:[EMAIL PROTECTED]
   3. mailto:[EMAIL PROTECTED]
   4. http://www.sepehrs.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP DL servers

2008-10-05 Thread H.fazaeli


HP servers usually have NICs with broadcom or intel chipsets which are 
recognized

as bge and em under freebsd and work great.

We have the following configurations and they work fine:

- freebsd 6.3 on dl320G5 with on-board broadcom network chipset and SATA 
HDDs. We had

 problems with hardware RAID and used geom to impl. RAID functionality.

- freebsd 6.3 on dl380G5 with SAS HDDs. Hardware RAID controller is 
recognized by 6.3

 and works.


Ludovit Koren wrote:

Hi,

I would like to buy HP servers DL 320 G5p or DL 360 G5p. I googled but
did not find clear answer if the NICs and disk controllers are
supported in FreeBSD 7.x. I read about some problems with NIC in DL
360 but it was not actual and I am not sure about disk controller
in DL 320.

Any personal recommendations and experience with the servers are
welcomed. 


Thank you very much in advance.

Regards,

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


  


--


Best regards.

Hooman Fazaeli [EMAIL PROTECTED]
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




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


Re: Mystical Server Shutdown.

2008-09-18 Thread H.fazaeli


If you applied all the Matthew's suggestions and it is still a
mystery, and if server's shutdown is clean, look for a
a (buggy) user land process that sends SIGUSR2 signal
to init(1).


Matthew Seaman wrote:

Grant Peel wrote:

Hi all,

I started getting watchmouse errors about on pf my servers not 
responding. There is a DRAC on the machine, and the sensor data was 
all good. When I got the machine back up and running, I seen this in 
lastlog:


client1 ftp  hostname1here  Wed Sep 17 17:02 - shutdown  
(00:46)
client2 ftp  hostname2here  Wed Sep 17 17:02 - shutdown  
(00:46)
client2 ftp  hostname2here  Wed Sep 17 17:02 - shutdown  
(00:46)
client3 ftp  hostname3here  Wed Sep 17 17:01 - 17:06  
(00:04)



Should I be worried about seeing 'shutdown' in an ftp line of last?


That just means the ftp user was still logged in at the time the
system shut down.

If not, how would you suggest I find the process or program that 
issued the shutdown command?


Read the system logs, basically.  /var/log/messages or /var/log/all.log
(if you've enabled it).  The shutdown(8) command will always write
syslog messages when invoked.  halt(8) or reboot(8) will write a 
'shutdown'

record into wtmp (ie. look at 'last shutdown') but don't log anything
to syslog.

However, you're quite likely to find that there is nothing in the log
or wtmp files to explain what happened.  All this means is that the
system went down suddenly -- perhaps power dropped out momentarily, or
a thermal cutout tripped or the system panic'd for one of any number 
of reasons.  You'ld be able to detect log file traces showing fsck(8)
being run on the root f/s following any of those sort of unclean 
shutdowns, and if the system panic'd then you may well have a core 
dump sitting in /var/db/crash -- depends whether you've enabled that 
functionality or not.


Cheers,

Matthew



--


Best regards.

Hooman Fazaeli [EMAIL PROTECTED]
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




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


SMP questions

2008-08-28 Thread H.fazaeli


Hi all,
I have 3 questions regrading SMP on freebsd 6.x:

1. Is there any userland tool/api to bound a process to a specific cpu?
2. Is there any way to force UP operation apart form recompiling kernel
  without SMP option?
3. Can someone shed some light on the logic of how schedulers (4.4.BSD/ULE)
  dispatch processes among CPUs?






--


Best regards.

Hooman Fazaeli [EMAIL PROTECTED]
Sepehr S. T. Co. Ltd.

Web: http://www.sepehrs.com
Tel: (9821)88975701-2
Fax: (9821)88983352




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