From owner-freebsd-questions@freebsd.org Sat Feb 4 21:57:32 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 109B9CD0A62 for ; Sat, 4 Feb 2017 21:57:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A937EC7 for ; Sat, 4 Feb 2017 21:57:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sat, 04 Feb 2017 22:59:29 +0100 Received: from r56.edvax.de (port-92-195-126-61.dynamic.qsc.de [92.195.126.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 1C37B3CBF9; Sat, 4 Feb 2017 22:57:24 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v14LvNVZ002282; Sat, 4 Feb 2017 22:57:24 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 4 Feb 2017 22:57:23 +0100 From: Polytropon To: Roger Marquis Cc: freebsd-questions@freebsd.org Subject: Re: Disappearing /dev/diskid/DISK* Message-Id: <20170204225723.0d29efcc.freebsd@edvax.de> In-Reply-To: <1702041139150.62205@mx5.roble.com> References: <1702041139150.62205@mx5.roble.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 942B769E823 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.2722 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 21:57:32 -0000 On Sat, 4 Feb 2017 11:42:07 -0800 (PST), Roger Marquis wrote: > What would cause these entries be disappearing and reappearing, several > days apart, on an 11.0-RELEASE-p6 system with ZFS root? Other than the obvious (disks physically disconnecting), I could imagine this has something to do with labels (or in this case specifically, with disk serial numbers). When a label is being used, for example to mount a partition, the corresponding entry in the /dev subtree will disappear, i. e. only those _not_ in use are present there. Could it be some "automount"-related thing (when you say it's happening more or less randomly)? Maybe related: https://www.freebsd.org/doc/handbook/geom-glabel.html https://lists.freebsd.org/pipermail/freebsd-geom/2014-June/005921.html http://bradleythughes.github.io/2015/05/06/booting-freebsd-zfs-raw-disks.html https://forums.freebsd.org/threads/47671/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...