NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zfs/zpool and local disk vs netboot?



On Sun, 27 Dec 2020 at 13:36, John D. Baker <jdbaker%consolidated.net@localhost> wrote:
>
> On Sun, 27 Dec 2020, David Brownlee wrote:
>
> > Does the pool show up under different devices - does a simple 'zpool
> > import foo' work?
>
> What do you mean by "under different devices"?
>
>   # zpool import foo
>   cannot import 'foo': a pool with that name is already created/imported,
>   and no additional pools with that name were found
>
> so, no, 'zpool import foo' does not work.  That's the same output as it
> gave before I re-created the zpool and simply copied the "zpool.cache"
> file from 9.1 (local disk) to -current (NFS) but at that time showed
> the pool as "UNAVAIL".
>
> Whenever I boot 9.1 from local disk, it's mounted and available but
> whenever I boot -current, 'zpool' and 'zfs' say it exists, but it's
> not mounted.
>
> Hmmm.  While composing this message, I ran 'zfs mount foo' manually
> and it is now mounted.  I'm sure I tried that before and it did nothing
> then.
>
> It's automagically mounted when I boot 9.1 without needing an entry in
> "/etc/fstab".  Why not when booting -current?

Do you have zfs=yes in rc.conf?


Home | Main Index | Thread Index | Old Index