Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs_in_draft:remote_mount [2023/01/07 22:10] – crashtest | docs_in_draft:remote_mount [2023/01/08 02:52] (current) – removed crashtest | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | ||
| - | < | ||
| - | {{ : | ||
| - | \\ | ||
| - | \\ | ||
| - | < | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ====== Remote Mount Plugin For OMV6 ====== | ||
| - | \\ | ||
| - | \\ | ||
| - | |||
| - | ===== Summary ===== | ||
| - | |||
| - | Remote Mount is a plugin that's designed to mount a remote network share, in a manner which makes the resultant file system appear to be a local filesystem on an OMV6 server. | ||
| - | |||
| - | ==== Potential Uses for Remote Mount ==== | ||
| - | |||
| - | * Remote Mount is useful for mounting, accessing and replicating network shares, located on another LAN server or a LAN client. | ||
| - | * Along with setting up Remote Mount, this document will provide a practical example where Remote Mount and Rsync are used for replicating a network share. | ||
| - | * **Remote Mount makes the creation of a full Backup Server relatively easy**, with no command line operations required. | ||
| - | |||
| - | ===== Prerequisites ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * A username and password is required, with a minimum of read access to a remote share. | ||
| - | |||
| - | |||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | In OMV6's GUI:\\ | ||
| - | Under **System**, **Plugins**, | ||
| - | |||
| - | ===== Useage ===== | ||
| - | |||
| - | ==== Setting up a " | ||
| - | |||
| - | |||
| - | In the example provided, an OMV6 Virtual Machine is being used to backup a network share that exists on the Primary LAN server. (Where the term “**remote**” is used, in this example, it will be in reference to the Primary server.) | ||
| - | \\ | ||
| - | \\ | ||
| - | As previously noted, to create a Remote Mount' | ||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| - | In the example following, the Primary (remote) Server is another installation of OMV6 on the local LAN. The share to be accessed is **Music**.\\ | ||
| - | \\ | ||
| - | In this specific example, a **username** and **password** was created on the Primary OMV Server to facilitate replicating shares. | ||
| - | |||
| - | ---- | ||
| - | \\ | ||
| - | **On the Primary server**:\\ | ||
| - | \\ | ||
| - | Under **Access Rights Management**, | ||
| - | \\ | ||
| - | < | ||
| - | \\ | ||
| - | {{ :: | ||
| - | |||
| - | ---- | ||
| - | \\ | ||
| - | The following shows permissions on the Primary server, for the **Music** share: | ||
| - | * The user **root**, in the vast majority of cases, with be the **Owner** and will have **Read**, **Write** and **Execute**. | ||
| - | * In this example, the **Group users** has **Read**, **Write** and **Execute**. | ||
| - | * **Others** means any user that is NOT **root** or any user that is NOT in the Group **users**. | ||
| - | |||
| - | < | ||
| - | \\ | ||
| - | {{ :: | ||
| - | \\ | ||
| - | In the above, note that the group **users** have “**Write**” access to the **Music** share. | ||
| - | \\ | ||
| - | \\ | ||
| - | **Important. | ||
| - | In the interests of clarity, when mixing ACL's with standard Linux (Posix) permissions; | ||
| - | \\ | ||
| - | In this very limited use case, the username **backup-r** is being further restricted, by ACL, to “**read only**”. This allows the remaining members of the group **users** to retain the **write** permission.\\ | ||
| - | |||
| - | ---- | ||
| - | \\ | ||
| - | While off-topic, a few things should be discussed regarding OMV's users and access control:\\ | ||
| - | \\ | ||
| - | * What is shown above as **root**, **owner**, **others** are **standard Linux permissions**. | ||
| - | * When a user is added to OMV, in the GUI, the username is added to the Group “**users**” by default. | ||
| - | * For home server use and to keep server permissions simple, **use standard Linux permissions** only. | ||
| - | * The box at the top that lists users by **name**, with boxes for Read/Write, Read-ony and No Acess are **ACL' | ||
| - | * When creating users, do not attempt to create a user that “exactly” matches the name of Linux system users. | ||
| - | \\ | ||
| - | A list of existing system usernames is provided at the end of this document, under [[https:// | ||
| - | \\ | ||
| - | Further information, | ||
| - | |||
| - | ---- | ||
| - | |||
| - | **At the Backup Server: | ||
| - | Under **Storage**, | ||
| - | \\ | ||
| - | |||
| - | * **Mount Type:** Leave at the default\\ | ||
| - | |||
| - | * **Name:** Name the Remote Mount in a way that indicates the share name (**Music**) with an indicator that it's a remote filesystem ( **_R** ), **Music_R**\\ | ||
| - | |||
| - | * **Server: | ||
| - | |||
| - | * **Share:** The exact name of the remote share.\\ | ||
| - | |||
| - | * **Username: | ||
| - | |||
| - | * **Password: | ||
| - | \\ | ||
| - | |||
| - | {{ :: | ||
| - | \\ | ||
| - | |||
| - | < | ||
| - | \\ | ||
| - | |||
| - | Notes:\\ | ||
| - | In other use cases, where a non-OMV NAS server is used (a QNAP or other type of NAS appliance, etc: | ||
| - | * The administrative username and password, used to access the NAS, could be used for Remote Mount. | ||
| - | * If a workstation can access a NAS share, in many cases, the workstation login (username and password) could be used. | ||
| - | * Workstation network shares, generally, can be accessed with the workstation' | ||
| - | |||
| - | ---- | ||
| - | |||
| - | **Confirm the Mount:**\\ | ||
| - | \\ | ||
| - | Under **Storage**, | ||
| - | {{ : | ||
| - | \\ | ||
| - | The remote network share **Music**, on the Primary Server, is now mounted as if it's a local file system. | ||
| - | |||
| - | **Note:**\\ | ||
| - | If there will be several Remote Mounts, if needed for mount identification purposes, use the column select Icon. {{ :: | ||
| - | \\ | ||
| - | Select / Add the **Label** column to the File Systems view. | ||
| - | {{ :: | ||
| - | \\ | ||
| - | The **Label** column will display the Remote Mount' | ||
| - | {{ :: | ||
| - | \\ | ||
| - | \\ | ||
| - | This concludes the installation and configuration of the Remote Mount plugin. | ||
| - | \\ | ||
| - | |||
| - | ===== OMV's Pre-configured and System User Names ===== | ||
| - | \\ | ||
| - | {{: | ||
| - | \\ | ||
| - | The user **pi** is a default user on Raspberry PI's only.\\ | ||
| - | \\ | ||
| - | This list is not all inclusive. It's worth noting that many software packages will install system users to enable a package to interact with the OS. | ||
| - | \\ | ||
| - | ---- | ||
| - | {{ : | ||
| - | |||
| - | ===== Source Code ===== | ||
| - | |||
| - | -> [[https:// | ||