Hello. wblock@ has suggest ask here (
https://forums.freebsd.org/viewtopic.php?f=48&t=46673&p=260858#p260870) . I
am trying to build a bootable ZFS mirror on two USB-sticks. The sticks are
nothing special:
May 31 07:47:28 vmstor kernel: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
May 31 07:47:28 vmstor kernel: da0: < UFD 3.0 Silicon-Power16G PMAP>
Removable Direct Access SCSI-6 device
May 31 07:47:28 vmstor kernel: da0: Serial Number P1312160070B3C53D05D7171
May 31 07:47:28 vmstor kernel: da0: 40.000MB/s transfers
May 31 07:47:28 vmstor kernel: da0: 15120MB (30965760 512 byte sectors:
255H 63S/T 1927C)
May 31 07:47:28 vmstor kernel: da0: quirks=0x2<NO_6_BYTE>

Scrub single stick is fine:
  scan: scrub in progress since Sat May 31 08:36:45 2014
        461M scanned out of 2,87G at 25,6M/s, 0h1m to go
        0 repaired, 15,71% done

But I got the drama, when I attach second stick:
  scan: resilver in progress since Sat May 31 07:49:55 2014
        242M scanned out of 2,87G at 122K/s, 6h17m to go
        242M resilvered, 8,25% done

Both sticks are new. I tested it both with dd: single speed is about 33
Mbytes/s read and 25 Mbytes/s write. Simultaneously to both sticks
read/write, read/read, write/write by dd is lower, but still acceptable:
about 17-20 Mbytes/s. My system is FreeBSD 10.0-STABLE #0 r266463: Tue May
20 18:24:03 UTC 2014. Kernel configuration is pretty simple:
include GENERIC
ident vmstor
nooptions INET6
nooptions AHC_REG_PRETTY_PRINT
nooptions AHD_REG_PRETTY_PRINT
options CONSPEED=19200
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=512
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
options SHMMAXPGS=65536
options SEMMNI=128
options SEMMNS=32000
options SEMUME=40
options SEMMNU=120
options SEMOPM=250
options SEMMSL=250
options SHMMNI=4096
options SHMSEG=4096
options MAXDSIZ="(1024*1027*1024)"
options MAXSSIZ="(1024*1024*1024)"
options DFLDSIZ="(1024*1024*1024)"
options SHMMAX=2147483647
options SHMALL=2097152

Physcal hardware is desktop mainboards with Intel 82801G (ICH7) USB
controller on first, and Intel PCH USB 2.0 controller on second computer.
Also I bought VIA VT6202 USB 2.0 PCI controller to split sticks to
different controllers on mainboard, but results are the same.

I also tried gmirror with these sticks. It's rebuilding with high speed
like 20-30 Mbytes/s, but dump/restore speed of my root filesystem to mirror
of sticks (sure, after rebuild is finished) is same 100-200 KBytes per
second.

Is task to mirror data on USB sticks with FreeBSD possible? What did I do
wrong?
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to