Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Nov 01, 2014 14:19



Post new topic Reply to topic  [ 8 posts ] 
NTFS-3G could not mount - unclean shutdown 
Author Message

Joined: Wed Dec 31, 2008 03:41
Posts: 2
Post NTFS-3G could not mount - unclean shutdown
"NTFS-3G could not mount /dev/disk3s1 at /Volumes/Untitled because the following problem occurred:
$LogFile indicated unclean shutdown 0, 0)"...(etc)

I have done all of the following:
  1. Installed the latest:
    - MacFUSE-2.0.3,2
    - NTFS-3G_1.5130u2-stable-catacombae
    - Developer Tools xcode312_2621
  2. Added "/dev/rdisk3s1 /Volumes/Untitled ntfs-3g force 0 0" to the /etc/fstab file
  3. Attempted to run "mount -t ntfs-3g -o force /dev/disk3s1 /Volumes/Untitled"
  4. Run the strip command:
    sudo strip -arch ppc -no_uuid -S /Library/Filesystems/fusefs.fs/Support/fusefs.kext/Contents/MacOS/fusefs
    (BTW fuse.fs is not located in Library/Filesystems, not System/Library/Filesystems)

The old NTFS-3G worked just fine. I don't understand the point of the dialog instructions on how to force if it simply doesn't work. I get the "could to mount" error every time and I am absolutely going nuts.

Someone please help.


Wed Dec 31, 2008 03:55
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1647
Post 
The Windows taskbar always has an icon for external drivers, called 'Safely Remove Hardware'. Use it then NTFS-3G will mount the drive. The error means that you may lost data last time when you used Windows because you didn't follow Microsoft's instructions how to safely remove external disks.

If you don't have Windows anymore then type
Code:
sudo mkdir "/Volume/NTFS"
sudo /usr/local/bin/ntfs-3g -o force /dev/disk3s1 /Volume/NTFS


Wed Dec 31, 2008 12:00
Profile

Joined: Wed Dec 31, 2008 03:41
Posts: 2
Post 
I managed to get this drive to Windows system and unmounted it "safely". However, this is one of the very things I use NTFS-3G for: to access and backup a faulty Windows NTFS drive.

So, two things for you, as Lead Developer:
  1. Why are the instructions you posted to me above not what is in the dialog that appears, instead of what simply does not work? (And has caused MANY entries across the internet because of it.)
  2. Why not create a button option in said dialog, to just do it? (OK, Cancel, and Force)


Wed Dec 31, 2008 21:01
Profile
Tuxera Developer

Joined: Sat Oct 06, 2007 09:24
Posts: 530
Post 
I'm actually responsible for that dialog, as I'm developing the Mac OS X glue that integrates NTFS-3G into Mac OS X.

The suggestion is interesting, but currently the dialog only exists to give the user some feedback as to why an inserted drive isn't mounted. It only displays the stdout and stderr output from ntfs-3g. It's implemented in an extremely unflexible way, by simply telling SystemUIServer to display a message.

It's a better option than silently ignoring the failed mount, but I agree that it would be even better if the user could interactively choose to force a mount, though it would require some development effort to realize that functionality...
There is a problem with this though... Making it easier to mount a drive that wasn't unmounted properly could encourage bad/unsafe behaviour from the user, ultimately leading to data loss and unhappy users (it's really their own responsability, but still... we shouldn't encourage this practice).

A big part of this issue is that it should be easier to remove a drive properly and cleanly from Windows.
Operating system environments often have various visual aids to help users to cleanly unmount drives, such as eject buttons next to removable drives and special icons to indicate which drives are removable.
Microsoft does provide a right-click menu option to eject drives, and lists them as removable when you look at drive details, but there is no eject button or icons that differentiate the drive from internal drives.
On top of that, it's often completely impossible to remove a drive from Windows cleanly because some process has opened a handle to a file on the drive, and there is no way of "force" unmounting the drive and invalidate that open handle.


Fri Jan 02, 2009 09:12
Profile
Tuxera Developer

Joined: Sat Oct 06, 2007 09:24
Posts: 530
Post 
Another thing to note is that the instructions, as returned when ntfs-3g fails to mount, doesn't fully apply to Mac OS X.

For instance: /etc/fstab is not used on Mac OS X... it doesn't even exist on my Mac OS X system... so that instruction is completely unsupported. I may add some conditional code around those lines in the future to prevent them from being displayed.


Fri Jan 02, 2009 09:22
Profile

Joined: Wed Jan 21, 2009 00:52
Posts: 1
Post 
I just got this same message on a maxtor external HD straight out of the box--it never had been unsafely unmounted to anything.

What can I do?

--eric


Wed Jan 21, 2009 00:55
Profile
Tuxera Developer

Joined: Sat Oct 06, 2007 09:24
Posts: 530
Post 
ehines wrote:
What can I do?


You can run chkdsk /f on the drive on a Windows system and try again.

- Erik


Wed Jan 21, 2009 03:57
Profile

Joined: Wed Jan 21, 2009 23:20
Posts: 1
Post 
unsound wrote:
ehines wrote:
What can I do?


You can run chkdsk /f on the drive on a Windows system and try again.

- Erik


Difficult to do if you don't have a functioning one handy.

This is what I've found that works (cribbed from a post I found on this subject)

make a directory in /Volumes called NTFS

then run the following command:

sudo ntfs-3g /dev/diskXsY /Volumes/NTFS -olocale=en_US.UTF-8,force,auto_xattr,defer_auth,defer_permissions,volname="NTFS"


Where X and Y are the disk and partition numbers; the error message you get from the automounter contains this information. It will be something like /dev/disk3s1

This works to get dirty but still mountable NTFS volumes to mount, good for data recovery and such.

It probably ends up having issues back in Windows, but in general they're just going back in the box for a reformat and re-install of windows, so for our purposes this works well.


Wed Jan 21, 2009 23:38
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.