LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2006, 10:16 AM   #1
roswel
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
how to mount a usbharddrive?


lsusb outputs the my usbharddrive as shown below. But, now have no idea how to mount it? i am on redhat9 ker2.4.
any ideas? thanks in advanc.

idVendor 0x0c76 JMTek, LLC.
idProduct 0x0005 USBdisk
bcdDevice 1.00
iManufacturer 1 Kingston
iProduct 2 DataTraveler 2.0
iSerial 3 2750344081739380
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
 
Old 02-06-2006, 10:37 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
try 'dmesg | tail' right after you plug it in and see if you can make out at which sd? it is recognised. Then mount as you would anything else:
mount -t <filesystemtype> /dev/sda1 /mnt/usbharddrive
(provided that's the location of the drive and the directory you want it mounted to.)
 
Old 02-06-2006, 11:37 AM   #3
roswel
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i see this: but no idea whats next. what is this '/dev/sda1' mean?../mnt/usbhardrive is fine place.

dmesg | tail
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
usb.c: USB disconnect on device 00:1f.2-2 address 6
hub.c: new USB device 00:1f.2-2, assigned address 7
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 7
usb.c: USB disconnect on device 00:1f.2-2 address 7
hub.c: new USB device 00:1f.2-2, assigned address 8
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
 
Old 02-06-2006, 11:38 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Instead, try an fdisk -l to list what hard drives you have access to. This should tell you some device sd* is available or not.

Regards,

Alunduil
 
Old 02-06-2006, 11:43 AM   #5
roswel
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
fdisk -l gives me the below. don't know what is this, "sd" u refer to?
fdisk -l

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4801 38459610 83 Linux
/dev/hda3 4802 4866 522112+ 82 Linux swap
 
Old 02-06-2006, 06:19 PM   #6
Metaphorically
LQ Newbie
 
Registered: Dec 2005
Location: Canada
Distribution: OpenSuse 10.3
Posts: 9

Rep: Reputation: 0
The "/dev/sd? " refers to the place that Linux sees the device. Basically all hardware connected to your machine gets a special file under the /dev/ directory. USB drives show up like SCSI drives with names like /dev/sda1 or things like that.

From your fdisk -l output, I don't see the USB disk listed. Maybe there's a driver issue that's stopping it from being seen... I don't know much about the particulars of how USB devices get _in_ to /dev/ ...
 
Old 02-07-2006, 09:26 AM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
to expand on the above: sda would be the first SCSI device recognised by the system, sdb the second etc.
sda1 would be the first partition on the first device.
If this is the first device you have connected to a USB port I'd try mounting sda1.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration