Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 17:48:34 -0400
From:      Quartz <quartz@sneakertech.com>
To:        Aleksandr Miroslav <alexmiroslav@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS: zdev names don't match devices
Message-ID:  <55A03DB2.3020407@sneakertech.com>
In-Reply-To: <CACcSE1y90LKs7h2Dc%2BnaDOdmzVTf6zt9X1Au7YC-QBjVi0v5cg@mail.gmail.com>
References:  <CACcSE1y90LKs7h2Dc%2BnaDOdmzVTf6zt9X1Au7YC-QBjVi0v5cg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Did I screw
> up my zfs setup?

No. This is a quirk of the way the 10.x installer/ZFS works. There are a 
handful of different ways to identify a disk on FreeBSD besides the 
device ID, including UUIDs and gpt labels and such. Device IDs will 
change if you ever add/remove/reorder the physical drives, so the 
installer uses the other methods to be safer. I don't know why it uses a 
mix instead of doing the same thing for each drive though.


>Why do the vdevs have these names?
> How do I map these vdev names back to my disks?

I think you're confused about what a vdev is. "vdev" is shorthand for 
'virtual device'. Disks (or partitions, or files) are grouped into a 
vdev, and the vdevs are then striped together to form your pool. A vdev 
doesn't have a "name", just a type (ie; mirror/raid/etc). The block 
devices that the vdevs are composed of are what can have names.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A03DB2.3020407>