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 [2022/12/19 02:28] – 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** is **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**, | ||
- | \\ | ||
- | |||
- | 888888888888888888888888888888 | ||
- | |||
- | * **Mount Type:** Leave at the default\\ | ||
- | |||
- | * **Name:** Name the 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' | ||
- | |||
- | ---- | ||
- | |||
- | < | ||
- | |||
- | {{ : | ||
- | \\ | ||
- | |||
- | Notes: | ||
- | \\ | ||
- | * The green light under **Mounted** may not, immediately, | ||
- | * If the username or password are incorrect or the user does not have at least read access, or if the share does not exist, an error dialog box will pop up. In such a case, edit the Remote Mount with the correct data and try again. | ||
- | * On a rare occasion, an RPC error dialog box may come up when the mount is saved. | ||
- | |||
- | ---- | ||
- | |||
- | **Confirm the Mount:**\\ | ||
- | \\ | ||
- | Under **Storage**, | ||
- | The remote network share **Music**, on the Primary Server, is now mounted under the local label **Music_R**, | ||
- | \\ | ||
- | |||
- | {{ : | ||
- | \\ | ||
- | \\ | ||
- | For users who are interested only in mounting a remote share, this concludes the installation and configuration of the Remote Mount plugin. | ||
- | \\ | ||
- | {{ : | ||
- | |||
- | ===== Source Code ===== | ||
- | |||
- | -> [[https:// |