retasting devices on demand

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 22 19:16:23 UTC 2006


In message <44EB5762.7080109 at 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 at 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.


More information about the freebsd-geom mailing list