LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-18-2008, 07:41 PM   #1
OldVtBiker
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Question Firewire NTFS hard drive, cannot mount, marked as "in use"


Ubuntu 7.10 Linux computer file browser display external hard drive as "FIRELITE", but I can not read or write due to error.
"SLogFile indicates unclean shutdown (o,0) Failed to mount '/dev/sdb1' Operation not supported Mount is denied because NTFS is marked to be in use"
 
Old 02-18-2008, 10:55 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Could it be mounted as another user? I'm assuming it is an external hard drive. I have a really small (in size) firelight external drive myself.

Do you want to read or read and write to the drive?
Enter "mount" in the terminal. Is this device listed?
If so, what filesystem is used, ntfs or ntfs-3g? I wouldn't try writing with ntfs. The ntfs-3g filesystem uses the "fuse" kernel module and operates in userspace. This makes development easier and it seams to be further along in development and easier to use. You may need to install a "fuse" package and an "ntfs-3g" package if they aren't installed.

If you enter "lsmod" and the "fuse" kernel module is listed, then it is installed. If it isn't listed but "sudo /sbin/modprobe fuse" works, then it is installed but just needed to be loaded.

Here is how my Windows partition is mounted: (the fstab entry)
/dev/sda1 /mnt/xp ntfs-3g rw,nosuid,nodev,uid=jschiwal,fmask=0177,dmask=0077,utf8 0 0

You would use your own username. For an external drive, also use the "noauto" option. Also use either "UUID=" or "LABEL="
instead of a device node in the first field. The next time you connect an external device it might be using a different device node.
Code:
udevinfo -q env -n /dev/sda1
DEVTYPE=partition
ID_VENDOR=ATA
ID_MODEL=FUJITSU_MHU2100A
ID_REVISION=0000
ID_SERIAL=SATA_FUJITSU_MHU2100_NQ07T4825B7P
ID_SERIAL_SHORT=NQ07T4825B7P
ID_TYPE=disk
ID_BUS=scsi
ID_ATA_COMPAT=FUJITSU_MHU2100AT_NQ07T4825B7P
ID_PATH=pci-0000:00:08.0-scsi-0:0:0:0
ID_EDD=int13_dev80
ID_FS_USAGE=filesystem
ID_FS_TYPE=ntfs
ID_FS_VERSION=3.1
ID_FS_UUID=4B1135F8699960E7
ID_FS_UUID_ENC=4B1135F8699960E7
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=
The udevinfo command can be run as a normal user and supplies a lot of information on hardware devices. You could also look in /dev/ for the info (/dev/disk/by-label or /dev/disk/by-uuid):
Code:
ls /dev/disk/by-label/ -l
total 0
lrwxrwxrwx 1 root root 10 Feb 17 04:14 My\x20Book -> ../../sdd1
This assumes that your system uses HAL which I think it does.

Last edited by jschiwal; 02-18-2008 at 10:56 PM.
 
Old 02-20-2008, 06:35 PM   #3
OldVtBiker
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your advice, I stumbled through the specified commands and my Firewire drive now works fine. I can both read abd write.
 
Old 02-20-2008, 06:36 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You're welcome.

Last edited by jschiwal; 02-20-2008 at 09:53 PM.
 
  


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
Mounting NTFS Sata drive on FC5, "/dev/sda5 is not a valid block device" FlamingBee Linux - Newbie 13 11-04-2006 06:18 PM
NTFS mount prob "Tried alot of things" ALInux Fedora 6 01-13-2006 12:51 PM
Tried mounting NTFS drive to /home "suse9.1 Personal Ed." scratch09 Linux - Newbie 5 11-11-2004 02:36 PM
Can't mount firewire hard drive bfibandit Linux - Hardware 0 02-23-2004 01:57 PM
NTFS Mount Error - "Cluster Size Not Supported" dougweiser Linux - Software 2 01-22-2002 08:57 AM


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