Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-02-2010, 07:50 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 7

Rep: Reputation: 0
Mountinf EXT USB HDD


Am using Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

Wen i try to mount Ext USB HDD its automatically getting mount on /media/usbdisk

#fdisk -l

Disk /dev/sdc: 500.1 GB, 500107837440 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 60801 488384001 c W95 FAT32 (LBA)

Wen i try to open it from GUI.. Means

1. Computer

3.External HDD

its showing mount error...

its already mouted on /media/usbdisk
I took the backup to this mount point...

i copied some files to this mount point...

den i try to umount it..
its not getting umount...

[root@hostname1 usbdisk]# umount -lfr /dev/sdc1

umount: /dev/sdc1: not mounted

[root@hostname1 usbdisk]# umount -lfr /media/usbdisk/

umount: /media/usbdisk/: not mounted
[root@hostname1 usbdisk]# ls

bprodata.tar.gz bproddb.tar.gz

wen i try from other machine its not showing this data..

[applmgr@*hostname2*2 usbdisk]$ ls -lsrt
total 10950784
2968500 -rw-r--r-- 1 root root 3036769327 Apr 29 18:46 prodora.tar.gz
2093764 -rw-r--r-- 1 root root 2141916410 Apr 29 18:51 prodcomn.tar.gz
5888520 -rw-r--r-- 1 root root 6023946204 Apr 29 19:09 prodappl.tar.gz
[applmgr@hostname2 usbdisk]$
here am noy able to find hostname1 data????

plz help me somebody....

Old 05-02-2010, 08:00 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Without the disk connected, what is the output of
ls -l /media/usbdisk
If there is any output, then you have copied the files to a directory called /media/usbdisk not the disk itself.

Just plug the disk in and it should appear on the desktop. Click it to open it, then copy your files to that place. Then right click the icon on the desktop and select unmount volume.
Old 05-02-2010, 08:10 AM   #3
LQ Newbie
Registered: Apr 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the reply..
am usong this from long time..

ls -l /media/usbdisk


Am not finding any Icon in the desktop after i connect the USB EXT HDD.

I can find icon inside the Computer (wen i click this)..
Am able to find USB EXT HDD
wen i click its not getting open... .
it throws error like it is already mounted on /media/usbdisk
Old 05-02-2010, 08:12 AM   #4
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If you have successfully unmounted a partition the kernel has to tell you that the device isn't mounted if you issue the same command again!

A partition, as in your case, can be unmounted by "umount" command either with
umount /dev/sdc1
The kernel does not need to know the other parameters for unmounting it. It will still be shown in "fdisk -l" until you unplug the device or power down it.

In Linux you can manually mount and unmount a device (partition) any number of times. Issuing a command "ls /media/usbdisk" should tell you the status of it or if you open a file manager in the desktop you can actually see the files disappear and re-appear in front of your eyes.

Last edited by saikee; 05-02-2010 at 08:16 AM.
Old 05-02-2010, 08:49 AM   #5
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Rep: Reputation: 18
to unmount the device forcefully use this replace hda2 with ur mount point
fuser -km /mnt/hda2
hope this helps

if u want to mount u can refer my blog
Old 05-02-2010, 09:57 AM   #6
LQ Newbie
Registered: Apr 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks 4 reply

[root@histname3 /]# umount -lfr /media/usbdisk/

umount: /media/usbdisk/: not mounted

[root@hostname3 /]# umount -lfr /dev/sdc1

umount: /dev/sdc1: not mounted


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Qestions regarding mounting ext USB HDD atomn Linux - Newbie 3 10-30-2009 04:57 PM
New Seagate 1TB USB ext HDD stiffs Linux boot sequence but older 230MB ditto is fine Richard Molton Linux - Hardware 11 06-29-2009 07:36 PM
ext. usb HDD mounts read only for non root accounts logname Linux - Hardware 14 02-27-2006 05:17 PM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 07:35 PM
Toshiba boot problems - USB ext HDD - new install wtriver Linux - Newbie 5 11-02-2003 05:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 PM.

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