Re: gpt type for zfs?

2020-04-03 Thread Benny Siegert
Can’t you make a pool based on the various do devices? That's what I do.

Sevan Janiyan  schrieb am Sa. 28. März 2020 um
23:07:

>
>
> On 28/03/2020 21:56, Thomas Klausner wrote:
> > Are ZFS users on NetBSD using fbsd-zfs or avoiding gpt? :)
>
> ZFS doesn't actually care the filesystem time, it's happy to initialise
> whatever device node you point at it. I actually partition things up in
> sysinst as fat32 partitions.
>
> Regarding GPT, I connected up a pool which I created on MacOS some years
> back to my laptop running 9.99.52, turns out I'd used a GPT scheme, I
> couldn't actually import the pool because dk(4) hogs the device. (I
> meant to try disabling dk support and retrying but haven't gotten around
> to it yet).
>
>
> Sevan
>
-- 
Benny


Re: gpt type for zfs?

2020-03-28 Thread Brad Spencer
Sevan Janiyan  writes:

> On 28/03/2020 21:56, Thomas Klausner wrote:
>> Are ZFS users on NetBSD using fbsd-zfs or avoiding gpt? :)
>
> ZFS doesn't actually care the filesystem time, it's happy to initialise
> whatever device node you point at it. I actually partition things up in
> sysinst as fat32 partitions.
>
> Regarding GPT, I connected up a pool which I created on MacOS some years
> back to my laptop running 9.99.52, turns out I'd used a GPT scheme, I
> couldn't actually import the pool because dk(4) hogs the device. (I
> meant to try disabling dk support and retrying but haven't gotten around
> to it yet).
>
>
> Sevan


I am a little suprised that the import didn't work.  "zpool import"
didn't find anything to import??  I currently use a gpt presented disk
between NetBSD and FreeBSD without any particular problems.



-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org


Re: gpt type for zfs?

2020-03-28 Thread Sevan Janiyan



On 28/03/2020 21:56, Thomas Klausner wrote:
> Are ZFS users on NetBSD using fbsd-zfs or avoiding gpt? :)

ZFS doesn't actually care the filesystem time, it's happy to initialise
whatever device node you point at it. I actually partition things up in
sysinst as fat32 partitions.

Regarding GPT, I connected up a pool which I created on MacOS some years
back to my laptop running 9.99.52, turns out I'd used a GPT scheme, I
couldn't actually import the pool because dk(4) hogs the device. (I
meant to try disabling dk support and retrying but haven't gotten around
to it yet).


Sevan


Re: gpt type for zfs?

2020-03-28 Thread Brad Spencer
Thomas Klausner  writes:

> Hi!
>
> I just noticed that the gpt man page has a type fbsd-zfs, but none for
> NetBSD ZFS or any other type.
>
> Are ZFS users on NetBSD using fbsd-zfs or avoiding gpt? :)
>
> Is there something we should do in gpt or the man page?
>  Thomas


For gpt, I think anything will work, but I use fbsd-zfs especially if I
think I might share the pool with FreeBSD.  I have also put pools on raw
devices and DOMU xbd* back stored by a LVM lvs.  A lot of different
combinations seem to work fine.



-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org


gpt type for zfs?

2020-03-28 Thread Thomas Klausner
Hi!

I just noticed that the gpt man page has a type fbsd-zfs, but none for
NetBSD ZFS or any other type.

Are ZFS users on NetBSD using fbsd-zfs or avoiding gpt? :)

Is there something we should do in gpt or the man page?
 Thomas