On Fri, 12 Mar 2021 at 20:17, Victor Sudakov <v...@sibptus.ru> wrote: > deloptes wrote:
> > > "wipefs -t btrfs -f -a /dev/nvme1n1" did the job. > > > Still wondering where those labels are stored on disk in Linux. > > FS Superblock? > Well, the FS (btrfs in this case) was not there already, but the magic > label was still there somewhere. My new knowledge after 5 seconds of searching, ... https://en.wikipedia.org/wiki/Btrfs#Superblock says that there are multiple copies of the superblock. And the on-disk format is here: https://btrfs.wiki.kernel.org/index.php/On-disk_Format And maybe if the drive was once part of a multiple device filesystem it might be referenced in superblocks on other devices.