Re: USB 3 / eSATA support

2012-02-14 Thread Dean E. Weimer


I think for now I am going to build FreeBSD VM on my windows box and
dedicate it to running Bacula Director and Storage Daemon, I was able
to get a 20MB sustained through put through the VMware USB emulation
copying a file from an SFTP as I had no large files on the local
system from my test FreeBSD 9 VM.  Though now I don't know why I
didn't think to just us dd from /dev/random to a file on the disk,
will likely give that a try once my new VM is built.  This will get 
me

by performance to a workable speed until I can come up with a more
permanent solution, and keep me from spending more money this month 
so

I have a little bit left to add to my savings account.


Just an update to this thread in case anyone runs into it, and thinks 
building a FreeBSD VM within VMware to run Bacula backups to a USB hard 
drive is a good idea.  It turns out that it isn't, not sure if its a 
VMware FreeBSD guest issue, or a general VMware USB issue, but the heavy 
load on the USB drive has caused several crashes of the host system.  
Which of course in turn means a hard crash of the FreeBSD virtual 
machine, complete with corrupted file systems.  It did give me some 
practice recovering lost Bacula database as I lost my whole PostgreSQL 
database due to corrupted files once.  This might work for many small 
files, backups ran OK for my web server, but backups against the FreeNAS 
server with around 200G about 100G is an iTunes library, and around 
another 20G is photos.  When hitting these bigger files with less 
overhead that allowed for more throughput to the USB device the crashes 
began to occur.


Of course, I should note this setup was done with a FreeBSD9.0-Release 
virtual machine built from source, using clang, and all ports where 
possible also built with clang.  And running open-vm-tools (these do 
fail to build with clang) as the VMware tools won't install on FreeBSD 
9.0  I am sure VMware has not done any testing with this setup yet, nor 
do I know if they ever will.  So the problem may not exist with other 
guest operating systems.


Also of note, I was originally running under a windows 7 host PC, after 
the crashes, I switched to CentOS 6 on the host, with a windows Virtual 
machine to run the applications needing windows.  The crashes still 
occur under CentOS, though a little less frequent than they did under 
windows.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.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


Re: USB 3 / eSATA support

2012-02-06 Thread RW
On Fri, 03 Feb 2012 22:49:11 -0500
Dean E. Weimer wrote:

 On 03.02.2012 21:36, RW wrote:

  Just in case you aren't aware, you don't necessarily need an eSATA
  card. You can get eSATA back-plates that plug into spare SATA
  connections on your motherboard.
  ___
  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
 
 That the board has plenty of, how does that work with removing the 
 drives?
 Does it require a reboot?


AFAIK  there's no difference between SATA and eSATA above the physical
layer. It's just cabling and some minor voltage range changes (which
are designed to work SATA to eSATA, or eSATA to eSATA).

Hot-swapping is a SATA feature supported under  AHCI. You probably
need to switch this on in the BIOS. Some legacy OSs don't support it,
so IDE is usually the default.
___
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


USB 3 / eSATA support

2012-02-03 Thread Dean E. Weimer
I am working on setting up a Bacula backup to an external hard drive.  
The server I am running this on has an on-board USB 2 controller, 
however the external USB 3 SATA drive doc I am using is only being 
recognized as USB 1.  It does correctly load as USB 2 or USB 3 if I move 
it to my windows machine which has both USB 2 and USB 3 ports.


Before I spend money adding a USB 3 card to the server in order to get 
the external drive doc to load as USB 3, I was wondering if anyone had 
any good or bad things to say about FreeBSD's USB 3 support.


Would I be a lot safer spending money on an eSATA card and a eSATA doc, 
knowing that this would give be better performance, but would prefer to 
not spend any more money than I have to.


Or maybe someone would have an idea as to something I could tweek to 
get more than 1MB/s transfer speed from my existing setup, if I could 
get the full speed of USB2.0 this would run adequate for my needs.


dmesg output for current devices information:
ohci0: OHCI (generic) USB controller mem 0xfbf7f000-0xfbf7 irq 22 
at device 2.0 on pci0

usbus0: OHCI (generic) USB controller on ohci0
ehci0: EHCI (generic) USB 2.0 controller mem 0xfbf7ec00-0xfbf7ecff 
irq 23 at device 2.1 on pci0

usbus1: EHCI (generic) USB 2.0 controller on ehci0
ohci1: OHCI (generic) USB controller mem 0xfbf7d000-0xfbf7dfff irq 20 
at device 4.0 on pci0

usbus2: OHCI (generic) USB controller on ohci1
ehci1: EHCI (generic) USB 2.0 controller mem 0xfbf7e800-0xfbf7e8ff 
irq 21 at device 4.1 on pci0

usbus3: EHCI (generic) USB 2.0 controller on ehci1
ugen0.3: vendor 0x174c at usbus0
umass0: vendor 0x174c product 0x5106, class 0/0, rev 2.10/0.01, addr 
3 on usbus0

umass0:  SCSI over Bulk-Only; quirks = 0x
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: WDC WD10 EARS-00Y5B1 80.0 Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)

Current machine is running a Biostar TPower N750 Motherboard, and the 
external drive doc is an INEO I-NA317U-Plus.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.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


Re: USB 3 / eSATA support

2012-02-03 Thread Mike Tancsa
On 2/3/2012 9:31 AM, Dean E. Weimer wrote:
 
 Would I be a lot safer spending money on an eSATA card and a eSATA doc,
 knowing that this would give be better performance, but would prefer to
 not spend any more money than I have to.
 

