From owner-freebsd-questions@freebsd.org Mon May 2 21:45:37 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 E78EDB2B180 for ; Mon, 2 May 2016 21:45:37 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8525314E9 for ; Mon, 2 May 2016 21:45:37 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (unknown [IPv6:2001:a61:128c:9501:dacb:8aff:febf:62dd]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 8CE223EE3A3; Mon, 2 May 2016 23:45:34 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 8CE223EE3A3 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1462225534; bh=rZNle+7F/FVrTTW4auzg8udey53teBUHJakZPFrNSOE=; h=Subject:To:References:From:Date:In-Reply-To; b=QMp2TGu14YtWTrAizUsKfliZ9ETjF3oqIu+284hLn4Ynsxdz0R+zibNy59zSqwE2R 2eyi7XL6OMoz7JLx0Tulkt7OK9ShOYProo8I6UMUpnXYux3SAVx6Gwzt5Q5UiUR3nQ oVm1BJi1ZqsIyvqFBvYtNt1Q4Fm5TQMrVVHuQszw= Received: from [192.168.0.151] (aftr-88-217-181-97.dynamic.mnet-online.de [88.217.181.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 3AC0B2AE7A3; Mon, 2 May 2016 23:45:31 +0200 (CEST) Subject: Re: ZFS migration - New pool lost after reboot To: Sebastian Wolfgarten , freebsd-questions@freebsd.org References: <0A383C91-FCBA-4B9E-A95A-157A13708125@wolfgarten.com> <72087b33-53f9-e298-1441-4988c2a5ecb3@fechner.net> <2D936447-34C1-471B-8787-8075B19F8B28@wolfgarten.com> <6E1B2BCF-3B5C-4D18-9152-FE68711B2B43@wolfgarten.com> From: Matthias Fechner Message-ID: <72d62e46-59f4-5e6f-2bf6-8ac1ba808f02@fechner.net> Date: Mon, 2 May 2016 23:45:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <6E1B2BCF-3B5C-4D18-9152-FE68711B2B43@wolfgarten.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: Mon, 02 May 2016 21:45:38 -0000 Am 02.05.2016 um 22:42 schrieb Sebastian Wolfgarten: > root@vm:~ # zfs list > NAME USED AVAIL REFER MOUNTPOINT > newpool 385M 5.41G 19K /mnt/zroot > newpool/ROOT 385M 5.41G 19K /mnt > newpool/ROOT/default 385M 5.41G 385M /mnt > newpool/tmp 21K 5.41G 21K /mnt/tmp > newpool/usr 76K 5.41G 19K /mnt/usr > newpool/usr/home 19K 5.41G 19K /mnt/usr/home > newpool/usr/ports 19K 5.41G 19K /mnt/usr/ports > newpool/usr/src 19K 5.41G 19K /mnt/usr/src > newpool/var 139K 5.41G 19K /mnt/var > newpool/var/audit 19K 5.41G 19K /mnt/var/audit > newpool/var/crash 19K 5.41G 19K /mnt/var/crash > newpool/var/log 44K 5.41G 44K /mnt/var/log > newpool/var/mail 19K 5.41G 19K /mnt/var/mail > newpool/var/tmp 19K 5.41G 19K /mnt/var/tmp > zroot 524M 26.4G 96K /zroot > zroot/ROOT 522M 26.4G 96K none > zroot/ROOT/default 522M 26.4G 522M / > zroot/tmp 74.5K 26.4G 74.5K /tmp > zroot/usr 384K 26.4G 96K /usr > zroot/usr/home 96K 26.4G 96K /usr/home > zroot/usr/ports 96K 26.4G 96K /usr/ports > zroot/usr/src 96K 26.4G 96K /usr/src > zroot/var 580K 26.4G 96K /var > zroot/var/audit 96K 26.4G 96K /var/audit > zroot/var/crash 96K 26.4G 96K /var/crash > zroot/var/log 103K 26.4G 103K /var/log > zroot/var/mail 96K 26.4G 96K /var/mail > zroot/var/tmp 92.5K 26.4G 92.5K /var/tmp > > I am assuming I have to amend the zfs parameters for the mount points but I can’t seem to figure out what’s wrong. I tried things like: > > zfs set mountpoint=/usr newpool/usr > zfs set mountpoint=/tmp newpool/tmp > zfs set mountpoint=/var newpool/var zfs set mountpoint=none newpool/ROOT zfs set mountpoin=/ newpool/ROOT/default zfs set mountpoin=/tmp newpool/tmp zfs set mountpoin=/usr newpool/usr zfs set mountpoin=/var newpool/var Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook