LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-20-2005, 11:25 AM   #1
VCore5.0
LQ Newbie
 
Registered: Feb 2005
Posts: 17

Rep: Reputation: 0
Mount vfat Partition In CentOS (OR: how to bea the "Already Mounted Or Busy" msg.)


Since ironing out the goofiness and finally getting the latest CentOS 64-bit version installed (see http://www.linuxquestions.org/questi...hreadid=374305), I moved to the simple task of mounting a Windows partition.
I've done this many times before in Linux distros, including a slightly earlier version of CentOS 4.x.

However, as is par for the [my] course, it took me more hours than it was worth and more hours than it should have taken to achieve this goal.

Simply adding the device "/dev/sdb9" to fstab (along with the other required parameters) did not work, nor did manually mounting that device. Any and every way one could conceive of trying to mount the device returned "ALREADY MOUNTED OR BUSY" even though it was obvious the device wasn't mounted. Checking System Tools -> Disk Management, for example, would show the device and mount point, and when the item was selected, the option to "Mount" was given (rather than "Unmount"), yet if "Mount" was clicked, the message returned would indicate that the device was already mounted or busy. All shell commands that I ran to test this would indicate the same inconsistency.

Google searches for any help led to many unanswered queries about this issue or led to "solutions" (guesses, really) that did not apply or did not work.

I finally ran a local search of files to find out where "sdb9" might be referenced and came up with the file, "/etc/blkid.tab". Opening the file showed that it contained references to all (most?) of the available devices connected to the PC, device labels (if any), and device IDs. Seeing that the device in question was given a label in the file, I tried using that in "fstab" instead of the device designation, so I changed "/dev/sdb9" to "LABEL=label-as-indicated-in-blkid.tab" (no quotes). Still, no joy. The same error message, "already mounted or busy", was returned.

I opened "blkid.tab" again (you can refresh and read the contents with [user]$ blkid -c /dev/null ) and noticed something I had previously overlooked; not only was "/dev/sdb9" listed with a LABEL, its equivalent was listed again as "/dev/dm-5". So, I changed the device reference in "fstab" to "/dev/dm-5" and ... drum roll ... the device now mounts. But, instead of just mounting the device in the normal folder (which it does), a "drive icon" is placed in Nautilus and on the desktop, both of which can be used to access the Windows partition / device. The extra icons were not necessarily what I wanted, but I'm just satisfied that I can mount the device.

Questions:

I haven't seen "/dev/dm*" in any other distribution I've used, so what is causing CentOS to use this device designation instead of the usual "hd" or 'sd' device designations? Is it something compiled in the kernel? Is it something I inadvertently installed during initial setup of CentOS that I've never installed before?

I think I fell upon some tangential info about device-mapper and / or evms and / or lvm (I have no LVM formatted volumes), but I'm going to take a breather from this issue for a while and see if anyone else has any knowledge or thoughts.

Thanks for reading and thanks in advance for any responses.

Last edited by VCore5.0; 10-20-2005 at 12:50 PM.
 
  


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
always "device is busy" when mounting Mathsniper Linux - Hardware 2 04-14-2005 07:28 PM
gnomemeeting crashed, now i got "video0: Device or resource busy" B sirpelidor Linux - Hardware 0 01-10-2005 03:02 AM
SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault tireseas Linux - Software 0 07-18-2004 11:35 AM
samba - smbmount freezing my terminals -> "Device is busy" Yntarius Linux - Networking 4 05-21-2004 07:19 AM
Why I can only write in mounted windows partition in "su" mode Allen T Linux - Software 5 02-18-2003 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:55 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