Elektroda.com
Elektroda.com
X

Mounting DIY NAS Drive in Linux Mint 18.3 KDE for Auto Backup with Openmediavault

darekkkk 7149 4
This content has been translated flag-pl » flag-en View the original version here.
  • #1
    darekkkk
    Level 12  
    Hi,
    I would like to mount a disk connected to NAS under Mint (18.3 KDE).
    NAS is a home-made DIY that works under Openmediavault.
    The drive / folder is visible / accessible on the network but I can't mount it.
    I need it to run an automatic backup - the programs that serve this probably need to have this disk mounted (otherwise the disks are not visible in their interface).
    What do you advise?
  • #2
    tos18
    Level 41  
    smbclient from the samba package
  • #3
    darekkkk
    Level 12  
    gentlemen,
    1. In the file manager (Dolphin), the network drive is visible to samba and is in the Workgroup group. Through the file manager I can manipulate files and generally there is no problem (maybe except too frequent prompts for the access password to this network folder).
    2. I successfully mapped the above NAS disk under Windows7 and Cobian Backup does a great job of backups / synchronization.
    3. The problem is that I cannot achieve a similar result under the Mint. The network drive / folder does not have an entry in fstab and therefore it is probably not visible for backup programs (Lucybackup and SyncBackFree - the latter under Wine).
    4. Rsync is completely impossible for me, so I am asking for advice as for a newbie :) .
    5. The NAS folder has a specific login and password.
    6. After a long time spent on the net, I exhausted the following entry to fstab, but the file manager returns a message that the system reported: "mount: only root can mount".
    //192.168.1.XXX/DarekNAS / media / NAS cifs username = XXXXXX, password = XXXXXX 0 0

    What do you advise?
  • #5
    _jta_
    Electronics specialist
    6. After a long time spent on the net, I exhausted the following entry to fstab, but the file manager returns a message that the system reported: "mount: only root can mount".

    Is that a problem? Only as root you can write to / etc / fstab ... But since you can write there, why not add the "user" option? This should help.

    From what I can see there are options: "user" and "users" - the difference in their operation is that only the second one allows unmounting by another user.

    There are also options "owner" (can be mounted by the owner) and "group" (can be mounted if the group owns the device).

    For many filesystems there are "uid = n" and "gid = n" options - you can specify user and group number for which file access rights will be the same as for owner / group. This can be important when backing up - without it you won't get to files with read access "owner only".