From owner-freebsd-geom@FreeBSD.ORG Tue Aug 22 20:46:29 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 3461A16A4E0 for ; Tue, 22 Aug 2006 20:46:29 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3D4943D6A for ; Tue, 22 Aug 2006 20:46:24 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k7MKkNke096294; Tue, 22 Aug 2006 15:46:24 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44EB6D1F.90104@centtech.com> Date: Tue, 22 Aug 2006 15:46:23 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Poul-Henning Kamp References: <60561.1156275785@critter.freebsd.dk> In-Reply-To: <60561.1156275785@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1709/Tue Aug 22 14:34:50 2006 on mh2.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 20:46:29 -0000 On 08/22/06 14:43, Poul-Henning Kamp wrote: > In message <44EB5CE4.5080008@centtech.com>, Eric Anderson writes: > >>> 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? > > The problem is that it won't work if part of the disk is already > open... > I guess there's no way around this, except for maybe setting the debugflags? Even so, a retaste function that worked on existing disks (like I had) would be useful and an obvious command for admin-types. Would you be opposed to such a command? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------