CentOS 6 update breaks ntfs-3g

Issues related to applications and software problems
miksan
Posts: 1
Joined: 2014/11/18 17:55:54

CentOS 6 update breaks ntfs-3g

Post by miksan » 2014/11/18 19:44:08

Dear Reader:

I have searched the web for problems related to CentOS 6 updates breaking 'ntfs-3g' - that is, the ability to read USB attached NTFS drives, once functional, no longer works. Most of the 'help' on the web is two or more years old, and redundant 'installation' instructions at best. I am a retired network security administrator from a top police agency with over forty year’s experience in networks, computers, and microprocessing. I am not a newbie, but I am humble enough to learn (so I'll always be a newbie in that regard. :) ) I am presenting my case here, because as a seasoned CentOS user, I figured this was the best place to come for help. You will need to take my word that 1) USB attached NTFS drives, that were once readable, are no longer recognized; 2) Windows XP, 7, and 8.1 shared drives ARE readable; and 3) the system no longer recognizes 'ntfs-3g' as a file system when mounting a NTFS USB drive (and yes, ntfs-3g is no longer in /proc/filesystems). I present this situation in an understandable, and I hope, logical order.

First, the OS and the build number are shown with:

[root@CentOS6 ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)
[root@CentOS6 ~]# uname -r
2.6.32-504.1.3.el6.x86_64

The following shows all necessary software is installed:

[root@CentOS6 ~]# yum list installed *ntfs*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: repos.dfw.quadranet.com
* epel: fedora-epel.mirror.lstn.net
* extras: centos.arvixe.com
* rpmforge: mirror.team-cymru.org
* rpmfusion-free-updates: mirrors.tummy.com
* rpmfusion-free-updates-source: mirrors.tummy.com
* rpmfusion-nonfree-updates: mirror.nexcess.net
* rpmfusion-nonfree-updates-source: mirror.nexcess.net
* updates: centos.mirror.lstn.net
Installed Packages
findntfs.x86_64 1.3-1.el6.rf @rpmforge
ntfs-3g.x86_64 2:2014.2.15-6.el6 @epel
ntfs-3g-devel.x86_64 2:2014.2.15-6.el6 @epel
ntfsprogs.x86_64 2:2014.2.15-6.el6 @epel

Now, the contents of the drives in /dev and the required folder in /mnt:

[root@CentOS6 ~]# ls -l /mnt
total 16
drwxr-xr-x 2 root root 4096 Apr 21 2014 miksan06DM$
drwxr-xr-x 2 root root 4096 Jul 29 2012 music-cd
drwxr-xr-x 2 root root 4096 Nov 18 01:59 sg-2TB
drwxr-xr-x 2 root root 4096 Nov 18 01:59 wd-1TB
[root@CentOS6 ~]# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Nov 18 02:04 /dev/sda
brw-rw---- 1 root disk 8, 16 Nov 18 02:04 /dev/sdb
brw-rw---- 1 root disk 8, 32 Nov 18 02:04 /dev/sdc
brw-rw---- 1 root disk 8, 33 Nov 18 01:56 /dev/sdc1
brw-rw---- 1 root disk 8, 48 Nov 18 02:04 /dev/sdd
brw-rw---- 1 root disk 8, 49 Nov 18 01:56 /dev/sdd1
brw-rw---- 1 root disk 8, 64 Nov 18 01:56 /dev/sde
brw-rw---- 1 root disk 8, 80 Nov 18 01:56 /dev/sdf
brw-rw---- 1 root disk 8, 96 Nov 18 01:56 /dev/sdg
brw-rw---- 1 root disk 8, 112 Nov 18 01:56 /dev/sdh

'fdisk' is ran to verify disk size and type

[root@CentOS6 ~]# fdisk -l /dev/sdc
Note: sector size is 4096 (not 512)

Disk /dev/sdc: 2000.4 GB, 2000398929920 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x90b0d148

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 30401 1953506388 7 HPFS/NTFS
[root@CentOS6 ~]# fdisk -l /dev/sdd

Disk /dev/sdd: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00021631

Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976758784 7 HPFS/NTFS
[root@CentOS6 ~]# mount -t ntfs-3g /dev/sdc1 /mnt/sg-2TB/
mount: unknown filesystem type 'ntfs-3g'
[root@CentOS6 ~]# mount -t ntfs-3g /dev/sdd1 /mnt/wd-1TB
mount: unknown filesystem type 'ntfs-3g'

...And finally, the result of attempting to mount either of the USB NTFS drives:

[root@CentOS6 ~]# mount -t ntfs-3g /dev/sdc1 /mnt/sg-2TB
mount: unknown filesystem type 'ntfs-3g'


There is much on the web that I haven't mentioned, especially the repository-OS finger pointing, which solves nothing. I suspect that there is something wrong with the latest 'ntfs-3g' yum install - that it is never populating '/proc/filesystems/' and any other OS engineering nuts and bolts – for whatever reason, and beyond my wanting - or needing to understand. I would appreciate a workaround, or at least the hope that whatever was broken is fixed in future CentOS 6/repository updates. TIA.

MikeR

Marriage is a challenge to serve a higher ideal than self.
It is by God's grace, we succeed.

User avatar
TrevorH
Forum Moderator
Posts: 30355
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6 update breaks ntfs-3g

Post by TrevorH » 2014/11/18 20:45:51

The latest EPEL ntfs-3g package is broken unfortunately. I'm not quite sure how it managed to make its way out of the their fairly rigorous QA in such a state :-(

https://bugzilla.redhat.com/show_bug.cgi?id=1043236

According to that bug report a newer ntfs-3g has just been pushed to epel-testing but it's not available on my system yet - you might try yum --enablerepo=epel-testing clean all ; yum --enablerepo=epel-testing update ntfs-3g and see if it has made it to a mirror near you though.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
Vladi
Posts: 128
Joined: 2014/08/22 01:25:43
Location: Nyíregyháza/Hungary/EU

Re: CentOS 6 update breaks ntfs-3g

Post by Vladi » 2014/11/18 23:56:01

miksan!

I can confirme your problem. I have the same issue. As you can see, epel packagers are working on it. In the epel-testing repo, there is an update.
Unfortunately after updateing, i run into i/o error. So there is no way to update.

I'm now trying to downgrade the package as a workaround. Stay tuned. :mrgreen:

User avatar
Vladi
Posts: 128
Joined: 2014/08/22 01:25:43
Location: Nyíregyháza/Hungary/EU

Re: CentOS 6 update breaks ntfs-3g

Post by Vladi » 2014/11/19 00:09:04

I find a temporary solution:

Downgrade the packages. Here you can find old packages:
ntfs-3g, ntfs-3g-devel, ntfsprogs, ntfs-3g-debuginfo.

1. disable epel-testing repo
2. uninstall these packages
3. download the packages, you need
4. install them:
yum localinstall ntfs-3g-version
5. do not update
6. please confirm it is working, or not.
I have now automont and rw suppont on c6 ntfs partition.

jurgen
Posts: 1
Joined: 2014/11/20 05:22:36

Problems with ntfs-3g

Post by jurgen » 2014/11/20 05:28:56

Hi,

I have some problems with mounting a NTFS USB drive. It worked fine before I ran "yum update" and restarted my system.

When I run this command now, I get the following error message:

Code: Select all

# mount -t ntfs-3g /dev/sdi1 /mnt/external_hdd/
mount: unknown filesystem type 'ntfs-3g'
However, ntfs-3g and fuse are installed. What could be wrong?

Code: Select all

# yum install ntfs-3g fuse
[...]
Package 2:ntfs-3g-2014.2.15-6.el6.x86_64 already installed and latest version
Package fuse-2.8.3-4.el6.x86_64 already installed and latest version
Thanks for you help,
Jürgen

[Moderator: merged into existing topic on the same subject.]

rklrkl
Posts: 74
Joined: 2005/10/22 22:06:04
Location: U.K.

Re: CentOS 6 update breaks ntfs-3g

Post by rklrkl » 2014/11/20 08:21:57

I just discovered this "doozy" myself - it does baffle me how this actually got into EPEL so broken. A simple mount of an NTFS partition doesn't work and reports ntfs isn't recognised as a filing system. If I didn't know better, this suggests to me that even that very obvious operation wasn't tested :-(

I slapped in an "exclude=*ntfs*" into /etc/yum.repos.d/epel.repo, uninstalled ntfsprogs and ntfs-3g and then yum installed them from my rpmforge repo instead and that version worked. At least it sounds like the problem should be fixed soon - it's such a severe breakage, you'd hope a) they'd test it this time and b) it'll be out ASAP.

I should point out here that I'm on an old kernel due to proprietary drivers locking me into an old release - one suggestion is to update your kernel and reboot, but I can't do that. The fix that's been submitted will, thankfully, work on older kernels too.

User avatar
TrevorH
Forum Moderator
Posts: 30355
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6 update breaks ntfs-3g

Post by TrevorH » 2014/11/20 10:14:27

The newer ntfs-3g package is now in epel-testing so the completely broken and/or brave among you can now run

Code: Select all

yum update \*ntfs\* --enablerepo=epel-testing --noplugins
(--noplugins is necessary in case you have yum-plugin-priorities installed and have assigned epel-testing a lower priority than epel itself).
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
Vladi
Posts: 128
Joined: 2014/08/22 01:25:43
Location: Nyíregyháza/Hungary/EU

Re: CentOS 6 update breaks ntfs-3g

Post by Vladi » 2014/11/20 11:01:05

TrevorH wrote:The newer ntfs-3g package is now in epel-testing so the completely broken and/or brave among you can now run

Code: Select all

yum update \*ntfs\* --enablerepo=epel-testing --noplugins
(--noplugins is necessary in case you have yum-plugin-priorities installed and have assigned epel-testing a lower priority than epel itself).

there was an update earlyer, that did not solved the problem. So i'm waiting for somebody confirm, that this is good update now. :roll:

shermans
Posts: 1
Joined: 2014/11/21 08:29:03

Re: CentOS 6 update breaks ntfs-3g

Post by shermans » 2014/11/21 08:33:00

Hi all,
I had the same problem and after searching more than an hour, I found your forum.
I found the new upgrade, and as a brave/ignorent centos user I tried it.

Code: Select all

yum update \*ntfs\* --enablerepo=epel-testing --noplugins
I can confirm, my ntfs hard drive just mounted! So the new update works!

vinci
Posts: 3
Joined: 2014/11/23 21:33:50

Re: CentOS 6 update breaks ntfs-3g

Post by vinci » 2014/11/23 21:36:42

I can confirm too that the ntfs-3g-2014.2.15-8.el6.x86_64 found in epel-testing.repo works. I've just installed it and it solved my problems. For me the proper windows ntfs partition didn't work, it wasn't limited to usb hdd/sticks.

Post Reply

Return to “CentOS 6 - Software Support”