system hangs during dump + compress > usb2-drive
delphij at delphij.net
Sun Sep 30 20:07:38 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
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...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
-----END PGP SIGNATURE-----
More information about the freebsd-questions