Linking Drives to Controllers

Status
Not open for further replies.

The Gecko

Dabbler
Joined
Sep 16, 2013
Messages
18
From the command line, how can I tell which drives are connected to which controllers?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Useless response, cj. The normal answer is to look at the dmesg output. If it has been awhile since the system booted, you might want the cached-at-boot copy in /var/run/dmesg.boot ... or reboot to freshen the data.

There isn't a good way to map this out easily and reliably across controller types. The device model used by FreeBSD really tries to abstract that away and does a good job of it.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Not useless at all. That link gives you several ways to provide information that is useful. dmesg is one of them. Another is to look at the debug. Both are listed in the forum rules.

I was being harsh because no FreeNAS version was provided, no hardware was provide, and a single one-sentence question was all that was provided.
 
Status
Not open for further replies.
Top