From owner-freebsd-questions@freebsd.org Mon Oct 23 19:19:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C126E52CF2 for ; Mon, 23 Oct 2017 19:19:27 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D973580C2E for ; Mon, 23 Oct 2017 19:19:26 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22e.google.com with SMTP id w5so13031097ywg.11 for ; Mon, 23 Oct 2017 12:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EYm5xOjZnI7GB1LkMWOEFBPfUaJpywSJXYV7vvIoaDo=; b=JYKuxnhSRpGIjx/bbJUmesOXyzDX4KInuPO9k6BxYT9vSZk4EGmPandTYANPPc5xCv tD9sdqnFdiBYIkyosabE85JhEBQHq89fIFAYuNa2gBEk8wo4eq3/7w2oL3UN2G6OieKf JoUHT/URtWhLMUdps8DvV6CBeI+OcxTGDVGOJaB2AcHAfl376VGB4IaLcNaIGfE+yZCv hM4ZlgGSIXgK60WdekKYOo198dDrF8mOapp2s1lpB1n6D+FmHgpEyC3ij4rERj6LSYDO NCNGEIZnHRigX9D5t/KSH2ujQi6mu8pY1q5HBDF0TbQN/RPe13LyA7k+YmZMOYkYmYZO ycbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EYm5xOjZnI7GB1LkMWOEFBPfUaJpywSJXYV7vvIoaDo=; b=fPC89XtGdaQNsBRMiDbVXKA5UR2leFzVyYCrIiNYYs2giZS1wqM3JTC7QGZqlN6xpO QtQNEO5LjN3DmOS4L1gHBWbArrWfmeGEqDvInBKntfnDUm1rB80aPeygymvYxUB2v6W2 uPYRrMnF2Ab8rUTH3RKGCpVmhlkBUel1+eZrwHgyhgX8si+TIeargtVS/MmJhIY5giwm PSad3VlvMJQOWltS27U1GpGSBd65+NhXIqQTu0tDGoDBQZyx+Go7qERRHUctpDMk98Ly YrWylrhF3C5LbITh6Q4Xr8Rw7DBoAZVXdWLGLKLRm+Qn8wifgr0yF1iTjWeItrsdY9XE NE9w== X-Gm-Message-State: AMCzsaU6lrTx6fu06ekV847VbtYxTa7VGBUUM8v89L+ebU6lPNptfDY8 AJGzXKi3NSxbkY0TUf/wuEK+Hh6Iqo/tzNfCEOuuDvh4 X-Google-Smtp-Source: ABhQp+Q54rCyGAWrJkaDoZ4jpoE/Ekf6t/f6FR/OCif4ddvg9kVrkSacCDpywgYIbcu3N6MeqGfioxLIzYaPktCcA/w= X-Received: by 10.37.6.85 with SMTP id 82mr8904989ybg.308.1508786365855; Mon, 23 Oct 2017 12:19:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.219.143 with HTTP; Mon, 23 Oct 2017 12:19:25 -0700 (PDT) In-Reply-To: <809ce5c30945a6659ef1ab5ea592fb80.squirrel@webmail.harte-lyne.ca> References: <809ce5c30945a6659ef1ab5ea592fb80.squirrel@webmail.harte-lyne.ca> From: Ultima Date: Mon, 23 Oct 2017 12:19:25 -0700 Message-ID: Subject: Re: snapshots contain no data. To: byrnejb@harte-lyne.ca Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 19:19:27 -0000 Hello James, I'm not really sure what your expecting to see with ls, but I'll give you some tips and hopefully it will help. If your interested in seeing all the snapshots, running "zfs list -t snapshot" will give you the list of all the snapshots, this can be piped into grep to narrow the list down. These snapshots can be mounted like so: "mount -t zfs zroot@SNAPSHOT /mnt" replace SNAPSHOT with a actual snapshot, in this case something like 2017-10-10_12.10.00--14d should work. Hope this helps, Richard Gallamore On Mon, Oct 23, 2017 at 11:54 AM, James B. Byrne via freebsd-questions < freebsd-questions@freebsd.org> wrote: > I implemented snapshots on my desktop unit. the zfs pool looks like > this: > > zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 40.4G 851G 96K /zroot > zroot/ROOT 13.1G 851G 96K none > zroot/ROOT/default 13.1G 851G 9.14G / > zroot/tmp 76.4M 851G 2.56M /tmp > zroot/usr 26.9G 851G 96K /usr > zroot/usr/home 26.3G 851G 22.4G /usr/home > zroot/usr/ports 638M 851G 638M /usr/ports > zroot/usr/src 96K 851G 96K /usr/src > zroot/var 131M 851G 96K /var > zroot/var/audit 96K 851G 96K /var/audit > zroot/var/crash 96K 851G 96K /var/crash > zroot/var/log 118M 851G 2.60M /var/log > zroot/var/mail 1.29M 851G 120K /var/mail > zroot/var/tmp 11.3M 851G 5.45M /var/tmp > > This is one of the snapshot commands I am issuing from cron: > > /usr/local/sbin/zfsnap snapshot -a 14d -s -S -r zroot > > > > But when I look in the snapshot directories I see no data. > > This is the result: > > ls -a /zroot/.zfs/snapshot/*14d > /zroot/.zfs/snapshot/2017-10-10_11.10.00--14d: > . .. > > /zroot/.zfs/snapshot/2017-10-10_12.10.00--14d: > . .. > . . . > > /zroot/.zfs/snapshot/2017-10-23_14.10.00--14d: > . .. > > > This is busy system and I have made many changes to the file system > since starting this on October 10. Why are there no snapshot > references to changed files or where do I find them? > > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:ByrneJB@Harte-Lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > _______________________________________________ > 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" >