LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mount of usb (https://www.linuxquestions.org/questions/linux-hardware-18/mount-of-usb-782951/)

Bouchaib 01-18-2010 07:17 AM

Mount of usb
 
Hi,
I have a problem with moounting my USB or my externe hard disk, in Linux RedHat 9.
i used the mount command but no result.
please help me.

cola 01-18-2010 07:21 AM

Quote:

Originally Posted by Bouchaib (Post 3830755)
Hi,
I have a problem with moounting my USB or my externe hard disk, in Linux RedHat 9.
i used the mount command but no result.
please help me.

Code:

su
password
mount -t vfat /dev/sdbX /media/MYDRIVE

X is the number of your USB partition.
Post
Code:

fdisk -l

Bouchaib 01-19-2010 05:52 PM

hi, thank you,
but when i use this, and i use the " cat /proc/scsi/scsi" i see this:

Scsi1 for CD ROM
Host: scsi2 channel: 00 .........................
vendor KIngston Model; DataTraveler 2.0 ...........

so when i use the " mount -t vfat /dev/sda2 /mnt/myusb" i receive this error:
mount: /dev/sda2 already mounted or /mnt/usb busy

and when i see in the /mnt/usb folder i find that is empty!!!!!
thank you

16pide 01-20-2010 08:38 AM

[QUOTEso when i use the " mount -t vfat /dev/sda2 /mnt/myusb" i receive this error:
mount: /dev/sda2 already mounted or /mnt/usb busy

and when i see in the /mnt/usb folder i find that is empty!!!!!
thank you[/QUOTE]

well, it seems the device is already mounted. There is nothing wrong with an empty filesystem!

please check with df command

also, please check how the usb device is partitionned (fdisk -l)

Bouchaib 01-21-2010 03:35 AM

Hi,
i found the solution, when we try to mount a USB device we must know in first time, if our HDD is IDE or SATA because in Linux the IDE is "hda" and the SATA and SCSI is "sda", my problem was that i have a SATA so sda, so my usb will take a sdb because it will be another disk.
when i use "df -k" i see that my USB device is detecting, so i just need to mount it by "mount" command.
thanks for all.

cgtueno 01-21-2010 04:10 AM

Hi

yep. You can also use the command: lsusb to list the known devices and work from there.


All times are GMT -5. The time now is 06:49 PM.