Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-10 Thread Mark Felder
On Wed, Oct 9, 2013, at 8:36, Eduardo Morras wrote:
 On Tue, 8 Oct 2013 21:32:39 -0600 (MDT)
 Mike Brown m...@skew.org wrote:
 
  alexus wrote:
   ok, I just did fetch  install and got bumped from p5 to p9
   
   # uname -a
   FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11
   19:47:58 UTC 2012
   r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
   #
   
   can I take it all the way to -p12?
  
  -p10 through -p12 probably didn't involve any kernel changes. Bumping the 
  reported patchlevel isn't considered important enough to warrant building a 
  new kernel.
 
 That there's no kernel changes doesn't mean that uname -a info is not
 updated. 

You are incorrect. The output of uname -a is taken from the kernel and
cannot be updated without installing a new kernel.

The good news is that FreeBSD 10 will ship with a new utility called
freebsd-version which will provide a better way of identifying if your
system is up to date.

From the commit message:

Introduce the /libexec/freebsd-version script, which is intended to be
used by auditing tools to determine the userland patch level when it
differs from what `uname -r` reports.  This can happen when the system
is kept up-to-date using freebsd-update and the last SA did not touch
the kernel, or when a new kernel has been installed but the system has
not yet rebooted.

http://svnweb.freebsd.org/base/head/bin/freebsd-version/


By the way, it will be /bin/freebsd-version as it has been relocated
since the import into head.
___
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


4K vs 512byte sector drives on Seagate Constellation E.2

2013-10-10 Thread aurfalien
Hi,

I've a Seagate constellation ES.2 which supports 4K sectors but diskinfo shows 
it as 512bytes;

da0 512 3000592982016   5860533168  0   0   364801  255 
63

I understand that Seagate ships these drives to be compatible with 512byte 
sectors so that older Windows OSs work on the.

But I'm unsure how to get this drive to report as having 4K sectors.

I'm really asking from a ZFS perspective as my vdevs show with an ashift of 9 
via the zdb command.

I'd rather forgo the gnop hack as I prefer a cleaner approach.

Any info or insight would be greatly appreciated.

- aurf  

___
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: Geli and ZFS

2013-10-10 Thread Terje Elde
On Oct 9, 2013, at 6:43 AM, yudi v yudi@gmail.com wrote:

 Generally, it's recommended to let ZFS manage the whole disk if possible,
 so I was wondering if the second option is better.
 I will be using couple of 3TB HDDs mirrored for data and want to encrypt
 them.

IIRC, there is/was a major performance-difference on Solaris between using ZFS 
on a partition, or a whole disk.  FreeBSD is happy with either.

The two alternatives you mentioned were:

ZFS over GELI over disk
and
ZFS over GELI over ZFS over disk

While ZFS wouldn't get the raw disk in setup #1, the left-most ZFS wouldn't get 
it in the second scenario either.

 I am hoping someone with an in-depth understanding of ZFS will be able to
 offer some insight.


What I usually do and recommend is using GPT with labels for the partitions 
you'll put GELI/ZFS on.

There's a couple of different reasons for this:

 * It'll let you create your zpool on /dev/gpt/label, which will make it easy 
to find even when the device moves (harddisk-renumbering, changes from internal 
ATA to USB enclosure… )

 * You don't run things through ZFS twice.

 * The disk is fully encrypted.

 * etc

Terje



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: copying milllions of small files and millions of dirs

2013-10-10 Thread aurfalien

On Aug 15, 2013, at 11:46 PM, Nicolas KOWALSKI wrote:

 On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
 Is there a faster way to copy files over NFS?
 
 I would use find+cpio. This handles hard links, permissions, and in case 
 of later runs, will not copy files if they already exist on the 
 destination.
 
 # cd /source/dir
 # find . | cpio -pvdm /destination/dir


Old thread I know but cpio has proven twice as fast as rsync.

Trusty ol cpio.

Gonna try cpdup next.

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


Generate higher recurring revenue with Sippy 4.0

