From owner-freebsd-hackers@freebsd.org Fri Feb 26 05:11:34 2016 Return-Path: Delivered-To: freebsd-hackers@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 AB804AB56AB; Fri, 26 Feb 2016 05:11:34 +0000 (UTC) (envelope-from karli.sjoberg@slu.se) Received: from exch2-4.slu.se (pop.slu.se [77.235.224.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "webmail.slu.se", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 434D51A6; Fri, 26 Feb 2016 05:11:33 +0000 (UTC) (envelope-from karli.sjoberg@slu.se) Received: from Exch2-3.slu.se (77.235.224.123) by exch2-4.slu.se (77.235.224.124) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Fri, 26 Feb 2016 05:56:19 +0100 Received: from Exch2-3.slu.se ([fe80::e8c9:5585:730f:f95]) by Exch2-3.slu.se ([fe80::e8c9:5585:730f:f95%23]) with mapi id 15.00.1156.000; Fri, 26 Feb 2016 05:56:19 +0100 From: =?iso-8859-1?Q?Karli_Sj=F6berg?= To: Zaphod Beeblebrox CC: FreeBSD Hackers , freebsd-fs Subject: Re: ZFS full system backup hoses the backup host. Thread-Topic: ZFS full system backup hoses the backup host. Thread-Index: AQHRcA9G+6fLnprz0kSutt/jUfgKRZ89w/HY Date: Fri, 26 Feb 2016 04:56:19 +0000 Message-ID: <0ae0e3ab-6ad1-4ae2-9ee9-a7d993088a01@email.android.com> References: In-Reply-To: Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 26 Feb 2016 12:01:37 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 05:11:34 -0000 Den 25 feb. 2016 9:58 em skrev Zaphod Beeblebrox : > > This violated POLA for me. I backed up a host u This violated POLA for me. I backed up a host using: time zfs send -vRI @backup-1-e zroot@backup-1-f | ssh backuphost "zfs receive -vFud zroot/backup/host" Only to find that the backup host (a week later) failed to reboot? The problem? Well... -u on receive marks the filesystem as unmounted only "right now" not "next reboot" and -R on send implies -p (send dataset attributes) and... ... zroot/ROOT/default mountpoint=3D/ (among others). The only hackish way to fix this I see is to have a list of mountpoints to correct --- which is partially what I'm trying to avoid by using -R --- I just want the whole thing backed up. What have other people done to get around this and/or can we either put in an "ignore properties" on receive flag or a -R on send that doesn't send them? _______________________________________________ freebsd-fs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"