Page 1 of 1

NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 3:37 pm
by texchuck
I recently acquired a new PC configured with Windows 11 and installed MX-21.1 with a dual boot. My plan was to share the Windows ntfs partition for data. This worked for the first week, but suddenly the partition only mounts as a read-only file system. The folders and files identify as read-write, but write access is grayed out (or "read only file system" displays in a console window). I tried unmounting and mounting with no change in status. Maybe this is a Windows poison pill! Anyway, not sure how to mount the ntfs partition as read-write again. Thanks!

Here is the quick system info.

Code: Select all

System:    Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.0-4mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.1_ahs_x64 Wildflower November 22  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Convertible System: ASUSTeK product: Zenbook UX562UG_Q508UG v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: UX562UG v: 1.0 serial: <filter> UEFI: American Megatrends LLC. 
           v: UX562UG_Q508UG.302 date: 10/14/2021 
Battery:   ID-1: BAT0 charge: 27.5 Wh (49.6%) condition: 55.4/56.0 Wh (98.8%) volts: 15.8 
           min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging 
           cycles: 6 
           Device-1: hid-0018:04F3:2C8C.0002-battery model: ELAN9008:00 04F3:2C8C serial: N/A 
           charge: N/A status: N/A 
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen 2 family: 17 (23) model-id: 68 (104) stepping: 1 microcode: 8608103 cache: 
           L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57494 
           Speed: 2060 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 2060 
           2: 2116 3: 4142 4: 1393 5: 1532 6: 1780 7: 1823 8: 1284 9: 1515 10: 1397 11: 2384 
           12: 1397 13: 2088 14: 3742 15: 1714 16: 2283 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA TU117M [GeForce MX450] vendor: ASUSTeK driver: nvidia v: 510.47.03 
           bus-ID: 01:00.0 chip-ID: 10de:1f97 class-ID: 0302 
           Device-2: AMD Lucienne vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 04:00.0 
           chip-ID: 1002:164c class-ID: 0300 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 3-2:2 
           chip-ID: 13d3:56eb class-ID: fe01 serial: <filter> 
           Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.0-4mx-amd64 LLVM 12.0.1) 
           v: 4.6 Mesa 21.2.5 direct render: Yes 
Audio:     Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK 
           driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 04:00.5 
           chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.14.0-4mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel modules: wl port: f000 
           bus-ID: 02:00.0 chip-ID: 8086:2526 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 
           bus-ID: 3-4:4 chip-ID: 8087:0025 class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1 
           sub-v: 100 hci-v: 5.1 rev: 100 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 477.22 GiB used: 73.96 GiB (15.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PDP3256B-AB1 
           size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: EDFK0SA6 temp: 39.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB model: Multiple Card Reader size: 238.75 GiB 
           block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 
           scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw-size: 19.53 GiB size: 19.06 GiB (97.57%) used: 15.41 GiB (80.8%) fs: ext4 
           dev: /dev/nvme0n1p7 maj-min: 259:7 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 27.6 MiB (10.8%) 
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p6 maj-min: 259:6 
Sensors:   System Temperatures: cpu: 47.9 C mobo: 46.0 C gpu: amdgpu temp: 41.0 C 
           Fan Speeds (RPM): cpu: 3100 
Repos:     Packages: note: see --pkg apt: 2497 lib: 1403 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
           2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Info:      Processes: 373 Uptime: 48m wakeups: 4 Memory: 7.17 GiB used: 2.37 GiB (33.0%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Shell: Bash v: 5.1.4 running-in: quick-system-info-mx 
           inxi: 3.3.06 
Boot Mode: UEFI

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 3:50 pm
by xaol
do you know if you have fast startup disabled in windows? i have read it can cause similar problems with mounting its drive https://www.windowscentral.com/how-disa ... st-startup.

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 4:00 pm
by rickyraccoon
Mine's locked read-only as well- I run dual boot on separate SSDs. I thought I'd changed my Windoze off Fast-Boot, but I'll go back in there today and double check. Seemed to me at one time that always did the trick, but not so sure it's working anymore.

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 4:06 pm
by texchuck
I disabled fast start when I installed Linux. For some reason, there was no problem until today. I will try booting with Windows and ensure it didn't change back. Thanks for the thought.

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 4:09 pm
by Huckleberry Finn
If still not: Shift + Power off when closing windows (and try again on MX).

If not again: https://forum.mxlinux.org/viewtopic.php ... 55#p660155

Re: NTFS partition mounts read-only SOLVED

Posted: Tue Apr 26, 2022 4:33 pm
by texchuck
I verified that fast startup is still disabled. However, the shift + power down idea worked when I rebooted to MX. Not sure if that was the fix or I had the luck of the draw. But it likely unblocked something. Looks like a Microsoft poison pill after all.

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 6:16 pm
by Huckleberry Finn
Thank you for trying to mark the thread as solved, but you need to do it like this, with 1 click on the solution post :

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 6:55 pm
by dolphin_oracle
fwiw, if there is a windows update is due to be installed upon reboot, ntfs devices get locked until the update is done.

Re: NTFS partition mounts read-only

Posted: Tue Apr 26, 2022 7:20 pm
by texchuck
Interesting bit of information about why Windows would lock the drive.

Re: NTFS partition mounts read-only SOLVED

Posted: Wed Apr 27, 2022 12:56 am
by rickyraccoon
texchuck wrote: Tue Apr 26, 2022 4:33 pm I verified that fast startup is still disabled. However, the shift + power down idea worked when I rebooted to MX. Not sure if that was the fix or I had the luck of the draw. But it likely unblocked something. Looks like a Microsoft poison pill after all.
Well I checked that I didn't have fast booting. Tried the shift key thing and didn't work for me- not that I cared that much about it but I got curious.

Re: NTFS partition mounts read-only

Posted: Wed Apr 27, 2022 6:27 am
by Huckleberry Finn

Re: NTFS partition mounts read-only

Posted: Thu Apr 28, 2022 2:10 am
by tascoast
I just noticed a write issue on my ntfs data partition. I confirmed via Disk Manager* that it auto mounted on start, and discovered that rather than being ntfs 'unknown' as I've sometimes seen in the past, the following appeared (*you might need to install Disk Manager via MPI):
NTFS.png
I changed it from 'ntfs (Access Driver)' to 'ntfs-3g', as it always has been for me in the past, and all seems good now.

Note that this scenario does not involve padlocked files etc. as seen with the 'ntfs (unknown) issue that can sometimes crop up, and which is fixed by the same method as above, using Disk Manager to change file system type to ntfs-3g.

To be honest, I'm still using my previous MX install regularly, so hadn't noticed, the lack of padlocked files usually a quick giveaway that a ntfs partition was wrongly recognised.

regards
Mick

Re: NTFS partition mounts read-only

Posted: Sun May 01, 2022 1:36 am
by rickyraccoon
@ Huckleberry Finn

Ah thanks! And... it didn't work. still got the padlocks. and I did as tascoast mentions and made sure it was 'ntfs-3g'. Ah well. Not particularly worried about it, but thought I'd mention it as it seems when texchuck said:
texchuck wrote: Tue Apr 26, 2022 4:33 pm Not sure if that was the fix or I had the luck of the draw.
I'm going with it was Luck of the Draw.

Re: NTFS partition mounts read-only

Posted: Sun Jun 19, 2022 5:59 pm
by rickyraccoon
Here lately, about half the time after I run Windows, the Windows drive is read-only in MX. The other half, it's not. Go figure.

Re: NTFS partition mounts read-only

Posted: Mon Jun 20, 2022 2:26 am
by Eadwine Rose
That is VERY annoying indeed @rickyraccoon. My odds are slightly better thank goodness.

How do you solve it? I boot into windows again, and open a file on the drive. Might not even be needed, said the great DO ;) and just booting into it is enough, but yeah.. it's annoying for sure.

Re: NTFS partition mounts read-only

Posted: Mon Jun 27, 2022 3:30 pm
by rickyraccoon
Eadwine Rose wrote: Mon Jun 20, 2022 2:26 am That is VERY annoying indeed @rickyraccoon. My odds are slightly better thank goodness.

How do you solve it? I boot into windows again, and open a file on the drive. Might not even be needed, said the great DO ;) and just booting into it is enough, but yeah.. it's annoying for sure.
Well I don't really worry about it. I keep a flash drive in a USB 3 port in the rear for exchanging data between Windows and Linux and usually use it out of habit. I don't often have to exchange data but on occasion I'm running into old CDs that only show up right in Windows and whatever the contents I want to save I'll use that method to transfer them. I've only noticed how the Windows is behaving because when I sign in to mount my large data drive, I go ahead and mount everything in the machine before the password times out.

Re: NTFS partition mounts read-only

Posted: Sun Sep 11, 2022 10:40 am
by scorpio9
xaol wrote: Tue Apr 26, 2022 3:50 pm do you know if you have fast startup disabled in windows? i have read it can cause similar problems with mounting its drive https://www.windowscentral.com/how-disa ... st-startup.
Thanks a Million xaol this totally fixed my problem..... a stupid windows update drove by and wrecked my day.... Geezzzz

Re: NTFS partition mounts read-only

Posted: Sun Sep 11, 2022 1:25 pm
by xaol
you're welcome. i am glad to hear that helped.

Re: NTFS partition mounts read-only

Posted: Sun Sep 11, 2022 2:09 pm
by jeffreyC
scorpio9 wrote: Sun Sep 11, 2022 10:40 am
xaol wrote: Tue Apr 26, 2022 3:50 pm do you know if you have fast startup disabled in windows? i have read it can cause similar problems with mounting its drive https://www.windowscentral.com/how-disa ... st-startup.
Thanks a Million xaol this totally fixed my problem..... a stupid windows update drove by and wrecked my day.... Geezzzz
Windows updates will enable Fast Startup again sometimes, so after it updates you should check it again.