Date: Fri, 11 Sep 2020 12:52:10 -0700 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: Re: ZFS snapshot - rollback problem Message-ID: <692fc996-46f4-ff04-2b48-27850e86d897@holgerdanske.com> In-Reply-To: <CADZBGL5yzM73NsQiD7-uHgdN%2BSRnac-7_4P9HQSeN5VUzopSuw@mail.gmail.com> References: <CADZBGL4C83JyMqHNP5A_aUV%2BddXxbd2F7RtCQhox4dCKKQAqLw@mail.gmail.com> <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> <CADZBGL5s5dWrc3Q0aX8xAEhbN2BXZyvsDyKVByd6A1cnVYsUrw@mail.gmail.com> <2ab7551a-ff62-70fd-61a3-04d678f1281b@holgerdanske.com> <CADZBGL5yzM73NsQiD7-uHgdN%2BSRnac-7_4P9HQSeN5VUzopSuw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-09-11 02:31, Ludovit Koren wrote: When you reply to a message, put at least one blank line before and after new text. Without it, the indentation levels get messed up by the various mailers these messages go through. Also, please do not post people's e-mail address (mailer setting?). > On Friday, September 11, 2020, David Christensen ... wrote: >> On 2020-09-10 23:31, Ludovit Koren wrote: >>> On Friday, September 11, 2020, David Christensen ... wrote: >>>> On 2020-09-10 07:18, Ludovit Koren wrote: >>>>> ~>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 >> Did you partition the disk by hand, use the FreeBSD installer, or >> something else? > If I remember correctly, using installer I find it is better, faster, and cheaper to keep records. A networked version control system is ideal for this. >> 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 > zfs rollback zroot/swapdisk0@200909 > cannot rollback ´zroot/swapdisk0': out of space I believe I have seen that error message before, but have no record of it and forget the details. STFW I am unable to find any good hits. The developer approach would be to install source and grep(1) for it. > zfs rollback zroot@200909 > > nothing happens, even if I wait several hours, or it hangs, respectivelly If the process is stuck in an infinite loop, top(1) will show it (consider the '-m' option and/or 'm' hotkey): # top -S -s 10 The zpool(8) 'iostat' subcommand is useful for watching ZFS I/O: # zpool iostat -v 10 There are many other userland tools for monitoring aspects of the system and/or processes; I need to learn more of them. Given that you are using STABLE, you should probably seek support per handbook section 23.4.2. If it were my computer, I would backup, wipe, install, and migrate to 12.1-STABLE. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692fc996-46f4-ff04-2b48-27850e86d897>
