[geeks] ZFS questions
Phil Stracchino
phils at caerllewys.net
Wed Mar 31 09:21:53 CDT 2021
On 3/30/21 11:53 AM, Grant Taylor wrote:
> On 3/29/21 8:50 AM, Jonathan Patschke wrote:
>> Don't do this. You likely already have things in /export, and this
>> will mount the new pool overtop them. In true Unix fashion, your open
>> files will continue working, but will be come immediately inaccessible.
>> If you're not logged in as root, and cannot log in as root remotely,
>> you will have a situation on your hands.
>
> Valid concern.
>
> Though I believe you can create the new pool with a mount point set to
> nothing. Then new volumes therein will need to have their mount point set.
>
> I /think/ the following would work:
>
> zpool create -m none export c1t1d0
>
> Obviously RTFM to make sure I'm not causing you to delete files.
You don't NEED to specify a mount point at all. Why are you creating a
pool with the same name as an existing filesystem?
zpool create newpool c1t1d0
zfs create newpool/export
then fiddle and rearrange to your heart's content.
--
Phil Stracchino
Babylon Communications
phils at caerllewys.net
phil at co.ordinate.org
Landline: +1.603.293.8485
Mobile: +1.603.998.6958
More information about the geeks
mailing list