Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2022 08:02:30 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        current@freebsd.org
Subject:   Disk partitions disappear when mounting others
Message-ID:  <Y6gDliAtfu0aI5bD@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi there,

I'm in the process of moving my data from a dying HDD, and just noticed
something weird.  It's an MBR partitioned drive, and there is a FreeBSD
slice and Fedora LVM in EBR, accessible as /dev/linux_lvm/fedora-{swap,home,root}.

The problem is that once I mount my old FreeBSD partition, e.g.
/dev/ada0s2a, those LVM nodes are gone, logging this:

  GEOM_LINUX_LVM: disk pv0 already initialised in fedora
  GEOM_LINUX_LVM: Disk diskid/DISK-XXXXXXX1s4+00000001 removed from pv0.
  GEOM_LINUX_LVM: Device linux_lvm/fedora-swap removed.
  GEOM_LINUX_LVM: Device linux_lvm/fedora-home removed.
  GEOM_LINUX_LVM: Device linux_lvm/fedora-root removed.

If I unmount /dev/ada0s2a and mount any Fedora's partition, then I can
longer access other slices as there's only /dev/ada0 remains; ``gpart show''
also does not list them, but only those under diskid/DISK-XXXXXXX1.

Why is this happening?  What should I fix to stop my partitions from
disappearing and reappearing?  Thanks,

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y6gDliAtfu0aI5bD>