Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #233029

Re: How to make btrfs forget a disk?

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to make btrfs forget a disk?
Date 2021-03-14 10:50 +0100
Message-ID <BSvxL-7WH-5@gated-at.bofh.it> (permalink)
References <BRFSy-2vB-5@gated-at.bofh.it> <BRSwq-2cR-13@gated-at.bofh.it> <BSq53-4vk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Du, 14 mar 21, 10:58:02, Victor Sudakov wrote:
> Andrei POPESCU wrote:
> > On Vi, 12 mar 21, 09:21:59, Victor Sudakov wrote:
> > > 
> > > The problem is that /dev/nvme1n1 is being used for ZFS now, and there is
> > > currently no btrfs thereon. However, there is a btrfs label or something
> > > stuck somewhere, how can I clear it?
> >  
> > [...]
> > 
> > > It's somewhere on disk, but where?
> > > 
> > > # blkid | grep nvme1n1
> > > /dev/nvme1n1: UUID="38f74bc8-465d-4866-8ec1-3a144741012c" UUID_SUB="ada72e33-4467-4413-b78a-1a2392f62e62" TYPE="btrfs" PTUUID="d73a33f2-2b34-e64b-bc66-128320256a28" PTTYPE="gpt"
> > 
> > Look again ;)
> 
> Beats me!
> 
> In what disk structure can this signature of type "btrfs" reside?
> The name "nvme1n1" is for the whole disk even, not for a partition thereof.

I'm guessing it's in the GPT somewhere. Did you try removing the entire 
partition table before switching to ZFS?

By the way, I see the man page for blkid recommends to use lsblk instead 
and points to wipefs to erase obsolete magic strings from the device 
(which you did eventually).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 03:40 +0100
  Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 04:20 +0100
    Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 04:50 +0100
      Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 06:20 +0100
        Re: How to make btrfs forget a disk? deloptes <deloptes@gmail.com> - 2021-03-12 08:00 +0100
          Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 10:20 +0100
            Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 10:40 +0100
              Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 11:00 +0100
            Re: How to make btrfs forget a disk? deloptes <deloptes@gmail.com> - 2021-03-12 12:10 +0100
        Re: How to make btrfs forget a disk? Anssi Saari <as@sci.fi> - 2021-03-12 09:20 +0100
          Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 10:30 +0100
      Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 10:30 +0100
        Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 11:10 +0100
  Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-12 17:10 +0100
    Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-14 05:00 +0100
      Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-14 10:50 +0100
        Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-14 11:40 +0100
          Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-14 12:20 +0100
            Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-15 04:50 +0100
  Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-16 03:20 +0100

csiph-web