I dont have much experience with usb3 devices, but the eSata cages I
have used work very well on RELENG8 and 9.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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: USB 3 / eSATA support

2012-02-03 Thread Dean E. Weimer

On 03.02.2012 09:45, Mike Tancsa wrote:

On 2/3/2012 9:31 AM, Dean E. Weimer wrote:


Would I be a lot safer spending money on an eSATA card and a eSATA 
doc,
knowing that this would give be better performance, but would prefer 
to

not spend any more money than I have to.



I dont have much experience with usb3 devices, but the eSata cages I
have used work very well on RELENG8 and 9.

---Mike


It's Looking like eSATA is going to be my pick, to be on the safe side, 
I could spend the $50 on a USB 3 card, and have it not work, or spend 
$50 on an eSATA card and another $40 for the drive doc, and cable.  If 
the USB card doesn't work for me then I either have to deal with 
additional shipping and restocking fees, or just keep the card and eat 
the expense.


Unfortunately I live in a small town where this hardware isn't 
available locally, so online is my only choice.


Does anyone have any experience using the SYBA Cards on FreeBSD?
SYBA SD-SATA2-2E2I PCI SATA II:  
http://www.newegg.com/Product/Product.aspx?Item=N82E16816124003


I know this isn't anything enterprise class, but this is my home system 
after all, and there's a point where its cheaper to just buy all my 
iTunes music and Movies over again than throw hardware at a backup 
solution.  I think I have already passed that, but there are several 
gigs of photos that can't be replaced, and I am trying to get something 
a little more portable to be taken to work unlike my current method of 
rsync with two machines at the house.


I am using bacula instead of rsync for this, simply because my employer 
recently purchased a controlling interest in a small electrical 
engineering design firm to make sure it had priority access to get some 
components designed as we migrate our dieing mechanical lines into 
electronic.  I am tasked with implementing a next to zero cost backup 
solution for them, and as they are Linux based on all there servers, I 
decided to implement a local bacula server at my house to to learn the 
product before setting it up for them.  I am hoping to maybe sneak in 
some FreeBSD replacements to their Ubuntu file servers if I can (maybe 
FreeNAS, depending on how my tests go with installing and backing up 
through bacula client on it).  I have already replaced their consumer 
firewalls with pfSense boxes running on Alix boards, which has turned 
out to be a huge stability and performance gain for them.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.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


Re: USB 3 / eSATA support

2012-02-03 Thread Mike Tancsa
On 2/3/2012 1:56 PM, Dean E. Weimer wrote:
 Does anyone have any experience using the SYBA Cards on FreeBSD?
 SYBA SD-SATA2-2E2I PCI SATA II: 
 http://www.newegg.com/Product/Product.aspx?Item=N82E16816124003

I dont, but I have used the cards from Addonics

http://www.addonics.com/products/adsa3gpx1-2em.php

Cards based on the Sil3132 work fine using the ahci driver in
conjunction with the siis driver. The cables they sell are of good
quality too.  They also ship to me in Canada and have been painless to
deal with.

For more density, I make use of

http://www.addonics.com/products/adsa3gpx8-4e.php

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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: USB 3 / eSATA support

2012-02-03 Thread John Levine
I have an two-disk external box with both USB and eSATA interface.  Go
with eSATA, which is better supported as a disk.  I use mine as a ZFS
mirror.

I have a SiI3124 SATA controller which isn't recognized by the generic kernel, 
but works
fine once I put a suitable hint in loader.conf:

# for external SATA
siis_load=YES

I also have three USB disks configured as a ZFS RAID which I use for
backups.  It works OK, but I wouldn't want to depend on it from day to
day.

R's,
John
___
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: USB 3 / eSATA support

2012-02-03 Thread RW
On Fri, 03 Feb 2012 13:56:05 -0500
Dean E. Weimer wrote:


 It's Looking like eSATA is going to be my pick, to be on the safe
 side, I could spend the $50 on a USB 3 card, and have it not work, or
 spend $50 on an eSATA card and another $40 for the drive doc, and
 cable.  

Just in case you aren't aware, you don't necessarily need an eSATA
card. You can get eSATA back-plates that plug into spare SATA
connections on your motherboard.
___
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: USB 3 / eSATA support

2012-02-03 Thread Dean E. Weimer

On 03.02.2012 21:36, RW wrote:

On Fri, 03 Feb 2012 13:56:05 -0500
Dean E. Weimer wrote:



It's Looking like eSATA is going to be my pick, to be on the safe
side, I could spend the $50 on a USB 3 card, and have it not work, 
or

spend $50 on an eSATA card and another $40 for the drive doc, and
cable.


Just in case you aren't aware, you don't necessarily need an eSATA
card. You can get eSATA back-plates that plug into spare SATA
connections on your motherboard.
___
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


That the board has plenty of, how does that work with removing the 
drives?

Does it require a reboot?

I think for now I am going to build FreeBSD VM on my windows box and 
dedicate it to running Bacula Director and Storage Daemon, I was able to 
get a 20MB sustained through put through the VMware USB emulation 
copying a file from an SFTP as I had no large files on the local system 
from my test FreeBSD 9 VM.  Though now I don't know why I didn't think 
to just us dd from /dev/random to a file on the disk, will likely give 
that a try once my new VM is built.  This will get me by performance to 
a workable speed until I can come up with a more permanent solution, and 
keep me from spending more money this month so I have a little bit left 
to add to my savings account.


I am also looking around, and I have enough spare components to build 
another machine and just run it with the case open and do a shutdown and 
swap hard drives, but I might go broke paying my electric bill if I keep 
adding new PCs for everything.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.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