LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-13-2008, 02:04 PM   #1
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Rep: Reputation: 15
External Hard Drive Not mounting (Western Digital)


I just purchased a Western Digital My Book 320GB External USB Hard Drive. I formated it NTFS on my Windows computer, then connected it to my Fedora 7 Linux computer and got an error message when trying to mount it. Heres what I did.

I made a directory in the /mnt folder called usbdrive. Then I tried to mount it this way...

mount /dev/sdc1 /mnt/usbdrive

And heres the error message I got...

$LogFile indicates unclean shutdown (0, 1)
Failed to mount '/dev/sdc1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sdc1 /mnt/usbdrive -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sdc1 /mnt/usbdrive ntfs-3g force 0 0

The device shows up in the GUI for Logical Volume Management with all the correct properties except that it says "Uninitialized Disk Entity /dev/sdc1." I'm wondering if it would be risky to use the force option to mount it?

(I also formatted it as a primary partition on my Windows computer. Don't know if that makes a difference.)

Will
 
Old 06-13-2008, 03:18 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
First, you might try simply specifying that it is an NTFS partition in your mount command (as suggested in the error message).
Code:
mount -t ntfs-3g /dev/sdc1 /mnt/usbdrive
You are doing this as root, right? I'm not sure if Fedora 7 includes the ntfs-3g driver, but you might get simply '-t ntfs' to work.
--- rod.
 
Old 06-13-2008, 04:16 PM   #3
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by theNbomr View Post
First, you might try simply specifying that it is an NTFS partition in your mount command (as suggested in the error message).
Code:
mount -t ntfs-3g /dev/sdc1 /mnt/usbdrive
You are doing this as root, right? I'm not sure if Fedora 7 includes the ntfs-3g driver, but you might get simply '-t ntfs' to work.
--- rod.
I went to a Fedora 7 Tips and Tricks website and downloaded NTFS support using yum..

# yum -y install ntfs-3g-devel ntfs-config

I tried mounting it again and it failed but after I rebooted the computer things seem to be working ok.

Now it say New Volume detected with 299GB. Not the 320 but I guess thats ok.

I did a df -h and got this...
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 22G 715M 21G 4% /
/dev/sda2 246G 29G 205G 13% /home
/dev/sda1 99M 17M 77M 19% /boot
tmpfs 506M 0 506M 0% /dev/shm
/dev/sda6 1.9G 36M 1.8G 2% /tmp
/dev/sda5 3.8G 2.1G 1.6G 58% /var
/dev/sda3 15G 3.2G 11G 24% /usr
/dev/sdc1 299G 74M 299G 1% /mnt/usbdrive
/dev/sdd1 299G 74M 299G 1% /media/New Volume

I'm thinking I can delete the /mnt/usbdrive since /media is using it. Pardon all the partitions. Under the NTFS Configuration Tool its labeled as /dev/sdd1 /media/New Volume with a checkmark next to it.

Using the GUI Logical Volume Management its still labeled "Uninitialized Disk Entity /dev/sdd1." with an "Initialize Entity" button to click. I have butterflys about doing that.

Thanks for the help.

Will
 
Old 06-13-2008, 05:22 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
In Linux and most other computer-speak, a Gigabyte is 2^30 (2 to the 30th power). If you are selling disk drives, it makes your drive look bigger if you use Gigabytes that are 10^9, 1.0 billion.
My hunch is that the drive is not part of any logical volume group, which explains the message you see. I'm pretty sure that putting it into such a group would make it unworkable from the Windows side. If you don't have anything of value stored on it, why don't you go ahead and try it, and report the results back here?
--- rod.
 
Old 06-14-2008, 12:03 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
A 320GB drive is the un-formatted size. Once you format it with a file system the available amount is less due to the amount taken by the formatting.
 
Old 06-16-2008, 09:36 PM   #6
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by theNbomr View Post
In Linux and most other computer-speak, a Gigabyte is 2^30 (2 to the 30th power). If you are selling disk drives, it makes your drive look bigger if you use Gigabytes that are 10^9, 1.0 billion.
My hunch is that the drive is not part of any logical volume group, which explains the message you see. I'm pretty sure that putting it into such a group would make it unworkable from the Windows side. If you don't have anything of value stored on it, why don't you go ahead and try it, and report the results back here?
--- rod.
I added it to a logical volume group using the gui and it disapeared somewhere and I couldn't find it. I removed it from the logical volume group and it came back with the little icon on my desktop. So I don't really know how that all happened. It seems to be working fine though.

Will
 
  


Reply


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
Can I install Linux on Western Digital USB external hard drive? priyankadeven Linux - Newbie 6 11-24-2009 09:12 PM
How to mount Western Digital External Drive previously used on Windows System? bliss4one MEPIS 7 09-16-2008 05:59 PM
Need help with Western Digital Hard Drive robogymnast General 2 12-30-2005 04:18 PM
western digital 160GB usb hard drive linuxlastslonge Linux - Hardware 1 08-16-2004 10:21 AM
Western Digital USB External HD not Mounting zakmtbike Linux - Hardware 5 03-08-2004 07:21 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration