Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 19:16:20 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: retasting devices on demand 
Message-ID:  <60418.1156274180@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 22 Aug 2006 14:13:38 EST." <44EB5762.7080109@centtech.com> 

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

>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@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.



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