WRITE ACCESS ON HDD

  • Morning all

    I have LibreEelec installed onto an SSD with a separate HDD for Music. No other OS installed.

    I can connect over FTP -> SSH and through windows explorer, and navigate my music hdd, but it wont allow me write access.

    Ive tried changing the permissions via CHMOD and Windows explorer but she says no!

    Any help appreciated as I'm fairly new to these Distro's

    Thanks

    Dan

    Edited once, last by Danarchy (May 14, 2022 at 10:52 AM).

  • Linux makes things read-only to prevent filesystem damage when it detects corruption or the filesystem in an unclean state. On removable drives this is normally due to not disconnecting/ejecting the drive cleanly. If the filesystem is NTFS or eFAT, reconnect to Windows, use chkdsk and then eject properly. Assuming that resolved the issue, Linux should then mount the drive in RW mode. If the drive is HFS+ (Apple) then you're screwed because Linux doesn't support RW access and will always mount RO, and you'll need to reformat the drive to exFAT to use the drive with LE.

  • Hi chewitt, chdsk found no issues...

    Stage 1: Examining basic file system structure ...

    13824 file records processed.

    File verification completed.

    Phase duration (File record verification): 187.08 milliseconds.

    206 large file records processed.

    Phase duration (Orphan file record recovery): 0.00 milliseconds.

    0 bad file records processed.

    Phase duration (Bad file record checking): 0.50 milliseconds.

    Stage 2: Examining file name linkage ...

    542 reparse records processed.

    15646 index entries processed.

    Index verification completed.

    Phase duration (Index verification): 1.50 seconds.

    0 unindexed files scanned.

    Phase duration (Orphan reconnection): 1.62 milliseconds.

    0 unindexed files recovered to lost and found.

    Phase duration (Orphan recovery to lost and found): 1.22 milliseconds.

    542 reparse records processed.

    Phase duration (Reparse point and Object ID verification): 3.98 milliseconds.

    Stage 3: Examining security descriptors ...

    Security descriptor verification completed.

    Phase duration (Security descriptor verification): 10.96 milliseconds.

    912 data files processed.

    Phase duration (Data attribute verification): 1.04 milliseconds.

    CHKDSK is verifying Usn Journal...

    14777392 USN bytes processed.

    Usn Journal verification completed.

    Phase duration (USN journal verification): 76.53 milliseconds.

    Windows has scanned the file system and found no problems.

    No further action is required.

    976197631 KB total disk space.

    305124068 KB in 11632 files.

    3572 KB in 913 indexes.

    0 KB in bad sectors.

    124039 KB in use by the system.

    65536 KB occupied by the log file.

    670945952 KB available on disk.

    4096 bytes in each allocation unit.

    244049407 total allocation units on disk.

    167736488 allocation units available on disk.

    Total duration: 1.79 seconds (1797 ms).

  • Install the current nighly test image (so latest code). Then run the SSH command and share the URL so we can see the boot log and what issues or errors might be there.

  • Not sure if that link above works...

    could be tested by just clicking the link, but with one eye only ... :saint:

    from the log:6.229416] F2FS-fs (sdb2): Magic Mismatch, valid(0xf2f52010) - read(0x8e0e89 66) [ 6.229422] F2FS-fs (sdb2): Can't find valid F2FS filesystem in 1th superbloc k

    [ 6.229636] F2FS-fs (sdb1): Magic Mismatch, valid(0xf2f52010) - read(0x8e0e89 66)

    [ 6.229639] F2FS-fs (sdb1): Can't find valid F2FS filesystem in 1th superbloc k

    [ 6.229689] F2FS-fs (sdb2): Magic Mismatch, valid(0xf2f52010) - read(0x0)

    [ 6.229691] F2FS-fs (sdb2): Can't find valid F2FS filesystem in 2th superbloc k

    [ 6.229800] F2FS-fs (sdb1): Magic Mismatch, valid(0xf2f52010) - read(0x0)

    [ 6.229802] F2FS-fs (sdb1): Can't find valid F2FS filesystem in 2th superbloc

    to *me* that doesn't look right.

    *I* would backup the files from the disk and would format it

    Edited once, last by GDPR-7 (May 22, 2022 at 7:47 PM).

  • *I* would backup the files from the disk and would format it

    And not use F2FS. It's (now) even questionable for flash storage media (as they now have intelligent controllers build-in).

    Using ext4 is likely best, but then Windows won't be able to read it. If that's important, then NTFS is probably your next best option.

  • so, what do you think the issue actually is? For me to back-up all this media to re-format would require me to purchase another drive, as i dont have a spare big enough. As of yet, still cant set write permissions