From owner-freebsd-questions@freebsd.org Sat Aug 20 10:54:45 2016 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 28CF4BBA061 for ; Sat, 20 Aug 2016 10:54:45 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7021194 for ; Sat, 20 Aug 2016 10:54:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39323348; Sat, 20 Aug 2016 16:54:26 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.14.9/8.14.9) with ESMTP id u7KAsgo8061449; Sat, 20 Aug 2016 17:54:42 +0700 (KRAT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.14.9/8.14.9/Submit) id u7KAscoa061448; Sat, 20 Aug 2016 17:54:38 +0700 (KRAT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 20 Aug 2016 17:54:38 +0700 From: Victor Sudakov To: "Kevin P. Neal" Cc: freebsd-questions@freebsd.org Subject: Re: Root on ZFS, LiveCD and BE Message-ID: <20160820105438.GA59960@admin.sibptus.transneft.ru> References: <20160815145419.GA3619@admin.sibptus.transneft.ru> <20160815231414.GA84125@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160815231414.GA84125@neutralgood.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 10:54:45 -0000 Kevin P. Neal wrote: > > > > Which is the appropriate maillist to ask questions about Root-on-ZFS > > systems? Like the ones below: > > It's a reasonable place to start. Folks around here will point you in the > right direction if the answer requires more expertise. Folks, please do :-) > > 2. Sometimes it's necessary to mount a system's root from another > > > system (LiveCD, mfsBSD or similar). To do that, you have to import a > > > ystem's zroot pool on another system. Is it safe? Is it not going to > > > render the *original* system unbootable? > > You can use the altroot property to be certain that anything automatically > mounted gets mounted underneath the directory specified by that property. > Give the zpool import command the "-o altroot=/some/path" option, and make > sure that /some/path already exists. > > You can also import with the "-N" option to prevent automatic mounting of > datasets in the imported pool. > > But, really, take a look at the mountpoint property for the root filesystem Kevin, this is all good advice how not to screw up the second (fixit) system into which the zroot of the first (original) one is being temporarily imported. However, I am more concerned about not screwing up the first, *original* system whose zroot is temporarily mounted to another fixit system and then again used as a bootable root pool. What would you say about that? After I import a pool into a fixit system, it won't become unbootable or something? And I had another question, which was also important. I'll repeat it in case it got missed somehow: Boot environment selection from the loader menu does not work on 10.3-RELEASE, or it seems like it. I have submitted a PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211835 but maybe it's me doing something wrong? Could someone reproduce please? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru