[zfs-discuss] changing vdev types

Matt Harrison
Wed, 01 Jun 2011 19:57:08 -0000

On 01/06/2011 20:52, Eric Sproul wrote:
> On Wed, Jun 1, 2011 at 3:47 PM, Matt Harrison
> <iwasinnamuknow at genestate.com>  wrote:
>> Thanks Eric, however seeing as I can''t have two pools named
''tank'', I''ll
>> have to name the new one something else. I believe I will be able to
rename
>> it afterwards, but I just wanted to check first. I''d have to
have to spend
>> hours changing the pool name in a thousand files.
>
> What files would those be?  Usually the pool name (and therefore the
> dataset names) doesn''t matter-- only mountpoints matter to most
things
> on the system, but maybe you have a more interesting use case.  :)
>
> Eric

Nothing that impressive :D I have quite a few scripts and config files
that of course access the data via the mountpoint, which in my case
refers to the pool name. It''s just slightly possible I exaggerated the
number of files, but still I''d prefer not to do it at all. :)

But Cindy has just chimed in and confirmed that I can indeed just import
the pool under the old name.

So many thanks to both of you, I''ll go and read up on the snapshot
options so I can get an accurate replica :)

Thanks

Matt