Skip to content

FreeBSD and ZFS drive ordering

So, as it turns out, ZFS relies on the FreeBSD slice names to determine what goes where. This can be a problem, since the slice drive names can move around–if, for example, you switch what USB ports your drives plug into. Which is what I just did.
I have no idea what ordering they were before, but I figured out how to find out what they are now. I did a:

dmesg | egrep “da.:”

Which resulted in:

da0: <MICRONET FANTOM DRIVE 2.10> Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
da1: <Maxtor 6 Y250M0 > Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers
da1: 239372MB (490234752 512 byte sectors: 255H 63S/T 30515C)
da2: <MICRONET FANTOM DRIVE 2.10> Fixed Direct Access SCSI-4 device
da2: 40.000MB/s transfers
da2: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)
Be the first to like.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*