[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wie kann man herausfinden, an welcher Schnittstelle sdX physikalisch hängt?



Am Fri, 05 Jun 2015 21:43:20 +0200
schrieb Matthias Taube <no_html.max50kb@nurfuerspam.de>:

> Am 05.06.2015 um 15:27 schrieb Sven Hartge:
> 
> >> Wie kann man in einem Debian System herausfinden, wo ein /dev/sdX
> >> physikalisch dran hängt?
> > Bootmeldungen lesen oder lsscsi benutzen.
> 
> Das gibt bei mir
> > [0:0:0:0]    disk    ATA      CT250BX100SSD1   MU02  /dev/sda
> > [1:0:0:0]    disk    ATA      WDC WD5000AAKS-0 1D05  /dev/sdb
> > [2:0:0:0]    disk    ATA      ST4000DM000-1F21 CC54  /dev/sdc
> > [3:0:0:0]    cd/dvd  HL-DT-ST DVD-RAM GH22NS30 1.01  /dev/sr0
> > [6:0:0:0]    disk    Intenso  Rainbow Line     8.07  /dev/sdd
> 
> aus. Nur woran erkenne ich, das [2:0:0:0] ein SATA-Kanal und
> [6:0:0:0] ein USB-Port ist?
> 
$ ls -l /dev/disk/by-id/
insgesamt 0
lrwxrwxrwx 1 root root  9  5. Jun 11:06 ata-HL-DT-ST_BD-RE_BH16NS40_K9KE8QA3946 -> ../../sr0
lrwxrwxrwx 1 root root  9  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061 -> ../../sda
lrwxrwxrwx 1 root root 10  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10  5. Jun 11:06 ata-SAMSUNG_HD103SI_S1VSJ90SC44061-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10  5. Jun 11:06 lvm-pv-uuid-002qcc-wSbF-iDIK-pmEf-8d4B-i1Cq-35u1LQ -> ../../sda4
lrwxrwxrwx 1 root root 10  5. Jun 11:06 lvm-pv-uuid-549iLB-hRih-GJHW-052Q-dzs8-RzHf-a1VZhP -> ../../sda2
lrwxrwxrwx 1 root root  9  5. Jun 11:06 usb-Generic-_USB3.0_CRW-CF_MD_201403070001-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9  5. Jun 11:06 usb-Generic-_USB3.0_CRW-MS_201403070001-0:3 -> ../../sde
lrwxrwxrwx 1 root root  9  5. Jun 11:06 usb-Generic-_USB3.0_CRW-SD_201403070001-0:2 -> ../../sdd
lrwxrwxrwx 1 root root  9  5. Jun 11:06 usb-Generic-_USB3.0_CRW-SD_MS_201403070001-0:4 -> ../../sdf
lrwxrwxrwx 1 root root  9  5. Jun 11:06 usb-Generic-_USB3.0_CRW-SM_xD_201403070001-0:1 -> ../../sdc
lrwxrwxrwx 1 root root  9  5. Jun 22:38 usb-Kingston_DataTraveler_2.0_60A44C3FAF75FEC0D9942504-0:0 -> ../../sdg
lrwxrwxrwx 1 root root 10  5. Jun 22:38 usb-Kingston_DataTraveler_2.0_60A44C3FAF75FEC0D9942504-0:0-part1 -> ../../sdg1
lrwxrwxrwx 1 root root  9  5. Jun 11:06 wwn-0x50024e92018e1e60 -> ../../sda
lrwxrwxrwx 1 root root 10  5. Jun 11:06 wwn-0x50024e92018e1e60-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10  5. Jun 11:06 wwn-0x50024e92018e1e60-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10  5. Jun 11:06 wwn-0x50024e92018e1e60-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10  5. Jun 11:06 wwn-0x50024e92018e1e60-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10  5. Jun 11:06 wwn-0x50024e92018e1e60-part5 -> ../../sda5

-- 
Gruß Jochen


Reply to: