Andrei POPESCU 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?
There had been no partition table, I just ran "mkfs.btrfs /dev/nvme1n1" on the whole raw volume, and then mounted /dev/nvme1n1. Later, when switching to ZFS, I ran "zpool create fastdrive /dev/nvme1n1" again on the whole volume. But ZFS outsmarted me and created a GPT though I had not asked it to. The FreeBSD variety of ZFS does not do that, but Solaris AFAIR does like Linux. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet
signature.asc
Description: PGP signature