You are not logged in.

#1 2017-10-30 12:57:36

jaylm3
Member
Registered: 2010-05-22
Posts: 13

[SOLVED] Problem with writing to NTFS partition

I have Archlinux installed with latest updates as of 10/26/2017 in a dual boot with Windows 10
I have a separate partition formatted as NTFS that contains only my documents, music, photos etc.
I can see and open files from this Partition (DATA) in Arch but cannot create new folders/new files or save changes from Arch.

I it set to auto mount in /etc/fstab
#Entry for /dev/sda6 :
UUID=45AF7022793AB2DD   /home/jlm1/Data ntfs-3g rw,relatime,data=ordered    0 2

but running mount after boot shows it as
/dev/sda6 on home/jlm1/Data type fuseblk (ro, nosuid, nodev, relatime,user_id=0,group_id=0,allow_other,blksize=4096

To a naive linux user like myself it almost seems as if it is using the kernel ntfs which I believ is ro instead of the installed ntfs-3g package.

Any thoughts or corrections

My thanks in advance

Last edited by jaylm3 (2017-10-30 18:42:46)

Offline

#2 2017-10-30 15:25:32

seth
Member
Registered: 2012-09-03
Posts: 57,403

Re: [SOLVED] Problem with writing to NTFS partition

The filesystem is probably corrupted and thus remounted read-only, check your journal.
You'll have to run a filesystem reparation (best from windows)

Also ensure to NOT use windows fastboot or boot linux while windows hibernates, because that can/will leave the FS in an invalid state.

Offline

#3 2017-10-30 15:34:12

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

Seth - thanks for reply
I have fast boot/hibernation for win 10 turned and have checked that it is.
I will check journal and will run check on filesystem from windows and let you know

Offline

#4 2017-10-30 16:09:18

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

Seth
I ran chkdsk in windows and it states that everything is fine.

from journalctl I pulled lines relating to ntfs which yielded the following
to my untrained mind/eye it looks fine until the last 2 lines but I have no idea of why they would be that way

Oct 30 11:59:17 jlm1ASUSlt ntfs-3g[369]: Version 2017.3.23 external FUSE 29
Oct 30 11:59:17 jlm1ASUSlt ntfs-3g[369]: Mounted /dev/sda6 (Read-Only, label "Data", NTFS 3.1)
Oct 30 11:59:17 jlm1ASUSlt systemd[1]: Mounted /home/jlm1/Data.
Oct 30 11:59:17 jlm1ASUSlt ntfs-3g[369]: Cmdline options: rw,relatime,data=ordered
Oct 30 11:59:17 jlm1ASUSlt systemd[1]: Reached target Local File Systems.
         Oct 30 11:59:17 jlm1ASUSlt ntfs-3g[369]: Mount options: rw,data=ordered,allow_other,nonempty,relatime,ro,fsname=/dev/sda6,blkdev,blksize=4096
Oct 30 11:59:17 jlm1ASUSlt ntfs-3g[369]: Ownership and permissions disabled, configuration type 7

Offline

#5 2017-10-30 16:17:42

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Problem with writing to NTFS partition

Can you mount the partition manually? What happens if you use the default option in fstab?

https://wiki.archlinux.org/index.php/NT … l_mounting
https://wiki.archlinux.org/index.php/NT … t_settings

Offline

#6 2017-10-30 16:52:55

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

If I use defaults in fstab

Oct 30 12:45:15 jlm1ASUSlt ntfs-3g[362]: Version 2017.3.23 external FUSE 29
Oct 30 12:45:15 jlm1ASUSlt ntfs-3g[362]: Mounted /dev/sda6 (Read-Only, label "Data", NTFS 3.1)
Oct 30 12:45:15 jlm1ASUSlt systemd[1]: Mounted /home/jlm1/Data.
Oct 30 12:45:15 jlm1ASUSlt ntfs-3g[362]: Cmdline options: rw
Oct 30 12:45:15 jlm1ASUSlt systemd[1]: Reached target Local File Systems.
Oct 30 12:45:15 jlm1ASUSlt ntfs-3g[362]: Mount options: rw,allow_other,nonempty,relatime,ro,fsname=/dev/sda6,blkdev,blksize=4096
Oct 30 12:45:15 jlm1ASUSlt systemd[1]: Starting Create Volatile Files and Directories...
Oct 30 12:45:15 jlm1ASUSlt ntfs-3g[362]: Ownership and permissions disabled, configuration type 7

Which is basically same outcome with some minor differences

Offline

#7 2017-10-30 16:59:56

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

if I mount manually ( commented out is fstab) andtehn run mount it shows

/dev/sda6 on /run/media/jlm1/Data type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

Offline

#8 2017-10-30 17:56:57

seth
Member
Registered: 2012-09-03
Posts: 57,403

Re: [SOLVED] Problem with writing to NTFS partition

Unmount first and then try

sudo ntfs-3g /dev/sda6 /run/media/jlm1/Data -o debug,no_detach

Offline

#9 2017-10-30 18:26:58

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

Well so much for my being sure that Win 10 wasnt having an impact

results of your command

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
fuse: failed to access mountpoint /run/media/jlm1/Data: No such file or directory

Offline

#10 2017-10-30 18:39:12

jaylm3
Member
Registered: 2010-05-22
Posts: 13

Re: [SOLVED] Problem with writing to NTFS partition

rebooted into windows and ran from admin cmd prompt   shutdown /s /f  /t 0
then booted into Arch and mounted NTFS partition and could write to partition.

Thank you so much!!!!

Jay Mutter

Offline

Board footer

Powered by FluxBB