Check USB Hard Disk Drive Name Auto Detect on Fedora System

 

Check USB hard disk drive name auto detect on Fedora system

 

   Why we need to check USB hard disk drive name that detect on the system? When we plug in USB disk on the Fedora system, the automount will mount the USB disk automatically.... but if we boot the Fedora system not using the GUI mode, just login to text base shell... this time in order to use the USB disk on the Linux Fedora system, we must specify the USB disk drive name to mount the USB disk drive.  The step by step procedure below show the most basic way to check USB hard disk drive name detect by the Fedora system.

 

1.  Make sure that you log in as root user, if not root user you need to use the su command to execute some of the command example below e.g. su -c "Linux command need to execute".

2.  Insert or plug in the USB hard disk drive into the system USB port... wait for awhile to let the system auto detect the USB disk.

3. Open Linux Fedora shell terminal and then type in the tail -20 /var/log/messages command to list the newly detected device on the Linux Fedora machine.

Execute command: tail -20 /var/log/messages or tail /var/log/messages

Check USB hard disk drive name auto detect on Fedora system

[root@fedora ~]# tail -20 /var/log/messages

Nov 12 15:38:39 fedora kernel: usb 1-1: new high speed USB device using ehci_hcd and address 2

Nov 12 15:38:39 fedora kernel: usb 1-1: configuration #1 chosen from 1 choice

Nov 12 15:38:39 fedora kernel: usb 1-1: New USB device found, idVendor=058f, idProduct=6390

Nov 12 15:38:39 fedora kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

Nov 12 15:38:39 fedora kernel: usb 1-1: Product: USB TO IDE Bridge

Nov 12 15:38:39 fedora kernel: usb 1-1: Manufacturer: Generic

Nov 12 15:38:39 fedora kernel: Initializing USB Mass Storage driver...

Nov 12 15:38:39 fedora kernel: scsi3 : SCSI emulation for USB Mass Storage devices

Nov 12 15:38:39 fedora kernel: usbcore: registered new interface driver usb-storage

Nov 12 15:38:39 fedora kernel: USB Mass Storage support registered.

Nov 12 15:38:45 fedora kernel: scsi 3:0:0:0: Direct-Access     Generic  USB Disk         9.02 PQ: 0 ANSI: 2

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] 78140160 512-byte hardware sectors (40008 MB)

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Write Protect is off

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] 78140160 512-byte hardware sectors (40008 MB)

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Write Protect is off

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through

Nov 12 15:38:45 fedora kernel:  sdb: unknown partition table

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Attached SCSI disk

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0

[root@fedora ~]#

 

Please note the the output of above command may vary base on system configuration... adjust the size of tail command as you see fit...

From the massages log and tail command output above, we know that the USB disk detected as sdb drive:... you can check the USB hard disk using fdisk command and mount the USB disk... if the USB disk is ready to be use.

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] 78140160 512-byte hardware sectors (40008 MB)

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Write Protect is off

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] 78140160 512-byte hardware sectors (40008 MB)

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Write Protect is off

Nov 12 15:38:45 fedora kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through

Nov 12 15:38:45 fedora kernel:  sdb: unknown partition table

 

Keywords: check usb name, check usb disk name, check usb drive name, usb disk name, auto detect usb name, check usb hard disk name, check usb 

 

aaaaaaaaaaa