From owner-freebsd-questions@freebsd.org Wed Sep 23 08:03:52 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EE7B3F1F9C for ; Wed, 23 Sep 2020 08:03:52 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bx9fv2BZmz4Rtv for ; Wed, 23 Sep 2020 08:03:50 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id a17so19888259wrn.6 for ; Wed, 23 Sep 2020 01:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:user-mail-address:date:in-reply-to :message-id:user-agent:mime-version; bh=KoQRXuqmLBfCY6c++U+RVyIxI01mkPyauvJ1Zhlddvc=; b=X+Qz29aBW24i3qzrErpSiTnTKQ5GV7uYd+PztrV45SzEkQOMxBN1bMUlGzoNjO7BR8 Twui6cl1KyhO+N/cSQK8Ft8rpOhPkKqnVolAlWRMb6JHUppuKV7/b4U8uVk+sR1xEJa4 VjmvPMTlok11wTdYKThfMhm3u2WkuVuBgeudVhNKCR+V1L7gnz3jfZF+Ho4CZa9oLvCm T7JYpR4MhjOlMr1Cg7uQVt0UsTAtKY3v04tcn3Abc2GqS1XPDymCW/3NdzVkz3TYNsts YKeyEZOGHqYh5R7/XKTPuVQIuLJX1xotziN4GVRpJVi+CaUMetucIPGFbwE1DWsqN5bw SG+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:user-mail-address :date:in-reply-to:message-id:user-agent:mime-version; bh=KoQRXuqmLBfCY6c++U+RVyIxI01mkPyauvJ1Zhlddvc=; b=B94BnEPU5+j0wa4yBhZODAnUfZKWB+rLYffxJE5K1pCX79wHF20NlS2YogqyXkpyq1 RrX+cHf8OgOdCO2bkr77RcQItPRWkv/T24SVie/9xV6OJUA2TLV36qZMr2hY4+M5oiaI cx7Chf8kB2nAfeuXZpJs0lda4a8Xa0XhrTnfHpXdcsvBsNYhdB82UNY30gN7VyesGmi8 fh1355N5U6Zs0so3J84HOeKolJQxnDkBEp5AdOZH5FIbiK2C6/GAZr5h/xiWOqv8aeAy YiUQ8SbjRUA+tA0D5T/EMzCjJfvazZaTlXw1IXYakQPJHhN+mFsXY9Y3STbGqdUn3W/a 6iIQ== X-Gm-Message-State: AOAM533zyLlZFZca86Q22fuE4S5vwbjYmbClQIRoUwckvPXvkRokuz5m yu/xMzGcS0XA2e5bmPyvBT0ig53GT/Y= X-Google-Smtp-Source: ABdhPJyGOHEd1pWvQwZJpoI1xzJmgy7Dlzl23WuP60LDZJQci/fLgfdVAXwU8SSDsMhXWAf7VjK0bw== X-Received: by 2002:adf:dbc3:: with SMTP id e3mr9749035wrj.1.1600848228747; Wed, 23 Sep 2020 01:03:48 -0700 (PDT) Received: from jedi.localdomain (bband-dyn147.178-41-180.t-com.sk. [178.41.180.147]) by smtp.gmail.com with ESMTPSA id 91sm31960777wrq.9.2020.09.23.01.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 01:03:48 -0700 (PDT) Received: by jedi.localdomain (Postfix, from userid 1001) id 0C21F16BA23; Wed, 23 Sep 2020 10:03:47 +0200 (CEST) From: Ludovit Koren To: Christoph Brinkhaus Cc: Subject: Re: ZFS snapshot - rollback problem References: <20200912143051.GA1500@esprimo> User-Mail-Address: ludovit.koren@gmail.com Date: Wed, 23 Sep 2020 10:03:47 +0200 In-Reply-To: <20200912143051.GA1500@esprimo> (Christoph Brinkhaus's message of "Sat, 12 Sep 2020 16:30:51 +0200") Message-ID: <86a6xg2a3g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4Bx9fv2BZmz4Rtv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=X+Qz29aB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-3.25 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.16)[-0.162]; FREEMAIL_TO(0.00)[t-online.de]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.051]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[178.41.180.147:received]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_HAM_LONG(-1.03)[-1.034]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 08:03:52 -0000 >>>>> Christoph Brinkhaus writes: > On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: > Dear Ludovit, > I quote the first message because I have a complete different idea. > I hope this is ok. >> Hi, >> >> 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 >> ~>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 > Is it possible that the pool has been generated using Centos? > Then the features of the pool might be different to that what > is supported by FreeBSD. > Kind regards, > Christoph >> >> After zfs snapshot, which I did on the root, I got: >> ~>zfs list -t snapshot >> NAME USED AVAIL REFER MOUNTPOINT >> zroot@200909 1K - 10.7G - >> zroot/Centos8@200909 1K - 2.67G - >> zroot/msw7@200909 1K - 19.1G - >> zroot/swapdisk0@200909 0 - 20.2G - >> zroot/usr@200909 1K - 50.9G - >> zroot/usr/home@200909 1K - 80.1G - >> zroot/var@200909 1K - 9.94G - >> >> i.e. whole filesystem is read only. I am not able to do neither >> rollback, nor destroy of the snapshot. Is there any possibility to >> reset the filesystem to the read-write mode? >> >> >> Any help is greatly appreciated. >> >> >> Regards, >> >> >> lk >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Just to sum up, at the end. I did backup of the FS and reinstall the OS. I did not find the way to reset the FS to read-write mode. Regards, lk