Bug 813088 - Cannot mount ntfs partition from external HDD
Summary: Cannot mount ntfs partition from external HDD
Keywords:
Status: CLOSED DUPLICATE of bug 812798
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-16 20:44 UTC by Ankur Sinha (FranciscoD)
Modified: 2012-04-17 05:17 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-17 05:17:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
NTFS partition showing up in nautilus (8.65 KB, image/png)
2012-04-16 20:44 UTC, Ankur Sinha (FranciscoD)
no flags Details
Error dialog when I right click and go "mount" in nautilus. (25.44 KB, image/png)
2012-04-16 20:46 UTC, Ankur Sinha (FranciscoD)
no flags Details
Error dialog when I kill the mount.ntfs process and retry mounting in nautilus (13.50 KB, image/png)
2012-04-16 20:48 UTC, Ankur Sinha (FranciscoD)
no flags Details
dmesg (65.38 KB, text/plain)
2012-04-16 20:51 UTC, Ankur Sinha (FranciscoD)
no flags Details

Description Ankur Sinha (FranciscoD) 2012-04-16 20:44:08 UTC
Description of problem:
I've tried to mount an NTFS partition both manually using nautilus, and also by configuring it to mount on boot using the "Disks" utility. It won't mount. 

Version-Release number of selected component (if applicable):
[ankur@ankur ~]$ rpm -q nautilus
nautilus-3.4.0-1.fc17.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Make HDD with multiple partitions. Make one NTFS
2.Try to mount it
3.
  
Actual results:
Does not mount. Error dialog boxes are attached.

Expected results:
Should mount normally.

Additional info:
Please see attachments.

Comment 1 Ankur Sinha (FranciscoD) 2012-04-16 20:44:45 UTC
Created attachment 577833 [details]
NTFS partition showing up in nautilus

Comment 2 Ankur Sinha (FranciscoD) 2012-04-16 20:46:30 UTC
Created attachment 577836 [details]
Error dialog when I right click and go "mount" in nautilus.

Comment 3 Ankur Sinha (FranciscoD) 2012-04-16 20:47:20 UTC
[root@ankur ~]# ps aux | egrep NTFS
root       489  0.0  0.0 111556  1116 ?        S    02:06   0:00 /sbin/mount.ntfs /dev/sdb2 /mnt/NTFS Temp -o rw,nosuid,nodev,nofail
root      4685  0.0  0.0 106980   856 pts/1    S+   02:15   0:00 egrep --color=auto NTFS
[root@ankur ~]#

Comment 4 Ankur Sinha (FranciscoD) 2012-04-16 20:48:22 UTC
Created attachment 577838 [details]
Error dialog when I kill the mount.ntfs process and retry mounting in nautilus

If I kill the above shown process and reattempt to mount the partition in nautilus, I get this error dialog.

Comment 5 Ankur Sinha (FranciscoD) 2012-04-16 20:51:10 UTC
Created attachment 577840 [details]
dmesg

Comment 6 Ankur Sinha (FranciscoD) 2012-04-16 20:54:25 UTC
[root@ankur dev]# lsof sdb2
COMMAND    PID USER   FD   TYPE DEVICE    SIZE/OFF NODE NAME
mount.ntf 5014 root    3uW  BLK   8,18 0x50014e200 1276 sdb2
[root@ankur dev]# fuser sdb2
/dev/sdb2:            5014
[root@ankur dev]#

[ankur@ankur ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,seclabel,size=1946744k,nr_inodes=486686,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,seclabel)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,seclabel,mode=755)
/dev/sda6 on / type ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sdb3 on /mnt/Stuff type ext3 (rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
/dev/sdb1 on /mnt/Ankur Backup type ext3 (rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
/dev/sda2 on /mnt/Other type ext4 (rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
/dev/sda8 on /mnt/Miscellaneous type ext4 (rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
/dev/sda3 on /boot type ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sda5 on /home type ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)

Comment 7 Ankur Sinha (FranciscoD) 2012-04-16 21:03:34 UTC
Trying to manually mount also fails (using the terminal). The command just hangs, so I think this is the root of it. The frontend isn't at fault (probably).

I keep getting these errors in dmesg every time I try:

[  622.848162] SELinux: (dev sdb2, type fuseblk) getxattr errno 4
[  996.311701] SELinux: (dev sdb2, type fuseblk) getxattr errno 4
[ 1132.137597] SELinux: (dev sdb2, type fuseblk) getxattr errno 4
[ 1203.609248] SELinux: (dev sdb2, type fuseblk) getxattr errno 4
[ 1241.809826] SELinux: (dev sdb2, type fuseblk) getxattr errno 4


Looks like it's selinux. Changing component. Sorry for the spam :/


[root@ankur ~]# rpm -q selinux-policy
selinux-policy-3.10.0-114.fc17.noarch
[root@ankur ~]#

Thanks,
Ankur

Comment 8 Ankur Sinha (FranciscoD) 2012-04-17 05:17:11 UTC

*** This bug has been marked as a duplicate of bug 812798 ***


Note You need to log in before you can comment on or make changes to this bug.