LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2014, 09:36 AM   #1
keithostertag
Member
 
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127

Rep: Reputation: Disabled
After upgrade can't write to external usb ntfs device (Debian)


Hi Guys-

After doing a dist-upgrade the other day I have been unable to write to my external ntfs USB device (sdb1). I'm using Debian testing on an old Dell laptop, 3.0.0-1-686-pae.

Using ntfs-3g and fuse, I get the error "Input/output error" even when simply trying to view it.

If I remove ntfs-3g and fuse, using native ntfs support only- then root can read the drive just fine. So I feel the cable and device are working.

Previous to upgrade I had always been able to RW as a regular user using ntfs-3g and fuse.

I see no relevant messages in dmesg.

I've also tried using ntfs-config, with no change.

Any ideas?

Thanks,
Keith Ostertag

Code:
keith@eve:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=127937,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=206804k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
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,release_agent=/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/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)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /usb type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=103404k,mode=700,uid=1000,gid=1000)
Code:
keith@eve:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc	/proc	proc	defaults	0	0
#Entry for /dev/sda2 :
UUID=6fa158e5-d75e-4693-a333-a747cc1bcc14	/	ext4	errors=remount-ro	0	1
#Entry for /dev/sdb1 :
UUID=1097890A7358CC8D	/usb	ntfs-3g	defaults,rw,user,auto,locale=en_US.UTF-8	0	0
#Entry for /dev/sda3 :
UUID=bba9ab61-2b31-4e54-bd19-3db9327f35a2	none	swap	sw	0	0
/dev/sr0	/media/cdrom0	udf,iso9660	user,noauto	0	0
/dev/fd0	/media/floppy0	auto	rw,user,noauto	0	0
Code:
keith@eve:~$ ls /usb
ls: cannot access /usb: Input/output error
Code:
keith@eve:~$ ntfs-3g -o debug /usb
ntfs-3g: Failed to access volume '/usb': Input/output error

ntfs-3g 2014.2.15AR.2 integrated FUSE 28 - Third Generation NTFS Driver
		Configuration type 7, XATTRS are on, POSIX ACLS are on
>>>> snip <<<<<
 
Old 10-30-2014, 09:27 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,105

Rep: Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638
Boot to some live cd/usb/dvd. Be sure to mount the drive read write if distro allows. See if that can access to double check that your upgrade has somehow failed.

Yes, ntfs-3g is not the same as read only ntfs.
 
Old 10-31-2014, 08:29 AM   #3
keithostertag
Member
 
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127

Original Poster
Rep: Reputation: Disabled
OK, thanks jefro, that's a good idea. I'll give that a try next week (currently out-of-town)

Keith
 
Old 10-31-2014, 02:44 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
someone on crunchbang forum was having a similar problem, and they claim they got it solved:
http://crunchbang.org/forums/viewtop...402093#p402093
 
Old 11-01-2014, 09:55 AM   #5
keithostertag
Member
 
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127

Original Poster
Rep: Reputation: Disabled
I was starting to see other problems, so I decided to write over this current mess with the backup I made prior to the dist-upgrade. Now things are back to working correctly. (I had used TAR to backup the entire system).

So I assume that either the current ntfs-3g has a problem or something else in the dist-upgrade wasn't quite right.

I'll try again in a few weeks/months.

Thanks once again for your help!

Keith
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want a new partition for external usb hdd, replace ntfs with ext4 with debian tools malt Linux - Newbie 2 10-23-2014 04:10 PM
[SOLVED] External USB Hard Drive can write after KDE 4.6.5 upgrade bassplayer69 Slackware 4 12-22-2011 12:31 PM
Ubuntu 11.10 HELP NO longer have Read Write Permissions on external NTFS USB Drive rstoesser Ubuntu 1 10-25-2011 03:23 PM
Mounting external usb hard drive NTFS in write mode zermon Linux - Hardware 4 02-20-2010 12:26 PM
hot plug an external USB device on startup in Debian Etch knobby67 Debian 1 09-30-2008 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration