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 7CD761FF380 for ; Fri, 19 Apr 2024 12:10:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8F1345B17; Fri, 19 Apr 2024 12:10:36 +0200 (CEST) Date: Fri, 19 Apr 2024 12:10:34 +0200 (CEST) From: Dietmar Maurer To: Proxmox Backup Server development discussion , Hannes Laimer Message-ID: <85675283.8582.1713521434331@webmail.proxmox.com> In-Reply-To: <20240419085834.32850-1-h.laimer@proxmox.com> References: <20240419085834.32850-1-h.laimer@proxmox.com> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev61 X-Originating-Client: open-xchange-appsuite X-SPAM-LEVEL: Spam detection results: 0 AWL 0.349 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox-backup v7 00/20] add removable datastores 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" Reviewed-by: dietmar@proxmox.com I guess we can commit this. The UI still needs some improvements, but we can do that on top of this series. > On 19.4.2024 10:58 CEST Hannes Laimer wrote: > > > These patches add support for removable datastores. All removable > datastores have a backing-device(a UUID) associated with them. Removable > datastores work like normal ones, just that they can be unplugged. It is > possible to create a removable datastore, sync backups onto it, unplug > it and use it on a different PBS. > > The datastore path is also the mountpoint for the removable datastore. > By default when creating one through the web UI it will be > `/mnt/removable-datastores/`, using the CLI it is possible to > specify something else. Since a removable datastore is associated with > the UUID of a partition, it is technically possible to have two > removable datastores on the same device, but I don't think there is a > use-case that couldn't also be done using namespaces. > > When a removable datastore is deleted and 'destroy-data' is set, the > device has to be plugged in. If 'destroy-data' is not set the datastore > can be deleted even if the device is not present. Removable datastores > are automatically mounted when plugged in. At the API service start all > removable datastores are marked as 'unplugged', unless they are already > mounted. > > > v7: > * drop first two patches, now depends on [1] > * improve logging when waiting for tasks > * drop `update-datatore-cache` refactoring > * fix some commit messages _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel