Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Aug 2019 08:42:01 +0000
From:      rosaliewatson@digiwebfirm.com
To:        freebsd-questions@freebsd.org
Subject:   Quick question about : freebsd.org
Message-ID:  <000000000000289733058f0a374e@google.com>

Next in thread | Raw E-Mail | Index | Archive | Help
SGVsbG8gZnJlZWJzZC5vcmcgLA0KDQpNeSBuYW1lIGlzUm9zYWxpYSBXYXRzb24sIGFuZCBJJ20g
YSBTRU8gU3BlY2lhbGlzdC4NCg0KSSB3YXMgb24geW91ciBmcmVlYnNkLm9yZyBhbmQgZm91bmQs
IHRoZXJlIGFyZSBtYW55IHNjb3BlIG9mIGltcHJvdmVtZW50cyAgDQppbiBkZXNpZ25pbmcgYW5k
IGRldmVsb3BtZW50IHBhcnQuIFRoaXMgd2lsbCBpbXByb3ZlIHRoZSBvdmVyYWxsIHVzYWJpbGl0
eSAgDQphbmQgdXNlciBmcmllbmRsaW5lc3Mgb2YgeW91ciBmcmVlYnNkLm9yZyAuDQoNCklmIHlv
dSBhcmUgSW50ZXJlc3RlZCBJJ2QgYmUgaGFwcHkgdG8gc2VuZCB5b3UgTm8gT2JsaWdhdGlvbiBB
dWRpdCBSZXBvcnQgIA0KZm9yIHlvdXIgd2Vic2l0ZSwgb3VyIHBhY2thZ2UsIHByaWNpbmcgYW5k
IHBhc3Qgd29yayBkZXRhaWxzLCBpZiB5b3UnZCBsaWtlICANCnRvIGFzc2VzcyBvdXIgd29yay4N
Cg0KDQpXZSBjb3VsZCBsb3dlciB0aGF0IGNvc3QgYW5kIG5vdCBjb21wcm9taXNlIG9uIHF1YWxp
dHkhDQoNCg0KSG9wZSB0byBoZWFyIGJhY2sgZnJvbSB5b3Ugc29vbi4NCg0KDQpCZXN0IFJlZ2Fy
ZHMsDQoNCg0KUm9zYWxpYSBXYXRzb24sIERpZ2l0YWwgTWFya2V0aW5nIFNwZWNpYWxpc3QNCg0K
DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCk5vdGU6IEtpbmRseSBwbGVhc2UgZW1haWwgd2l0aCAi
SW50ZXJlc3RlZCIgb3IgYWxsb3cgbWUgdG8gc2VuZCB5b3UgYSDigJxObyAgDQpPYmxpZ2F0aW9u
IEF1ZGl0IFJlcG9ydOKAnSBhbmQgc28gdGhhdCB3ZSB3aWxsIGtub3cgdGhlIHN0YXR1cyBvZiB5
b3VyICANCmlucXVpcnkgYW5kIGFjdCBhY2NvcmRpbmdseS4NCg0KDQo=
From owner-freebsd-questions@freebsd.org  Thu Aug  1 15:51:14 2019
Return-Path: <owner-freebsd-questions@freebsd.org>
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 58C3CC0BCE
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Thu,  1 Aug 2019 15:51:14 +0000 (UTC)
 (envelope-from dpchrist@holgerdanske.com)
Received: from holgerdanske.com (holgerdanske.com [184.105.128.27])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 45zvsY3Q9Lz3JXS
 for <freebsd-questions@freebsd.org>; Thu,  1 Aug 2019 15:51:13 +0000 (UTC)
 (envelope-from dpchrist@holgerdanske.com)
Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA
 (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD)
 (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN)
 for <freebsd-questions@freebsd.org>; Thu, 1 Aug 2019 08:51:09 -0700
Subject: Re: zfstools zfs-auto-snapshot issue
To: freebsd-questions@freebsd.org
References: <e96881ba-0532-bafd-c084-df973430ec14@holgerdanske.com>
 <af40f167-ba59-652b-62a7-2b751435737d@gmx.com>
From: David Christensen <dpchrist@holgerdanske.com>
Message-ID: <e7edc589-85f1-e8fa-8915-f6377211793a@holgerdanske.com>
Date: Thu, 1 Aug 2019 08:51:08 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <af40f167-ba59-652b-62a7-2b751435737d@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 45zvsY3Q9Lz3JXS
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF
 policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com
X-Spamd-Result: default: False [0.50 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[];
 IP_SCORE(-0.40)[ipnet: 184.104.0.0/15(0.85), asn: 6939(-2.80), country:
 US(-0.05)]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org];
 TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1];
 DMARC_NA(0.00)[holgerdanske.com];
 RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0];
 R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Aug 2019 15:51:14 -0000

On 8/1/19 3:05 AM, Nikos Vassiliadis wrote:
> I think the property's value should be true, not TRUE.

2019-08-01 08:38:04 toor@soho ~
# zfs set com.sun:auto-snapshot=true bootpool

2019-08-01 08:47:27 toor@soho ~
# zfs get all bootpool | grep snap
bootpool  snapdir                hidden                 default
bootpool  usedbysnapshots        96K                    -
bootpool  snapshot_limit         none                   default
bootpool  snapshot_count         none                   default
bootpool  com.sun:auto-snapshot  true                   local

2019-08-01 08:49:05 toor@soho ~
# /usr/local/sbin/zfs-auto-snapshot -d -v frequent 11
zfs list -H -t filesystem,volume -o 
name,type,com.sun:auto-snapshot:frequent,com.sun:auto-snapshot,mounted 
-s name
zpool get -H -p -o name,property,value feature@bookmarks 2>/dev/null
zfs snapshot -r bootpool@zfs-auto-snap_frequent-2019-08-01-08h49
zfs list -r -H -t snapshot -o name,used -S name

2019-08-01 08:49:23 toor@soho ~
# ls -l /bootpool/.zfs/snapshot/
total 1
drwxr-xr-x  3 root  wheel  3 May 23 22:21 manual-snapshot-20190731-1924
drwxr-xr-x  3 root  wheel  3 May 23 22:21 
zfs-auto-snap_frequent-2019-08-01-08h50


You are correct -- thank you.  :-)


David



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000000000000289733058f0a374e>