gusl: (Default)
[personal profile] gusl
Can anyone explain why XP doesn't offer "Remove Hardware Safely" for my external HD?

When I plug it into Knoppix, it mounts fine, but for read-only. When I unmount and try to mount it as read-write, it fails with approximately this message:

Mount denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows, disconnect the external devices by clicking on 'Safely Remove Hardware'

Choice 2: you can use the 'force' option for your own responsibility. For example, type:

   mount -t ntfs-3g /dev/sdb1 /mnt/sdb1 -o force

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

   /dev/sdb1 /mnt/sdb1 ntfs-3g force 0 0


Is it dangerous for me to force a mount?


also posted here.
(deleted comment)

(no subject)

Date: 2009-02-19 09:47 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
ok.

"fsck /dev/sdb1" gives

"fsck.ntfs: not found"

... which I guess is for the same reason that I've been using ntfs-3g, namely that NTFS is not supported in Linux by default.

(no subject)

Date: 2009-02-19 10:10 pm (UTC)
From: [identity profile] gwillen.livejournal.com
In most cases it ought to be no more dangerous to force the mount on linux that it would be to plug it into Windows (which will mount it without a check). However, it's possible that Windows has a lot of logic in its NTFS driver for dealing with corruption (since it's so common, since Windows users don't know what mounting is) which the Linux NTFS driver lacks. So that could make force-mounting dangerous, in the sense that whatever corruption is present might be made worse if you write to the corrupted bits in Linux.

(no subject)

Date: 2009-02-19 10:51 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
That makes sense.
I'm inclined to write a really small thing at first, as a test.

How can I check for corruption?

(no subject)

Date: 2009-02-19 10:53 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
Also, I'm pretty sure Windows wasn't writing to the external HD when I unplugged it. Could you still get corruption this way?

(no subject)

Date: 2009-02-19 10:56 pm (UTC)
From: [identity profile] wjl.livejournal.com
have you read the google results for ``safely remove hardware''? the first five or so hits seem to be about how to restore the icon when it disappears, or getting by without it.

(no subject)

Date: 2009-02-19 11:15 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
ok. Actually the icon was there, but I never realized that.

When I use the icon (or the command: RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll ), I get the error: "the device 'Generic Volume' cannot be stopped right now". (there are actually 3 options: 'Generic Volume' is just one of them; but the other two give the exact same message)

(no subject)

Date: 2009-02-19 11:18 pm (UTC)
From: [identity profile] wjl.livejournal.com
weird.. are you running any programs that have files open on the external drive?

(no subject)

Date: 2009-02-19 11:19 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
I suspect a hidden process is accessing the HD.
FileMon would know.

However, turning off the computer seems to be the easiest way to do a safe eject.

(no subject)

Date: 2009-02-20 08:09 am (UTC)
From: [identity profile] gustavolacerda.livejournal.com
<< turning off the computer seems to be the easiest way to do a safe eject.>>
this worked.

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags