Unable to write to non-system drives

Hello everyone,
Could you help me about this problem in my pc with manjaro?

I am running 4 drives (2 SSD and 2 HDD), but i can only write to my system drive. The other ones can be read but not written to (according to the file permissions I should be able to read and write).
As I am new to Linux, I have an instance of Windows 11 installed on the other SSD (m.2 nvme), both HDDs (SATA) and the Windows SSD run with ntfs.
The 3 non-Linux drives all show up in /run/media/username/drive-name.
If I boot into Windows, I can write to all drives except the Linux one, which does not even show up as mounted.

Thanks for the help in advance. If you need some more information, let me know.

Hi @Gaenseblume, and welcome!

In order for us or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

It’s most likely a permission problem. Especially with ntfs. And you shouldn’t (and I hope you don’t) expect Windows to be able to use, or even just read, any “Linux” filesystem without installing…stuff…

Hope you manage!

System inforamtion:

System:
  Kernel: 5.15.28-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: H410M PRO (MS-7C89) v: 1.1
    serial: <superuser required> UEFI: American Megatrends v: F.20
    date: 06/10/2020
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.56 GiB used: 2.71 GiB (17.4%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 8-core model: Intel Core i7-10700F bits: 64 type: MT MCP smt: enabled
    arch: Comet Lake rev: 5 cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 800/4800 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 801 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 799 14: 800 15: 800 16: 800 bogomips: 92838
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
    pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] vendor: Micro-Star MSI
    driver: nvidia v: 510.54 pcie: speed: 5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f06 class-ID: 0300
  Device-2: Sunplus Innovation FHD Camera Microphone type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-5.3.1:6 chip-ID: 1bcf:28c4
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 910x381mm (35.83x15.00")
    s-diag: 987mm (38.84")
  Monitor-1: HDMI-0 res: 3440x1440 hz: 60 dpi: 107
    size: 819x346mm (32.24x13.62") diag: 889mm (35") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Comet Lake PCH-V cAVS vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a3f0
    class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-3: Sunplus Innovation FHD Camera Microphone type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-5.3.1:6 chip-ID: 1bcf:28c4
    class-ID: 0102 serial: <filter>
  Device-4: C-Media USB Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-5.3.2:7
    chip-ID: 0d8c:0012 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:0d55 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie:
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-7:3 chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.97 TiB used: 988.27 GiB (32.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 3B2QGXA7 temp: 33.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Western Digital
    model: PC SN530 SDBPNPZ-512G-1032 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 21111000 temp: 29.9 C
    scheme: GPT
  ID-3: /dev/sda vendor: Western Digital model: WD10EZEX-22MFCA0
    size: 931.51 GiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: GPT
  ID-4: /dev/sdb vendor: Apple model: HDD HTS547575A9E384 size: 698.64 GiB
    speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: D70F scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / size: 468.09 GiB used: 24.49 GiB (5.2%) fs: ext4
    dev: /dev/nvme1n1p2 label: N/A uuid: 0b4fea78-6afe-4423-a0a6-10fd7db1e52f
  ID-2: /boot/efi size: 299.4 MiB used: 292 KiB (0.1%) fs: vfat
    dev: /dev/nvme1n1p1 label: NO_LABEL uuid: A28E-FE3E
  ID-3: /run/media/simons/Data size: 909.11 GiB used: 333.37 GiB (36.7%)
    fs: ntfs dev: /dev/sda1 label: Data uuid: 78BA6D2EBA6CE9D8
  ID-4: /run/media/simons/Foto BackUp size: 698.44 GiB
    used: 428.37 GiB (61.3%) fs: ntfs dev: /dev/sdb2 label: Foto BackUp
    uuid: 8E8CFBE28CFBC2AF
  ID-5: /run/media/simons/Windows size: 930.51 GiB used: 202.04 GiB (21.7%)
    fs: ntfs dev: /dev/nvme0n1p3 label: Windows uuid: 94AC6989AC696728
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 size: 100 MiB fs: vfat label: SYSTEM uuid: B669-1AEB
  ID-2: /dev/nvme0n1p2 size: 128 MiB fs: <superuser required> label: N/A
    uuid: N/A
  ID-3: /dev/nvme0n1p4 size: 800 MiB fs: ntfs label: N/A
    uuid: 34BA3C23BA3BE052
  ID-4: /dev/sda2 size: 22.38 GiB fs: ntfs label: BIOS_RVY
    uuid: B6DA6ED5DA6E9203
  ID-5: /dev/sdb1 size: 200 MiB fs: vfat label: EFI uuid: 2860-11F4
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-5:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Hub-3: 1-5.3:4 info: Hitachi ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 045b:0209 class-ID: 0900
  Device-1: 1-5.3.1:6 info: Sunplus Innovation FHD Camera Microphone
    type: Video,Audio driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s power: 500mA chip-ID: 1bcf:28c4 class-ID: 0102
    serial: <filter>
  Device-2: 1-5.3.2:7 info: C-Media USB Audio Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0012 class-ID: 0300
  Device-3: 1-5.3.3:8 info: Logitech Corded Keyboard K280e
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s power: 98mA chip-ID: 046d:c328 class-ID: 0300
  Device-4: 1-5.3.4:9 info: Logitech G502 SE HERO Gaming Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c08b class-ID: 0300
    serial: <filter>
  Device-5: 1-7:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-6: 1-8:5 info: Micro Star MYSTIC LIGHT type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 500mA chip-ID: 1462:7c89 class-ID: 0300 serial: <filter>
  Hub-4: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 36 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 47%
Info:
  Processes: 357 Uptime: 44m wakeups: 0 Init: systemd v: 250 Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: 1166 pacman: 1159 snap: 7 Shell: Bash
  v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.14

Tip:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

I have posted the system information. No, I did not expect to be able to read/write to the Linux drive from Windows, but as the drives show up the other was around, I hoped to be able to do so from within Linux

You shouldn’t have the drives mounted in /run as it’s not guaranteed to always be the same. It’s not reliable. I think you’d do well the work thorough this:

1 Like

Trying to follow the 2nd linked tutorial, but failing at retrieving the UUID of my drives
If I enter the command, i get the error:
lsblk: /run/media/username/Device-name: kein blockorientiertes Gerät (I have my system in german, error translates to “no block-orientated device”)

Make sure windows is shut down fully - disable fast startup or however the function is called.
If you don’t, the filesystem is not marked as “clean” and it can only be mounted read only by Linux.

You can run this to get needed info at once

lsblk -f

If I do this, I get two different String formats:
94AC6989AC696728
0b4fea78-6afe-4423-a0a6-10fd7db1e52f

Is it correct anyways?

yes - use the one matching the partition you want to mount e.g. sdy2

I have now set up one drive like this:

[Unit]
Description=Mount Backup disk (/Data/Data)

[Mount]
What=78BA6D2EBA6CE9D8
Where=/Data/Data
#Type=
#Options=
#TimeoutSec=seconds

[Install]
WantedBy=multi-user.target

I expect to see changes after a reboot, rigth?

Must be

What=/dev/disk/by-uuid/78BA6D2EBA6CE9D8

You don’t have to reboot - test it immediately (filename must be Data-Data.mount to match your path /Data/Data)

systemctl start Data-Data.mount

Then browse the mountpoint - if you are satisfied

systemctl enable Data-Data.mount
Job failed. See "journalctl -xe" for details.

In the mount point, there is an empty folder with 420 GB of available space (should be ~530 GB)

I am now at the point, where I have all drives mounted to /Data/Drive-name.
All files show up as expected, but I am still unable to write to the drives :upside_down_face:

The padlocks, which where previously on every single folder, are now gone too.

Bildschirmfoto_2022-03-26_13-44-02
This is what the permissions window for one of the folders look like, it says “Read & Write” in all boxes

one more try, then I give up:
in windows, make sure you disable fast startup or whatever it is called
shut it down fully
else the drives filesystems will be not clean, not cleanly unmounted
and can only be accessed to read from, but not to write at
when you want to use them in Linux.

Have you made sure that this is not the issue?

1 Like

i have disabled fast start up in bios and Windows is shutdown the way you are intended to. Ill go and have a look if i can find some fast startup option within Windows

Edit: There is an option in the control panel called fast startup. I have disabled it now, but it seems like that was not the problem…

I maybe wrong but your image shows the owner of files as root which means only root can read and write.You need to change the ownership to whatever user you want to be able to let read and write.A regular user can not write to files owned by root.

Other users also have permission to read/write (3rd box)