NetBSD-Users archive

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

Re: State of ZFS in 9.0_BETA



Is root-on-zfs supported at all? I do not need a ZFS-capable
bootloader, I can load the kernel from a different partition via GRUB,
but can the zpool be at the root?

On Fri, Aug 9, 2019 at 9:54 PM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> FYI I switched all my nvmm virtual machines to use zvols under
> -current, seems to be working rather well. I haven't yer tried
> snapshotting them, I'll do that later, but so far haven't had any
> problems, including performancewise. Previously they used either gpt
> partitions or disk images.
>
> On Fri, 9 Aug 2019 at 06:28, Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
> >
> > Working with a VM. Added 1 CPU and 3GB memory to the instance, 4 GB RAM total
> >
> > Added a 50GB disk, presents as wd2
> >
> > Commands (edited to show kinda relevant ones) I also have a full backup of my home dir in case I fat fingered anything
> >
> >   9986  19:24    dmesg
> >   9987  19:24    sudo zpool create z /dev/wd2d
> >   9989  19:25    sudo zfs create z/home
> >   9990  19:30    sudo zfs set compression=lz4 z/home
> >   9991  19:30    sudo zfs set atime=off z/home
> >   9992  19:30    sudo zpool get all z
> >   9993  19:31    sudo zfs get all z/home
> >   9994  19:31    df
> >   9995  19:31    du -h ~agc/
> >   9996  19:32    cd /home
> >   9998  19:32    sudo pax -rwpe . /z/home/
> >   9999  19:33    df
> >  10000  19:35    cd /
> >  10004  19:36    sudo rm -rf /home
> >  10007  19:37    sudo zfs snapshot z/home@20190802
> >  10009  19:38    sudo zfs list
> >  10011  19:38    ls -al /z/home
> >  10012  19:38    ls -al /z
> >  10013  19:39    sudo zfs set mountpoint=/home z/home
> >
> > This is all on 9.99.something, BTW, but near enough to 9.0_BETA
> >
> > On Thu, 8 Aug 2019 at 10:55, Ron Georgia <netverbs%gmail.com@localhost> wrote:
> >>
> >> How did you move your home directory? Did you create /tank/home then symlink the /home -> /tank/home?
> >>
> >>
> >>
> >> From: Alistair Crooks <agc%pkgsrc.org@localhost>
> >> Date: Thursday, August 8, 2019 at 11:53 AM
> >> To: Ronald Georgia <netverbs%gmail.com@localhost>
> >> Cc: Marc Baudoin <babafou%babafou.eu.org@localhost>, NetBSD Users !!!! <netbsd-users%netbsd.org@localhost>
> >> Subject: Re: State of ZFS in 9.0_BETA
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Thu, 8 Aug 2019 at 07:52, Ronald Georgia <netverbs%gmail.com@localhost> wrote:
> >>
> >> Same here. I have two 9BETA machines using zfs. Both have a mirrored pool of two disks. So far things seem to be working. This weekend I will be testing snapshots and send/receive.
> >>
> >>
> >>
> >> BTW, nice job with zfs.
> >>
> >>
> >>
> >> On Thu, Aug 8, 2019 at 10:47 AM Marc Baudoin <babafou%babafou.eu.org@localhost> wrote:
> >>
> >> Hi,
> >>
> >> ZFS has been updated for 9.0_BETA.  I've tried it and it seems
> >> usable (I couldn't make it work in 8.0 so it's a real progress).
> >> Now I'd like to know what's its state in 9.0_BETA (still
> >> experimental, quite stable, production ready --- might be too
> >> early) and what's the goal for the future?
> >>
> >> Thanks.
> >>
> >>
> >>
> >> I have no idea of official status, but I've moved the home directory on my main development machine to zfs, and am extremely happy so far with the results - snapshots and compression ftw
> >>
> >>
> >>
> >> Having said that, I did have issues copying some larger files from ffs to zfs until I added more memory.
> >>
> >>
> >>
> >> Best,
> >>
> >> Alistair
>
>
>
> --
> ----



-- 
Benny


Home | Main Index | Thread Index | Old Index