Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 11:33:03 -0700
From:      Aleksandr Miroslav <alexmiroslav@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ZFS: zdev names don't match devices
Message-ID:  <CACcSE1y90LKs7h2Dc%2BnaDOdmzVTf6zt9X1Au7YC-QBjVi0v5cg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACcSE1y90LKs7h2Dc%2BnaDOdmzVTf6zt9X1Au7YC-QBjVi0v5cg>