Dear All,
I am building a ZFS storage based on FreeBSD 9.0 and using an external Supermicro disk enclosure with 15K Seagate drives. I also have 2 OCZ Vertex 3 MAX IOPS for ZIL cache. The enclosure is connected to LSI 9200-8e over SAS and everything seems to work well and all drives are found by FreeBSD.
However, I cannot find a way to map a device name (e.g. "/dev/da1") to a physical slot number in the enclosure. FreeBSD seems to name the devices arbitrary, for instance "/dev/da13" is in slot 1 in my system.
I have tried using a tool from LSI called sas2ircu release 14, but the tool will not find any enclosures. I have also played with /usr/share/examples/ses/getencstat, but this will only give me information about which slot is occupied.
Is there a utility that can map a device to a slot for freebsd? Or is there a way using different utilities with some scripting to map this out?
I would be very grateful if someone can point me in the right direction.
I am building a ZFS storage based on FreeBSD 9.0 and using an external Supermicro disk enclosure with 15K Seagate drives. I also have 2 OCZ Vertex 3 MAX IOPS for ZIL cache. The enclosure is connected to LSI 9200-8e over SAS and everything seems to work well and all drives are found by FreeBSD.
However, I cannot find a way to map a device name (e.g. "/dev/da1") to a physical slot number in the enclosure. FreeBSD seems to name the devices arbitrary, for instance "/dev/da13" is in slot 1 in my system.
I have tried using a tool from LSI called sas2ircu release 14, but the tool will not find any enclosures. I have also played with /usr/share/examples/ses/getencstat, but this will only give me information about which slot is occupied.
Is there a utility that can map a device to a slot for freebsd? Or is there a way using different utilities with some scripting to map this out?
I would be very grateful if someone can point me in the right direction.