[zfs-discuss] changing vdev types

Paul Kraus
Wed, 01 Jun 2011 20:25:46 -0000

On Wed, Jun 1, 2011 at 3:57 PM, Matt Harrison
<iwasinnamuknow at genestate.com> wrote:
> On 01/06/2011 20:52, Eric Sproul wrote:

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

I think Eric''s point was that the zpool/zfs name and the mountpoint do
NOT have to be the same.

See the zfs "mountpoint" property (zfs get mountpoint <zfs> and
zfs
set mountpoint=<foo> <zfs>).

--
{--------1---------2---------3---------4---------5---------6---------7---------}
Paul Kraus
-> Senior Systems Architect, Garnet River ( http://www.garnetriver.com/ )
-> Sound Coordinator, Schenectady Light Opera Company (
http://www.sloctheater.org/ )