Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 15:46:23 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: retasting devices on demand
Message-ID:  <44EB6D1F.90104@centtech.com>
In-Reply-To: <60561.1156275785@critter.freebsd.dk>
References:  <60561.1156275785@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EB6D1F.90104>