LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2009, 03:05 AM   #1
rakesh_sni
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Rep: Reputation: 0
how we can mount a pen drive in Redhat linux Advance Server 2.1As


i am trying to mount a pen drive in Redhat linux Advance Server 2.1As but i am unable to do that can any body help me for doing that.

Last edited by rakesh_sni; 08-31-2009 at 03:07 AM.
 
Old 08-31-2009, 03:10 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Some additional information is required: 1. what is the size in Mb or Gb of the pen drive? 2. can you post the output of the following commands (the first one as root) when the pen drive is already inserted in USB port?
Code:
fdisk -l
mount
the first should see your pen drive. The second will tell us about the actually mounted filesystems.
 
Old 08-31-2009, 03:26 AM   #3
rakesh_sni
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 0
my pen drive size is 4GB,i have issued the command fdisk -l but pen drive is not shown,file system is ext3.i am also trying this command cat /proc/partitions it shows
hda,hda1 to hda10,i have already plugged pen drive in usb port.
 
Old 08-31-2009, 03:37 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by rakesh_sni View Post
but pen drive is not shown
So this is the problem. Is the USB port working? Can you try it using another USB device? Another test: unplug and plug the pen drive again. Immediately after run
Code:
dmesg | tail -50
to see if there is some relevant error message. Copy/paste the lines here if in doubt.
 
Old 08-31-2009, 05:35 AM   #5
rakesh_sni
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 0
my USB port is working,i am running the command dmesg | tail -50 after plugging the pen drive following lines appear

hub.c:USB new device connect on bus1/1,assigned device number2
usb.c:USB device 2 (vend/prod 0x3f0x0x3207) is not claimed by any active driver .

SCSI subsystem driver REvision:1.00
Initializing USB Mass Storage driver....
scsi0: SCSI emulation for USB Mass Storage devices
Vendor: HP Model:v100w Rev:PMAP
Type: Direct-access ANSI SCSI revision:02

Warning: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
 
Old 08-31-2009, 06:10 AM   #6
rakesh_sni
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 0
how we can mount it this usb drive the file system of usb drive is FAT32
 
Old 08-31-2009, 07:03 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Can you see what is partition name for the usb drive? It is should be there in dmesg.

Then you can mount it using mount command

mount -t vfat <device> <mount point>

Like

mount -t vfat /dev/sdb1 /media/usb

Here the mount point should exist. If it is not there then create the directory.
 
Old 08-31-2009, 08:56 AM   #8
rakesh_sni
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 0
partition name of usb drive is not shown
 
Old 08-31-2009, 11:55 PM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Unless you know on which port the usb drive is recognized it is difficult to mount it. Can you check with some other usb drive? Or on other usb port?
 
  


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
Pen drive won't mount to xen virtual Web Server 2008 HelpMe2877 Linux - Hardware 0 05-26-2009 01:33 PM
how to mount external harddrive on linux Advance Server 3 maooah Linux - Hardware 1 12-31-2007 05:45 AM
unable to mount usb pen drive in redhat 9.0 zero79 Linux - Hardware 9 01-25-2007 09:07 PM
Need to configure fire drive in Redhat Advance Server 2.1 . oberai Linux - Hardware 1 09-02-2003 07:38 PM
Linux Redhat Advance Server 2.1 ashley75 Linux - Hardware 3 08-11-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 PM.

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