From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 164CF6FF8C for ; Thu, 2 Sep 2021 08:19:28 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 00AB5E937 for ; Thu, 2 Sep 2021 08:18:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 8A72BE92C for ; Thu, 2 Sep 2021 08:18:57 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 5B4AB44479; Thu, 2 Sep 2021 08:18:57 +0200 (CEST) Message-ID: Date: Thu, 2 Sep 2021 08:18:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Thunderbird/92.0 Content-Language: en-US To: Thomas Lamprecht , Proxmox Backup Server development discussion , Hannes Laimer References: <20210830111505.38694-1-h.laimer@proxmox.com> <0fc5963d-0286-0982-349f-8081037cfadb@proxmox.com> From: Dominik Csapak In-Reply-To: <0fc5963d-0286-0982-349f-8081037cfadb@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.964 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -1.029 Looks like a legit reply (A) 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 v2 proxmox-backup 00/15] (partially)close #3156: Add support for 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: , X-List-Received-Date: Thu, 02 Sep 2021 06:19:28 -0000 On 9/2/21 08:09, Thomas Lamprecht wrote: > On 01.09.21 16:48, Dominik Csapak wrote: >> >> also, would it not make sense to have >> multiple uuids per datastore instead of only one? >> >> i guess most users of this will want to have more than >> one usb devices in rotation, and having multiple >> datastores + multiple sync jobs is probably >> a bit error prone. just allowing multiple >> uuids for each datastore would solve that >> problem nicely > > Hmm, what would you do if more than one of them are plugged in at the same time? > Maybe hard to time on a running system, but possible if I connect a hub with > devices already plugged in, and can definitively happen (by mistake) on cold boot. > my guess is that the udev rules do not trigger simultaneously ? and even if, we could lock the mount/unmount so that this does not make a problem and we simply mount the first triggered one but yeah, that was just an idea, not a hard requirement for me