Labeling SATA ports

andrew clarke mail at
Sat Apr 5 23:35:54 UTC 2014

On Wed 2014-04-02 12:33:34 UTC+0200, Johan Hendriks (joh.hendriks at wrote:

> > Now I would like to label the slots (not the partitions or drives,
> > because this is done by ZFS) to a name like (slot0...slot7) to put a
> > sticker on the enclosure to be easily able to change a HDD with a
> > failure and do not have to guess in which slot the HDD is located.


> I took another route.
> I label my disks with gpart. Then I label the drive with a sticker 
> matching the gpart label.

I also use gpart labels, but using the unique serial number of the
drive as reported by smartctl. This is the same as the serial number
on the sticker attached to the drive by the manufacturer. Of course,
once the drive is installed in the chassis the sticker may no longer
be visible, so using your own stickers might still be necessary.

More information about the freebsd-questions mailing list