From owner-freebsd-current@FreeBSD.ORG Wed Dec 17 21:37:27 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9D581065678 for ; Wed, 17 Dec 2008 21:37:27 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id C45698FC08 for ; Wed, 17 Dec 2008 21:37:27 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by wf-out-1314.google.com with SMTP id 24so120400wfg.7 for ; Wed, 17 Dec 2008 13:37:27 -0800 (PST) Received: by 10.142.214.11 with SMTP id m11mr479214wfg.125.1229549846923; Wed, 17 Dec 2008 13:37:26 -0800 (PST) Received: by 10.142.164.20 with HTTP; Wed, 17 Dec 2008 13:37:26 -0800 (PST) Message-ID: <367b2c980812171337v473a9bfbxf8c8aabafcd00d4e@mail.gmail.com> Date: Wed, 17 Dec 2008 22:37:26 +0100 From: "Olivier SMEDTS" To: freebsd-current MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: "Funny" behavior of zpool import : can mount on top of / X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 21:37:28 -0000 Hello list, Just something that makes my system crash when I'm too tired : # dd if=/dev/zero of=/tmp/image bs=1M count=512 # mdconfig -a -f /tmp/image # newfs /dev/md0 # mount /dev/md0 / mount: /dev/md0 : Invalid argument Ok, this error is expected... but now : # zpool create -R /mnt test md0 # zpool export test # zpool import test Shit happens... Of course, "zpool import -R /mnt test" is ok. Btw, I'm using a fresh FreeBSD 8.0-CURRENT amd64 with zpool and zfs version 13. Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."