All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Pierre Couderc <pierre@couderc.eu>, linux-btrfs@vger.kernel.org
Subject: Re: How to erase a RAID1 ?
Date: Wed, 29 Aug 2018 20:52:42 +0800	[thread overview]
Message-ID: <52b06c19-c9e2-29c1-b761-98d770c2d6c7@gmx.com> (raw)
In-Reply-To: <04e4b43f-b21e-b6fd-dfad-0506ff35aff7@couderc.eu>


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]



On 2018/8/29 下午8:49, Pierre Couderc wrote:
> I want to reinstall a RAID1 btrfs system (wchis is now under debian
> stretch, and will be reinstalled in stretch).

If you still want to use btrfs, just umount the original fs, and

# mkfs.btrfs -f <old devices>

Then a completely new btrfs.

> 
> How to correctly "erase" it ? Not truly hard erase it, but so that old
> data does not appear...

If not planing to use btrfs, umount the fs and then wipefs -fa <old devices>

Thanks,
Qu

> 
> It is not clear in the wiki.
> 
> Thanks
> 
> PC
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-08-29 16:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 12:49 How to erase a RAID1 ? Pierre Couderc
2018-08-29 12:52 ` Qu Wenruo [this message]
2018-08-29 14:07   ` Pierre Couderc
2018-08-30  1:24     ` Qu Wenruo
2018-08-30  9:13       ` How to erase a RAID1 (+++)? Pierre Couderc
2018-08-30  9:35         ` Qu Wenruo
2018-08-30 10:01           ` Pierre Couderc
2018-08-30 10:09             ` Qu Wenruo
2018-08-30 11:45             ` Kai Stian Olstad
2018-08-30 15:21         ` Alberto Bursi
2018-08-30 17:33           ` Chris Murphy
2018-08-30 17:44             ` Chris Murphy
2018-08-30 17:08         ` Chris Murphy
2018-08-31  2:29           ` Duncan
2018-08-31  6:53             ` Pierre Couderc
2018-08-31 14:54               ` Alberto Bursi
2018-08-31 15:58                 ` Pierre Couderc
2018-08-31 16:38                 ` Duncan
2018-08-31  6:41           ` Pierre Couderc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52b06c19-c9e2-29c1-b761-98d770c2d6c7@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=pierre@couderc.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.