Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 18:56:41 +0100
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        fs@freebsd.org
Subject:   Re: Force ZFS to always look for devices in a defined location
Message-ID:  <F9683FC9-AEF4-47F1-B4CF-1E8EA31193BB@gmail.com>
In-Reply-To: <CAOjFWZ4-u5nJZkjNEtDu=bAHh2UmzvAm8am0j0uhyajC8eUCSw@mail.gmail.com>
References:  <4E030EC6-39AC-484C-BA53-2C8CA0E79B84@gmail.com> <CAOjFWZ4-u5nJZkjNEtDu=bAHh2UmzvAm8am0j0uhyajC8eUCSw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 28 Dec 2016, at 18:16, Freddie Cash <fjwcash@gmail.com> wrote:
> 
> On Dec 27, 2016 11:03 PM, "Ben RUBSON" <ben.rubson@gmail.com <mailto:ben.rubson@gmail.com>> wrote:
> (...)
> My question is then, how to force ZFS to look for devices in a defined location ?
> (/dev/label/ in this example)
> 
> Export the pool.
> 
> Then use -d to import it using the labels:
> 
> zpool import -d /dev/label my-zpool
> 
> That will search the label directory for pool devices and use that path into the GEOM layer. And it will remember it for future imports. Aft least until things get confused again in the future. :)

Thank you Freddie for your feedback.
Yes the question is then, will ZFS keep searching into /dev/label only, even if devices toggle again ?
I will test "import -d" and see what occurs.

Thank you !

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9683FC9-AEF4-47F1-B4CF-1E8EA31193BB>