linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Config option for removing bbl on assembly?
@ 2020-09-04  7:45 Andy Smith
  2020-09-12 10:58 ` Roy Sigurd Karlsbakk
  2020-11-28 20:15 ` Roy Sigurd Karlsbakk
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Smith @ 2020-09-04  7:45 UTC (permalink / raw)
  To: linux-raid

Hi,

Could we have a config setting for removing the bad blocks list on
assembly?

I'm aware that one could put:

CREATE bbl=no

in mdadm.conf and then newly created arrays won't have a bad blocks
list. But in many cases, system arrays are created before an
mdadm.conf exists, so they get a bbl.

So, to remove a bbl I know that you have to stop the array and
assemble it like:

# mdadm /dev/mdX --assemble --update=no-bbl

Again, for arrays with the actual system on it this is rather
inconvenient. Even having to have some downtime of the service to do
this is not great.

So how about a config option telling mdadm to remove empty bbl the
next time arrays are assembled? If there is a bbl with entries in it
then it could warn and not remove it (so no force).

Cheers,
Andy

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-28 22:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04  7:45 Config option for removing bbl on assembly? Andy Smith
2020-09-12 10:58 ` Roy Sigurd Karlsbakk
2020-09-12 11:07   ` Andy Smith
2020-11-28 20:15 ` Roy Sigurd Karlsbakk
2020-11-28 20:59   ` Andy Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).