You are not logged in.
When attempting to mount an external hard drive it appears to succeed, but doesn't work. When attempting to access it I get: "Transport endpoint is not connected".
The journalctl says it get immediately unmounted. Here is the output:
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Version 2015.3.14 external FUSE 29
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Mounted /dev/sdb1 (Read-Write, label "", NTFS 3.1)
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Cmdline options:
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Mount options: allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Ownership and permissions disabled, configuration type 7
Aug 30 17:24:13 Curtis-Laptop-Arch ntfs-3g[10853]: Unmounting /dev/sdb1 ()
Aug 30 17:24:13 Curtis-Laptop-Arch org.gtk.Private.UDisks2VolumeMonitor[626]: disc.c:332: error opening file BDMV/index.bdmv
Aug 30 17:24:13 Curtis-Laptop-Arch org.gtk.Private.UDisks2VolumeMonitor[626]: disc.c:332: error opening file BDMV/BACKUP/index.bdmvDespite the journalctl saying that disk was unmounted, it is still listed in mount at the bottom. Here is the output of 'mount' in case it is relevant:
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=8167740k,nr_inodes=2041935,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/mapper/MyStorage-rootvol on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
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,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /media/Windows type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
/dev/sda2 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1635096k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda4 on /media/Windows type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /media/mediadrive type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)I was hoping somebody could shed some insight into what is causing this and how to fix it?
Offline
Jin, Jîyan, Azadî
Offline
Correct me if I'm wrong, but doesn't this only apply to people who use mhddfs? I don't use this method to mount my drive.
Offline
Parts of this apply to every FUSE filesystem.
It seems that ntfs-3g crashes or does something weird. Try:
ntfs-3g /dev/whatever /mnt/wherever -o debug,no_detachOffline
When running it with:
ntfs-3g /dev/sdb1 /media/mediadrive -o debug,no_detachI get the following output:
FUSE library version: 2.9.4
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
Version 2015.3.14 external FUSE 29
Mounted /dev/sdb1 (Read-Write, label "", NTFS 3.1)
Cmdline options: debug,no_detach
Mount options: allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096
Ownership and permissions disabled, configuration type 7
fuse: reading device: Operation not permitted
Unmounting /dev/sdb1 ()I couldn't figure out what caused this by just googling around.
Offline
fuse: reading device: Operation not permittedNormally only root can mount disks. Try using some DE for mounting or add an fstab line with the "users" option (and maybe "noauto" if it's a removable disk).
EDIT:
Or maybe not. I guess the "users" way is what you tried to do and that's why you are allowed to mount in /media even though your ntfs-3g process still isn't allowed to read the block device.
I'm not sure how to deal with this. Use DE facilities if you are using some DE (they will spawn a root ntfs-3g process on your behalf) or maybe add an udev rule which gives you access to this particular HDD?
Last edited by mich41 (2015-08-31 20:07:13)
Offline
I've always mount it with "sudo mount", or "sudo ntfs-3g", or . It outright fails without the sudo. I've also tried to mount from the root user, and it still fails. It could be a bug, but I'm not sure.
Last edited by CyberGhost (2015-08-31 23:24:13)
Offline
So you are getting EPERM as root? Check if the block device file is readable/writable by anyone at all, maybe run strace to see what's the exact syscall that fails. Something is weird.
Offline