Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hello guys, This is my first post here(as long as i can remember) so please forgive me if i have posted in wrong section. I have Zorin OS Core 3,which ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4

    Bittorrent clients cannot write to NTFS partition.


    Hello guys,

    This is my first post here(as long as i can remember) so please forgive me if i have posted in wrong section.
    I have Zorin OS Core 3,which is based on Ubuntu 10.04 LTS.
    I am having this issue that my torrent clients are unable to write to NTFS partition.I have tried them all,qbittorrent,transmission,deluge and vuze.
    I have full access to the NTFS partition.I can write files at will.
    I have installed this tool called "ntfs-config-root".It can set Write permissions for a NTFS partition.
    I am having this problem ONLY on my internal partitions.I have NTFS partitions on my portable Hard Drive and no such problem occurs with them.here is my fstab if you are interested in examining it.There are also entries for my portable Hard Drive in it.
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc	/proc	proc	nodev,noexec,nosuid	0	0
    #Entry for /dev/sda6 :
    UUID=d60905a9-edcd-4954-9379-5622f8c592bd	/	ext4	errors=remount-ro	0	1
    #Entry for /dev/sda1 :
    UUID=7a8befaf-dc25-4cee-b0da-c02d06bbd7c7	/boot	ext3	defaults	0	2
    #Entry for /dev/sdb10 :
    UUID=5084629E846285F6	/media/Backup	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sda5 :
    UUID=A6942B14942AE691	/media/sda5	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb7 :
    UUID=8E54D08654D07287	/media/Music	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb6 :
    UUID=964426064425E9A7	/media/Software	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb9 :
    UUID=4254549D5454958F	/media/Software2	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb5 :
    UUID=7A5C364C5C360383	/media/Videos	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb11 :
    UUID=AA907F6D907F3EBF	/media/Videos\0403	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb8 :
    UUID=01CC6E580CEDF300	/media/Videos2	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sdb1 :
    UUID=6850C82750C7FA38	/media/Videos4	ntfs-3g	defaults,nosuid,nodev,locale=en_US.UTF-8	0	0
    #Entry for /dev/sda2 :
    UUID=5840FBA140FB8452	/media/WINDOWS_XP	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
    #Entry for /dev/sda7 :
    UUID=12cde8e5-8cd8-41d2-8914-67ecba207876	none	swap	sw	0	0

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Everything looks correct in fstab file. Could you post the output of fdisk -l command? It looks partitions have exFAT/NTFS instead if NTFS.

    * Its small L in fdisk -l.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4
    Quote Originally Posted by devils casper View Post
    Everything looks correct in fstab file. Could you post the output of fdisk -l command? It looks partitions have exFAT/NTFS instead if NTFS.

    * Its small L in fdisk -l.
    thanks for the reply.
    here is the result of fdisk -l

    Code:
    mohsin@dell-d610:~$ fdisk -l
    
    Disk /dev/sda: 60.0 GB, 60011642880 bytes
    255 heads, 63 sectors/track, 7296 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: 0x24472446
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1           7       56196   83  Linux
    /dev/sda2   *           8        1445    11550735    7  HPFS/NTFS
    /dev/sda3            1446        7296    46998127    f  W95 Ext'd (LBA)
    /dev/sda5            1446        6407    39857233+   7  HPFS/NTFS
    /dev/sda6            6408        7220     6530391   83  Linux
    /dev/sda7            7221        7296      610438+  82  Linux swap / Solaris

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Mount /dev/sda5 manually and check if it works after that.
    Code:
    sudo umount /dev/sda5
    sudo mount -t ntfs-3g  /dev/sda5  /media/sda5 -o defaults
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4
    Quote Originally Posted by devils casper View Post
    Mount /dev/sda5 manually and check if it works after that.
    Code:
    sudo umount /dev/sda5
    sudo mount -t ntfs-3g  /dev/sda5  /media/sda5 -o defaults
    I have done that,but still nothing.
    The error happens ONLY with bittorrent clients.
    I an thinking of booting a live cd and try to download a torrent on the NTFS partition from there to see if the problem is with my torrent clients.
    I will post back the results.

  7. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,440
    My guess is, that the real problem is the use of sparse files. Torrentclients (but not only these) use these.
    While in theory ntfs-3g does support them, you do have a nearly three years old distribution (10.4) and also ntfs is still alien in the linux world.
    Ntfs is not a native posix filesystem, it has its own user and privileges schema and is a proprietary -not open- technology.
    So problems are kind of expected.

    What you could do to have access to the files from both windows and linux is to save them on a network storage, that supports cifs.
    You must always face the curtain with a bow.

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    stranger420 is facing problem in NTFS partition of Internal Hard disk only. Torrent is working fine in External disk partitions. It looks like we are missing something.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,440
    Well, there are possibly different versions and features of ntfs involved,
    also the storage subsystem is different: sata vs (potentially) usb.
    The external storage is also removeable, which might influence ntfs-3gs behaviour in terms of caching.

    While these arguments *shouldnt* make a difference, they do imho create a environment of uncertainty.
    And the root of this uncertainty is imho the ntfs filesystem.

    Hence my suggestion to go for a network filesystem, that can be understood by both platforms.
    Yes, cifs is also proprietary, but the samba project is quite active and well known.
    Last edited by Irithori; 03-11-2013 at 04:36 PM. Reason: typo
    You must always face the curtain with a bow.

  10. #9
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4
    thanks for your input guys.
    @Irithori.i am afraid i am not technically qualifyed to successfully run a network filesystem.
    the thing is that this problem didn't existed some three weeks ago when i updated qbittorrent via its ppa.
    clearly there is something wrong with my config.
    i am typing this from a BackBox3 on live USB.
    i have just successfully downloaded a torrent on the same NTFS drive using transmission 2.51(from BackBox3).
    i had tried transmission on my system as well but there it had failed,just like the rest of them.
    and yes 10.04 is old but i am very lazy and i had decided to postpone an upgrade to 12.04 LTS till the final moment (April)

  11. #10
    Just Joined!
    Join Date
    May 2007
    Posts
    6
    I believe that you have permission problem in your internal NTFS partition. You current NTFS setting is set to defaults which means only root has access to it. add umask switch in your /etc/fstab and remount your partition. Below is one of examples.

    /dev/sda1 /windows/C ntfs-3g defaults,umask=0 0 0

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •