You are not logged in.
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)
Offline
i had something similar to that.
if you do "ls -l" as root can you see the files? or are they still missing?
Offline
Are you using ntfs-3g to mount?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@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)
Offline
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!
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)
Offline
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
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.
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)
Offline