Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 06:21:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257240] glabel(8): glabel status can be difficult to kill when presented with a failing drive
Message-ID:  <bug-257240-227-LjOEdz0KwO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257240-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257240-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257240

--- Comment #2 from Graham Perrin <grahamperrin@gmail.com> ---
=E2=80=A6 eventually I realised that glabel had disappeared from the htop v=
iew of
things =E2=98=91

I guess that it ended at 06:44 BST =E2=80=93 maybe around thirty-five minut=
es after I
first attempted to terminate/kill the process.=20

I chose to remove the offending device.=20

----

% date=20
Sun 18 Jul 2021 06:55:24 BST
% tail -f -n 18 /var/log/messages
Jul 18 06:43:44 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 00 00 00 00 00 01 00=20
Jul 18 06:43:44 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:43:44 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Error 5,
Retries exhausted
Jul 18 06:43:54 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 3b b7 ff 00 00 01 00=20
Jul 18 06:43:54 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:43:54 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Retrying
command, 3 more tries remain
Jul 18 06:44:05 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 3b b7 ff 00 00 01 00=20
Jul 18 06:44:05 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:44:05 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Retrying
command, 2 more tries remain
Jul 18 06:44:15 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 3b b7 ff 00 00 01 00=20
Jul 18 06:44:15 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:44:15 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Retrying
command, 1 more tries remain
Jul 18 06:44:25 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 3b b7 ff 00 00 01 00=20
Jul 18 06:44:25 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:44:25 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Retrying
command, 0 more tries remain
Jul 18 06:44:36 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): READ(10).
CDB: 28 00 00 3b b7 ff 00 00 01 00=20
Jul 18 06:44:36 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): CAM stat=
us:
CCB request completed with an error
Jul 18 06:44:36 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Error 5,
Retries exhausted
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: ugen1.7: <Alcor Micro Mass Stora=
ge
Device> at usbus1 (disconnected)
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: umass3: at uhub4, port 6, addr 7
(disconnected)
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: da3 at umass-sim3 bus 3 scbus8
target 0 lun 0
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: da3: <Generic USB Flash Disk 7.7=
6>=20
s/n 6 detached
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: (da3:umass-sim3:3:0:0): Periph
destroyed
Jul 18 06:55:32 mowa219-gjp4-8570p kernel: umass3: detached
^C
%=20

----

Note to self, lines from root user history=20
  (lsblk at 6:03, htop at 6:08, gpart show at 6:47):=20

  =E2=80=A6
   975  6:03    lsblk
   976  6:08    which glabel
   977  6:08    htop
   978  6:09    which glabel
   979  6:09    pkg provides glabel
   980  6:09    which glabel
   981  6:09    pkg provides /sbin/glabel
   982  6:16    man glabel
   983  6:17    man gdisk
   984  6:17    newfs
   985  6:17    man newfs
   986  6:17    man 8 gdisk
   987  6:18    man 8 newfs
   988  6:25    man lsblk
   989  6:25    pkg query '%o %v %R' lsblk
   990  6:26    pkg query '%o %v %R' gdisk
   991  6:31    pkg query '%o %v %R' htop
   992  6:44    pkg query '%o %v %R' gdisk htop lsblk
   993  6:45    uname -KRu
   994  6:45    uname -KrU
   995  6:45    pkg query '%o %v %R' gdisk htop lsblk
   996  6:45    uname -KuV
   997  6:45    uname -KUv
   998  6:45    pkg query '%o %v %R' gdisk htop lsblk
   999  6:45    uname -KUv
  1000  6:46    exit
  1001  6:47    gpart show
  1002  6:47    zpool status
  1003  6:51    exit
  =E2=80=A6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257240-227-LjOEdz0KwO>