You are not logged in.

#1 2010-07-25 08:59:42

dcc24
Member
Registered: 2009-10-31
Posts: 732

[SOLVED, kinda] Extremely weird ntfs issue

Here's the problem: I have an NTFS partition where I keep some video files. Browsing that partition in Windows, I can see and access all the files. When I mount it in Linux, however, most files are missing.

Any ideas?

Last edited by dcc24 (2010-07-25 18:40:54)


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#2 2010-07-25 09:07:01

scarletxfi
Member
From: Australia
Registered: 2010-04-19
Posts: 105

Re: [SOLVED, kinda] Extremely weird ntfs issue

i had something similar to that.
if you do "ls -l" as root can you see the files? or are they still missing?

Offline

#3 2010-07-25 09:41:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,675
Website

Re: [SOLVED, kinda] Extremely weird ntfs issue

Are you using ntfs-3g to mount?

http://wiki.archlinux.org/index.php/NTFS-3G


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2010-07-25 18:14:23

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [SOLVED, kinda] Extremely weird ntfs issue

@graysky: Yes I'm using ntfs-3g. Here's the relevant fstab entries:

/dev/sda1 /mnt/vistaboot ntfs-3g defaults 0 0
/dev/sda9 /mnt/winortak ntfs-3g defaults 0 0

@scarletxfi: I got a weird error when I try "sudo ls -al":

ls: reading directory .: Input/output error

Any ideas?


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#5 2010-07-25 18:34:32

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [SOLVED, kinda] Extremely weird ntfs issue

Umm... I think I solved this, kinda.

First I tried to unmount the disk, but it failed with:

~ sudo umount /dev/sda1
umount: /dev/sda1: device is busy

So, I tried to find what is keeping it busy:

fuser -m /dev/sda1

And it said "/bin/bash" was responsible! Weird, but I closed all my terminals, started urxvt and now I could umount! big_smile

At this point mounting manually solved all my problems. I can access the disk with its full content.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#6 2010-07-25 20:29:03

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED, kinda] Extremely weird ntfs issue

The folder was "in use" because it was the working directory of your bash instance.  You could have cd'd out of the directory with equally satisfactory results.

Offline

#7 2010-07-25 20:31:27

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: [SOLVED, kinda] Extremely weird ntfs issue

Trent wrote:

The folder was "in use" because it was the working directory of your bash instance.  You could have cd'd out of the directory with equally satisfactory results.

I feel extremely stupid right now. neutral

Still, I have no idea why I had to do this. fstab entries should take care of this, as they always have been.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

Board footer

Powered by FluxBB