From nobody Sun Dec 25 08:02:30 2022 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NftgW05Cdz20kWC for ; Sun, 25 Dec 2022 08:02:31 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NftgV6mYNz3G04 for ; Sun, 25 Dec 2022 08:02:30 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671955350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=lNW/2SASMIwtGkkgjuSfzhP8bku56CpusvTDQkB8P14=; b=CyneWT42262L68VF/FjVz5boyQ8PjlXyAQs4TuqNhMc3QwYlPnLpxK9oHZkWWYYWWx77I+ XD+mMMGQaJHj+nPBRAkaCsfH9aycTo1+Be/Og1grV1q9QU9seewbGIWGRy3Fq248W0OTS2 ePG5yFbos0MrkLu7Ia/KZk08w/RXWy9jIa95RepvhSHFkuFgVdp6yihXldfZ+IPHvhHjHI XriDsErEARNKi//1K711NzbWfqQKHyiZdZLJH+B7lrXD3C9gzLj11qP0W7Tbmavg6Yskcd M/ltz5+YCdUz43wOuw67b+Y2lCbuRQLfkWW5Ju0a30tHD5pbjOV8GtmU+LwLCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671955350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=lNW/2SASMIwtGkkgjuSfzhP8bku56CpusvTDQkB8P14=; b=f5pwwW+SWY6wWvlo6hBRkLivBIu/94Fs87UHHvpHdtTGGnYItEX1VuU++4oh5klJpsdPhZ iJpR0kI6OMMR20FIXbPXP515YxtgRCvOch26da4U1opeXb60Y48KKFiVX/V5rTQ6mxxTHz bU3WPl2mcmKzcA1t+OiIPKSt6/tNpapDtAH/c8Bfef2K7mCfjqPl7IyxfBbVQQMxxv4uBm HNm4CcIEmp5LaugGSSSzKW1qCTLo/fYGuoZQz71Q/s1cEM/sqq9r4lKs2cvBdluRmAGRdp UOLijSJG9L1MEX/IXZKXa4I9KrqKFT6WyQVqdbFtFKRpQKfBSA+IloGbFBmMmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671955350; a=rsa-sha256; cv=none; b=g3XtbSgfQM7jwFE+HuAWMWXH1IOgxIoqWDn9bV+5QXCBsha4OUfoxxnMwhcGaD58sYxrDp sNwojYAQ+TgOgOTCQUsEjKE4RI+hASQeYIwBcRWugvKbPVLF3z6jVRCeBG93n2WnG+2tAb MZ/wThDv1cRbjJN1+Ip+VUrGM5osGFRQ7itL620HnfB/tJMN+anF/YClfLF2l/IOVpHQr3 vvKYG+eah94f2MtrA2hGs+bhKQ/HM3cRwD+wmkN+MrDj6nAbhG4RF9GmLtuAH1Z7IBbknr FgCtVhlTwmxKl86R902S0R4jp3KfGNscHVbvt4vXS7cJC2cMslbGAAEloxdI9A== Received: by freefall.freebsd.org (Postfix, from userid 1033) id D704790EB; Sun, 25 Dec 2022 08:02:30 +0000 (UTC) Date: Sun, 25 Dec 2022 08:02:30 +0000 From: Alexey Dokuchaev To: current@freebsd.org Subject: Disk partitions disappear when mounting others Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-ThisMailContainsUnwantedMimeParts: N 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