gmirror + dump = sbwait (was: twa + dump = sbwait)

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Mon, 17 Sep 2007 22:15:23 +0400
On Mon, 17 Sep 2007 11:28:58 +0400 Boris Samorodov wrote:

> I can't use dump at -CURRENT with twa. The process goes to sbwait
> state forever. Here are the details.

The same is for gmirror (plain GENERIC but without WITNESS* and
INVARIANT*):
-----
$ df
Filesystem             1K-blocks     Used     Avail Capacity  Mounted on
/dev/mirror/gm0s1a        507630   387740     79280    83%    /
devfs                          1        1         0   100%    /dev
/dev/mirror/gm0s1e        507630       16    467004     0%    /tmp
/dev/mirror/gm0s1f      20802680  4463056  14675410    23%    /usr
/dev/mirror/gm0s1d       9117774    53354   8335000     1%    /var
[...]

$ dump -0Luan -f usr.dump /usr
  DUMP: Date of this level 0 dump: Mon Sep 17 21:58:24 2007
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/mirror/gm0s1f (/usr) to usr.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 4485376 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
load: 0.03  cmd: dump 98789 [sbwait] 0.19u 0.44s 0% 2448k
load: 0.01  cmd: dump 98791 [pause] 0.03u 1.00s 0% 2408k
load: 0.00  cmd: dump 98789 [sbwait] 0.19u 0.44s 0% 2448k
[waiting forever]

% sockstat | grep duser
duser    dump       98792 5  stream -> ??
duser    dump       98792 7  stream -> ??
duser    dump       98792 9  stream -> ??
duser    dump       98791 5  stream -> ??
duser    dump       98791 7  stream -> ??
duser    dump       98790 5  stream -> ??
duser    dump       98789 5  stream -> ??
duser    dump       98789 6  stream -> ??
duser    dump       98789 7  stream -> ??
duser    dump       98789 8  stream -> ??
duser    dump       98789 9  stream -> ??
duser    dump       98789 10 stream -> ??

Top:
last pid: 98864;  load averages:  0.00,  0.01,  0.03    up 1+21:27:20  22:06:20
86 processes:  1 running, 85 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.9% idle
Mem: 86M Active, 3331M Inact, 337M Wired, 468K Cache, 214M Buf, 3994M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
98792 duser       1   4    0  4696K  2424K sbwait 5   0:01  0.00% dump
98791 duser       1  20    0  4696K  2424K pause  6   0:01  0.00% dump
98790 duser       1  20    0  4696K  2424K pause  2   0:01  0.00% dump
98789 duser       1   4    0  4824K  2464K sbwait 6   0:01  0.00% dump
98786 duser       1   8    0  4696K  2424K wait   5   0:00  0.00% dump
78998 duser       1   8    0  6216K  1936K wait   6   0:00  0.00% sh
-----

Need more details? Just ask! ;-)

Thanks.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Mon Sep 17 2007 - 16:13:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC