From owner-freebsd-geom@FreeBSD.ORG Tue Aug 22 19:37:10 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 E7FB216A4DA for ; Tue, 22 Aug 2006 19:37:10 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FE343D5C for ; Tue, 22 Aug 2006 19:37:10 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k7MJb9mw077685; Tue, 22 Aug 2006 14:37:09 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44EB5CE4.5080008@centtech.com> Date: Tue, 22 Aug 2006 14:37:08 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Poul-Henning Kamp References: <60418.1156274180@critter.freebsd.dk> In-Reply-To: <60418.1156274180@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1708/Tue Aug 22 07:43:00 2006 on mh1.centtech.com X-Virus-Status: Clean 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:37:11 -0000 On 08/22/06 14:16, Poul-Henning Kamp wrote: > 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. I should be more generic next time :) >> 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. > Yep, that did it. I think I tried touch (or maybe something else) before and it didn't tickle it, so I moved on. Might be more intuitive for admins to use a retaste command with the given tool or geom command line. Is that function left out for a reason, or just hasn't been implemented yet? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------