system hangs during dump + compress > usb2-drive

2012-09-30 Thread Jin Guojun
In FreeBSD 8.3 release (possibly in earlier release),  dump a file system has 
2-3GB or more
 content can cause system hang in a  specific  case (pipe to compression):

dump FS-on-SATA-drive >  usb-drive OK
dump FS-on-SATA-drive | anyCompress >  sata-drive OK
mv a-large-dump-file from STAT drive to a USB drive OK
dump small-FS-on-SATA-drive | anyCompress >  usb-drive OK
small -- 1.8GB or less
dump large-FS-on-SATA-drive | anyCompress >  usb-drive hang
content is 3GB or larger (did not try around 2GB yet)

When system hangs, no sub system, such video, network, etc, will function.
Typically, the unfinished compressed dump file is around 1.5-2.7GB, so
guessing dumped file content is close to
or over 2GB when failure occurred.

Has anyone encountered the same problem?
 
Because this usually takes a few hours to occur, this is hard to watch
how/when it happens.
Is any way to debug or determine what status the system is?

-Jin
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: How to claim only some of USB interfaces of a composite USB device

2012-09-30 Thread Hans Petter Selasky
On Saturday 29 September 2012 11:25:21 geoffrey levand wrote:
> geoffrey levand

Can you verify this patch:

http://svn.freebsd.org/changeset/base/241078

--HPS
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: system hangs during dump + compress > usb2-drive

2012-09-30 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 9/29/12 10:49 PM, Jin Guojun wrote:
> In FreeBSD 8.3 release (possibly in earlier release),  dump a file
> system has 2-3GB or more content can cause system hang in a
> specific  case (pipe to compression):
> 
> dump FS-on-SATA-drive >  usb-drive OK dump FS-on-SATA-drive
> | anyCompress >  sata-drive OK mv a-large-dump-file from
> STAT drive to a USB drive OK dump small-FS-on-SATA-drive |
> anyCompress >  usb-drive OK small -- 1.8GB or less dump
> large-FS-on-SATA-drive | anyCompress >  usb-drive hang 
> content is 3GB or larger (did not try around 2GB yet)
> 
> When system hangs, no sub system, such video, network, etc, will
> function. Typically, the unfinished compressed dump file is around
> 1.5-2.7GB, so guessing dumped file content is close to or over 2GB
> when failure occurred.
> 
> Has anyone encountered the same problem?
> 
> Because this usually takes a few hours to occur, this is hard to
> watch how/when it happens. Is any way to debug or determine what
> status the system is?

For starters I'd use a different console for doing procstat -kk -a and
see what the system is doing.  (Perhaps also top)

I *think* that if it's just hanging for some time, it's probably
because the system is trying to take a snapshot?  It takes time on UFS
when creating and removing the snapshot.  Just a guess...

Cheers,

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)

iQEcBAEBCAAGBQJQaKaIAAoJEG80Jeu8UPuzfH4IAL3k2M/KHV39FrI0U4lZ1yu/
bFbJJubQHzjfNbDrI4er1Xg6S0sN0DNnRoD/bQFKKHvQpfqcCUOwUtpq0kssyfLY
4XQOF9nhcyvL/INz6ArtI7EhKh/2cADb+1zp+NMsFyqvn3F09VPvx6h9z6ufaian
LlAA6uisZSl/eGv5uNGGcudiUxSALql8UniZVHJvyO+pCjOAwL+MBxfqQ4LW3DEy
ngvkvCeQ2nK/k0oQDq5jt9A9+D+7b3+Wo+4sMkIN7uTMgPpET4JSgWgxkzG1xM+l
VMTAUHiqdeKp2JbWot1sRE5K7SiLPDmVGXEa0w+duBbvtuk8M/uXLootky0y1Oc=
=zTBM
-END PGP SIGNATURE-
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Looking for testers / feedback for ZFS recieve properties options

2012-09-30 Thread Steven Hartland

We encountered a problem receiving a full ZFS stream from
a disk we had backed up. The problem was the receive was
aborting due to quota being exceeded so I did some digging
around and found that Oracle ZFS now has -x and -o options
as documented here:-
http://docs.oracle.com/cd/E23824_01/html/821-1462/zfs-1m.html

Seems this has been raised as a feature request upstream:
https://www.illumos.org/issues/2745

Anyway being stuck with a backup we couldn't restore I had
a play a implementing these options and have a prototype up
and running, which I'd like feedback on.

This patch also adds a -l option which allows the streams to
be limited to those specified. Another option which I think
would be useful and seemed relatively painless to add.

The initial version of the patch which is based off
8.3-RELEASE can be found here:
http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch

Any feedback appreciated

   Regards
   Steve


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

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