Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 43

Thread: The external HDD gets assigned a new label sometimes/often, work around?

  1. #21
    Join Date
    Nov 2013
    Beans
    22

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Added user to group plex, worked. Cross-checked with the command as told by you.

    Code:
    sudo mkdir /media/plex
    Done and Checked with command as instructed.

    Code:
    sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,gid=125,umask=002, nls=utf8
    Got output:

    Code:
    ~$ sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,gid=125,umask=002, nls=utf8 
    Usage: mount -V                 : print version
           mount -h                 : print this help
           mount                    : list mounted filesystems
           mount -l                 : idem, including volume labels
    So far the informational part. Next the mounting.
    The command is `mount [-t fstype] something somewhere'.
    Details found in /etc/fstab may be omitted.
           mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
           mount device             : mount device at the known place
           mount directory          : mount known device here
           mount -t type dev dir    : ordinary mount command
    Note that one does not really mount a device, one mounts
    a filesystem (of the given type) found on the device.
    One can also mount an already visible directory tree elsewhere:
           mount --bind olddir newdir
    or move a subtree:
           mount --move olddir newdir
    One can change the type of mount containing the directory dir:
           mount --make-shared dir
           mount --make-slave dir
           mount --make-private dir
           mount --make-unbindable dir
    One can change the type of all the mounts in a mount subtree
    containing the directory dir:
           mount --make-rshared dir
           mount --make-rslave dir
           mount --make-rprivate dir
           mount --make-runbindable dir
    A device can be given by name, say /dev/hda1 or /dev/cdrom,
    or by label, using  -L label  or by uuid, using  -U uuid .
    Other options: [-nfFrsvw] [-o options] [-p passwdfd].
    For many more details, say  man 8 mount .
    Output of:

    Code:
    ls -l /media/plex
    Code:
    ~$ ls -l /media/plextotal 0
    ~$

    Dont think it worked.

  2. #22
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    What's this???

    Code:
    ~$ ls -l /media/plextotal 0
    How did you get this?
    -BAB1

  3. #23
    Join Date
    Nov 2013
    Beans
    22

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by bab1 View Post
    What's this???

    Code:
    ~$ ls -l /media/plextotal 0
    How did you get this?
    Uhh..not sure. Just ran the command again. Output:

    Code:
    sid@BOX:~$ ls -l /media/plex
    total 0
    sid@BOX:~$

  4. #24
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by neo1599 View Post
    Added user to group plex, worked. Cross-checked with the command as told by you.
    Post the output so I can see it.

    Code:
    sudo mkdir /media/plex
    Done and Checked with command as instructed.

    Code:
    sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,gid=125,umask=002, nls=utf8
    Got output:

    Code:
    ~$ sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,gid=125,umask=002, nls=utf8 
    Usage: mount -V                 : print version
           mount -h                 : print this help
           mount                    : list mounted filesystems
           mount -l                 : idem, including volume labels
    So far the informational part. Next the mounting.
    The command is `mount [-t fstype] something somewhere'.
    Details found in /etc/fstab may be omitted.
           mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
           mount device             : mount device at the known place
           mount directory          : mount known device here
           mount -t type dev dir    : ordinary mount command
    Note that one does not really mount a device, one mounts
    a filesystem (of the given type) found on the device.
    One can also mount an already visible directory tree elsewhere:
           mount --bind olddir newdir
    or move a subtree:
           mount --move olddir newdir
    One can change the type of mount containing the directory dir:
           mount --make-shared dir
           mount --make-slave dir
           mount --make-private dir
           mount --make-unbindable dir
    One can change the type of all the mounts in a mount subtree
    containing the directory dir:
           mount --make-rshared dir
           mount --make-rslave dir
           mount --make-rprivate dir
           mount --make-runbindable dir
    A device can be given by name, say /dev/hda1 or /dev/cdrom,
    or by label, using  -L label  or by uuid, using  -U uuid .
    Other options: [-nfFrsvw] [-o options] [-p passwdfd].
    For many more details, say  man 8 mount .
    Output of:

    Code:
    ls -l /media/plex
    Code:
    ~$ ls -l /media/plextotal 0
    ~$

    Dont think it worked.
    This is because one of the parameters is wrong. It is either the UUID or the uid or the gid.
    -BAB1

  5. #25
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by neo1599 View Post
    Uhh..not sure. Just ran the command again. Output:

    Code:
    sid@BOX:~$ ls -l /media/plex
    total 0
    sid@BOX:~$
    Yes, we're good with that.
    -BAB1

  6. #26
    Join Date
    Dec 2009
    Beans
    5,565

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,gid=125,umask=002, nls=utf8
    I think it's the space(s) after the last comma and before nls=utf8 that's the problem. Of course it's also possible that at my age I'm not seeing that correctly.

  7. #27
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by Morbius1 View Post
    I think it's the space(s) after the last comma and before nls=utf8 that's the problem. Of course it's also possible that at my age I'm not seeing that correctly.
    Yes indeed. Remove the space and try it again.
    -BAB1

  8. #28
    Join Date
    Nov 2013
    Beans
    22

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by bab1 View Post
    Post the output so I can see it.

    This is because one of the parameters is wrong. It is either the UUID or the uid or the gid.

    Ok, used:

    Code:
    sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,umask=002,nls=utf8
    Output of:

    Code:
    ls -l /media/plex
    Code:
    sudo mount -t ntfs UUID=01CEE3B518EB1B90 /media/plex -o uid=1000,umask=002,nls=utf8
    Code:
    sid@BOX:~$ getent group plex
    plex:x:125:sid
    Fingers crossed. Checking and will post result of whether it works with plex now.

    Umm..since I have taken so much time already one last thing, bab1, do I mount the other partition the same way?

    Thanks Morbius for pointing out the extra space. Deleted it.

    Appreciate all the help

  9. #29
    Join Date
    Nov 2013
    Beans
    22

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Great

    It works with plex now.

    Thank you.

    Will keep asking and learning here.

  10. #30
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: The external HDD gets assigned a new label sometimes/often, work around?

    Quote Originally Posted by neo1599 View Post
    Great

    It works with plex now.

    Thank you.

    Will keep asking and learning here.
    So now we need to mount it permanently. If you leave the drive connected it will revert to the original mount when you reboot.
    -BAB1

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •