From owner-freebsd-geom@FreeBSD.ORG Tue Aug 22 19:16:23 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89AAE16A4DD for ; Tue, 22 Aug 2006 19:16:23 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A5943D49 for ; Tue, 22 Aug 2006 19:16:22 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 33E2A170C5; Tue, 22 Aug 2006 19:16:20 +0000 (UTC) To: Eric Anderson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 22 Aug 2006 14:13:38 EST." <44EB5762.7080109@centtech.com> Date: Tue, 22 Aug 2006 19:16:20 +0000 Message-ID: <60418.1156274180@critter.freebsd.dk> Cc: freebsd-geom@freebsd.org Subject: Re: retasting devices on demand X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 19:16:23 -0000 In message <44EB5762.7080109@centtech.com>, Eric Anderson writes: >How can I get a particular GEOM class to re-taste devices on demand? Phrased just like that there is no way. >have an issue that geom label won't see new labels (UFS labels), and >also where I have a shared disk subsystem, where one system puts a label >on a device (a glabel) and the other system doesn't know to look for it >again. > >I'd really like a 'geom retaste' command - is this a reasonable option? The easy way is to open the device for write and close it again: true > /dev/da0 would do it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.