LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ntfs 3g input/output error (https://www.linuxquestions.org/questions/linux-newbie-8/ntfs-3g-input-output-error-4175526285/)

vincix 11-23-2014 03:06 PM

ntfs 3g input/output error
 
Hello,

I have a strange problem when I try to mount one of my windows 7 partitions. I have a centos 6.6 with kernel 2.6.32-504.1.3.el6.x86_64.

On the one hand, I cannot mount the partition normally, meaning that if I simply do it with mount, it says 'unknown filesystem type ntfs'. But it does work with the mount.ntfs-3g command. It works only to the extent that it mounts it. However, when I try to access any folder, it says 'input/output error'.

My Windows 7 works just fine, I've never had any problems with my partitions or my hdds. For a while it worked fine, but after some time I came across this.

I tried to reinstall it, but that didn't work either. When I type modprobe ntfs-3g it says that there's no such module and I cannot find 'ntfs' in /proc/filesystems.

Any suggestions?

yooy 11-23-2014 03:16 PM

maybe something is wrong with your OS installaction, try with unetbootin created usb to sort that out.


BUT FIRST:backup important data!

teckk 11-23-2014 03:18 PM

How about something like:
Code:

ntfs-3g /dev/sda3  /mounting/point
Look at
parted -l
lsblk -f

vincix 11-23-2014 03:26 PM

Alright, I seem to have posted a little bit earlier than I should have. I've just searched the internet a little bit more carefully, and I've found this:

https://www.centos.org/forums/viewto...p?f=14&t=49675

It seems that ntfs-3g-2014.2.15-6.el6.x86_64 is simply broken. So I updated it to ntfs-3g-2014.2.15-8.el6.x86_64:

yum --enablerepo=epel-testing clean all ; yum --enablerepo=epel-testing update ntfs-3g

Of course, to do that, you need to have epel.repo installed first. Hope that helps anyone else who might come across the same problem as I did.

Thank you for your very prompt replies :)

John VV 11-23-2014 03:37 PM

ntfs 3g might not be installed by default
double check

-- from my Scientificlinux 6 install
Code:

su -
yum search ntfs
---
----- it it is in the output , then ---------
---
yum info ntfs-3g
----
Available Packages
Name        : ntfs-3g
Arch        : i686
Epoch      : 2
Version    : 2014.2.15
Release    : 6.el6
Size        : 279 k
Repo        : epel
Summary    : Linux NTFS userspace driver
URL        : http://www.ntfs-3g.org/
License    : GPLv2+
Description : NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write
            : NTFS driver for Linux and many other operating systems. It
            : provides safe handling of the Windows XP, Windows Server 2003,
            : Windows 2000, Windows Vista, Windows Server 2008 and Windows 7
            : NTFS file systems. NTFS-3G can create, remove, rename, move files,
            : directories, hard links, and streams; it can read and write normal
            : and transparently compressed files, including streams and sparse
            : files; it can handle special files like symbolic links, devices,
            : and FIFOs, ACL, extended attributes; moreover it provides full
            : file access right and ownership support.

it is in epel

if installed
( i do NOT have it installed as you can see in the above output )

then please post the full and real commands you are using and the FULL error
example
Code:

su -
cd /mnt
mkdir ntfs
mount -t ntfs-3g /dev/sd?? /mnt/ntfs

REPLACE "/dev/sd??" with the REAL location you got from "fdisk -l"

vincix 11-23-2014 03:40 PM

It's fine now, I've just written a reply (before your post) and I said that I found the solution. It seems that the current ntfs-3g version is broken.


All times are GMT -5. The time now is 06:31 AM.