Date: Fri, 11 Sep 2020 08:31:18 +0200 From: Ludovit Koren <ludovit.koren@gmail.com> To: David Christensen <dpchrist@holgerdanske.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: ZFS snapshot - rollback problem Message-ID: <CADZBGL5s5dWrc3Q0aX8xAEhbN2BXZyvsDyKVByd6A1cnVYsUrw@mail.gmail.com> In-Reply-To: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> References: <CADZBGL4C83JyMqHNP5A_aUV%2BddXxbd2F7RtCQhox4dCKKQAqLw@mail.gmail.com> <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, September 11, 2020, David Christensen <dpchrist@holgerdanske.com> wrote: > On 2020-09-10 07:18, Ludovit Koren wrote: > >> Hi, >> > > Hello. :-) > > > I have the following configuration: >> >> ~>uname -a >> FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 >> 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 >> > > Thank you for posting that. > > > Do you understand the difference between RELEASE and STABLE? > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > current-stable.html > > > > I think, I do. > ~>zfs list >> NAME USED AVAIL REFER MOUNTPOINT >> zroot 244G 0 10.7G /mnt >> zroot/Centos8 6.80G 4.13G 2.67G - >> zroot/msw7 44.9G 25.8G 19.1G - >> zroot/swapdisk0 40.8G 20.6G 20.2G - >> zroot/usr 131G 0 50.9G /usr >> zroot/usr/home 80.1G 0 80.1G /usr/home >> zroot/var 9.94G 0 9.94G /var >> > > > I do not understand how your system can work at all if the root filesystem > is mounted at /mnt (?). Is your FreeBSD running on a different disc? Do > you have a multiple system disks, multi-boot, etc.? > > > If you see the time of creation, I think at that time it was a workaround how to install on the zfs. I did not changed it, since. No the FreeBSD is running from the disk. I have neither multiple system disks, nor multi-boot. In the /boot/loader.conf I have vfs.root.mountfrom="zfs.zroot" After zfs snapshot, which I did on the root, >> > > Please post your console session. > > > Please run the following commands and post the console session: > > # camcontrol devlist > # gpart show > > # mount > > # zpool status > > > > camcontrol devlist <Samsung SSD 840 PRO Series DXM04B0Q> at scbus0 target 0 lun 0 (ada0,pass0) <AHCI SGPIO Enclosure 2.00 0001> at scbus3 target 0 lun 0 (pass1) gpart show => 34 500118125 ada0 GPT (238G) 34 128 1 freebsd-boot (64K) 162 500117997 2 freebsd-zfs (238G) mount zroot on / (zfs, local, nfsv4acls) devfs on /dev (devfs, local, multilabel) fdescfs on /dev/fd (fdescfs) procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) zroot/usr on /usr (zfs, local, nfsv4acls) zroot/usr/home on /usr/home (zfs, local, nfsv4acls) zroot/var on /var (zfs, local, nfsv4acls) tmpfs on /var (tmpfs, local) map -hosts on /net (autofs) map -media on /media (autofs) tmpfs on /tmp (tmpfs, local) zpool status pool: zroot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: resilvered 0 in 0 days 00:00:00 with 0 errors on Sat Apr 6 20:39:05 2019 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 errors: No known data errors
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADZBGL5s5dWrc3Q0aX8xAEhbN2BXZyvsDyKVByd6A1cnVYsUrw>