From owner-freebsd-questions@freebsd.org Fri Jul 10 18:33:05 2015 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 D5A937753 for ; Fri, 10 Jul 2015 18:33:05 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-wg0-x243.google.com (mail-wg0-x243.google.com [IPv6:2a00:1450:400c:c00::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73BEB1A99 for ; Fri, 10 Jul 2015 18:33:05 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: by wgwk7 with SMTP id k7so24702865wgw.0 for ; Fri, 10 Jul 2015 11:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=htpv4HvOVFfOFEkiLO1DGVUU2tz2CD3IdIqpkJ0/xWM=; b=Vac2ucvjMnP4ChhyW+qnJIWpGyCShuQ9QC5BV4VfgnCe3zhvXP0sSrWiLhMt4Fdyoc +ztP8RE4AiA+nyjd8pvro2nz94/09t92cDWdpNqQkhJbJZxi0JS+K785L/OUkM0o/w/E noGKM3rl/xRYpvAJGTyQkJ2ZlZPi8hK9BhSvaZ55+9DaJdqlKJJTsQBe1MWCkfpJG04T b763lqwRSVmkPjKz0RRgIH7NUc5NOpnYsDwKjFl2jedfkWcPc7BvHump5d2ur0qMN8bj RKTZvHT1uU+Fxg9AT2K27GnJbKz20G1FplJ3NB/g78LoSAZ9jIzBMh8NjToDhmjh//Z+ SGCQ== MIME-Version: 1.0 X-Received: by 10.180.91.76 with SMTP id cc12mr314688wib.67.1436553183963; Fri, 10 Jul 2015 11:33:03 -0700 (PDT) Received: by 10.28.170.83 with HTTP; Fri, 10 Jul 2015 11:33:03 -0700 (PDT) Date: Fri, 10 Jul 2015 11:33:03 -0700 Message-ID: Subject: ZFS: zdev names don't match devices From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 18:33:06 -0000 New to ZFS. I have two disks on my server, ad0, and ada1. This is what dmesg calls them, and this is how they were referred to in bsdinstall. I installed 10.1 with zfs-on-root, and setup a mirrored zpool. However, when I run zpool status, these disks are called something else: gpt/zfs0 and diskid/DISK-Z1E08JB5p3. This may have been because the ran the install more than once. Did I screw up my zfs setup? Why do the vdevs have these names? Can/Should I rename them? How do I map these vdev names back to my disks? (i.e. which one is ada0 and which one is ada1?) Can zfs show me detailed info on these vdevs? Here is the full output of zpool status: $ zpool status pool: zroot state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Thu Jul 9 15:45:02 2015 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/zfs0 ONLINE 0 0 0 diskid/DISK-Z1E08JB5p3 ONLINE 0 0 0 errors: No known data errors Have I done something wrong in setting this machine up?