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, 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?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index