Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

My NTFS partitions are mounted read only

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
infestor
Posts: 175
Joined: 2012-02-07 22:18

My NTFS partitions are mounted read only

#1 Post by infestor »

this is my disk structure:

Code: Select all

$ lsblk -f
NAME   FSTYPE LABEL    UUID                                 MOUNTPOINT
sda                                                         
├─sda1 ntfs   Recovery FC42F32142F2DF78                     
├─sda2 vfat            B8F3-B50F                            /boot/efi
├─sda3                                                      
├─sda4 ntfs            FC9816989816518E                     /media/mnt/win10mnt
├─sda5 swap            22bd59d4-b4c9-4509-b6dc-00faf700f23c [SWAP]
└─sda6 ext4   debDwell e65325bf-88c0-4b4b-9aa2-aea07ef659de /
sdb                                                         
├─sdb1 vfat   EFIWD    4C26-549A                            
├─sdb2 ext4   wdP1     2bf4cc1c-7e84-4e34-adb9-0d2fbf5ed1a7 /media/mnt/wdP1mnt
└─sdb3 ntfs   wdP2     127724642DFFF971                     /media/mnt/wdP2mnt
sdc                                                         
├─sdc1 vfat   EFI      F392-8011                            
└─sdc2 ntfs   hitaP1   70686D3664DCF58D                     /media/mnt/hitaP1mnt
these are my mounting points:

Code: Select all

/media/mnt$ ls -ll
total 20
drwxrwxr-x 2 semko semko 4096 Jul 16 22:22 debDwellmnt
drwxrwxr-x 1 semko semko 4096 Jul 18 23:02 hitaP1mnt
drwxrwxr-x 5 root  semko 4096 Jul 21 19:47 wdP1mnt
drwxrwxr-x 1 semko semko 4096 Jul 18 23:02 wdP2mnt
drwxrwxr-x 1 semko semko 4096 Jul 18 23:02 win10mnt
this is my fstab:

Code: Select all

$ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=e65325bf-88c0-4b4b-9aa2-aea07ef659de /               ext4   noatime,defaults,discard  0    0
# /boot/efi was on /dev/sda2 during installation
UUID=B8F3-B50F  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda5 during installation
UUID=22bd59d4-b4c9-4509-b6dc-00faf700f23c none            swap    sw              0       0
# mount wdP1
UUID=2bf4cc1c-7e84-4e34-adb9-0d2fbf5ed1a7 /media/mnt/wdP1mnt ext4 noatime,defaults,discard  0    0
# mount hitaP1
UUID=70686D3664DCF58D /media/mnt/hitaP1mnt ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0
# mount wdP2
UUID=127724642DFFF971 /media/mnt/wdP2mnt ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0
# mount win10
UUID=FC9816989816518E /media/mnt/win10mnt ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0
and this what id gives me:

Code: Select all

$ id
uid=1000(semko) gid=1000(semko) groups=1000(semko),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(netdev)
i can read and write on sdb2 (the only ext4 partition that i mount. by read and write i mean i can create/cut folders and files etc. no low level disk stuff) but can only read (not write) on sda4, sdb3 and sdc2.

what may be causing this?

PS: i have ntfs-3g installed:

Code: Select all

$ apt-cache policy ntfs-3g
ntfs-3g:
  Installed: 1:2016.2.22AR.2-2
  Candidate: 1:2016.2.22AR.2-2
  Version table:
 *** 1:2016.2.22AR.2-2 500
        500 http://debian.ludost.net/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
---------------

User avatar
infestor
Posts: 175
Joined: 2012-02-07 22:18

Re: My NTFS partitions are mounted read only

#2 Post by infestor »

here is the output of mount:

Code: Select all

    $ mount
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=4051948k,nr_inodes=1012987,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,noexec,relatime,size=812740k,mode=755)
    /dev/sda6 on / type ext4 (rw,noatime,discard,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/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    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 /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11383)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    /dev/sdb2 on /media/mnt/wdP1mnt type ext4 (rw,noatime,discard,data=ordered)
    /dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
    /dev/sda4 on /media/mnt/win10mnt type fuseblk (ro,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
    /dev/sdb3 on /media/mnt/wdP2mnt type fuseblk (ro,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
    /dev/sdc2 on /media/mnt/hitaP1mnt type fuseblk (ro,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=812736k,mode=700,uid=1000,gid=1000)
---------------

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: My NTFS partitions are mounted read only

#3 Post by dasein »

common problem. well-documented solution.

spend some time reading man mount and man fstab

As always, the venerable ArchWiki contains valuable insights: https://wiki.archlinux.org/index.php/NTFS-3G

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: My NTFS partitions are mounted read only

#4 Post by pendrachken »

1: your dmask / fmask values are wrong. Should be three digits, not four long.
1.5: rw shouldn't be need to be stated as a mount option with ntfs-3g. The FS will always try to be mounted RW by that diver if it isn't flagged dirty.

2: You need to make sure Windows fast start crap is disabled ( it doesn't really help anyways ). It's in the arch wiki that dasein posted.
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P

Post Reply