Check linux usb disk name



How to check usb disk name.  The example below show how to check usb portable hard disk name when you insert it on Linux Fedora system.

Check linux usb disk name

1.  Insert usb disk to the system
2.  Open terminal and type in command tail -20 /var/log/messages and hit enter key as show on example below...

[root@serverc ~]# tail -20 /var/log/messages
Sep 23 15:46:44 serverc kernel: [361249.336104] usb 1-6: New USB device found, idVendor=14cd, idProduct=6116
Sep 23 15:46:44 serverc kernel: [361249.336111] usb 1-6: New USB device strings: Mfr=1, Product=3, SerialNumber=2
Sep 23 15:46:44 serverc kernel: [361249.336116] usb 1-6: Product: USB 2.0  SATA BRIDGE  
Sep 23 15:46:44 serverc kernel: [361249.336120] usb 1-6: Manufacturer: Super Top  
Sep 23 15:46:44 serverc kernel: [361249.336124] usb 1-6: SerialNumber: M6116018VE15
Sep 23 15:46:44 serverc kernel: [361249.336724] scsi7 : usb-storage 1-6:1.0
Sep 23 15:46:44 serverc mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6"
Sep 23 15:46:44 serverc mtp-probe: bus: 1, device: 6 was not an MTP device
Sep 23 15:46:45 serverc kernel: [361250.338886] scsi 7:0:0:0: Direct-Access     SAMSUNG  HM160HI               PQ: 0 ANSI: 0
Sep 23 15:46:45 serverc kernel: [361250.345328] sd 7:0:0:0: Attached scsi generic sg2 type 0
Sep 23 15:46:45 serverc kernel: [361250.345615] sd 7:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Sep 23 15:46:45 serverc kernel: [361250.346115] sd 7:0:0:0: [sdb] Write Protect is off
Sep 23 15:46:45 serverc kernel: [361250.346622] sd 7:0:0:0: [sdb] No Caching mode page present
Sep 23 15:46:45 serverc kernel: [361250.346628] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 23 15:46:45 serverc kernel: [361250.349245] sd 7:0:0:0: [sdb] No Caching mode page present
Sep 23 15:46:45 serverc kernel: [361250.349251] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 23 15:46:45 serverc kernel: [361250.399930]  sdb: sdb1
Sep 23 15:46:45 serverc kernel: [361250.402109] sd 7:0:0:0: [sdb] No Caching mode page present
Sep 23 15:46:45 serverc kernel: [361250.402114] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 23 15:46:45 serverc kernel: [361250.402117] sd 7:0:0:0: [sdb] Attached SCSI disk
[root@serverc ~]#



1 comments:

document storage said...

I have the power-icons installed to show in the UI an icon including on-hover display attributes. But this is a basic tenet that all Linux users should know.