retasting devices on demand

Eric Anderson anderson at centtech.com
Tue Aug 22 20:46:29 UTC 2006


On 08/22/06 14:43, Poul-Henning Kamp wrote:
> In message <44EB5CE4.5080008 at 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.
------------------------------------------------------------------------


More information about the freebsd-geom mailing list