which sata to which disk
Lonnie Olson
lists at kittypee.com
Mon Feb 28 11:54:18 MST 2011
On Mon, Feb 28, 2011 at 11:51 AM, Lonnie Olson <lists at kittypee.com> wrote:
> There's a ton of information, that is symlinked all around, in /sys
>
> $ ls -l /sys/block/sd*/device
> lrwxrwxrwx 1 root root 0 2011-02-28 11:49 /sys/block/sda/device ->
> ../../../0:0:0:0
> lrwxrwxrwx 1 root root 0 2011-02-28 11:50 /sys/block/sdb/device ->
> ../../../1:0:1:0
>
Another possible example that might help.
$ ls -l /sys/block/dm-0/slaves/
lrwxrwxrwx 1 root root 0 2011-02-28 11:53 sdb2 ->
../../../../pci0000:00/0000:00:1f.2/host1/target1:0:1/1:0:1:0/block/sdb/sdb2
More information about the PLUG
mailing list