Announcement

Collapse
No announcement yet.

NTFS partition / filesystem issue after upgrade: number '1' appended to mount point

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] NTFS partition / filesystem issue after upgrade: number '1' appended to mount point

    I have an NTFS partition called 'Media', which was previously accessible at /media/(username)/Media. After a recent upgrade to Kubuntu 24.04, the path was somehow changed to /media/(username)/Media1.

    This looks to be the same issue that happened to another user here when they upgraded to 22.04.​​ I drew on that thread for providing the relevant information below:

    $ lsblk -f
    nvme0n1p8 ntfs Media 03417C3F444F6266 191.2G 78% /media/(username)/Media1
    $ df -hT
    /dev/nvme0n1p8 ntfs3 850G 659G 192G 78% /media/(username)/Media1
    $ ls -l /dev/disk/by-label
    lrwxrwxrwx 1 root root 15 Oct 7 17:49 Media -> ../../nvme0n1p8
    Since this deals with partitions I'd appreciate guidance on how to fix the mount point, if it's easy. (If not I can live with it.)

    Bigger issue is this seems like a bug in the upgrade process with NTFS partitions.





    #2
    The only way to guarantee a device mount point stays the same is to physically mount it in the fstab.
    I suspect that something on the NTFS partition changed, even a little, and this was enough for the automount system to detect it as a different thing. Or improved/different NTFS support in the newer OS, maybe?

    Maybe check permissions for the /media/<name> directory. Even delete it --with the partition unmounted of course. Maybe there is something wrong with the directory it used to mount to.

    All my ntfs partitions (2) are just fine here.

    Comment


      #3
      Originally posted by claydoh View Post
      Maybe check permissions for the /media/<name> directory. Even delete it --with the partition unmounted of course. Maybe there is something wrong with the directory it used to mount to.
      Thanks, this point helped me solve it.

      I checked the /media/(username)/ directory and there was the 'Media1' (the original with all files), and another called 'Media', which contained a nested sub-directory (for OpenWRT images) with a path identical to the original, but empty of any actual files. It's very possible I tried saving something to that path while the upgrade to 24.04 was running, and I can only guess that Kubuntu had already unmounted the partition as part of the upgrade process, but then created those sub-directories as a result of the save attempt (I certainly didn't recreate them), resulting in a leftover and otherwise empty 'Media' folder, preventing the original from being mounted with that path (and so adding the '1' to compensate).

      I deleted the otherwise empty 'Media' folder from /media/(username)/ and rebooted. Voila, everything back as it was.

      I guess the "close all programs before upgrading" warning should still be a thing. I didn't think it would be a problem using Firefox while the upgrade process ran.

      Comment


        #4
        I have had this same problem with NTFS external drives. I hope I can remember your remedy the next time I see it. Thanks.
        Linux User #454271

        Comment

        Working...
        X