Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I placed a memory stick into a server that has three SCSI drives in it. everytime I use mount it displays the mount points for sda1, sda2, sda3 which are the SCSI drives. How can I identify what devices my memory stick is being associated with? For example when I place my memory stick on another machine that has IDE drives in it, it assigns it as /dev/sda and then it mounts in on /media/usbdisk. I am confused!
Well, does the server have 3 SCSI drives, or 1 drive with three partitions. One way or another, it will probably have the device module as /dev/sdb1, since udev names them in the order it finds them.
The naming goes as follows: sdb1
"sd" = serial or scsi disk (can't remember which)
"b" = the second peice of hardware discovered (as in, after 'a')
"1" = the first (and probably only) partition on sdb
In the future I would do something Like tail the message log to determine the device assigned to something you plug int..
Issue the tail command then plug in your usb device.. you will witness the system detect the device and assign a device id to it.
Code:
itg-debian:~# tail -F /var/log/messages
Nov 14 17:10:44 localhost kernel: DROPPED IN=eth0 OUT= MAC=00:50:04:a9:a0:82:00:30:48:23:c9:75:08:00 SRC=192.168.0.23 DST=192.168.0.188 LEN=44 TOS=0x00 PREC=0x00 TTL=32 ID=43128 PROTO=UDP SPT=1150 DPT=38293 LEN=24
Nov 14 17:10:44 localhost kernel: DROPPED IN=eth0 OUT= MAC=00:50:04:a9:a0:82:00:30:48:23:c9:75:08:00 SRC=192.168.0.23 DST=192.168.0.188 LEN=44 TOS=0x00 PREC=0x00 TTL=32 ID=43129 PROTO=UDP SPT=1150 DPT=38293 LEN=24
Nov 14 17:10:44 localhost kernel: DROPPED IN=eth0 OUT= MAC=00:50:04:a9:a0:82:00:30:48:23:c9:75:08:00 SRC=192.168.0.23 DST=192.168.0.188 LEN=44 TOS=0x00 PREC=0x00 TTL=32 ID=43130 PROTO=UDP SPT=1150 DPT=38293 LEN=24
Nov 14 17:10:44 localhost kernel: DROPPED IN=eth0 OUT= MAC=00:50:04:a9:a0:82:00:30:48:23:c9:75:08:00 SRC=192.168.0.23 DST=192.168.0.188 LEN=44 TOS=0x00 PREC=0x00 TTL=32 ID=43131 PROTO=UDP SPT=1150 DPT=38293 LEN=24
Nov 14 17:10:44 localhost kernel: DROPPED IN=eth0 OUT= MAC=00:50:04:a9:a0:82:00:30:48:23:c9:75:08:00 SRC=192.168.0.23 DST=192.168.0.188 LEN=44 TOS=0x00 PREC=0x00 TTL=32 ID=43132 PROTO=UDP SPT=1150 DPT=38293 LEN=24
Nov 14 17:11:13 localhost kernel: usb 2-2: new full speed USB device using address 3
Nov 14 17:11:13 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Nov 14 17:11:13 localhost kernel: Vendor: OTi Model: Flash Disk Rev: 1.89
Nov 14 17:11:13 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 14 17:11:13 localhost kernel: SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
Nov 14 17:11:13 localhost kernel: sda: assuming Write Enabled
Nov 14 17:11:14 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: p1
Nov 14 17:11:14 localhost kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Nov 14 17:11:14 localhost kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
Nov 14 17:11:14 localhost scsi.agent[9240]: sd_mod: loaded sucessfully (for disk)
Nov 14 17:11:15 localhost usb.agent[9255]: usb-storage: already loaded
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.