From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 01F251FF173 for ; Tue, 20 Aug 2024 17:44:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 35A96B669; Tue, 20 Aug 2024 17:44:45 +0200 (CEST) From: Hannes Laimer To: pbs-devel@lists.proxmox.com Date: Tue, 20 Aug 2024 17:43:48 +0200 Message-Id: <20240820154400.149863-15-h.laimer@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240820154400.149863-1-h.laimer@proxmox.com> References: <20240820154400.149863-1-h.laimer@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.133 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] [PATCH proxmox-backup v11 14/26] docs: add removable datastores section X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" Signed-off-by: Hannes Laimer --- docs/storage.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/storage.rst b/docs/storage.rst index f1e15d52..8713352a 100644 --- a/docs/storage.rst +++ b/docs/storage.rst @@ -165,6 +165,35 @@ following command creates a new datastore called ``store1`` on # proxmox-backup-manager datastore create store1 /backup/disk1/store1 +Removable Datastores +^^^^^^^^^^^^^^^^^^^^ +Removable datastores have a ``backing-device`` associated with them, they can be +mounted and unmounted. Other than that they behave the same way a normal datastore +would. + +They can be created on already correctly formatted partitions, which, as with normal +datastores, should be either ``ext4`` or ``xfs``. It is also possible to create them +on completely unused disks through "Admnistartion" > "Disks / Storage" > "Directory", +using this method the disk will be partitioned and formatted automatically for the datastore. + +They are mounted automatically when plugged in. It is possible to create a +removable datastore on one PBS and use it on multiple, the device just has to be added +on all as a removable datastore. This can be done using the normal `Create Datastore` +form, by checking **Removable datastore**, selecting the device and setting the correct path. +If the device already contains a datastore at the specified path it'll just be added as +a new datastore to the PBS instance and will be mounted whenever plugged in. Unmounting has +to be done through the UI by clicking "Unmount" on the summary page or using the CLI + +.. code-block:: console + + # proxmox-backup-manager datastore unmount store1 + +both will wait for any running tasks to finish and unmount the device. + +All removable datastores are mounted under /mnt/datastore/, and the specified path +refers to the path on the device. + + Managing Datastores ^^^^^^^^^^^^^^^^^^^ -- 2.39.2 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel