Re: ZFS Bogosity

2023-08-14 Thread Michael van Elst
On Mon, Aug 14, 2023 at 07:50:01AM -0400, Greg Troxel wrote: > > In this case, wedges show up as logical disks in hw.disknames, so it's > really that partitions aren't disks. Indeed, partitions are disks and wedges appear as a disk that doesn't support partitions. > > You can avoid this by

Re: ZFS Bogosity

2023-08-14 Thread Greg Troxel
Michael van Elst writes: >> Alternatively, I see that we add wedges to hw.disknames. My system has >> a NetBSD boot image on a flash drive this minute, and: >> hw.disknames = wd0 cd0 sd0 dk0 dk1 >> so if we add dk0, which is really no different logically than sd0a, it >> seems like we should

Re: ZFS Bogosity

2023-08-14 Thread Jay F. Shachter
Centuries ago, Nostradamus predicted that David Brownlee would write on Sun Aug 13 12:00:14 2023: > > This reminded me of something I saw a little while back, but neglected > to report - now filed as > https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57583 - I > think this matches

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
On Sun, Aug 13, 2023 at 08:22:08PM -0400, Greg Troxel wrote: > > Given that wd3e is a name for a disk special file with defined size, it > would seem that we should change that. It seems to make just as much > sense to probe wd3[a-p] as it does to probe wd3 (which is wd3d). You can change the

Re: ZFS Bogosity

2023-08-13 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: > g...@lexort.com (Greg Troxel) writes: > >>David Brownlee writes: >>> https://gnats.netbsd.org/57583 > >>Do you think this is just a bug that it fails to look at wd3e >>etc. wrongly if there is /dev/zfs? > > The code scans all devices in the

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >David Brownlee writes: >> https://gnats.netbsd.org/57583 >Do you think this is just a bug that it fails to look at wd3e >etc. wrongly if there is /dev/zfs? The code scans all devices in the specified device directory, unless it's /dev/. Then it uses

Re: ZFS Bogosity

2023-08-13 Thread Greg Troxel
David Brownlee writes: > https://gnats.netbsd.org/57583 Do you think this is just a bug that it fails to look at wd3e etc. wrongly if there is /dev/zfs? What is the point of /dev/zfs (is that how zpool/zfs control works?) and is there any reason this should matter? Do you think this is this

Re: ZFS Bogosity

2023-08-13 Thread David Brownlee
On Thu, 10 Aug 2023 at 22:16, Jay F. Shachter wrote: > > Esteemed Colleagues: > > I have a multiboot computer on which Solaris, Linux, and NetBSD 10 > BETA have all been successfully installed (I couldn't install NetBSD > 9.3) and they are all sharing storage on a ZFS pool, because all three > of

ZFS Bogosity

2023-08-10 Thread Jay F. Shachter
Esteemed Colleagues: I have a multiboot computer on which Solaris, Linux, and NetBSD 10 BETA have all been successfully installed (I couldn't install NetBSD 9.3) and they are all sharing storage on a ZFS pool, because all three of those operating systems support, or can be make to support, ZFS.