ankush grover wrote:
Hi Friends,
I have an Excalibur 4GB USB Pen Drive Model Number EXC4. I think it is getting detected by the Centos but I am not sure about the mount point or the device point it is taking /dev/s??
Logs from /var/log/messages.
Mar 11 11:30:06 l_l_box kernel: usb 1-1: USB disconnect, address 3 Mar 11 11:30:22 l_l_box kernel: usb 1-1: new high speed USB device using address 4 Mar 11 11:30:22 l_l_box kernel: scsi2 : SCSI emulation for USB Mass Storage devices Mar 11 11:30:22 l_l_box kernel: Vendor: CORNICE Model: Inc. Storage Ele Rev: 0 0 Mar 11 11:30:22 l_l_box kernel: Type: Direct-Access ANSI SCSI revision: 02 Mar 11 11:30:22 l_l_box scsi.agent[17229]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0
This is the sort of thing you should see. In this case I'm inserting a real spinning disk: Feb 28 13:13:38 coco kernel: usb 1-2: new high speed USB device using address 2 Feb 28 13:13:40 coco kernel: SCSI subsystem initialized Feb 28 13:13:40 coco kernel: Initializing USB Mass Storage driver... Feb 28 13:13:40 coco kernel: scsi0 : SCSI emulation for USB Mass Storage devices Feb 28 13:13:40 coco kernel: Vendor: IC25N040 Model: ATMR04-0 Rev: 0 0 Feb 28 13:13:40 coco kernel: Type: Direct-Access ANSI SCSI revision: 02 Feb 28 13:13:40 coco kernel: usbcore: registered new driver usb-storage Feb 28 13:13:40 coco kernel: USB Mass Storage support registered. Feb 28 13:13:40 coco scsi.agent[14837]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host0/targ et0:0:0/0:0:0:0 Feb 28 13:13:40 coco kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Feb 28 13:13:40 coco kernel: sda: assuming drive cache: write through Feb 28 13:13:40 coco kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Feb 28 13:13:40 coco kernel: sda: assuming drive cache: write through Feb 28 13:13:40 coco kernel: sda: sda1 Feb 28 13:13:40 coco kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Feb 28 13:13:41 coco fstab-sync[14938]: added mount point /media/usbdisk for /dev/sda1 Feb 28 13:14:46 coco kernel: kjournald starting. Commit interval 5 seconds Feb 28 13:14:46 coco kernel: EXT3 FS on sda1, internal journal Feb 28 13:14:46 coco kernel: EXT3-fs: mounted filesystem with ordered data mode. Feb 28 13:14:46 coco kernel: SELinux: initialized (dev sda1, type ext3), uses xattr
Probably, at some mount after /media/usbdisk was created, I explicitly mounted it Note that the exact mount point depends, but it's always under /media.
sg3-utils are also installed on the system but sg_scan -i returns nothing
I've never thought to use those.