2013-10-10 Thread Sippy Software Inc
Empowering over 7 billion minutes of capacity, worth $100 million + in annual 
revenue.

View this email in your browser 
(http://us1.campaign-archive2.com/?u=e4d36e6f46c28d475852d0327id=8c7989deb5e=a65c582268)

http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=0be3d26280e=a65c582268


** Sippy Software v.4.0

Sippy 4.0 UPGRADE now available!
http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=b36ba135ade=a65c582268


** More Performance in a Single Switch


With over 2,500 individual performance and functionality improvements, Sippy 
delivers more power to standard, off the shelf hardware!
* Over 10,000 concurrent calls - sustained!
* More than 80 million minutes per month
* Manage 300+ Calls Per Second
* More dynamic, nested routing options
* Support for LRN and LNP
* Full Intra and Inter-State Support

More details can be found in our press release,
http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=cab3f209c6e=a65c582268

http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=7bd5ebaf31e=a65c582268


** Join the Telecom Revolution

Empowering 350 global entrepreneurs with scalable softswitch solutions in more 
than 140 countries.  Sippy is delivering an estimated 7 billion minutes of 
billable voice capacity, equal to $100 million + in annual revenue.

Scalable and Sustainable

Your success is our success!  By providing 24x7 support, free training and 
consistent reinvestment in research and development, Sippy provides YOU with 
all the tools needed to achieve success!

Create a QUOTE 
(http://sippysoft.us1.list-manage1.com/track/click?u=e4d36e6f46c28d475852d0327id=25f474df4ae=a65c582268)
 and get a system quotation to meet your network requirements and budget.
**  10,000 concurrent calls is an estimate based on industry norms (5 minutes 
ALOC, 50% ASR, etc). The actual throughput will be be depend on traffic 
patterns, hardware used, network, and RTP usage


Connect and share Route and Rate details through Sippy Social Networks!
Connect and share Route and Rate details through Sippy Social Networks!
Copyright © 2013 Sippy Software, Inc., All rights reserved.
 You are receiving this email because you contacted us in the past at 
sa...@sippysoft.com.
We hate spam too - your email address was provided to us from a Request more 
information link of our www.sippysoft.com Contact us page.if you have 
received this message in error, or would like to be removed from our mailing 
list - please select unsubscribe below and you will automatically be removed 
from all future mailings!


** 
(http://sippysoft.us1.list-manage1.com/track/click?u=e4d36e6f46c28d475852d0327id=1b8b53f1fde=a65c582268)
** Like 
(http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=7231a37241e=a65c582268)
** 
(http://sippysoft.us1.list-manage2.com/track/click?u=e4d36e6f46c28d475852d0327id=bb090a8649e=a65c582268
 http%3A%2F%2Feepurl.com%2FGIzqr)
** Tweet 
(http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=9b7af079afe=a65c582268
 http%3A%2F%2Feepurl.com%2FGIzqr)
** 
(http://us1.forward-to-friend1.com/forward?u=e4d36e6f46c28d475852d0327id=8c7989deb5e=a65c582268)
** Forward to Friend 
(http://us1.forward-to-friend1.com/forward?u=e4d36e6f46c28d475852d0327id=8c7989deb5e=a65c582268)
** 
(http://sippysoft.us1.list-manage1.com/track/click?u=e4d36e6f46c28d475852d0327id=dc6791e57ce=a65c582268)
** +1 
(http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=7a3419cc73e=a65c582268)
** 
(http://sippysoft.us1.list-manage.com/track/click?u=e4d36e6f46c28d475852d0327id=a68ffdc0d9e=a65c582268)
** Share 
(http://sippysoft.us1.list-manage1.com/track/click?u=e4d36e6f46c28d475852d0327id=e2212cdd39e=a65c582268)
** unsubscribe from this list 
(http://sippysoft.us1.list-manage.com/unsubscribe?u=e4d36e6f46c28d475852d0327id=973bc099c6e=a65c582268c=8c7989deb5)
** update subscription preferences 
(http://sippysoft.us1.list-manage.com/profile?u=e4d36e6f46c28d475852d0327id=973bc099c6e=a65c582268)
___
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

The $55 Formula

2013-10-10 Thread Hassan Shareef
Last week, I had a really good, heart to heart talk with a lady that had been 
struggling in her business for a while. 
She had not made any money, people were not getting back to her, and she was 
ready to give up on the whole thing. 

I asked her if she was treating it like a job or a hobby??? 

She immediately said, she was treating it like a job, we both discovered that 
she was putting in a solid 15-20 minutes a day. 

She was doing a bunch of little things that didn't produce income for about 2-3 
hours. 

She was not really doing anything that brought in NEW prospects. 

In her mind, she was working her business for 2-3 hours a day. She was truly 
hitting the phones for about 15-20 minutes a day
and that was it.  

Even then, if we subtracted the dial time, waiting on the line, voicemails, 
etc... she was really only FULLY prospecting 5-7 minutes a day. 

I wanted to show her our opportinity  formula in Xplocial  it blew her mind, 
she immediately joined  in the next few days she 
saw a major jump in her Xplocial business.

If you too are looking for 100% commission results every week checkout 
www.residual-pay.net

Hassan Shareef
www.facebook.com/hassan.shareef.52

The Only Limits On Human Achievement Are Self-Imposed

___
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: 4K vs 512byte sector drives on Seagate Constellation E.2

2013-10-10 Thread Warren Block

On Thu, 10 Oct 2013, aurfalien wrote:


Hi,

I've a Seagate constellation ES.2 which supports 4K sectors but diskinfo shows 
it as 512bytes;

da0 512 3000592982016   5860533168  0   0   364801  255 
63

I understand that Seagate ships these drives to be compatible with 512byte 
sectors so that older Windows OSs work on the.

But I'm unsure how to get this drive to report as having 4K sectors.


It does not need to report that, as long as the partitions are aligned 
to 4K blocks.  Seagate has some auto-alignment tech that seems 
reasonably effective.  I'd still make sure the partitions are aligned.



I'm really asking from a ZFS perspective as my vdevs show with an ashift of 9 
via the zdb command.

I'd rather forgo the gnop hack as I prefer a cleaner approach.


Using gnop is the way to force ZFS to use 4K blocks at present.  And 
this does not guarantee alignment with 4K disk blocks, which must be 
accomplished with partition alignment.

___
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: copying milllions of small files and millions of dirs

2013-10-10 Thread Warren Block

On Thu, 10 Oct 2013, aurfalien wrote:



On Aug 15, 2013, at 11:46 PM, Nicolas KOWALSKI wrote:


On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:

Is there a faster way to copy files over NFS?


I would use find+cpio. This handles hard links, permissions, and in case
of later runs, will not copy files if they already exist on the
destination.

# cd /source/dir
# find . | cpio -pvdm /destination/dir



Old thread I know but cpio has proven twice as fast as rsync.

Trusty ol cpio.

Gonna try cpdup next.


Try sysutils/clone, too.
___
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


NATD: net.inet.ip.fw.default_to_accept=1 vs firewall_type=OPEN

2013-10-10 Thread Chris Stankevitz
Hello,

Handbook section 31.9 describes the setup of NAT.

Section 31.9.3 suggests net.inet.ip.fw.default_to_accept=1 during
the first attempts to setup a firewall and NAT gateway.

Section 31.9.5 suggests I specify a predefined firewall ruleset that
allows anything in with firewall_type=OPEN

Question: What is the difference between these two configurations (or
where can I go to learn the difference between the two)?

Thank you,

Chris
___
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: Why no ls on DVD or livefs.iso?

2013-10-10 Thread W. D.
At 01:58 10/6/2013, Polytropon wrote:
On Sun, 06 Oct 2013 01:29:19 -0500, W. D. wrote:
 Booted with both.  Alt-F4 to get to command line.
 
 Very limited commands: ls: not found.

Try /rescue/ls explicitely instead.



 Why?  What good are these disks if they don't have
 the most basic of commands?

Only live systems offer more than the holographic shell
when booted properly. FreeSBIE has been a very good live
system in the past, but the current installers also allow
you to drop into a working shell environment at a very
early stage (from within bsdinstall).

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall/b
sdinstall-choose-mode.png

This dialog should bring you into a working shell. I've
been using it myself for disk initialization with a
FreeBSD 9.1 CD.

Thanks, Polytropon.  I couldn't get FrieSBIE to work.
Hung up.  Used mfsBSD instead.  

Had to use 8.X because 9.X hangs.  I think it has something
to do with my PS2 mouse and keyboard.





 Trying to clone a hard disk that has an number
 of bad sectors.  Trying to save most of my data.

A good approach. If possible, try to obtain a 1:1 copy
of the disk (or partition) and work with that. Check
the mailing list archives for further inspiration.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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







Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$9.99 Domain Names - http://domains.us-webmasters.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: Why no ls on DVD or livefs.iso?

2013-10-10 Thread W. D.
At 08:47 10/6/2013, Warren Block wrote:
On Sun, 6 Oct 2013, W. D. wrote:

 Booted with both.  Alt-F4 to get to command line.

 Very limited commands: ls: not found.

 Why?  What good are these disks if they don't have
 the most basic of commands?

The emergency holographic shell was always very limited.  I suspect a 
path thing, with it looking for commands on the installed system.  Old 
bare-bones tricks like echo * help.

 Trying to clone a hard disk that has an number
 of bad sectors.  Trying to save most of my data.

 Want to use recoverdisk, but can't get the
 command line to work.

Use mfsBSD: http://mfsbsd.vx.sk/

Thanks, Warren.  MFSBSD worked for me.

Had to use 8.X because 9.X hangs.  I think it has something
to do with my PS2 mouse and keyboard.  9.X still only seems
to work with USB peripherals--or is something else going on?

I was a bit skittish using recoverdisk because I couldn't
find any explicit notation about source and target.

# clone a hard disk
 recoverdisk /dev/ad3 /dev/ad4

As it turns out, the first argument is the source and the
second is the target, as one might intuitively guess.  However,
I've been burned before by guesses, so I hope someone will
update the man pages to make this obvious.








Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$9.99 Domain Names - http://domains.us-webmasters.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: Why no ls on DVD or livefs.iso?

2013-10-10 Thread Warren Block

On Thu, 10 Oct 2013, W. D. wrote:


At 08:47 10/6/2013, Warren Block wrote:

On Sun, 6 Oct 2013, W. D. wrote:


Booted with both.  Alt-F4 to get to command line.

Very limited commands: ls: not found.

Why?  What good are these disks if they don't have
the most basic of commands?


The emergency holographic shell was always very limited.  I suspect a
path thing, with it looking for commands on the installed system.  Old
bare-bones tricks like echo * help.


Trying to clone a hard disk that has an number
of bad sectors.  Trying to save most of my data.

Want to use recoverdisk, but can't get the
command line to work.


Use mfsBSD: http://mfsbsd.vx.sk/


Thanks, Warren.  MFSBSD worked for me.

Had to use 8.X because 9.X hangs.  I think it has something
to do with my PS2 mouse and keyboard.  9.X still only seems
to work with USB peripherals--or is something else going on?

I was a bit skittish using recoverdisk because I couldn't
find any explicit notation about source and target.

   # clone a hard disk
recoverdisk /dev/ad3 /dev/ad4

As it turns out, the first argument is the source and the
second is the target, as one might intuitively guess.  However,
I've been burned before by guesses, so I hope someone will
update the man pages to make this obvious.


It says

 recoverdisk [-b bigsize] [-r readlist] [-s interval] [-w writelist]
 source [destination]

That seems pretty clear, although the text does not really explain what 
happens if the optional destination is not given.  Output to stdout 
would be the standard expectation.

___
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: mpt problem on a Supermicro motherboard (FreeBSD 9.2 amd64)

2013-10-10 Thread Victor Sudakov
Victor Sudakov wrote:
 
 I have several Supermicro-based servers with the mpt RAID adapter:
 
 # mptutil show adapter
 mpt0 Adapter:
Board Name: UNUSED
Board Assembly:
 Chip Name: C1068E
 Chip Revision: UNUSED
   RAID Levels: none
 #
 
 The problem is, I cannot configure any RAIDs (please see output
 below) from FreeBSD. If I configure volumes from BIOS setup, FreeBSD
 still sees them as separate physical discs.  What am I doing wrong? 
 
 I cannot use gmirror with these servers because a) if no MPT RAID is
 configured in BIOS setup, it cannot boot from HDD and b) if an MPT
 RAID *is* configured in BIOS setup, it occupies the last sector and
 prevents GEOM from working with these drives. 
 
 Any help please? (or redirect me to a more appropriate maillist).

After many unsuccessful trials and googling, we had to reconfigure the
adapter from RAID mode to IT mode. It required flashing the adapter's
BIOS from a Supermicro-supplied image and changing a jumper setting on
the motherboard. 

Now as the adapter is in IT mode, it is a plain HBA the BIOS can
boot from, and I have set up a gmirror on the SAS disks.

After flashing the adapter BIOS, don't forget to enter its setup
(Ctrl-C) and enable hotplugging of disks (called Removable Media
Support in the menu, off by default).

People come across similar problems and solutions on other OSes, like
http://ubuntuforums.org/archive/index.php/t-973912.html


-- 
Victor Sudakov 
Tomsk, Russia
Russian Barefoot FAQ at http://www.barefooters.ru/barefoot.txt
___
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: Why no ls on DVD or livefs.iso?

2013-10-10 Thread Polytropon
On Thu, 10 Oct 2013 21:45:58 -0500, W. D. wrote:
 Thanks, Polytropon.  I couldn't get FrieSBIE to work.

It's a rather old project, and as far as I know, it isn't
being continued anymore. It should still support at least
the CLI mode for most computers... (I have to admit that
I'm still using it, but usually on _older_ computers where
it often works flawlessly.)



 Hung up.  Used mfsBSD instead.  

Good choice. :-)



 Had to use 8.X because 9.X hangs.  I think it has something
 to do with my PS2 mouse and keyboard.

Can't imagine _that_ as a cause of OS hangs, but it might
still be a hardware compatibility or configuration problem.
If v8 works for you - no problem, it's still supported.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: NATD: net.inet.ip.fw.default_to_accept=1 vs firewall_type=OPEN

2013-10-10 Thread Michael Ross
On Fri, 11 Oct 2013 04:38:45 +0200, Chris Stankevitz  
chrisstankev...@gmail.com wrote:



Hello,

Handbook section 31.9 describes the setup of NAT.

Section 31.9.3 suggests net.inet.ip.fw.default_to_accept=1 during
the first attempts to setup a firewall and NAT gateway.

Section 31.9.5 suggests I specify a predefined firewall ruleset that
allows anything in with firewall_type=OPEN

Question: What is the difference between these two configurations (or
where can I go to learn the difference between the two)?

Thank you,

Chris


Hello,

ipfw always has one default rule, standard is

65535 deny ip from any to any

If you set net.inet.ip.fw.default_to_accept=1, you get

65535 allow ip from any to any

instead.


Specifing firewall_type=OPEN gives you an additional rule

65000 allow ip from any to any


Now, if for example you execute ``ipfw flush'', thus deleting all rules,
this deletes rule 65000, but the default rule stays in effect.
With ...default_to_accept=0 ( standard setting ) you now have disabled  
all network connections and locked yourself out if you're working remote.



HTH,
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


Re: NATD: net.inet.ip.fw.default_to_accept=1 vs firewall_type=OPEN

2013-10-10 Thread Chris Stankevitz
On Thu, Oct 10, 2013 at 8:22 PM, Michael Ross g...@ross.cx wrote:
 ipfw always has one default rule, standard is

 [snip]

 Specifing firewall_type=OPEN gives you an additional rule


Michael,

Thank you that is exactly what I am seeing.

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