From owner-freebsd-questions@freebsd.org Wed Jun 26 05:55:41 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7543615B4A3D for ; Wed, 26 Jun 2019 05:55:41 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C61F8EC5D for ; Wed, 26 Jun 2019 05:55:38 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id g0u0hYshyP088g0u2hysan; Wed, 26 Jun 2019 05:55:31 +0000 Date: Wed, 26 Jun 2019 05:55:08 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: Can I recreate my .snap directories ? References: <2214.1561413756@segfault.tristatelogic.com> <20190625004825.AF1CB71804F@kicp.uchicago.edu> <2fd51656-05c5-c609-a355-7275aab9cbb7@kicp.uchicago.edu> <201906260411.x5Q4BBiG001918@r56.edvax.de> <20190626063657.d31006a6.freebsd@edvax.de> X-CMAE-Envelope: MS4wfMgIyQEZ90eJ/vx436UsPP0a00jO7qRvSuHDF2lNwJroxpqfyidP0GWvUBO7RFh9Htb/5NwDXdqBg7O7EFdIsrEw2Qvi6X/lI+86uqIC0BZu6/l1DrcM wUTdfHTWvkgamp2ZDuI/3ox/6uNuVbgu57a2bX6vsjHTs9sHlK+Sker3/ek6puqsThA2+5K14XNMZg== X-Rspamd-Queue-Id: 7C61F8EC5D X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 107.14.73.228 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [-1.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.970,0]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[dnvrco-cmedge01.email.rr.com,dnvrco-cmedge02.email.rr.com]; NEURAL_HAM_SHORT(-0.92)[-0.923,0]; RCVD_IN_DNSWL_NONE(0.00)[228.73.14.107.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.06)[ip: (-4.24), ipnet: 107.14.73.0/24(-3.34), asn: 7843(-2.67), country: US(-0.06)]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2019 05:55:41 -0000 from Polytropon: > On Tue, 25 Jun 2019 19:25:21 +0000, Thomas Mueller wrote: > > UFS-1 or 2 file system created by NetBSD would not have .snap directory. > FreeBSD's newfs supports the following option: > -n Do not create a .snap directory on the new file system. The > resulting file system will not support snapshot generation, so > dump(8) in live mode and background fsck(8) will not function > properly. The traditional fsck(8) and offline dump(8) will work > on the file system. This option is intended primarily for memory > or vnode-backed file systems that do not require dump(8) or > fsck(8) support. > This limits the use of dump and fsck, but if you're not using those > specific features, .snap won't be needed. NetBSD fsck_ffs works on UFS-1 or 2 file system, lack of .snap directory is no impediment. I have rescued FreeBSD file systems by booting into NetBSD and running their fsck_ffs when fsck_ffs from FreeBSD was not good enough. Tom