Here’s the entry in the fstab file for mounting my hard drive. I have bolded the name of the hard drive (that’s what it shows up as on the dock when it isn’t mounted):

UUID=D4C0A66EC0A65710 /media/lucky/New Volume ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000    0   0

After making that entry in fstab, I execute the, systemctl daemon-reload, command, and then mount -a, afterwards which gives me this error.

  • RatsOffToYa@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    Is it literally named new volume? If so perhaps the space is throwing things off. Try quoting the whole path perhaps?

    • Kickass Women@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 months ago

      Yup, that’s the name.

      I changed the entry on fstab to this (tried it with both single quotes and double quotes) and I’m stilling getting the parse error:

      UUID=D4C0A66EC0A65710 "/media/lucky/New Volume" ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0

      Btw I’m using the ntfs-3g driver, if that helps.

    • gregorum@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      10 months ago

      sometimes there are those times when you’ve been at it for 6-8 hours straight with no break, and you keep staring at that one line in your config, trying so hard to see this mistake. is it a comma out of place? did i missplell something? no? and you’re staring at it so long that you just don’t see the glaringly obvious:

      ***New Volume***
      

      it’s that one remnant that you probably copy/pasted from a tutorial page and you’re too brain-fried to consider that it’s a part of the line you should have changed, so you’re not looking at it, but there it is. but, hey, that’s why forums like this exist: to get a fresh pair of eyes on the problem.

      we’ve all been there.

      • Kickass Women@lemmy.worldOP
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        10 months ago

        There were no asterisks in the fstab file, I just placed them here to emphasize the name of the hdd.

        Btw I got Debian to automount the hdd (thanks to @shortdorkyasian) by adding this entry to the fstab file:

        UUID=D4C0A66EC0A65710 /media/lucky/New\040Volume/ ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0

        Using \040 instead of a space or quotes (single or double) made it work.

        • gregorum@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          10 months ago

          lmao, ok i see.

          in any case, i’m very glad that you got your drive mounted!